RS-232 / RS-485 Communication Protocol
26
NOTES on the above table:
NOTE 1
- When the master switcher is reset, (e.g. when it is turned on), the reset code is sent to the PC. If this code is sent to
the switchers, it will reset according to the present power-down settings.
NOTE 2
- These are bi-directional definitions. That is, if the switcher receives the code, it will perform the instruction; and if
the instruction is performed (due to a keystroke operation on the front panel), then these codes are sent. For example, if the
HEX code
01
85
83
83
was sent from the PC, then the switcher (machine 3) will switch input 5 to output 3. If the user switched input 1 to output 4
via the front panel keypad, then the switcher will send HEX codes:
41
81
84
83
to the PC.
When the PC sends one of the commands in this group to the switcher, then, if the instruction is valid, the switcher replies by
sending to the PC the same four bytes that it was sent (except for the first byte, where the DESTINATION bit is set high).
NOTE 3
- SETUP # 0 is the present setting. SETUP # 1 and higher are the settings saved in the switcher's memory, (i.e. those
used for Store and Recall).
NOTE 4
- The reply to a "REQUEST" instruction is as follows: the same instruction and INPUT codes as were sent are
returned, and the OUTPUT is assigned the value of the requested parameter. The replies to instructions 10 and 11 are as per
the definitions in instructions 7 and 8 respectively. For example, if the present status of machine number 5 is breakaway
setting, then the reply to the HEX code
0B
80
80
85
would be HEX codes
4B
80
81
85
NOTE 5
– For the OUTPUT byte set as 6, the VIS source is the input selected using the OUTPUT byte. Similarly, for the
OUTPUT byte set as 7, the VIS source is the output selected using the OUTPUT byte. Note also, that on some machines the
sync source is not software selectable, but is selected using switches, jumpers, etc!
NOTE 6
– If INPUT is set to 127 for these instructions, then, if the function is defined on this machine, it replies with
OUTPUT=1. If the function is not defined, then the machine replies with OUTPUT=0, or with an error (invalid instruction
code).
If the INPUT is set to 126 for these instructions, then, if possible, the machine will return the current setting of this function,
even for the case that the function is not defined. For example, for a video switcher which always switches during the VIS of
input #1, (and its VIS setting cannot be programmed otherwise), the reply to the HEX code
0A
FE
80
81 (i.e. request VIS setting, with INPUT set as 126dec)
would be HEX codes
4A
FE
81
81 (i.e. VIS setting = 1, which is defined as VIS from input #1).
NOTE 7
– Setting OUTPUT to 0 will return the VIS source setting as defined in instruction #7. Setting to 1 will return the
input # or output # of the sync source (for the case where the VIS source is set as 6 or as 7 in instruction #7). Setting to 2
returns the vertical sync frequency (0 for no input sync, 50 for PAL, 60 for NTSC, 127 for error).
NOTE 8
- The reply to the "REQUEST WHETHER SETUP IS DEFINED" is as in TYPE 3 above, except that here the
OUTPUT is assigned with the value 0 if the setup is not defined; or 1 if it is defined.
NOTE 9
- An error code is returned to the PC if an invalid instruction code was sent to the switcher, or if a parameter
associated with the instruction is out of range (e.g. trying to save to a setup greater than the highest one, or trying to switch an
input or output greater than the highest one defined). This code is also returned to the PC if an RS-232 instruction is sent
while the machine is being programmed via the front panel. Reception of this code by the switcher is not valid.
NOTE 10
– This code is reserved for internal use.
NOTE 11
– For machines where the video and / or audio gain is programmable.
NOTE 12
- Under normal conditions, the machine's present status is saved each time a change is made. The "power-down"
save (auto-save) may be disabled using this code. Note that whenever the machine is turned on, the auto-save function is set.
NOTE 13
- This is a request to identify the switcher/s in the system. If the OUTPUT is set as 0, and the INPUT is set as 1, 2,
5 or 7, the machine will send its name. The reply is the decimal value of the INPUT and OUTPUT. For example, for a 2216,
the reply to the request to send the audio machine name would be (HEX codes):
7D
96
90
81 (i.e. 22dec for 2nd byte, and 16dec for 3rd byte).
Содержание OMX-SW5x5
Страница 1: ...OMX SW5x5...