Communication Protocol
11
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 1 – READ INPUT STANDARD
For sending to machine, set DATA = EXTENDED DATA = 0.
When replying:- DATA = INPUT STANDARD; EXTENDED DATA = 0. The PC sends this instruction to the machine. The
machine replies by sending back the INPUT STANDARD, defined as per the table below:
Table 6: Input Standard
STANDARD E2 E1 E0
NTSC (J, M) 0 0 0
PAL (B, G, H, I, N) 0 0 1
PAL-M 0 1 0
Combination PAL-N 0 1 1
NTSC 4.43
1
0
0
INSTRUCTION 3 – READ BACK-PANEL DIP-SWITCH 1 (VIDEO FORMAT) (read format)
When sending to machine:- DATA, EXTENDED DATA - set as 0.
When replying:- EXTENDED DATA = back-panel DIP switch 1 (0=CV, 1=Y/C).; DATA = 0. The PC sends this instruction
to the machine. The machine replies by sending back a value relating to the current video format.
INSTRUCTION 10 – 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. CAUTION – this
function was designated for development and testing purposes. Improper use of this function may cause erratic behaviour of
the machine.
INSTRUCTION 11 – READ EEPROM DATA
For sending to machine, DATA = EEPROM sub-address.
When replying:- DATA = EEPROM sub-address; EXTENDED DATA = requested data.
The PC sends this instruction to the machine. The machine replies by sending back the data of this sub-address.
INSTRUCTION 12 – WRITE I²C
DATA = I²C sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends I²C data (to the I²C address which was last accessed via INSTRUCTION 13). The machine replies by sending
the same data back to the PC.
CAUTION – this function was designated for development and testing purposes. Improper use of this function may cause
erratic behavior of the machine.
INSTRUCTION 13 – READ I²C
For sending to machine, DATA = I²C address; EXTENDED DATA = sub-address.
When replying:- DATA = sub-address; EXTENDED DATA = data read.
The PC sends this instruction to the machine. The machine replies by sending back the data of this address and sub-address.
INSTRUCTION 16 – ERROR
If the machine receives an invalid instruction, it replies by sending this error code.
INSTRUCTION 57 – ENABLE “POWER-DOWN SAVE”
DATA = 0 disables power-down saving; DATA = 1 enables saving. EXTENDED DATA - set to 0.
The PC sends this instruction to the machine. The power-down option is enabled or disabled according to the value of DATA.
If the power-down option is enabled, then the machine will “remember” its state before being turned off, and revert to this
state when turned on again.
Note that whenever the machine is turned on, the power-down save option is enabled.
INSTRUCTION 61 – IDENTIFY MACHINE
For sending, DATA = 1 to request machine name; DATA = 3 to request software version number. EXTENDED DATA - set
to 0.
The PC sends this instruction to the machine. The machine relies as follows:
if the machine name is requested, the machine replies with DATA = 75 (hex), and EXTENDED DATA = 01 (hex).
if the software version is requested, the machine replies with DATA as the version number before the decimal point, and
EXTENDED DATA is the value following the decimal point. For example, for version 3.4, the machine replies with DATA =
03 (hex), and EXTENDED DATA = 04 (hex).