It looks like you're asking about the GET and PUT instructions in Siemens PLCs. These are S7 communication functions used for data exchange between two Siemens PLCs over Industrial Ethernet.
1. Overview of GET and PUT Instructions
-
GET: Reads data from another PLC (remote CPU).
-
PUT: Writes data to another PLC (remote CPU).
-
Used in S7-300, S7-400, S7-1200, and S7-1500 PLCs.
2. Configuration Steps for GET/PUT in TIA Portal
A. Enable GET/PUT in Remote PLC (S7-1200/S7-1500)
-
Open TIA Portal.
-
Go to Devices & Networks → Select Remote CPU.
-
Open CPU Properties → Under Protection & Security:
-
Enable “Permit access with PUT/GET communication from remote partner”.
-
-
Download the settings to the remote PLC.
B. Configure GET/PUT in Local PLC
-
Open your project and add “PUT” or “GET” instructions from the Communication > Open User Communication library.
-
Configure the instruction:
-
ID: Unique ID (e.g.,
1
). -
Partner IP: IP address of the remote PLC.
-
Remote Data Area: DB (Data Block) number and offset.
-
Local Data Area: DB number and offset in the local PLC.
-
-
Trigger the instruction using a pulse (e.g., Rising Edge).
-
Monitor the Status output:
-
0000
→ Successful execution. -
Other values indicate errors (check the diagnostic buffer).
-
3. Example Code (LAD)
GET Example (Read from Remote PLC)
-
Read data from DB10 in Remote PLC to DB1 in Local PLC.
| Start Button |
|--------------------|----[P]----( GET )
| ID = 1
| Partner IP = 192.168.1.2
| Remote DB = DB10.DBB0
| Local DB = DB1.DBB0
| Status -> MW100
PUT Example (Write to Remote PLC)
-
Write data from DB1 in Local PLC to DB10 in Remote PLC.
| Start Button |
|--------------------|----[P]----( PUT )
| ID = 1
| Partner IP = 192.168.1.2
| Local DB = DB1.DBB0
| Remote DB = DB10.DBB0
| Status -> MW100
4. Important Notes
-
PUT/GET only works if the remote PLC allows access.
-
If using S7-1200 or S7-1500, enable PUT/GET access in CPU settings.
-
Both PLCs must be on the same subnet.
-
If using a firewall or managed switch, allow TCP port 102.
Would you like help troubleshooting or need an example in Structured Text (ST)? 🚀