0
1
00:00:21,580 --> 00:00:22,240
Hello.
1

2
00:00:22,320 --> 00:00:27,970
In this video we are going to learn serial communication pin definitions.
2

3
00:00:28,110 --> 00:00:37,360
Why these definitions are important when you communicating with the plc or hmı or external device.
3

4
00:00:37,500 --> 00:00:39,620
We are going to use rs232.
4

5
00:00:39,650 --> 00:00:46,210
rs422-485
5

6
00:00:46,210 --> 00:00:49,230
Communication with the serial communication.
6

7
00:00:49,320 --> 00:00:56,510
So we need to know how to create our cable with the true connection.
7

8
00:00:56,520 --> 00:01:08,410
So for com1 you need to know Rxd R means receiver receiving t means transmitting
8

9
00:01:08,940 --> 00:01:17,820
five is ground, so ground connection and 7-8 RTC and CTC.
9

10
00:01:18,150 --> 00:01:30,150
So in here you can see a complete definitions of the mode 1 and mode 2 and Mode 3 according to 9 pins
10

11
00:01:30,440 --> 00:01:38,230
female connector in here for download and upload cable for RS 232.
11

12
00:01:38,400 --> 00:01:44,940
If you want to go online to your plc and upload or your download your plc projects.
12

13
00:01:45,240 --> 00:01:49,650
So you need to adapt your cable like this.
13

14
00:01:49,650 --> 00:01:57,430
So in the one side Rxd should connect to two and the other side.
14

15
00:01:57,450 --> 00:01:58,460
Txd
15

16
00:01:58,620 --> 00:02:02,110
So it's cross cabling and Txd.
16

17
00:02:02,110 --> 00:02:04,090
Pin number is three.
17

18
00:02:04,380 --> 00:02:08,610
But the other side it needs to connect to Rxd
18

19
00:02:08,610 --> 00:02:12,350
And second connection or second pin.
19

20
00:02:12,360 --> 00:02:19,830
We can say it like this and ground needs to connect to ground  and you can see in here cross section is
20

21
00:02:19,830 --> 00:02:23,230
for the CTC and RTS also.
21

22
00:02:23,270 --> 00:02:33,180
But when you connect your cable like this or create your cables 2 and 3 ,3 and 2 and 5 and 5.
22

23
00:02:33,330 --> 00:02:39,880
If you create your cable like it is just 2 3 and 5 these pins are used.
23

24
00:02:39,990 --> 00:02:42,840
So that cable is going to work also.
24

25
00:02:43,050 --> 00:02:52,380
And for Dop-b and the plc cable so dop-b means hmı and plc communication for RS485
25

26
00:02:52,380 --> 00:02:53,390
--.
26

27
00:02:53,430 --> 00:02:57,230
So dop 9 pin male side.
27

28
00:02:57,390 --> 00:02:58,880
So hmı side.
28

29
00:02:59,010 --> 00:03:07,920
The connection of first pin needs to connect to +, + for are RS485 communication
29

30
00:03:08,310 --> 00:03:09,930
and the for the hmı side.
30

31
00:03:09,990 --> 00:03:18,750
Sixth pin needs to connect to - ,  and dop plc cable for the RS232
31

32
00:03:18,780 --> 00:03:19,870
communication.
32

33
00:03:20,100 --> 00:03:25,040
HMI  side or second pin needs to go.
33

34
00:03:25,200 --> 00:03:35,230
Fifth pin of eight pin of male connector, you see like this and third pin of the HMI needs to go.
34

35
00:03:35,380 --> 00:03:46,650
Fourth pin of plc side and the fifth pin of dop hmı side needs to go eight pin of this cable
35

36
00:03:46,950 --> 00:03:51,960
This is hmı side nine pin male connector.
36

37
00:03:52,080 --> 00:03:59,370
And this is for the plc side and dop-as and Plc cable for that RS485
37

38
00:03:59,370 --> 00:04:00,410
communication.
38

39
00:04:00,450 --> 00:04:04,400
This is also another hmı type of Delta plcs.
39

40
00:04:04,710 --> 00:04:13,590
If you look to scheme , so you can see are X minus and takes minus or receiving and transmitting minuses
40

41
00:04:13,950 --> 00:04:24,150
are connect to two minus cable are x plus and takes plus is connected to plus pin or plus cable and
41

42
00:04:24,480 --> 00:04:34,510
this is r converter from RSA for under into five to use B converter I have the six thousand five hundred.
42

43
00:04:34,620 --> 00:04:44,100
This is a device so if you want to connect your I fifty six hundred and six thousand five hundred device
43

44
00:04:44,100 --> 00:04:52,020
to your P.C. and if you want to convert your address from that I need five communication to use B so
44

45
00:04:52,050 --> 00:05:00,720
you need to adapt your cable like this from top to lower side so that means from 1 it's starting from
45

46
00:05:00,990 --> 00:05:11,980
1 to 8 pain for must connect to minus four IRS for underline eight five communication we need one minus
46

47
00:05:12,100 --> 00:05:23,200
one plus cable C G minus needs to connect to fourteen C G plus needs to connect to fifteen so also if
47

48
00:05:23,200 --> 00:05:33,520
we want to connect or convert your cable from r r g eleven to R S for under eighty five you need to
48

49
00:05:34,390 --> 00:05:45,010
adopt your r g allow on cable like this green cable needs to connect your fourth pin so green is minus
49

50
00:05:45,310 --> 00:05:53,260
S G minus the green cable or it can be the color can be anything else so maybe you are adapting your
50

51
00:05:53,260 --> 00:06:02,800
cables and you have another color so you should notice one cable or minus cable needs to connect to
51

52
00:06:02,800 --> 00:06:11,020
four then + cable needs to connect to three for RS485 communication.
52

53
00:06:11,140 --> 00:06:13,930
So for this video I am finished.
53

54
00:06:13,930 --> 00:06:15,440
See you in the next video.
