Real com mode – Moxa Technologies NE-4100 User Manual
Page 46
NE-4100 Series User’s Manual
Web Console Configuration
6-11
port is set to 1200 bps, 8 data bits, 1 stop bit, and no for parity. In this case, the total number of
bits required to send a character is 10 bits and the time required to transfer one character is
( 10 bits / 1200 bits/s ) * 1000 = 8.3 ms.
Therefore, you should set Force Transmit timeout to be larger than 8.3 ms. Force Transmit
timeout is specified in milliseconds and must be larger than 10 ms.
If the user wants to send a series of characters in a packet, the serial device attached to the
NE-4100 should send characters without time delay larger than the Force Transmit timeout
between characters, and the total length of data must be smaller than or equal to the NE-4100
module’s internal buffer size. NE-4100’s serial communication buffer size is 1 Kbyte per port.
Local TCP port
Setting
Factory Default
Necessity
1 to 65535
4001
Required
The TCP port that NE-4100 uses to listen to connections, and that other devices must use to
contact NE-4100. To avoid conflicts with well known TCP ports, the default is set to 4001.
Command port
Setting
Factory Default
Necessity
1 to 65535
966
Optional
The command port is a listen TCP port for IP-Serial Lib commands from the host. In order to
prevent a TCP port conflict with other applications, the user can adjust the command port to
another port if needed. The IP-Serial Lib will automatically check out the Command Port on
NE-4100 so that the user does not need to configure the program.
Real COM Mode
TCP alive check time
Setting
Factory Default
Necessity
0 to 99 min
7 min
Optional
0 min: TCP connection is not closed due to an idle TCP connection.
1 to 99 min: NE-4100 automatically closes the TCP connection if there is no TCP activity for the
given time. After the connection is closed, NE-4100 starts listening for another Real COM
driver’s connection from another host.
Max Connection
Setting
Factory Default
Necessity
1, 2, 3, 4
1
Required
Max connection is usually used when the user needs to receive data from different hosts
simultaneously. The factory default only allows 1 connection at a same. When Max Connection is
set to 1, the Real COM driver on the specific host has full control.