How many method of PLC 2 PLC communication in siemens
In Siemens PLCs, there are multiple methods for PLC-to-PLC communication, depending on the PLC models, network protocols, and project requirements. Here are the most commonly used methods:
1. Industrial Ethernet (TCP/IP & PROFINET)
a) GET/PUT (S7 Communication)
-
Used for simple data exchange between two PLCs.
-
Requires one PLC to have GET/PUT enabled in CPU settings.
-
Pros: Easy to implement, no additional hardware needed.
-
Cons: Unidirectional (one PLC must request data from the other).
b) S7 Communication (S7-300, S7-400, S7-1200, S7-1500)
-
Uses the S7 Protocol (ISO on TCP or PROFINET) for bidirectional communication.
-
Requires "BSEND/BRECV" instructions (S7-300/400) or "TCON/TSEND/TRCV" (S7-1200/1500).
-
Pros: Reliable and supports acknowledgment.
-
Cons: More complex to set up compared to GET/PUT.
c) OPC UA Communication
-
Uses the OPC UA Server/Client architecture.
-
Requires an OPC UA-enabled PLC (like S7-1500) or an OPC UA Server (PC-based or external device).
-
Pros: Secure and standardized for industrial IoT (IIoT).
-
Cons: Requires additional licensing or configuration.
2. Fieldbus Protocols
a) PROFINET (Preferred for S7-1200/S7-1500)
-
High-speed, Ethernet-based fieldbus for real-time data exchange.
-
Uses Shared Device, I-Device, or RT/IRT communication.
-
Pros: Fast, deterministic, and supports real-time communication.
-
Cons: Requires a PROFINET controller/device configuration.
b) PROFIBUS DP (Preferred for S7-300/S7-400)
-
Serial fieldbus for PLC-to-PLC communication.
-
Uses DP Master/Slave configuration.
-
Pros: Long-distance communication, robust.
-
Cons: Slower than PROFINET, requires special hardware (DP modules).
c) MODBUS (RTU/TCP)
-
Used for communication with non-Siemens devices and other PLCs.
-
Modbus RTU: Uses RS485 (serial communication).
-
Modbus TCP: Uses Ethernet (TCP/IP).
-
Pros: Simple and widely used.
-
Cons: No built-in diagnostics, slower than PROFINET.
3. Wireless & IoT Communication
a) MQTT (Message Queue Telemetry Transport)
-
Used for IIoT and cloud-based applications.
-
Requires an MQTT broker (on a PC or cloud).
-
Pros: Lightweight, ideal for remote monitoring.
-
Cons: Not suitable for real-time control.
b) 4G/5G Communication (With RTUs or Edge Devices)
-
Uses cellular networks for remote PLC communication.
-
Pros: Long-distance, cloud integration.
-
Cons: Requires a SIM card and data plan.
4. Direct Hardware Communication
a) Shared Memory (Global Data Communication - GD)
-
Available in S7-300/400.
-
Uses Global Data (GD) to exchange small amounts of data without additional programming.
-
Pros: Simple and fast.
-
Cons: Limited data size.
b) IO-Link Communication
-
Uses IO-Link Masters and Devices for sensor/actuator integration.
-
Pros: Simple plug-and-play setup.
-
Cons: Low-speed communication.
Comparison Table
Communication Type | Speed | Complexity | PLC Compatibility |
---|---|---|---|
GET/PUT (S7 Comm.) | Medium | Easy | S7-300, S7-400, S7-1200, S7-1500 |
S7 Communication (TSEND/TRCV, BSEND/BRECV) | High | Medium | S7-300, S7-400, S7-1200, S7-1500 |
OPC UA | Medium | High | S7-1500 (OPC UA enabled) |
PROFINET | Very High | High | S7-1200, S7-1500 |
PROFIBUS | High | Medium | S7-300, S7-400 |
MODBUS (RTU/TCP) | Medium | Easy | All PLCs (with Modbus support) |
MQTT (IoT) | Low | Medium | S7-1200, S7-1500 (with MQTT support) |
Global Data (GD Communication) | High | Easy | S7-300, S7-400 |
Which Method is Best for You?
-
If you need fast communication → PROFINET or S7 Communication (TSEND/TRCV).
-
If you want simple data exchange → GET/PUT.
-
If you are connecting non-Siemens devices → Modbus RTU/TCP.
-
If you need secure, cloud-based communication → MQTT or OPC UA.