
11. Miscellaneous commands
11.1. SET_OUTPUT [0x51]
Sets the outputs OUT1 or OUT2. Can be used by the application to switch external loads.
Parameter
byte 0:
Open-drain OUT1, 0x00 = OFF (
default
), 0x01 = ON
byte 1:
Open-drain OUT2, 0x00 = OFF (
default
), 0x01 = ON
others:
0x00
Response type
0x00:
ACK
Response time
t
PROC
:
~ 25µs
Example
Command e.g.
| 0xF5 |
0x51
|
0x01 0x01
0x00 0x00
0x00 0x00 0x00 0x00
| 0x25 0x5A 0x1D 0x10 | (Set both outputs = ON)
11.2. GET_INPUT [0x52]
Returns the status of the IN pin. Can be used by the application to read an external digital signal, e.g. a switch status.
Parameter
no, all bytes 0x00
Response type
0x0B:
IO
Response data
1 byte:
0x00 = input LOW, 0x01 = input HIGH
Response time
t
PROC
:
~ 25µs
Example
Command e.g.
| 0xF5 |
0x52
|
0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00
| 0xB2 0x8C 0x2F 0x51 |
Response e.g.
| 0xFA |
0x0B
|
0x01
0x00
|
0x00
| 0xCD 0x50 0x9D 0xE0 | (Input = LOW)
11.3. GET_TEMPERATURE [0x4A]
Returns the chip temperature during last distance acquisition.
Parameter
no, all bytes 0x00
Response type
0xFC:
Data
Response data
2 bytes: Temperature, 0.01 ºC / LSB, 16 bit 2's complement signed integer.
Response time
t
PROC
:
~ 25 µs
Example
Command e.g.
| 0xF5 |
0x4A
|
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
| 0x1F 0xF8 0x6E 0x87 |
Response e.g.
| 0xFA |
0xFC
|
0x02
0x00
|
0x47 0x13
| 0x54 0x1E 0x4C 0x14 | (Temperature = 49.35°C)
11.4. GET_TOFCOS_VERSION [0x49]
Returns the TOFCOS version and sub-version of the camera.
Parameter
no, all bytes 0x00
Response type
0xFE:
Data
Response data
4 bytes: byte 0, 1: Subversion, 16 bit unsigned integer
byte 2, 3: Version, 16 bit unsigned integer
Response time
t
PROC
:
~ 25 µs
Example
Command e.g.
| 0xF5 |
0x49
|
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
| 0x8A 0x3C 0x6E 0x7E |
Response e.g.
| 0xFA |
0xFE
|
0x04 0x00
|
0x0E 0x00 0x01 0x00
| 0xE6 0xC5 0x85 0xA0 | (Version 1.14)
11.5. GET_CHIP_INFORMATION [0x48]
Returns the Chip ID and Wafer ID of the used epc635 imager chip.
Parameter
no, all bytes 0x00
Response type
0xFD:
Data
Response data
4 bytes: byte 0, 1: Chip ID, 16 bit unsigned integer
byte 2, 3: Wafer ID, 16 bit unsigned integer
Response time
t
PROC
:
~ 25 µs
Example
Command e.g.
| 0xF5 |
0x48
|
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
| 0x94 0x8B 0x2E 0xD5|
Response e.g.
| 0xFA |
0xFD
|
0x04 0x00
|
0x10 0x04 0x10 0x00
| 0x49 0x2C 0xBB 0x6A | (Chip ID 1040 , Wafer ID 16)
© 2019 ESPROS Photonics Corporation
Characteristics subject to change without notice
30 / 39
Installation_and_Operation_Manual_TOF>cam_635-V0.21