I would use Modbus TCP (Ethernet) or Modbus RTU (Serial - RS485) between the two controllers. One would be the Master (Client) and the other would be the Slave (Server) on the Modbus Network.
The following post may help you with the timing of instructions for the master on the network.
Hi @Kmac (Customer)
I would use Modbus TCP (Ethernet) or Modbus RTU (Serial - RS485) between the two controllers. One would be the Master (Client) and the other would be the Slave (Server) on the Modbus Network.
The following post may help you with the timing of instructions for the master on the network.
https://accautomation.ca/click-plc-serial-communication-timing/
I hope this helps you out.
Regards,
Garry
ACC Automation
Here is the link for the Click PLC series.
https://accautomation.ca/series/click-plc/
Expanding my answer a little further:
The master would control all of the communications with the slave.
Set up common areas for each controller to Read and Write. This will ensure that communication will be as quick as possible.
Example:
Master Click - Write DS1 to DS20 - Read DS21 to DS40
Use the copy pack and unpack instructions to convert the word to 16 bits or vice versa.
Slave Click - Read DS1 to DS20 - Write DS21 to DS40
Regards,
Garry
https://accautomation.ca/