Communication! Do really our Equipment and controllers need to communicate with each other… usually in the small process, there is no need to establish a network between your devices as it could be just one controller.
But in most cases you will find maybe two or three controllers into your plant, to make full control and integration of the process.
These controllers have to see each other they have to speak and transmit data with each other, so one of the most common protocols in the Automation Industry is PROFIBUS, what are its characteristics and application and how to configure a network between two PLCs that is we are going to talk about. Keep focus.
NOTE the primary vendor for this protocol is Siemens.
What is a PROFIBUS Protocol?
PROFIBUS defines the technical features of a serial field bus system, by which distributed digital automation devices, from field to cell level, can be networked together.
It is a multi-master system and so allows the combined operation on one bus of several automation, engineering, and visualization systems with remote peripherals.
This protocol depends on Master-Slave architecture:
Master determines data traffic on the bus and can send messages without an external request if it is in possession of the bus access token.
Masters are also described as active stations.
The slave is a peripheral device, such as input and output devices, valves, drives, and transmitters. They do not receive a token authorizing bus access.
This means that they can only acknowledge messages received or, at the request of a master, send messages to it. Slaves are described as passive stations.
They only require a small portion of the bus protocol, which means they make implementation possible with little effort.
Profibus Protocol Limitations and Characteristics
|Organization||PROFIBUS & PROFINET International|
|Transmission speed||Up to 12Mbit/sec|
|Address Space||Up to 126|
|Max Cable Length Between two devices||100 Up to 1200 Meter That depends on the bit rate used|
|Connectivity||PA + Others|
Steps to configure a PROFIBUS network
Our network consists of:
- Siemens PLC S7-400 (DP Master) CPU 412-2DP
- Siemens PLC S7-300 (DP Slave) CPU 312C-2DP
- PROFIBUS cable (RS485 cable)
First of all, we will make our Hardware configuration and connect the two PLCs through (DP port)
Then we are going to set the DP address and parameters of the PLC by clicking on the PROFIBUS port for (S7-412)
Then we have to set the parameters for the other PLC (S7-312)
You should be aware that the communication between the two PLCs via PROFIBUS protocol stands on the Input / Output Memory of the devices, for this part you can customize your data addressing for the communication.
If you want to change transferring speed you have to click on the PROFIBUS connection between the two PLCs then you can change from here,
Finally, you can download your program on the PLCs.
Little Tip in the hardware connection, for the PROFIBUS connector there is a small switch that called Termination resistor.
You have to ensure that it is ON for the two PLCs (as the network consists just of two devices), but in case of that you have a big network that consists of several PROFIBUS devices, you have to make this switch ON for just the first and last devices as they have just Ingoing cable for the connector, and all other devices that they are in between its Termination Resistor should be OFF as there are Ingoing and Outgoing cables for the same connector.
If you want some Detail information about this Protocol please check this Manual.
If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.