0
1
00:00:21,730 --> 00:00:22,490
Hello.
1

2
00:00:22,630 --> 00:00:30,940
In this section we are going to learn COMMGR software and how to build communication between
2

3
00:00:31,030 --> 00:00:42,250
our PC and PLC. So we installed commgr software to computer and now we
3

4
00:00:42,250 --> 00:00:44,710
need to create our drivers.
4

5
00:00:44,710 --> 00:00:48,430
Open your commgr software and come here.
5

6
00:00:48,430 --> 00:00:51,250
Click Add button and in here.
6

7
00:00:51,400 --> 00:00:56,430
Driver properties section is going to open.
7

8
00:00:56,470 --> 00:00:59,820
So now let's give to your driver name for example.
8

9
00:00:59,830 --> 00:01:09,990
This is rs2 or let's say serial communication driver and how we are going to connect to our plc
9

10
00:01:10,260 --> 00:01:15,980
we can select RS232/422/485
10

11
00:01:15,980 --> 00:01:24,770
Communication USP virtual communication or internet or direct link or direct link USP or Internet TCP
11

12
00:01:24,850 --> 00:01:29,760
simulator.so we will create also simulator in the next lessons.
12

13
00:01:29,820 --> 00:01:36,740
But now we will connect to real PLC via RS232.
13

14
00:01:36,750 --> 00:01:45,360
This is my selection and for the comport you need to connect your cable to your PC. and directly communication
14

15
00:01:45,390 --> 00:01:54,240
inside of the communication protocol comport will be detected and I will say now auto detect now it
15

16
00:01:54,240 --> 00:01:59,150
is asking to us what is the node id or what is your plc id.
16

17
00:01:59,310 --> 00:02:02,300
And it is zero and I will say okay.
17

18
00:02:02,460 --> 00:02:04,000
And it is detected.
18

19
00:02:04,020 --> 00:02:10,220
So my plc settings are data length is 7.
19

20
00:02:10,230 --> 00:02:14,070
Parity is even stop bits one and baudrate
20

21
00:02:14,070 --> 00:02:15,760
9600.
21

22
00:02:15,870 --> 00:02:23,490
This is all communication settings and it is because of the auto detect button and with help of auto
22

23
00:02:23,490 --> 00:02:32,160
detect button it is detected and I will say OK so now you see it is started not stopped and in here
23

24
00:02:32,340 --> 00:02:39,420
I will go online to my PLC I will say go online and program is going to be compiled.
24

25
00:02:39,480 --> 00:02:47,190
This is a empty project and now in valid driver or commgr are not startup.
25

26
00:02:47,190 --> 00:02:55,360
This is an error why because we need to select our communication settings in tools area.
26

27
00:02:55,590 --> 00:02:56,580
Come here.
27

28
00:02:56,580 --> 00:02:58,050
Select your driver.
28

29
00:02:58,080 --> 00:03:00,660
This is another one important point.
29

30
00:03:00,660 --> 00:03:07,730
As you can see a little bit ago if you say okay directly go online it will give this error to you.
30

31
00:03:07,740 --> 00:03:15,900
So inside of the project you need to select your driver and I will say okay this was my driver and you
31

32
00:03:15,900 --> 00:03:16,890
can see in here.
32

33
00:03:16,890 --> 00:03:20,520
Serial communication we created and I will say okay.
33

34
00:03:20,730 --> 00:03:27,300
And again let's try once go online to PLC and okay.
34

35
00:03:27,420 --> 00:03:32,340
Sent this project, empty project to PLC and say yes.
35

36
00:03:32,550 --> 00:03:39,790
Now this empty project is transferring to your PLC and yes.
36

37
00:03:40,160 --> 00:03:41,570
And okay.
37

38
00:03:41,640 --> 00:03:49,580
And also PLC is run situation and now we connected to existing in real PLC.
38

39
00:03:49,770 --> 00:03:53,280
And now we sended our project to PLC.
39

40
00:03:53,610 --> 00:04:00,990
So let's go off line now we are off line from our plc.
40

41
00:04:01,000 --> 00:04:03,210
So I'm finished for this video.
41

42
00:04:03,220 --> 00:04:04,810
See you in the next video.
