30 / 69
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4272607A
Legacy Protocol
This command communication protocol is the teli standard method (method in which parameters are set in the
registers in the camera). In command send/receive operation, hexadecimal address and data are converted to
ASCII data. All ASCII alphabetic characters used are uppercase characters.
(1) Writing to the register
To write data in a register, send a command, as follows.
(Address' max-length is 8 bytes, and Data's max-length is 8 bytes)
For example, to write data 0x38 to address 0x76, send a command, as follows:
The camera responds to the write command with No Error (ACK) or Error (NAK), as follows:
No Error (ACK):
Error (NAK):
(2) Reading the register
To read data from a register, send ', (comma)', 'R', 'Q' and [CR] code following the address. For example, to
read data in address 0x91, send a command, as follows:
The camera responds to the read request, as follows (Data's max-length is 8 bytes):
Actually, the camera responds to the read request as minimum data length: For example, to read data 0x10 to
address 0x91, the camera responds as follows:
Address
2nd byte
Address
1st byte
‘ , ’
(0x2C)
Data
8th byte
Data
7th byte
Data
6th byte
Data
5th byte
Data
4th byte
Data
2nd byte
Data
1st byte
[CR]
(0x0D)
Data
3rd byte
‘7’
(0x37)
‘6’
(0x36)
‘ , ’
(0x2C)
‘3’
(0x33)
‘8’
(0x38)
[CR]
(0x0D)
[ACK]
(0x06)
[CR]
(0x0D)
[NAK]
(0x15)
[CR]
(0x0D)
Data
8th byte
Data
7th byte
Data
6th byte
Data
5th byte
Data
4th byte
Data
2nd byte
Data
1st byte
[CR]
(0x0D)
Data
3rd byte
‘1’
(0x31)
‘0’
(0x30)
[CR]
(0x0D)
‘9’
(0x39)
‘1’
(0x31)
‘ , ’
(0x2C)
‘R’
(0x52)
‘Q’
(0x51)
[CR]
(0x0D)