Skip to main content

Schneider Modbus TCP

Device Production Ethernet

Schneider Electric profile via the Site Runtime modbus-tcp.

PropertyValue
Console protocol idschneider-modbus-tcp
Site Runtime pluginmodbus-tcp
TransportEthernet (TCP/UDP)
Readyes
Writeyes — through approved writes
Subscribe—
Default group interval1000 ms
MaturityProduction: complete driver (connection handling, address forms, batching, read and write)

Create the device​

  1. Open Connectivity → Devices and click Add device.
  2. Pick Schneider Modbus TCP in the protocol list.
  3. Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
  4. Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.

Connection parameters​

Every field the Console shows for this protocol. Required fields must be set before the device can be saved.

ParameterTypeDefaultRange / optionsRequiredDescription
Connection Mode
connection_mode
mapClientClient, ServeryesMakeIntelligent as the client, or as the server
Check Header
check_header
mapFalseFalse, Trueyes
Device Degradation
device_degrade
mapFalseFalse, TrueyesEnable or disable device degradation mechanism
Failure Threshold for Degradation
degrade_cycle
int21 – 65535yesThe number of consecutive failure cycles required to trigger device degradation Shown when Device Degradation = True.
Recovery Time After Degradation
degrade_time
int6001 – 65535yesThe time in seconds after which the device recovers from degradation Shown when Device Degradation = True.
Maximum Retry Times
max_retries
int00 – 5yesThe maximum number of retries after a failed attempt to send a read command
Retry Interval (ms)
retry_interval
int00 – 10000yes
Enable 0x16
enable16
booltrue—noEnable function 0x16
Endianess of 4-Byte Data
endianess
mapABCDABCD, BADC, DCBA, CDAByesTag byte order, ABCD corresponds to 1234
Endianess of 8-Byte Data
endianess_64
map12 34 56 7812 34 56 78, 21 43 65 87, 87 65 43 21, 78 56 34 12yesTag byte order, applicable to int64, uint64 and double types
Start Address
address_base
mapPLC Addresses (Base 1)Protocol Addresses (Base 0), PLC Addresses (Base 1)yesAddress starts from 1 or 0
Send Interval (ms)
interval
int200 – 3000yes
IP Address
host
string——yesLocal IP in server mode, remote device IP in client mode
Port
port
int5021 – 65535yesLocal port in server mode, remote device port in client mode
Connection Timeout (ms)
timeout
int30001000 – 65535yes
Backup IP Address
backup_host
string——noShown when Connection Mode = Client.
Backup Port
backup_port
int5021 – 65535noShown when Connection Mode = Client.

Tag addresses and data types​

Supported data types: INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, BIT, BOOL, STRING, BYTES. The Console validates each tag address against the pattern for its data type before it is saved:

Data typesAddress pattern (regular expression)
INT16 UINT16^[0-9]+![3-4][0-9]+(#B|#L|)$
INT32 UINT32 FLOAT^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$
INT64 UINT64 DOUBLE^[0-9]+![3-4][0-9]+(#B|#L|#BB|#BL|#LL|#LB|)$
BIT BOOL^[0-9]+!([0-1][0-9]+|[3-4][0-9]+\.([0-9]|[0-1][0-5]))$
STRING^[0-9]+![3-4][0-9]+\.[0-9]+(H|L|)$
BYTES^[0-9]+![3-4][0-9]+\.[0-9]+$