In this mode of operation the data is transferred from LAN to serial and vice versa
in a transparent mode. To select this mode, please set the DIP switch position as shown:-
DIP Switch Settings: -
|
Switch 4 |
Switch 3 |
Switch 2 |
Switch 1 |
Mode of operation |
|
OFF |
OFF |
ON |
OFF |
LAN to Serial (Bi-directional) |
The fig.1. Describes the existing scenario. The Serial Software running on the server will read/write to its serial port (COM1/2…) to communicate with the serial device.


Serial
![]()
Fig. 1. Existing scenario
Internet/LAN enable the serial device by using two LS-101’s (operating in the LAN to Serial mode of operation) as shown in the fig. 2. Use the same software and communicate with the serial device seamlessly. In this scenario the serial device can be accessed or controlled through remotely over Internet or LAN.
LS-101 (A) LS-101 (B)



Serial LAN LAN Serial
![]()
![]()
![]()
![]()
Remote PC
Fig. 2. Internet/LAN enable the serial device (Server running serial software)
Using the network software communicate with the serial device as shown in the following fig.
LS-101



LAN LAN Serial
![]()
![]()
Fig 3. Internet/LAN enable the serial device (Server running Network software)
In this mode of operation the LS-101 emulates a dial up modem.
For transparency to existing software, the LS 101 accepts modem “AT” commands.
These commands are listed in Table 1.
The DIP switch is set as shown
DIP Switch Settings: -
|
Switch 4 |
Switch 3 |
Switch 2 |
Switch 1 |
Mode of operation |
|
OFF |
ON |
OFF |
OFF |
Modem mode |

Ethernet Serial
Fig2. Modem mode of operation.
The LS-101 is always in one of two states; the command state or the on-line state.
The LS-101 assumes the command state whenever power is applied. This state allows the LS-101 to be configured for the particular application. In the command state the data received from the serial port is treated as commands and responses are sent back. LS-101 operation is controlled by AT commands Table 1.
The command ATD<IP address> is used to connect to the remote server. Once the connection is established LS-101 send CONNECT response to the serial device. The LS-101 will enter into the on-line state i.e. what ever data received through the serial port is sent to the LAN and vice versa. You can switch into the command mode by using the escape sequence”+++”.
jump to LS-101_RS232_to_TCP-IP_ICMP_HTTP_DHCP_converter.htm