Step 2:Device connection
Connect program device and Modbus TCP with standard network cable.
Step 3: Program for LC-C06, which serves as slave of Modbus TCP.
1)Input order on shell of PLC, like "setip 192.168.0.1" and push ENTER to set IP address.
2)Program for slave of Modbus TCP in PLC_PRG(PRG).
Below are "Modbus_TCP_Slave" library instructions in " SMB_Modbus_V1.1.library " library file:
3)Compile and download program to Modbus TCP slave device.
Step 4: Program for LC-C06, which serves as master of Modbus TCP.
1)Program for Modbus TCP master in PLC_PRG(PRG).
Below are "Modbus_TCP_REQ" library instructions in " SMB_Modbus_V1.1.library " library file:
76
Need help?
Do you have a question about the MAT-LC-C Series and is the answer not in the manual?