Moxa Technologies 5110 Series Network Card User Manual


 
NPort 5110 Series User’s Manual Web Console Configuration
5-22
Ethernet Modem
Dial-in
NPort 5110 listens for a TCP/IP connection request from the remote Ethernet modem or host.
NPort 5110’s response depends on the ATS0 value, as outlined below.
ATS0=0 (default):
NPort 5110 will temporarily accept the TCP connection and then send the “RING” signal out through
the serial port. The serial controller must reply with “ATA” within 2.5 seconds to accept the connection
request, after which NPort 5110 enters data mode. If no “ATA” command is received, NPort 5110 will
disconnect after sending three “RING” signals.
ATS0
1:
NPort 5110 will accept the TCP connection immediately and then send the “CONNECT <baud>”
command to the serial port, in which <baud> represents the baud rate of NPort 5110’s serial port. After
that, NPort 5110 immediately enters data mode.
Dial-out
NPort 5110 accepts the AT command “ATD <IP>:<TCP port>” from the serial port and then
requests a TCP connection from the remote Ethernet Modem or PC. This is where <IP> is the IP
address of the remote Ethernet modem or PC, and <TCP port> is the TCP port number of the
remote Ethernet modem or PC. Once the remote unit accepts this TCP connection, NPort 5110
will send out the “CONNECT <baud>” signal via the serial port and then enter data mode.
Disconnection request from local site
When NPort 5110s is in data mode, the user can drive the DTR signal to OFF, or send “+++” from
the local serial port to NPort 5110. NPort 5110 will enter command mode and return “NO
CARRIER” via the serial port, and then input “ATH” to shut down the TCP connection after 1
second.
NOTE
The “+++” command cannot be divided. The “+” character can be changed in register S2, and
the guard time, which prefixes and suffixes the “+++” in order to protect the raw data, can be
changed in register S12.