Communication protocol – Kramer Electronics FC-7402 User Manual

Page 13

Advertising
background image

Communication Protocol

11

DESCRIPTION OF INSTRUCTIONS

INSTRUCTION 0 – RESET

DATA=0: initialize the machine.
When the machine is initialized, it will send the RESET code (DATA = 0). If the machine receives this code, it will reset to its
“power-up” state.
DATA=1: configure the machine to its factory default state.
When the machine receives this code, all programmable parameters will be reset to their factory-default values.
EXTENDED DATA - set as 0.

INSTRUCTION 3 – STORE MACHINE SETTINGS

DATA = setup# (1 to 10) where present values of machine settings are saved.
EXTENDED DATA - set as 0.
- When the machine receives this instruction, its present settings (video parameters) are saved in non-volatile memory. The
machine replies by sending the same 4 bytes (except for the Destination Bit) back to the PC.
- When the user saves the machine settings using the front-panel buttons, then this instruction is sent to the PC.

INSTRUCTION 4 – RECALL MACHINE SETTINGS

DATA = setup# (1 to 10) of machine settings which are to recalled.
EXTENDED DATA - set as 0.
- When the machine receives this instruction, it recalls the settings which were previously saved in the setup#. The machine
replies by sending the same 4 bytes (except for the Destination Bit) back to the PC.
- When the user recalls a setup using the front-panel buttons, then this instruction is sent to the PC.

INSTRUCTION 5dec – SET VIDEO PARAMETER

DATA = Video parameter #, defined as follows:
1 = Brightness
2 = Contrast
3 = Hue
4 = Sharpness
5 = Colour saturation
6 = R-Y saturation
7 = B-Y saturation
EXTENDED DATA - value for selected video parameter .
- When the machine receives this instruction, then, if valid, the selected video parameter is set and the machine replies by
sending the same 4 bytes (except for the Destination Bit) back to the PC.
- When the user changes video parameters using the front-panel buttons, then this instruction is sent to the PC.
Note that the video parameter values range from 0 (minimum) up to 255dec (maximum), and do not necessarily correspond
with the number displayed on the panel of the FC-7402. If a value outside the legal range of a particular parameter is sent, the
error code will be returned.

INSTRUCTION 6 – REQUEST VIDEO PARAMETER

For sending to machine, DATA = VIDEO parameter #, defined as in INSTRUCTION 5; EXTENDED DATA=0;
When replying DATA = VIDEO parameter #, defined as in INSTRUCTION 5; EXTENDED DATA- value for selected
VIDEO parameter.

INSTRUCTION 7 – READ VIDEO ENCODER DATA

For sending to machine, DATA = VIDEO ENCODER sub-address which is to be read.
When replying:- DATA = VIDEO ENCODER sub-address; EXTENDED DATA = requested data.
The PC sends this instruction to the machine. The machine replies by sending back the data assigned to this sub-address.

INSTRUCTION 8 – WRITE VIDEO ENCODER DATA

DATA = VIDEO ENCODER sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends data directly to the encoder. The machine implements this new value, and replies by sending the same 4 bytes
(except for the Destination Bit) back to the PC.
CAUTION – this function was designated for development and testing purposes. Improper use of this function may cause
erratic behaviour of the machine.

INSTRUCTION 10dec – WRITE EEPROM DATA

DATA = EEPROM sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends data directly to the EEPROM. The EEPROM stores this new value, and replies by sending the same data back to
the PC.

Advertising