Hello. 1
In this video we are going to learn communication. 2
What is communication or what is serial communication or what is TCP/IP communication and etc. 3
First of all the exchange of data between two or more devices is called communication. 4
Important point. 5
The exchange of data between two or more device it can be divided into two classed as serial and internet 6
communication. 7
Communication should be handled in two sections as interface and protocol. 8
Another important point. 9
Serial communication interfaces is standard . 10
RS232-RS485-RS422 but this 11
is not common usage but RS232/485 for delta. 12
plcs are really important. 13
You are communicating with the PC-PLC C one by one or point to point communication with rs232 14
RS-232 15
You can communicate more than one or two or a lot of devices with the Delta PLCS. 16
If you are using RS-485 communication or as serial communication RS232 is one to one communication 17
interface consisting of master and slave RS-485 18
One of the master device than the rest of all will be slave and only can send and receive at the same 19
time or interface where it can communicate with the more than one slave. 20
This communication interface uses two wire lines and RS422. 21
Communication is the interface where the both sending and receiving can be made at the same time and 22
the master device can communicate with one or more slaves. 23
This communication interface uses for wire lines the language spoken on the communication interface 24
is called protocol really important the device is to be able to communicate between them but the first 25
thing they must or he must know or it must know and support the same protocol. 26
If you are communicating , trying to communicate with the devices but if you are not adopted or set 27
at the same settings so it will be like a Japan or Turkish language or like one turk. 28
People trying to communicate with the English or British people or something like this. 29
So there will be a confliction and the next thing in here. 30
Modbus communication protocol basics ;master and slaves for the modbus communication protocol is 31
really important. 32
The master controls the communication really important master control the communication it is the unit 33
that creates writing and reading queries. 34
I mean people and the computers and etc. can be master unit.For Slave 35
They are communicated devices. 36
They are only obligated to answer the queries sent to them. 37
Plcs, AC drivers or VFDs I mean process controllers etc. can be a slave device. 38
Things to consider in modbus communication theoretically. 39
Up to 255 slave device can be addressed on the modbus communication line. 40
Considering the line it is not suitable for a healthy communication on 32 device communication 41
line that is more convenient not to exceed 16 device on lines. 42
If there is a data density if we are trying to read and write a lot of data a lot of words in in your 43
plc projects. 44
It is not suitable to communicate with over 16 device but you can also theoretically communicate with 45
maximum 255 slave device there can only be one master. 46
This is really important in the modbus communication line. 47
If you adapt two master or three master there will be an error. 48
immediately and you need to consider this you need to focus this while you are starting Project. 49
The first thing that you need to select your master immediately or you need to define 50
your master.In the line that a collision occurs. 51
If there is multiple master exists and by the way the communication problems arises 52
and the next thing communication protocol format it expresses the speed of data flow in the system 53
communicated. 54
Speed of data flow. 55
This is really important. 56
If two or more devices are communicating they must be set at the same speed like 9200, 57
19200 etc.. 58
This is baudrade, speed of data flow. 59
Equals to baudrade, the digital data encoding sequence refers to the format of the protocol data 60
they must be using the same format to speak in the same language like 7 or 8 bits like 61
even odd or none parity or like 1 or 2 or 0. 62
Stop bits. 63
I mean remember we were adopting for the modbus communication for Delta plcs. 64
We were deciding the communication protocols and we were writing hexadecimal 86 or we are going 65
to look these ones to next videos. 66
we are going to write for example 86 as hexadecimal for the communication protocol. 67
That moment we are sending to from our plc to devices and also inside of our plc. 68
Okay we will communicate with the speed as the speed of data flow, as baudrate 69
We will use 9600 speed and we will use just one stop bit, and we will use even. 70
And we will use just a seven or eight bit like this. 71
So this is the communication protocol format as basically and the communication distance is the another 72
one important point. 73
Communication distance depends entirely on environment. 74
Environmental conditions magnetic noise emitted by working AC drive cabling quality and grounding 75
are obvious criteria. 76
There may be situations that cannot be communicate from five meters. 77
This is really important and you are going to face it. 78
Believe me or it may be in environments that can be communicate from 500 meters. 79
If communication cannot be achieved due to signal losses at long distances the distance can be increased 80
by using repeaters in between and the next modbus TCP/IP communication. 81
The type of modbus communication , this type TCP/IP communication type is spoken over the 82
Ethernet line is called modbus TCP/IP communication.TCP/IP controls more stable and less affected by 83
interference.Communication speed is at the level of megabit speed. 84
So if you are communicating via modbus TCP/IP communication that will be very very high speed and 85
it will be a little bit more reliable and safe and you can use it if your device is supported this communication 86
You can use it easily and you can think okay. 87
Will it communicate or not. 88
There will be no discussion about the communication using the one network structure devices between 89
cities even countries can communicate with each other and the data collection can be performed one master 90
limitation in the serial communication is not valid for the ethernet communication so I mean according 91
to the device chips used the number can be up to 16. 92
So in the ethernet communication TCP/IP communication you can use two or three or four Master 93
So it is according to devices ,which type device that you are using. 94
--. 95
--. 96
Devices are devices supporting or not according to these you can use more than one 97
Master in your TCP/IP communication so in this video I am finished here. 98
See you in the next video.