NE-4100 Series User’s Manual Web Console Configuration
6-11
Delimiter 2
Setting Factory Default Necessity
00 to FF “0” for None Optional
The Delimiter fields are used to specify a character or 2-character sequence which will act as a
marker to control packing of serial data. By default, no delimiter characters are defined, so the
module transmits data as soon as it is received. When a delimiter character or characters are
defined, the module will hold data in its buffer until it receives the delimiter character or
2-character sequence. When the delimiter is received, the module will pack up the data in its buffer
and send it through the Ethernet port.
Use Delimiter 1 to define the first delimiter character in hex. If only one delimiter character will be
used, Delimiter 2 should be set to “0”. If the delimiter will be a two-character sequence, use
Delimiter 2 to define the second character. To disable the use of delimiters, set both Delimiter 1
and Delimiter 2 to “0”.
Note that data packing is not only controlled by the delimiter; it is also influenced by the module’s
buffer size and the Force transmit field. If the delimiter has not been received by the time the 1K
buffer is full, the module will pack the data for network transmission and clear the buffer. Also, if
the module will also pack data for network transmission if the next byte of data is not received
within the Force transmit time.
ATTENTION
Do not enable Delimiter 2 if Delimiter 1 has been disabled. The delimiter function will not
work properly if Delimiter 2 is enabled without Delimiter 1.
Force transmit
Setting Factory Default Necessity
0 to 65535 ms 0 ms Optional
0: The force transmit timeout is disabled.
1 to 65535: If the module does not receive the next byte of data within the time specified, it will
packed the data in its buffer into the same data frame for network transmission.
The Force transmit field is typically used in conjunction with the Delimiter fields to specify how
data in the module’s buffer is packed for network transmission. When delimiters are used, the
module accumulates data in its buffer as it waits to receive a delimiter. If there is a break in
communication, data will be held in the buffer as the module continues to wait for a delimiter. The
Force transmit field allows you to specify the maximum amount of time that the module will wait
for data. With Force transmit enabled, the module will automatically pack the data in the buffer for
network transmission if no data is received for the specified time.
When set to 0, Force transmit is disabled, which means there is no time limit for how long the
module will wait to receive data. When set between 1 and 65535, the module will pack data as
soon as there has been no serial communication for the specified time.
The optimal force transmit time depends on your application, but it should be larger than one
character interval within the specified baud rate to have any effect. 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 one character is 10 bits, and the time required to transfer one character is
(10 bits / 1200 bits/s) × 1000 ms/s = 8.3 ms.