Appendix B—Serial Communication Technical Details Tau User’s Manual
B-4 June 2011 TAU-0035-00-10, version 150
Table B-4: RS232 Function Codes
Function
Code (hex)
Command Description Byte Count
Argument
(i.e, Data Bytes) (hex)
Notes
0x00 NO-OP
No Operation.
Cmd:0
Resp:0
None
0x01 SET_DEFAULTS
Sets all current settings as power-on defaults
Cmd:0
Resp:0
None
0x02 CAMERA_RESET
Commands a soft camera reset to the default modes
Cmd:0
Resp:0
None
0x03 RESET_FACTORY_ DEFAULTS
Resets camera with factory header values
Note: It is necessary to send SET_DEFAULTS afterwards to store
the settings as power-on defaults.
Cmd:0
Resp:0
None
0x04 SERIAL_NUMBER
Gets the serial number of the camera and sensor
Get Cmd: 0 None
resp: 8
Bytes 0-1: High word camera S/N
Bytes 2-3: Low word camera S/N
Bytes 4-5: High word sensor S/N
Bytes 6-7: Low word sensor S/N
0x05 GET_REVISION
Gets the firmware / software version
cmd: 0 None
Resp: 8
Bytes 0-1: S/W major version
Bytes 2-3: S/W minor version
Bytes 4-5: F/W major version
Bytes 6-7: F/W minor version
0x0A GAIN_MODE
Gets and sets the dynamic-range-control mode
Get Cmd: 0 None
Set Cmd:2
&
Resp: 2
0x0000 = Automatic
0x0001 = Low Gain Only
0x0002 = High Gain Only
0x0003 = Manual (no switching)
Note: All Tau-P cameras have firefighting
features. Automatic mode is necessary
for firefighting.
0x0B FFC_MODE _SELECT
Gets and sets the Flat Field Correction (FFC) Mode
Get Cmd: 0 None
Set Cmd:2
&
Resp: 2
0x0000 = Manual
0x0001 = Automatic
0x0002 = External