Accessing I/O Data Via TruePort

Accessing I/O Data Via TruePort

Introduction

Analog and Digital I/O data, as well as output control, can be accessed in several ways. To have access from an application running on a workstation or server, the I/O Applications Program Interface (API) provided within Trueport can be used. This API uses a command/response format to get or set data on each individual I/O channel register. A sample program (ioapiotp.c) demonstrating typical usage can be found on the IOLAN product CD-ROM.

Setup

After TruePort has been properly installed and configured on the workstation or server and initiated from the application, it will setup a connection to the appropriate IOLAN. It will then be available to relay commands to the IOLAN and communicate responses back the application. TruePort will create a COM port to which the application can write commands to and read responses from. Since all communications are done via this COM port, the application need only use standard serial communication interface calls.

The following steps should be taken:

1.Install the Trueport software on the server or workstation on which the application will be running.

2.Configure the virtual communication port (COM) (see TruePort User Guide for details)

3.Run the application. Typically the application will:

1.Open the COM port.

2.Send Commands to the COM port using standard write commands.

3.Read Responses from the COM port using standard read commands.

Note: All commands are forwarded to the IOLAN over the network where the specific I/O channel registers are modified or read, and then responses are sent back to TruePort where they will be made available to be read from the COM port.

4.Once the desired operations are completed, the COM port can be closed.

160

IOLAN DS1/TS2 User’s Guide, Version 3.4

Page 160
Image 160
Perle Systems TS2, DS1 manual Accessing I/O Data Via TruePort, Introduction, Setup

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.