Communication with Other Devices • Verify CTS drop-down list: Specify whether to use the "Clear to Send" type of verification. • Disable DTR checkbox: Click (enable) this box to disable the DTR function (the driver will not set the DTR signal before starting the communication). • Enable IR checkbox ( only available on Windows Embedded target systems ): Click (enable) this box to enable the serial driver to use an Infrared interface (COM2 port) instead of a standard serial port to communicate with the device (such as the PLC, I/O, hand-held computers, and so forth). • Protocol area: • Station field: Some slave drivers such as the Modbus Slave (MODSL) require a slave network address.
Use this field to specify the slave address. • Retries field: Type a numeric value to specify how many times the driver will attempt to execute the same communication command before considering a communication error for this command. • Buffers length (bytes) area: • Tx Buffer field: Specify the transmission buffer length (in bytes). • Rx Buffer field: Specify the reception buffer length (in bytes). • Simultaneous Requests area (available only on selected drivers): • Maximum field: Specify the maximum number of requests that may be sent simultaneously to all connected devices. • Maximum per station field:
Specify the maximum number of requests that may be sent simultaneously to a single device. Note: The maximum number of simultaneous requests depends on the device and protocol specifications. Please consult the device manufacturer's documentation. The development application provides two interfaces, which you can use to configure the driver (associating project tags to device addresses): • MAIN DRIVER SHEET : Provides the easiest method for configuring communication between project tags and device addresses. This interface allows you to automatically group tags to provide the best performance during runtime.
You cannot use this interface to control the time needed to scan a group of tags individually. • STANDARD DRIVER SHEETS : Allows you to control the time needed to scan a group of tags individually. You can use both sheets at the same time. Using TCP/IP and UDP Encapsulation Most of the serial drivers allow the use of TCP/IP or UDP/IP encapsulation. The encapsulation mode has been designed to provide communication with serial devices connected to terminal servers on your ethernet or wireless networks. A terminal server can be seen as a virtual serial port. It converts TCP/IP or UDP/IP messages on your Ethernet or Wireless network to serial data.
Once the message has been converted to a serial form, you can connect standard devices that support serial communications to the terminal server. The following diagram provides one example of applying this solution: TCP/IP Encapsulation You can enable the encapsulation by following the steps below: 1. Right-click on the driver's folder, and then choose Settings from the shortcut menu. This will give you access to the communication parameters. InduSoft Web Studio Page 293