Cli commands for modbus tcp/ip – Comtrol ES8509-XT User Manual

Page 208

Advertising
background image

208 - CLI Commands for Modbus TCP/IP

RocketLinx ES8509-XT User Guide: 2000557 Rev. C

ModBus TCP /IP Support

CLI Commands for Modbus TCP/IP

The CLI commands for Modbus TCP/IP are listed in the following table.

Modbus TCP/IP Commands

Enable

Switch(config)# modbus enable

Disable

Switch(config)# modbus disable

Set Modbus Interval Time
between Request

Switch(config)# modbus idle-timeout

<200-10000> Timeout value: 200-10000ms
Switch(config)# modbus idle-timeout 200

Set Modbus TCP Master
Communicate Session

Switch(config)# modbus master

<1-20> Max Modbus TCP Master

Switch(config)# modbus master 2

Set Modbus TCP
Listening Port

Switch(config)# modbus port

<1-65536> Port Number

Switch(config)# modbus port 502

Advertising