
Page 72 / 127
Section 7.
LW2 Programmer’s reference
7.3.16. Batch switch outputs
Description:
The device is capable of switching multiple outputs exactly at the same time.
To do this, the normal switch commands have to be used. If the switch commands arrive
to the device with less than 10 milliseconds delay, the commands are collected and
changes the output connections together.
Required circumstances:
Switch commands have this format: {<in>@<out>}{<in>@<out>}
The delay between two ‘}’ characters must be below 10 milliseconds
No other command or junk character is allowed between switch commands
Affected outputs must not be locked
If any of the above circumstances fail, then the commands will be processed separately
and the output connections will change one by one.
Info: The delay timeout applies for the receiving time of characters. Please note that if LAN
connection is used then the network may cause additional delays. This could result that
batch switching does not occur.
The below example shows a command that resulted batch switching:
One by one commands
Batch commands
→ {02@01 V}CrLf
→ {02@01 V}{01@01 A}CrLf
← (O01 I02 V)CrLf
←
←
(O01 I02 V)CrLf
(O01 I01 A)CrLf
→ {01@01 A}CrLf
← (O01 I01 A)CrLf
7.4. RS-232 port configuration
7.4.1. Query the RS-232 mode
Description
: The RS-232 mode can be queried as follows:
Format
Example
Command {RS232=?}
→ {rs232=?}
Response (RS232=<mode>)CrLf
← (RS232=CONTROL)CrLf
Legend:
<mode>:
CONTROL = Control mode is enabled,
PASS = Pass mode is enabled,
CI = Command injection mode is enabled.
Explanation:
Current RS-232 mode is Control mode.
7.4.2. Change RS-232 mode
Description
: The RS-232 mode can be changed as follows:
Format
Example
Command {RS232=<mode>}
→ {rs232=pass}
Response (RS232=<mode>)CrLf
← (RS232=PASS)CrLf
Legend:
See section
on page
Explanation:
The RS-232 mode is set to Pass mode.
Summary of Contents for UMX-TPS-TX120
Page 2: ......