Communication Protocol

Table 19: Instruction Codes￿

 

INSTRUCTION

 

DEFINITION FOR SPECIFIC INSTRUCTION

NOTE

#

DESCRIPTION

 

INPUT

 

OUTPUT

 

0

RESET MACHINE

0

 

0

 

1

1

SWITCH GROUPS

1-4 Set equal to video and audio

1-3 Set equal to group to

2

 

 

inputs to be switched for the

which output is to be

 

 

 

relative group

switched

 

2

SWITCH AUDIO OUTPUTS

1-5* Set equal to audio output to

1

 

2

 

 

be switched to Master Audio out

 

 

 

5

REQUEST GROUP STATUS

0

 

1-3 Set equal to the group of

3

 

 

 

 

which status is required

 

6

REQUEST STATUS OF

0

 

1

 

3

 

MASTER AUDIO OUTPUT

 

 

 

 

 

8

BREAKAWAY SETTING

0

 

0

Audio-follow-video

2

 

 

 

 

1

– Audio breakaway

 

11

REQUEST BREAKAWAY

0

 

0

 

3

 

SETTING

 

 

 

 

 

16

ERROR

Don’t care

0

– Invalid instruction

4

 

 

 

 

1

– Out of range

 

18

RESET MACHINE

0

 

0

 

1

22

SET AUDIO GAIN OF AUDIO

1-5*

Gain value

7

 

OUTPUT

 

 

 

 

 

24

INCREASE/DECREASE AUDIO

1-5*

0

– Increase gain

8

 

GAIN

 

 

1

– Decrease gain

 

25

REQUEST GAIN

1-5*

0

– Video gain

3, 9

 

 

 

 

1

– Audio gain

 

30

LOCK FRONT PANEL

0

– Panel unlocked

0

 

 

 

 

1

– Panel locked

 

 

 

31

REQUEST WHETHER PANEL

0

 

0

 

3

 

IS LOCKED

 

 

 

 

 

44

MEDIA CONTROL

Set equal to switch number

Switch data

 

45

REQUEST MEDIA CONTROL

Set equal to switch number

0

 

 

 

SETTINGS

 

 

 

 

 

57

SET AUTO SAVE

1

– Autosave

Don’t care

5

 

 

2

– No save

 

 

 

61

IDENTIFY MACHINE

1 or 2 – Machine name

0

– request first 4 digits

6

 

 

3 or 4 – Program version

1

– request first suffix

 

 

 

 

 

10 – request first prefix

 

62

DEFINE MACHINE

1

– Number of inputs

1

– For video

3

 

 

2

– Number of outputs

2

– For audio

 

*1 – for CV group, 2 – for SV group, 3 – for VGA group, 4 – for microphone, 5 – for master audio out NOTES on to Table 19:

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:

0000 0001

Instruction “ Switch Groups”

1000 0010

Input #2

1000 1001

in composite video group

1000 0001

Machine #1 (master)

Was sent from the PC, then the switcher (machine #1) will switch input 2 in composite video group to its output. If the user switched input 4 in the VGA group via the front panel keypad, then the switcher will send:

0100 0001

1000 0100

1000 0011

1000 0001 to the PC.

When the PC sends instruction #1 or #2 to the switcher, then, if the instruction is valid, the switcher replies by sending the same four bytes to the PC that were sent (except for the first byte, where the DESTINATION bit is set high).

50

KRAMER: SIMPLE CREATIVE TECHNOLOGY

Page 54
Image 54
Kramer Electronics VP-23RC user manual Instruction Codes, Reset Machine Switch Groups