Modbus Commands

Modbus Commands

Set Modbus Gateway

Description

Sets the Modbus parameters for the IOLAN when it is operating as a Modbus Gateway.

User Level

Admin

Syntax

set modbus gateway [addr-mode embeddedre-mapped]

 

set modbus gateway [broadcast onoff]

 

set modbus gateway [char-timeout <number>]

 

set modbus gateway [next-req-delay <number>]

 

set modbus gateway [exceptions onoff]

 

set modbus gateway [idle-timer <number>]

 

set modbus gateway [mess-timeout <number>]

 

set modbus gateway [port <TCP/UDP_port>]

 

set modbus gateway [req-queuing onoff]

 

set modbus gateway [remapped-id <1-247>]

 

set modbus gateway [ip-aliasing onoff]

Options

addr-mode

 

Determines if the original UID address will be embedded in the transmission header or

 

if a specified (remapped) UID will be embedded in the transmission header.

 

broadcast

 

When enabled, a UID of 0 (zero) indicates that the message will be broadcast to all

 

Modbus Slaves. The default is Off.

 

char-timeout

 

Used in conjunction with the Modbus RTU protocol, specifies how long to wait, in

 

milliseconds, after a character to determine the end of frame. The default is 30 ms.

 

next-req-delay

 

A delay, in milliseconds, to allow serial slave(s) to re-enable receivers before issuing

 

next Modbus Master request. The default is 50 ms.

 

exceptions

 

When enabled, an exception message is generated and sent to the initiating Modbus

 

device when any of the following conditions are encountered: there is an invalid UID,

 

the UID is not configured in the Gateway, there is no free network connection, there is

 

an invalid message, or the target device is not answering the connection attempt. The

 

default is On.

 

idle-timer

 

Specifies the number of seconds that must elapse without any network or serial traffic

 

before a connection is dropped. If this parameter is set to 0 (zero), a connection will not

 

be dropped (with the following exceptions: the TCP KeepAlive causes the connection

 

to be dropped or the Modbus device drops the connection). The default is 10 seconds.

 

mess-timeout

 

Time to wait, in milliseconds, for a response message from a Modbus TCP or serial

 

slave (depending if the Modbus Gateway is a Master Gateway or Slave Gateway,

 

respectively) before sending a Modbus exception. The default is 1000 ms.

 

port

 

The network port number that the Slave Gateway will listen on for both TCP and UDP

 

messages. The default is 502.

21

Page 20
Image 20
Perle Systems TS2, DS1 manual Modbus Commands, Set Modbus Gateway

DS1, TS2 specifications

Perle Systems TS2 and DS1 are advanced serial-to-Ethernet devices designed to facilitate seamless integration of serial devices with modern IP networks. These devices serve as crucial tools for businesses looking to enhance their communication capabilities while leveraging existing infrastructure.

One of the standout features of the Perle TS2 and DS1 is their ability to support multiple serial protocols including RS232, RS422, and RS485. This versatile support allows businesses to connect various legacy devices to their networks, ensuring that critical equipment can still communicate effectively in an increasingly digital landscape.

The TS2 model is particularly noted for its dual serial ports, enabling simultaneous communication with multiple devices. This capability is invaluable for applications requiring real-time data transmission, such as remote monitoring and automated control systems. The DS1 model, on the other hand, is designed for single-port use, making it an ideal solution for smaller-scale operations or specific single-device connections.

Both the TS2 and DS1 incorporate advanced features such as configuration through a web interface, which simplifies setup and management. Users can easily access device settings and monitor performance metrics remotely, enhancing operational efficiency. These devices also support various network protocols such as TCP/IP, UDP, and ICMP, ensuring compatibility with a wide range of network architectures.

In terms of security, Perle Systems prioritize user data protection. The TS2 and DS1 offer features including SSL encryption and SSH protection, providing an added layer of security for sensitive information transmitted over the network. This is particularly important for industries where data integrity and security are paramount, such as healthcare and finance.

Additionally, the rugged design of both devices ensures reliable performance even in harsh environments. With extended temperature ratings and robust housing, the TS2 and DS1 can operate in diverse conditions without compromising functionality.

To summarize, the Perle Systems TS2 and DS1 provide a reliable and flexible solution for connecting legacy serial devices to modern networks. With their support for multiple serial protocols, web-based management, robust security features, and rugged design, these devices cater to a variety of industries looking to modernize their communication infrastructure while maintaining existing equipment. Whether for large-scale operations or smaller implementations, the TS2 and DS1 equip businesses with the tools needed for effective serial communication in an IP-driven world.