{}

Impact-Company-Logo-English Black-01-177x54
Share Price 
Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric corporate Website

Search FAQs

What is the max. number of word for Modbus TCP read/write in M258/LMC058?

M258/LMC058 can implement both Modbus TCP client and server; also can work as a Modbus TCP Slave device.
1) If the controller works as a Modbus TCP client, you need to add function blocks to read/write a server:
READ_VAR: Quantity is the number of objects to be read:
"    1-125: registers (MW and IW types)
"    1-2000: bits (I and Q types)
WRITE_VAR: Quantity is the number of objects to write:
"    1-123: registers (MW type)
"    1-1968: bits (Q type)
WRITE_READ_VAR: WriteQuantity is the number of objects to write:
"    1-121: registers (MW type)
ReadQuantity represents the number of objects to be read:
"    1-125: registers (MW type)

2) If the controller works as a Modbus TCP server, there is no restriction for the number of being read/write, it depends on the restriction of the Modbus TCP client.

3) If you configure Ethernet to Modbus TCP Slave device (It serves as a gateway for an external I/O scanner configured as the Modbus Master, and allows this scanner to exchange data with the controller without interfering with the operation of the Modbus server on the controller.), size of Holding Registers (%IW) and Input Registers (%QW) is 2...40 bytes.

Schneider Electric Global

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: