beautypg.com

2 instruction codes, Instruction codes – Kramer Electronics VM-24H User Manual

Page 20

background image

VM-24H - Communication Protocol

17

8.2

Instruction Codes

All the values in the table are decimal, unless otherwise stated

Instruction Codes for Protocol 2000

Instruction

Definition for Specific Instruction

Notes

#

Description

Input

Output

1

SWITCH VIDEO

Set equal to video input that

is switched

(0 = disconnect)

Set equal to video output that is

switched

(0 = to all the outputs)

2, 15

30

LOCK FRONT PANEL

Unlock panel
Lock panel

0

2

31

REQUEST WHETHER

PANEL IS LOCKED

0

0

16

61

IDENTIFY MACHINE

1

– Video machine name

2

– Audio machine name

3

– Video software version

4

– Audio software version

5

– RS-422 controller name

6

– RS-422 controller version

7

– Remote control name

8

– Remote software version

9

– Protocol 2000 revision

10

– Control data machine

name

11

– Control data software

version

For names:
0

– Request first 4 digits

1

– Request first suffix

2

– Request second suffix

3

– Request third suffix

10

– Request first prefix

11

– Request second prefix

12

– Request third prefix


For versions:
0

– main board

or the number of external board

13

62

DEFINE MACHINE

1

– Number of inputs

2

– Number of outputs

3

– Number of setups

1

– For video

2

– For audio

3

– For SDI

4

– For remote panel

5

– For RS-422 controller

6

– For control data

14

63

EXTENDED DATA

7 MSBs for INPUT data

7 MSBs for OUTPUT data

20


NOTES on the above table:

NOTE 2

– These are bi-directional definitions. If the switcher receives the code, it performs the instruction. If the

instruction is performed (due to a keystroke operation on the front panel), then these codes are sent.
For example, if the PC sends HEX code:
01

85

88

83

then the switcher (machine 3) switches input 5 to output 8.
If the user switches input 1 to output 7 using the front panel buttons, the switcher sends HEX code:
41

81

87

83

to the PC.
When the PC sends one of the commands in this group to the switcher, if the instruction is valid, the switcher replies by
sending the same four bytes to the PC that it received (except for the first byte, where the DESTINATION bit is set high).

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 sends 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 is HEX code:
7D

96

90

81 (i.e. 128

dec

+ 22

dec

for 2

nd

byte, and 128

dec

+ 16

dec

for 3

rd

byte).


If the request for identification is sent with the INPUT set as 3 or 4, the appropriate machine sends its software version
number. Again, the reply would be the decimal value of the INPUT and OUTPUT - the INPUT representing the number
in front of the decimal point, and the OUTPUT representing the number after it.
For example, for version 3.5, the reply to the request to send the version number would be HEX code:
7D

83

85

81 (i.e. 128

dec

+ 3

dec

for 2

nd

byte, 128

dec

+ 5

dec

for 3

rd

byte).


If the OUTPUT is set as 1,

then the ASCII coding of the lettering following the machine’s name is sent.

For example, for the VS-7588YC, the reply to the request to send the first suffix would be HEX code:
7D

D9

C3

81 (i.e. 128

dec

+ ASCII for “Y”; 128

dec

+ ASCII for “C”).


NOTE 14

– The number of inputs and outputs refers to the specific machine being addressed, not to the system.

For example, if six 16x16 matrices are configured to make a 48x32 system (48 inputs, 32 outputs), the reply to the HEX
code:
3E

82

81

82 (i.e. request the number of outputs)

would be HEX code:
7E

82

90

82 (i.e. 16 outputs).


NOTE 15

– When the OVR bit (4

th

byte) is set, then the video commands have universal meaning.

For example, instruction 1 (SWITCH VIDEO) causes all units (including audio, data, etc.) to switch. Similarly, if a
machine is in FOLLOW mode, it performs any video instruction.