Moxa Technologies MiiNePort E2-H User Manual page 70

Miineport e2/e3
Hide thumbs Also See for MiiNePort E2-H:
Table of Contents

Advertisement

MiiNePort E2/E3
buffer until it receives the delimiter character or two-character sequence. When the delimiter is received, the
module will pack the data into its buffer and send it out through the Ethernet port.
Use Delimiter 1 to define the first delimiter character in hex. If only one delimiter character is used, Delimiter
2 should be set to "0". If the delimiter is 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 controlled not only by the delimiter but 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. In addition, the module will also pack data for
network transmission if the next byte of data is not received within the Force transmit time.
ATTENTION
Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial
data received is greater than 1 KB, the MiiNePort 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
The Delimiter process field determines how the data is handled when a delimiter is received. Delimiter 1 must
be enabled for this field to have effect. If Delimiters 1 and 2 are both enabled, both characters must be received
for the delimiter process to take place.
[Do Nothing]: Data in the buffer will be transmitted when the delimiter is received.
[Delimiter + 1] or [Delimiter + 2]: The data will be transmitted when an additional byte (for Delimiter +1),
or an additional two 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 is transmitted.
Force transmit
Setting
0 to 65535 ms
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 pack 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 if serial data is not received in the
specified time.
The optimal force transmit time depends on your application, but it should be larger than one character interval
within the specified baudrate to have any effect. For example, assume that the serial port is set to 1200 bps,
Factory Default
Do Nothing
Factory Default
0 ms
7-21
Web Console Configuration
Necessity
Optional
Necessity
Optional

Advertisement

Table of Contents
loading

Table of Contents