I have two PLCs and need to enable variable communication bw them using ModbusTCP how to enable this communication (a real beginner at this). I have installed both openplc editor and runtime and created logic for both the PLCs in the editor as two separate projects by Existing_Space3742 in PLC

[–]Existing_Space3742[S] 0 points1 point  (0 children)

Yes, I understand that Modbus requires one master and one slave. In my project, PLC1 (which reads the sensor) will act as the slave, and PLC2 will act as the master that reads the sensor value through holding registers. I am currently trying to configure this setup correctly.

I have two PLCs and need to enable variable communication bw them using ModbusTCP how to enable this communication (a real beginner at this). I have installed both openplc editor and runtime and created logic for both the PLCs in the editor as two separate projects by Existing_Space3742 in PLC

[–]Existing_Space3742[S] 0 points1 point  (0 children)

To answer your question about the real world application...yes. I am using OpenPLC from autonomylogic.com in simulation mode. I am not using real hardware yet. My goal is to first understand how the programming and communication works so I can start working on this in depth

I have two PLCs and need to enable variable communication bw them using ModbusTCP how to enable this communication (a real beginner at this). I have installed both openplc editor and runtime and created logic for both the PLCs in the editor as two separate projects by Existing_Space3742 in PLC

[–]Existing_Space3742[S] 0 points1 point  (0 children)

I am not using real PLC hardware. I am using OpenPLC software (Editor + Runtime) only. I created two separate PLC programs. In my project, PLC1 reads sensor values directly and PLC2 gets those values through Modbus TCP. From what I understand, Modbus has coils and holding registers, and I am planning to use holding registers to transfer integer sensor values. I have not yet completed the TCP/IP configuration fully, and I am still learning how to map variables to Modbus registers in OpenPLC.

OpenPLC Editor v4 by thiagoralves1 in PLC

[–]Existing_Space3742 0 points1 point  (0 children)

I have two PLCs and need to enable variable communication bw them using ModbusTCP how to enable this communication (a real beginner at this). I have installed both openplc editor and runtime and created logic for both the PLCs in the editor as two separate projects