Communication Protocol
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
DATA=1: configure the machine to its factory default state.
When the machine receives this code, all programmable parameters will be reset to their
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 |
0 | 1 | 0 | |
Combination | 0 | 1 | 1 |
NTSC 4.43 | 1 | 0 | 0 |
INSTRUCTION 3 – READ
When sending to machine:- DATA, EXTENDED DATA - set as 0.
When replying:- EXTENDED DATA =
INSTRUCTION 10 – WRITE EEPROM DATA
DATA = EEPROM
INSTRUCTION 11 – READ EEPROM DATA
For sending to machine, DATA = EEPROM
When replying:- DATA = EEPROM
The PC sends this instruction to the machine. The machine replies by sending back the data of this
INSTRUCTION 12 – WRITE I²C
DATA = I²C
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 =
The PC sends this instruction to the machine. The machine replies by sending back the data of this address and
INSTRUCTION 16 – ERROR
If the machine receives an invalid instruction, it replies by sending this error code.
INSTRUCTION 57 – ENABLE
DATA = 0 disables
The PC sends this instruction to the machine. The
Note that whenever the machine is turned on, the
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).
11