Set multihost line, Set line initiate-connection – Perle Systems 5500208-41 User Manual

Page 54

Advertising
background image

Line Service Commands

54

IOLAN DS1/TS2 CLI Reference Guide, Version 4.1

Set Multihost Line

Description Configures multiple hosts or a primary/backup host schema for Silent Raw, Reverse

Raw, or Client-Initiated TruePort service types (multihost must be enabled by the line

service type for this to take effect, see

Set Line Service on page 45

for the command to

enable multihost).

User Level Admin
Syntax

Options

entry
You can specify up to 100 hosts in the multihost table.

host <host>

<TCP_port>

delete
Deletes the specified entry from the multihost table.

Set Line Initiate-Connection

Description Determines how the connection is initiated for Direct Telnet.
User Level Admin
Syntax

Options

any-char

Initiates a connection to the specified host when any data is received by the serial port.

specific-char <hex>

Initiates a connection to the specified host only when the specified character is received

by the serial port.

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.

slave-ip

The IP address of the TCP/Ethernet Modbus Slave.

uid-range

When

Range Mode

is

Host

and you have sequential Modbus Slave IP addresses (for

example, 10.10.10.1, 10.10.10.2, 10.10.10.3, etc.), you can specify a UID range and the

IOLAN will automatically increment the last digit of the configured IP address.
Therefore, you can specify a UID range of 1-100, and the IOLAN will route Master

Modbus messages to all Modbus Slaves with IP addresses of 10.10.10.1 - 10.10.10.100.

set multihost line <number> entry <number> host <host> <TCP_port>

set multihost line <number> entry <number> delete

Specify the preconfigured host that will be in the multihost list.

Specify the TCP port that the IOLAN will use to communicate to the

Host

.

set line <number>|* initiate-connection

any-char|specific-char <hex>

Advertising