EasyManua.ls Logo

Moxa Technologies MiiNePort E2-H - Page 58

Moxa Technologies MiiNePort E2-H
149 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...
MiiNePort E2/E3 Web Console Configuration
7-9
Packet length
Setting Factory Default Necessity
0 to 1024 bytes 0 byte Required
The Packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial
port buffer before sending. When packet length is set to 0 (the default), a maximum amount is not specified
and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full. When a packet
length between 1 and 1024 bytes is specified, data in the buffer will be sent as soon as it reaches the specified
length.
Delimiter 1
Setting Factory Default Necessity
00 to FF “0” for None Optional
Delimiter 2
Setting Factory Default Necessity
00 to FF “0” for None Optional
The delimiter fields are used to specify a one-character or two-character sequence that acts as a marker to
control packing of serial data. By default, delimiter characters are not 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 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 option
al. 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 Factory Default Necessity
Do Nothing,
Delimiter+1,
Delimiter+2,
Strip Delimiter
Do Nothing (only effective when Delimiter is enabled) Optional
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.

Table of Contents

Related product manuals