7. Programmer’s Reference
MX-FR Series Modular Matrix Frames – User's Manual
102
Applied CPU2 firmware: v3.5.7b8 | LDC software: v2.5.17b2
7.4.3.
Switching an Input to an Output
Command and Response 1#
#switch
ȩ
{
<in>
@
<out>
}
Ȩ
(O
<out2>
•I
<in2>
)CrLf
Example
ȩ
{1@5}
Ȩ
(O05 I01)CrLf
Input 1 is switched to Output 5.
Command and Response 2#
ȩ
{
<in>
@
<out>
}
Ȩ
(1LO
<out2>
)CrLf
Example
ȩ
{2@4}
Ȩ
(1LO04)CrLf
Input 2 to Output 4 switch is not made because Output 4 is locked.
ATTENTION!
The response for this command does not show whether the output is muted. To check the
mute status, a separate query has to be used, like {VC}; see the
Displaying the Current Connection States
section.
INFO:
To achieve multiple switches executed together, see the
section.
7.4.4.
Switching an Input to All Outputs
Command and Response
ȩ
{
<in>
@O}
Ȩ
(I
<in2>
•ALL)CrLf
Example
ȩ
{02@O}
Ȩ
(I02 ALL)CrLf
Input 2 is switched to all outputs.
INFO:
The response for this command does not show whether any of the outputs are muted. To check the
mute status, a separate query has to be used.
INFO:
The response does not show if there were some locked outputs that could not be switched.
7.4.5.
Diagonal Switching
This command switches all outputs to the same numbered inputs. Output 1 will be switched to the Input 1,
Output 2 to Input 2, etc.
Command and Response
ȩ
{
<in>
@D}
Ȩ
(ALL
•
<out2>
•
out2>
•
…
•
<out2>
•
<out2>
)CrLf
Example
ȩ
{1@d}
Ȩ
(ALL 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17)CrLf
The example shows how to connect video outputs to the same numbered inputs. The response contains all
the connections.
7.4.6.
Batch Switch Outputs
DIFFERENCE:
This function has been heavily modified in MX-CPU2 compared to CPU1.
The router 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 at the router with less than 10 milliseconds
delay, then the router collects the commands 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.
ATTENTION!
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 in batch switching
not occuring.
The example below shows a command that resulted in batch switching:
One by one commands
Batch commands
ȩ
{02@01}
ȩ
{02@01}{05@04}
Ȩ
(O01 I02)CrLf
Ȩ
(O01 I02)CrLf
ȩ
{05@04}
Ȩ
(O04 I05)CrLf
Ȩ
(O04 I05)CrLf