Perle Systems DS1, TS2 manual Successful Response Format, Unsuccessful Response Format

Models: DS1 TS2

1 224
Download 224 pages 30.96 Kb
Page 163
Image 163

Accessing I/O Data Via TruePort

Successful Response Format

Byte(s)

# of Bytes Value

11 Command code (from request).

22 Starting register number (see A4/T4 Registers on page 155, A4D2/A4R2 Registers on page 156, or D4/D2R2 Registers on page 157 for this value) from request.

4 2 Number of registers written.

Unsuccessful Response Format

Byte(s) # of Bytes Value

11 Command that this is a response to. If an error has been detected, the command value will have the high bit set (OR with 0x80). For example: The Command is 0x10, so the command field in the response would be 0x90.

1

1

Error code, see Error Codes on page 164.

 

 

 

Example 1: Turn on the first relay on a D2R2 unit.

The first relay (R1) is a digital out coil register with a decimal value of 6659 (hex 0x1A03). Request: 0x0F 0x1A 0x03 0x00 0x01 0x01 0x01

Response: 0x0F 0x1A 0x03 0x00 0x01

Example 2: Turn on the first and second relay on a D2R2 unit.

The first relay (R1) is a digital out coil register with a decimal value of 6659 (hex 0x1A03). Request: 0x0F 0x1A 0x03 0x00 0x02 0x01 0x03 (03 = “00000011” which sets R1 and R2 to 1) Response: 0x0F 0x1A 0x03 0x00 0x02

Note: When reading or writing consecutive “Boolean” (coils) registers, the values of the registers are combined into a single byte as shown by the example above. Two registers (coils) are being written but the length of the data is 1 byte. The one byte contains the value for both registers as follows:

163

Page 163
Image 163
Perle Systems DS1, TS2 manual Successful Response Format, Unsuccessful Response Format

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.