NPort 9000 Series CLI
Commands
2-78
2.3.4 Protocol Modbus Interface Commands
From the CLI root directory, use the “configure” command to enter configure mode, and use the “interface
serial protocol modbus ” command to enter the Modbus protocol folder. In this folder, user can set all Modbus
protocol settings.
2.3.4.1
init-delay
To configure the initial delay of the Modbus.
Commands
init-delay
mili-seconds
Syntax
Description
init-delay
Configure initial delay for the Modbus protocol
Defaults
The default is 0
Permission
Admin group
Usage
Guidelines
listen-tcp-port: 0 - 30000
Examples
NPort S9650I-16-2HV(config)# interface serial protocol modbus
NPort S9650I-16-2HV(config-modbus)# init-delay 1000
2.3.4.2
send-tcp-exception
To configure the send TCP exception of the Modbus.
Commands
send-tcp-exception
no send-tcp-exception
Syntax
Description
send-tcp-excepti
on
Configure enable or disable send TCP exception for the Modbus protocol
Defaults
The default is disable
Permission
Admin group
Usage
Guidelines
listen-tcp-port: 1 - 65535
Examples
NPort S9650I-16-2HV(config)# interface serial protocol modbus
NPort S9650I-16-2HV(config-modbus)# send-tcp-exception
NPort S9650I-16-2HV(config-modbus)# no send-tcp-exception
2.3.4.3
tcp-listen-port
To configure the listen TCP port of the Modbus protocol.
Commands
tcp-listen-port
listen-tcp-port
Syntax
Description
tcp-listen-port
Configure the listen TCP port for the Modbus protocol
Defaults
The default is 502
Permission
Admin group
Usage
Guidelines
listen-tcp-port: 1 - 65535
Examples
NPort S9650I-16-2HV(config)# interface serial protocol modbus
NPort S9650I-16-2HV(config-modbus)# tcp-listen-port 1234