May 15, 2024

#204 - Schneider PLC to PLC communication

To establish a PLC to PLC communication add a Modbus device into the desired network (NOC or PLC) and then:

- Assign the IP address of the device in the "Address Setting" tab.

- Assign the Read and Write memory addresses in the "Request Setting" tab (Note to the Last Value setting: Set to Zero, in order to reset the values in case of communication fault).

NOTES: - Change the Unit ID from 1 to 255. - Ensure the IP Address of the Source in the Channel Properties is in the correct subnet. - Set up one of the two PLCs as the Master and the other as Slave. So this configuration is done on the Master only, and in the Slave it is necessary only to assign the variables to these memory addresses (e.g., %MW2100). - Monitor the communication status of the DIO_HEALTH[i] array and control the communication via the DIO_CTRL[i] array (True: Active, False: Off).


- In the Request 001 click on "Define Item(s)" and rename the variables to "READ_M340_*", the "*" will then be incremented automatically. Do the same for "WRITE_M340_*".


- After rebuilding the project, the tags will be automatically created and to slice these new tags by: Read_Bit_0 := M340.Inputs.READ_M340_0.0;

No comments:

Post a Comment