Communication protocol – Kramer Electronics 6502 User Manual

Page 10

Advertising
background image

KRAMER: SIMPLE CREATIVE TECHNOLOGY

Communication Protocol

8

Table 5: Instruction Codes for Protocol 2000

INSTRUCTION

DEFINITION FOR SPECIFIC INSTRUCTION

#

DESCRIPTION

INPUT

OUTPUT

NOTE

2

SWITCH AUDIO

Set equal to audio input

which is to be switched

(0 = disconnect)

Set equal to audio output which

is to be switched

(0 = to all the outputs)

2

6

REQUEST STATUS OF AN

AUDIO OUTPUT

Set as SETUP #

Equal to output number whose

status is reqd

4, 3

61

IDENTIFY MACHINE

1 - video machine name

2 - audio machine name

3 - video software version

4 - audio software version

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

13

62

DEFINE MACHINE

1 - number of inputs

2 - number of outputs

3 - number of setups

1 - for video

2 - for audio

14

NOTES on the above table:

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 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 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. 128dec+ 22dec for 2nd byte, and 128dec+ 16dec for 3rd byte).

If the request for identification is sent with the INPUT set as 3 or 4, the appropriate machine will send 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 codes):

7D

83

85

81 (i.e. 128dec+ 3dec for 2nd byte, 128dec+ 5dec for 3rd 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 codes):

7D

D9

C3

81 (i.e. 128dec+ ASCII for “Y”; 128dec+ ASCII for “C”).

NOTE 14 - The number of inputs and outputs refers to the specific machine which is 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 (ie. request the number of outputs)

would be HEX codes

7E

82

90

82

ie. 16 outputs


Advertising