Command descriptions
set switches
ConnectPort® LTS Command Reference
129
mode={232|485}
Selects the electrical interface of the serial port. The selected value determines whether the "wires"
and "termination" options are meaningful.
232
The serial port uses electrical interface EIA-232. This interface uses independent wires
to transmit and receive data, which allows data to be sent and received between
devices simultaneously.
485
The serial port uses electrical interface EIA-485. This mode can also be used for EIA-422
connections. This interface uses two wires to both transmit and receive data. This
interface also allows for multiple transmitters and receivers to be easily connected
together.
The "wires" and "termination" command options specifically apply to serial ports in EIA-
485 mode.
The default is "232."
wires={two|four}
Applies when the serial port is running in EIA-485 mode only. Selects the number of differential wires
used for communication and implicitly determines the duplex of the connection.
two
The serial port operates in two-wire mode. This mode is a half-duplex connection with
shared transmit and receive wires.
four
The serial port operates in four-wire mode. This mode is a full-duplex connection with
independent transmit and receive pairs.
The default is "four."
termination={on|off}
Applies when the serial port is running in EIA-485 mode only. Determines whether termination and
biasing resistors are used across the lines.
on
Termination and biasing resistors are enabled across the lines. Termination should be
set to "on" if this node is an endpoint of the 485 network. Biasing should be used in at
least one unit in a two-wire environment.
off
Termination and biasing resistors are disabled across the lines.
The default is "off."
Examples
Configure standard EIA-232 communication
#> set switches port=1 mode=232
Содержание ConnectPort LTS 16
Страница 1: ...ConnectPort LTS Command Reference ...
Страница 117: ...Command descriptions set service ConnectPort LTS Command Reference 117 See also n revert n set network n show ...
Страница 152: ...Command descriptions set usb ConnectPort LTS Command Reference 152 Example Format the USB memory set usb format id 1 ...