Cli commands for modbus tcp/ip – Comtrol ES8508 Series User Guide User Manual

Page 210

Advertising
background image

210 - CLI Commands for Modbus TCP/IP

RocketLinx ES8508 Series User Guide: 2000575 Rev. A

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