Command Line Interface 93
Line Commands
Set Line Interface
Description Configures line interface (hardware) parameters.
User Level Admin
Syntax
Options eia-232 | eia422 | 485
monitor-dcd
monitor-dsr
flow Defines whether the data flow is handled by the software (Soft), hardware (Hard), Both, or None.
tx-driver-control
duplex
echo-suppression
speed
set line interface eia-232 [monitor-dcd on|off]
[monitor-dsr on|off] [flow none|soft|hard|both]
[speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|
19200|38400|57600|115200|230400]
set line interface eia-422 [flow none|soft|hard|both]
[speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|
19200|38400|57600|115200|230400|460800|921600|1843200|3686400]
set line interface eia-485 [tx-driver-control auto|rts]
[flow none|soft]
[duplex full|duplex half [echo-suppression on|off]]
[speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|
19200|38400|57600|115200|230400|460800|921600|1843200|3686400]
Specifies the type of line that is being used with the Device Server. Select either
EIA-232, EIA-422, or EIA-485.
Specifies whether the RS-232 signal DCD (Data Carrier Detect) should be monitored.
This is used with modems or any other device that sends a DCD signal. When it is
monitored and the Device Server detects a DCD signal, the line service is started.
Default is Off. If both Monitor DCD and Monitor DSR are enabled, both signals must be
detected before the line service is started.
Specifies whether the RS-232 signal DSR (data set ready) should be monitored. This is
used with modems or any device that sends a DSR signal. When it is monitored and the
Device Server detects a DSR signal, the line service is started. Default is Off. If both
Monitor DCD and Monitor DSR are enabled, both signals must be detected before the
line service is started.
Used with a EIA-485 serial interface, if your application supports RTS (Request To
Send), select this option. Otherwise, select Auto. Default is Auto.
Specify whether the line is Full Duplex (communication both ways at the same time) or
Half Duplex (communication in one direction at a time).
This parameter applies only to EIA-485 Half Duplex mode. All characters will be
echoed to the user and transmitted across the serial ports. Some EIA-485 applications
require local echo to be enabled in order to monitor the loopback data to determine that
line contention has occurred. If your application cannot handle loopback data, echo
suppression should be On. The default is echo suppression Off.
Specifies the baud rate of the line; keep in mind that speed is affected by the length of
the cable.