PLX30 Series
ASCII Protocol
Ethernet and Serial Gateways
User Manual
ProSoft Technology, Inc.
Page 161 of 200
September 19, 2012
Termination of Received Data
When data is received on the application port, the user must define in the
configuration when this data will be transferred to the internal database within the
gateway. this is known as the termination type for port. When the termination
condition is met, the data will be sent from the port’s receive buffer (data area of
255 bytes) to the internal database. This termination type is set in the bit mapped
type field of the gateway object. The following illustration shows the bit map used
for this parameter.
Termination Type Field
Bit(s)
4 to 7
3
2
1
0
Bit Value
-
8
4
2
1
Definition
Reserved
Packet size
limit used
Intercharacter
delay timeout
used
Message
timeout used
Termination
character(s)
used
If none of the bits are set (Type=0), the port will be configured for stream mode.
Any characters received on the port are immediately sent to the processor. The
processor must buffer and assemble a packet of information if this mode is
selected as required by the application. If the data can be handled by the
processor in this mode and it is appropriate for your application, this is the fastest
method of communication between the device and the processor.