Cli commands for modbus tcp/ip – Comtrol ES7510 User Manual

Page 199

Advertising
background image

RocketLinx ES7510 User Guide: 2000544 Rev. B

CLI Commands for Modbus TCP/IP - 199

ModBus TCP /IP Support

CLI Commands for Modbus TCP/IP

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

Number of Frames Received and Transmitted with a Length (Octets)

0x2A00 to 0x2A3F

2 words

64

0x2A40 to 0x2A7F

2 words

65 to 127

0x2A80 to 0x2ABF

2 words

128 to 255

0x2AC0 to 0x2AFF 2 words

256 to 511

0x2B00 to 0x2B3F

2 words

512 to 1023

0x2B40 to 0x2B7F

2 words

1024 to maximum size

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

Word Address

Data Type

Description

Advertising