(4)Comms command Text data format
a)Send data and read command data (master to slave)
1)Command data are converted into ASCII code and transmitted.
2)Comms byte quantity is 18.
3)Comms data format (transmission sequence).
STX | Text data | ETX | SUM |
18 bytes
■Comms data description
・ STX | : Code indicating start of text. | 1 byte (02H) | |
・ Text data | : Transmit / receive data. | 14 byte (ASCII code) | |
・ | ETX | : Code indicating end of text. | 1 byte (03H) |
・ | SUM | : XOR result (FFH) of adding STX, Text data and ETX. 2 byte |
4) Text data format details (transmission sequence).
Status
ID no.
Area
address
Relative no.
Data
14 bytes
■Text data details
・ Status | : Transmission data status. | 2 bytes (ASCII code) |
| Used for EEPROM write | (0: write absent, 1: write present) |
・ ID no. | : Identification (camera ID) number set by user. |
However, ID no. FFH is global address and all data are changed. 2 bytes (ASCII code)
・Area address
:Sets number (0 to 255) for each adjustment item. 2 bytes (ASCII code)
・Relative no.
:Sets number determined by each area address. 2 bytes (ASCII code)
・Data (note)
: Sets data to be transmitted. | 2 bytes x 3 (ASCII code) |
8