![background image](http://html1.mh-extra.com/html/kramer/vp-12x8/vp-12x8_user-manual_2001219031.webp)
KRAMER: SIMPLE CREATIVE TECHNOLOGY
Kramer Protocol 2000
28
Table 9: Instruction Codes for Protocol 2000
Note: All values in the table are decimal, unless otherwise stated.
INSTRUCTION
DEFINITION FOR SPECIFIC INSTRUCTION
#
DESCRIPTION
INPUT
OUTPUT
NOTE
0
RESET VIDEO
0
0
1
1
SWITCH VIDEO
Set equal to video input
which is to be switched
(0 = disconnect)
Set equal to video output which is
to be switched
(0 = to all the outputs)
2
3
STORE VIDEO STATUS
Set as SETUP #
0 - to store
1 - to delete
2, 3
4
RECALL VIDEO STATUS
Set as SETUP #
0
2, 3
5
REQUEST STATUS OF A
VIDEO OUTPUT
Set as SETUP #
Equal to output number whose
status is reqd
4, 3
15
REQUEST WHETHER SETUP
IS DEFINED
SETUP #
0 - for checking if setup is defined 8
16
ERROR / BUSY
0
0 - error
1 - invalid instruction
2 - out of range
3 - machine busy
9
30
LOCK FRONT PANEL
0 - Panel unlocked
1 - Panel locked
0
2
31
REQUEST WHETHER PANEL
IS LOCKED
0
0
16
57
SET AUTO-SAVE
I3 - no save
I4 - auto-save
0
12, 2
61
IDENTIFY MACHINE
1 - video machine name
0 - Request first 4 digits
13
62
DEFINE MACHINE
1 - number of inputs
2 - number of outputs
3 - number of setups
1 - for video
14
63
EXTENDED DATA
7 MSBs for INPUT data
7 MSBs for OUTPUT data
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
88
83
was sent from the PC, then the switcher (machine 3) will switch input 5 to output 8. If the user switched input 1 to output 7
via the front panel keypad, then the switcher will send HEX codes:
41
81
87
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 INPUT. For example, in instruction 5, if machine number 5 requests
the status of a video output, the reply to the HEX code:
05
80
82
85
would be HEX codes
45
80
81
85
NOTE 8 - The reply is as in TYPE 3 above, except that here the OUTPUT is assigned with the value 0 if the setup is not
defined / no valid input is detected; or 1 if it is defined / valid input is detected.
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.