MX-FR Series Modular Matrix Frames – User's Manual 81
7
Programmer’s Reference
establishing the connection, there is no difference between connection types
the router protocol. Lightware routers have a special protocol, but to
interoperate with third-party devices, a secondary protocol is also provided.
The supported LW2 commands are described in this chapter:
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
Protocol Description
The protocol description hereinafter stands for Lightware protocol. The commands can be sent to the device
The matrix routers accept commands surrounded by curly brackets - { } - and responds data surrounded by
round brackets - ( ) - only if a command was successfully executed. All input commands are converted to
uppercase, but respond commands can contain upper and lower case letters as well.
Legend for Control Commands
* The command has the same arguments on the input ports and the output port, as well.
Renewed Protocol
The MX-CPU2 processor board works with a similar but renewed protocol as the earlier generation matrix
Changing Protocols
The router is equipped with multiple router protocols. Different control interfaces can be set to use different
protocols. E.g. the Ethernet interface can use the Lightware protocol while the Serial interface uses
Protocol#2 at the same time. The currently used protocol can be viewed or changed any time on the matrix
front panel (see the Control Protocols section) or by protocol commands.
Format
<in> Input number in 1 or 2 digit ASCII format (01, 5, 07, 16, etc.)
<out> Output number in 1 or 2 digit ASCII format
input or output port number in 1 or 2 digit ASCII format *
<in
2
> Input number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<out²> Output number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<in
2
2
> input or output number in 2 digit ASCII format*
<loc> Location number in 1, 2 or 3 digit ASCII format
<id> id number in 1 or 2 digit ASCII format
<id²> id number in 2 digit ASCII format
CrLf Carriage return, Line feed (0x0D, 0x0A)
●
Space character (0x20)
→
Each command issued by the controller
←
Each response received from the router
<S/C/A>
S: single port, C: all ports of the card,
A: all (input or output) ports of the matrix