51
There already exists a modem attached to the users’ serial device.
If users’ serial device already has a modem for phone-line connection, it can be just replaced by
the Pro Series for Ethernet connection. What users need to do is to use an IP address (or domain
name) and port number instead of phone number as a parameter of ATA/ATDT commands.
It is required to send serial data to the multiple remote hosts.
If the serial device should send data to the multiple hosts, modem emulation mode is required.
For example, the first data from the serial device can be sent to the first data acquisition server
and the second to the second server. What user device has to do is to change the IP address (or
domain name) and port number parameters whenever the device sends ATD(T) XXX command.
By using the modem emulation mode of the Pro Series, users can have their serial device connected
to the Ethernet network easily, which is cheaper than using phone line modem.
Table 4-2
is a
summarized AT command table which is supported by the Pro Series.
Figure 4-7
shows the typical
case of the serial port command flow when ATDA command is used to connect to the Ethernet network.
Table 4-2 AT commands supported in the Pro Series
Command
Internal Operation
Response
4
(Verbose Code)
+++
Return to command input mode
None
ATD(T)
[remote
IP
or
domain
name]:[remote
port][CR][LF]
or
ATD(T)
[remote IP][remote port]
[CR][LF]
Set TCP mode as TCP client mode. And then, try to connect
to the specified remote host.
e.g. atdt192.168.1.9:1002
e.g. atdt1921680010091002
Connect to IP address, 192.168.1.9, port 1002
(Port Number is permitted from 1 to 65534)
e.g. atdtps.sena.com:1002
Connect to domain address ps.sena.com, port 1002
ATDR
[remote
IP
or
domain
name]:[remote port]
[CR][LF]
This command is similar to ATD(T). The difference is that
ATDR forces the connection to be Raw TCP connection
regardless of Cryptography configuration and Default Data
mode option.
ATDS
[remote
IP
or
domain
name]:[remote port]
[CR][LF]
This command is similar to ATD(T). The difference is that
ATDR forces the connection to be SSLv3 connection. The
Cryptography configuration should be SSLv3. If not, this
command returns ERROR.
If success,
CONNECT [CR][LF]
If failure in connection,
NO CARRIER [CR][LF]
If other errors,
ERROR [CR][LF]
4
If
Echo
mode is enabled, the command will be sent back first. And then, corresponding response will be sent. If disabled, only
response will be sent.
Содержание HelloDevice Pro PS110
Страница 1: ...1 Universal Device Servers HelloDevice Pro Series PS110 410 810 User Guide Version 1 4 0 2007 05 07...
Страница 24: ...24 Figure 2 19 The Pro Series web management screen...
Страница 93: ...93 Termination Resistor at Tx side can be omitted if the signal status is good Figure A 8 RS422 wiring diagram...