EasyManua.ls Logo

Microhard Systems IP920 - 4.5.2 Serial Port Protocols

Microhard Systems IP920
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IP920 Operating Manual: Chapter 4 Configuration 31
Character Timeout: in MODBUS mode, it tells the serial server when to
wrap up incoming data from the serial port and to start to transmit. Frames
will be marked as bad frames if the time gap between frames is greater than
1.5 chars, but less than the character timeout.
Serial server also uses this parameter to determine the time gap inserted
between frames. It is measured in characters and related to baud rate. For
example, if baud rate is set to 9600, it takes about 1ms to transmit one
character. When character timeout is set to 4, timeout value is set to 4ms.
When calculated time is less than 3.5 chars, the server will set character
timeout to 3.5 chars.
When the baud rate is greater than 19200bps, the minimal character timeout
is set to 750us internally.
Maximum Packet Size: defines the buffer size the serial server uses to
receive data from the serial port. When the server detects character timeout
or the buffer is full, it packetizes the received frame and transmits.
4.5.2 Serial Port Protocols
The serial server can be set to use one of the following protocols to transmit
serial port to a remote unit.
TCP Client
TCP Server
TCP Client/Server
UDP Point to Point
UDP Point to Multipoint (P)
UDP Point to Multipoint (MP)
TCP Client
When TCP Client protocol is selected, IP920 takes initiative to find and
connect to a remote TCP server when data is received from its serial port.
The TCP connection is terminated by this unit when the data session is done
and connection timeout has expired. If no TCP connection can be
established, serial port data is dropped.
Remote Server Address: IP address of a TCP server which is ready to
accept serial port data through a TCP connection. It might be sitting on a
LAN network server.
Remote Server Port: a TCP port the remote server listens to. It allows a
TCP connection to be created by a TCP client to carry serial port data.
Outgoing Connection Timeout (s): tells IP920 when to terminate the TCP
connection if the connection is in idle state.

Table of Contents