Set modbus-slave line, Set modbus-master line – Perle Systems IOLAN SDS User Manual

Page 93

Advertising
background image

Line Commands 93

Line Service Commands

Set Modbus-Slave Line

Set Modbus-Master Line

Description Sets the Modbus slave parameters for the line.
User Level Admin
Syntax

set modbus-slave line .|<number>|* [crlf on|off]

[protocol rtu|ascii] [uid-range <uid_range>]

Options

crlf

When

Modbus/ASCII

is selected, adds a CR/LF to the end of the transmission; most

Modbus devices require this option. The default is

On

.

protocol

Specify the protocol that is used between the Modbus Master(s) and Modbus Slave(s),

either RTU or ASCII.

uid-range

You can specify a range of UIDs (1-247), in addition to individual UIDs. The format is
comma delimited; for example, 2-35, 50, 100-103.

Description Sets the Modbus master parameters for the line. SSL/TLS can be enabled and

configured for this Line Service.

User Level Admin
Syntax

set modbus-master line .|<number>|* [crlf on|off]

[protocol rtu|ascii]
[[entry <number> [port <port>] [protocol udp|tcp]
[range-mode gateway|host] [slave-ip <IP_address>]
[uid-range <start_uid> <end_uid>]]

Options

crlf

When

Modbus/ASCII

is selected, adds a CR/LF to the end of the transmission; most

Modbus devices require this option. The default is

On

.

protocol

Specify the protocol that is used between the Modbus Master(s) and Modbus Slave(s),
either RTU or ASCII.

entry

You can specify up to 16 Modbus Slave Remote IP Mapping entries (the UIDs must not

overlap).

port

The destination port of the remote Modbus TCP Slave that the IOLAN will connect to.

protocol

Specify the protocol that is used between the Modbus Master and Modbus Slave(s),

either TCP or UDP.

range-mode

If you specify

Host

, the IP address is used for the first UID specified in the range. The

last octect in the IPv4 address is then incremented for subsequent UID’s in that range.

The

Host

option is not applicable for IPv6 addresses. If you specify

Gateway

, the

Modbus Master Gateway will use the same IP address when connecting to all the
remote Modbus slaves in the specified UID range.

Advertising
This manual is related to the following products: