Weidmuller IE-CS-2TX-1RS232/485 User Manual page 43

Industrial serial to ethernet converter
Hide thumbs Also See for IE-CS-2TX-1RS232/485:
Table of Contents

Advertisement

IE-CS(T)-2TX-xRS232/485
ATTENTION
Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips the clearing of the buffer. If the size of the
serial data received is greater than 1 KB, the IE-CS(T)-2TX-xRS232/485 will automatically pack the data and
send it to the Ethernet. However, to use the delimiter function, you must at least enable Delimiter 1. If
Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not work properly.
Delimiter process
Setting
Do Nothing,
Delimiter + 1,
Delimiter + 2,
Strip Delimiter
[Delimiter + 1] or [Delimiter + 2]: The data will be transmitted when an additional byte (for Delimiter +1), or
an additional 2 bytes (for Delimiter +2) of data is received after receiving the Delimiter.
[Strip Delimiter]: When the Delimiter is received, the Delimiter is deleted (i.e., stripped), and the remaining
data will be transmitted.
[Do Nothing]: The data will be transmitted when the Delimiter is received.
Force transmit
Setting
0 to 65535 ms
0: Disable the force transmit timeout.
1 to 65535: Forces the IE-CS(T)-2TX-xRS232/485's TCP/IP protocol software to try to pack serial data received
during the specified time into the same data frame.
This parameter defines the time interval during which the IE-CS(T)-2TX-xRS232/485 fetches the serial data
from its internal buffer. If data is incoming through the serial port, the IE-CS(T)-2TX-xRS232/485 stores the
data in the internal buffer. The IE-CS(T)-2TX-xRS232/485 transmits data stored in the buffer via TCP/IP, but
only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force
transmit timeout.
The ideal Force transmit timeout depends on your application, but it must be at least larger than a single
character interval within the specified baudrate. For example, assume that the serial port is set to 1200 bps, 8
data bits, 1 stop bit, and no parity. In this case, the total number of bits needed to send a character is 10 bits,
and the time required to transfer one character is
(10 (bits) / 1200 (bits/s)) * 1000 (ms/s) = 8.3 ms.
Therefore, you should set Force transmit timeout to be larger than 8.3 ms, so in this case, it must be greater
than or equal to 10 ms.
If the user wants to send a series of characters in the same packet, the serial device attached to the
IE-CS(T)-2TX-xRS232/485 should send that series of characters during a time interval that is less than the
Force transmit timeout for the IE-CS(T)-2TX-xRS232/485, and the total length of data must be less than or
equal to the IE-CS(T)-2TX-xRS232/485's internal buffer size. The serial communication buffer size for
IE-CS(T)-2TX-xRS232/485 is 1 KB per port.
Local TCP port
Setting
1 to 65535
The "Local TCP port" is the TCP port that the IE-CS(T)-2TX-xRS232/485 uses to listen to connections, and that
other devices must use to contact the IE-CS(T)-2TX-xRS232/485. To avoid conflicts with well known TCP ports,
the default is set to 4001.
Factory Default
Do Nothing
Factory Default
0 ms
Factory Default
4001
5-18
Web Console Configuration
Necessity
Optional
Necessity
Optional
Necessity
Required

Advertisement

Table of Contents
loading

Table of Contents