User manual
EKI-1321/1322 User Manual 54
5.8.4 Setting Control Operating Mode Parameters
In controlling mode, the EKI device presents a modem interface to the attached serial
device: it accepts AT-style modem commands to connect/disconnect to other net-
working device. If you want serial device running application program to connect/dis-
connect to different devices dynamically, you can use controlling mode.
The “Control mode” provides three kinds of modem AT-style commands. The serial
devices can use these commands to control the EKI device to connect/disconnect to
remote networking device. Thus, intelligent serial devices such as standalone PLC
will send/receive data to/from devices one by one via Ethernet.
Please refer to the TCP/UDP server operating mode to setup the Data Listen Port,
Command Listen Port, and Data Idle Timeout.
Hangup Character
The default character is “+”. After you have connected to another serial device
via EKI device, you may need to disconnect. Then you can use the command
“+++” to disconnect. To do this leaves your keyboard idle (don't press any keys)
for at least several seconds, then press “+” three times. You can set “Guard
Time” to define the idle time. Be sure that you have to press “+” over the idle
time.
Guard Time
The default value is 1000 ms.
Example: <Guard Time>+++<Guard Time>
Control Mode is designed for use with legacy operating systems, such as MS-
DOS, that do not support TCP/IP Ethernet. By connecting one of EKI’s serial
ports to the MS-DOS computer’s serial port, it is possible to use legacy software
originally designed to transmit data via modem, but now transmit the data over
the Ethernet.
Dial-in (Use TCP connect to serial port of EKI)
EKI listens for a TCP/IP connection request from the remote host. when a TCP
connection is coming, there will have prompt string "RING" shows on serial port
site. After the system prompting the "RING" string, user can use "ATA" com-
mand to accept the connection or just ignore it. After accepted the connection,
EKI will enter data mode.
Dial-out (From serial port connect to specific TCP host target)
User can user the AT Command “ATD <IP>#<TCP port>” to connect to a spe-
cific TCP target host from serial port. when the TCP connection is accepted by
the remote host, EKI will show “CONNECT” string to serial port and enter data
mode.










