Query All Port Status; System Commands; Query Current Control Protocol; Change Rs-232 Baud Rate - Lightware UMX-OPT-TX150R User Manual

Fiber optical multimedia extender
Hide thumbs Also See for UMX-OPT-TX150R:
Table of Contents

Advertisement

 
6. LW2 Programmers' Reference
6.3.8. Query All Port Status
Description: Shows the actual status of all input and output ports.
Format
Command {PS}
Response (PS●<INPUT_D>,<OUTPUT_D>)CrLf
Legend:
<INPUT_D>
contains 4 decimal numbers. Each number must be 0.
<OUTPUT_D>
contains 1 decimal number. It must be 0.
The input and
output state tables are separated with a comma "," character.
Explanation: This command is reserved for compatibility reasons.
6.4. System Commands
6.4.1. Query Current Control Protocol
Description: Shows the control protocol.
Format
Command {P_?}
Response (CURRENT●PROTOCOL●=●# <x>) CrLf
Legend:
<x>
stands for the active protocol.
Explanation: Protocol 1 is active here.
INFO: User can query the protocol only. This command is reserved for compatibility reasons.
6.4.2. Change RS-232 Baud Rate
ATTENTION! LW2 commands modify the baud rate only if the rotary switch is set #0.
In other case the LW2 commands do not change the baud rate. From #1 to #9 the setting can be read from
the state of the rotary switch (for more details see
Description: The RS-232 baud rate can be set when the BAUD RATE rotary has #0 (software set) state. The
command has to be sent with the earlier baud rate but the response comes with the new baud rate.
Format
Command {RS232BAUD=<rate>}
Response (RS232BAUD=<rate>)CrLf
Explanation: The device RS-232 port is set to 9600 baud.
Example
→ {ps}
← (PS 0000,0)CrLf
Example
→ {p_?}
← (CURRENT PROTOCOL = #1)CrLf
Speed of the Serial Communication
section).
Example
→ {RS232BAUD=9600}
← (RS232BAUD=9600)CrLf
UMX-OPT-TX150R – User's Manual
Possible settings:
6.4.3. Query RS-232 Baud Rate
ATTENTION! LW2 commands modify the baud rate only if the rotary switch is set #0.
In other case the LW2 commands do not change the baud rate. From #1 to #9 the setting can be read from
the state of the rotary switch For more details see
Description: The RS-232 baud rate can be checked. It works via RS-232 as well, but if it is used the command
has to be sent with the appropriate baud rate.
Format
Command {RS232BAUD=?}
Response (RS232BAUD=<rate>)CrLf
Legend:
Please read

Change RS-232 Baud Rate.

Explanation: The device communicates with 57600 baud on the RS-232 port.
<rate>
Baud rate
9600
9600 baud
19200
19200 baud
38400
38400 baud
57600
57600 baud
default
115200
115200 baud
Speed of the Serial Communication
Example
→ {RS232BAUD=?}
← (RS232BAUD=57600)CrLf
37
chapter.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UMX-OPT-TX150R and is the answer not in the manual?

Questions and answers

Table of Contents