Sunday, November 7, 2010

Configuration Commands for DTP41

Configuration settings:
The convention used for configuration settings is: switch setting, switch, CF -return- (with no comma separators). All settings that are denoted with an asterisk* are factory default of the instrument. Commands are case insensitive.
Syntax: **##cf
              where  ** is the switch setting or option selection
                          ## is the switch or index to the item to be configured
Examples
                0105CF <return> would turn autotransmit on
                040ACF <return> would set output precision to 4 decimal places.

Switch Name and Switch Setting
00 Language
  00 - English*
01 Beeper Tone
  00 - off
  01 - soft
  02 - medium
  03 - loud*
04 RS232 Handshaking
  00 - off*
  01 - cts
  02 - busy
  03 - xon
05 Auto transmit
  00 - off*
  01 - on
06 Decimal point
  00 - off
  01 - on*
07 Response data separator modes
  00- space
  01 - comma*
  02 - tab
  03 - carriage return
  04 - carriage return & line feed
  05 - line feed
08 Response delimiter in RCI mode (see 12CF)
  00 - carriage return
  01 - carriage return & line feed*
  02 - line feed
09 Echo settings
  00 - off*
  01 - on
0A Decimal Precision
  00 - .
  01 - .0
  02 - .00*
  03 - .000
  04 - .0000
  05 - .00000
0C Min/Max mode
   00 - off*
   01 - on
0D Persistent error
   00 - off*
   01 - on
0F Show data labels
  00 - off*
  01 - on
10 Emulation mode
   00 - factory default (???)
11 Drive motor calibration at power up
  00 - off*
  01 - on
12 RS-232 Protocol modes
  00 - RCI*
  01 - ICP
13 Measurement modes
  00 - Static measurement mode
  01 - Dynamic measurement mode*
14 Number of samples to average per static reading
  0x01*
  .
  .
  0xff
15 Number of readings taken in static measurement
  0x01*
  .
  .
  0xff
16 Illuminant/Observer types
  00 - A_2
  01 - A_10
  02 - C_2
  03 - C10
  04 - D50_2*
  05 - D50_10
  06 - D65_2
  07 - D65_10
  08 - F2_2
  09 - F2_10
  0A - F7_2
  0B - F7_10
  0C - F11_2
  0D - F11_10
  0E - F12_2
  0F - F12_10
  -------------
  10 - D75_2 (added after firmware v8212)
  11 - D75_10 (added after firmware v8212)
  12 - D55_2 (added after firmware v8212)
  13- D55_10 (added after firmware v8212)
17 Density status types
  00 - Status_A
  01 - Status_E
  02 - Status_I
  03 - Status_T*
  04 - Spectral
  ------------
  05 - Spectral_X (added after firmware v8212)
  06 - Status_HIFI (VCMYRGBO) (added after firmware v8212)
  08 - Status_Tx (added after firmware v8212)
  09 - Status_Ax (reflectance) (added after firmware v8212)
  0A - Status_Ex (added after firmware v8212)
  0B - Status_G (added after firmware v8212)
  0C - Status_M (added after firmware v8212)
  0D - Status_Axt (transmission) (added after firmware v8212)
  0E - Status_Mx (added after firmware v8212)
Note:  Status responses with the sub-x option are responses with correction factors entered to more closely match the existing population of filtered densitometers. Status responses without the sub-x option correspond directly to the ANSI definitions.
18 Data Output types
  00 - Density
  01 - Plus Dot
  02 - Minus Dot
  03 - Reflectance*
  04 - Lab
  05 - XYZ
  06 - Yxy
  07 - xyY
  08 - LCh
  09 - Density (VCMYRGBO)
19 Instrument mode (added after firmware v8212)
  00 - Reflectance*
  01 - Transmission
1E Reflect calibration timeout
   18 - set it to 24 hours
1F Trailer timout
   02 - set it to 2 seconds
20 Transmission calibration timeout
   18 - set it to 24 hours
21 unknown
   00
   01*
22 unknown
   00
   01*
  
Operation Commands
CM Calibrate Drive motor
CR Calibrate Reflectance
  This executes reflection calibration using the supplied calibration reference
CU Calibrate Unit (added after firmware v8212)
  This enters the CR, CM and, if transmission mode is present CT
DM Drive Motor - turns on/off the drive motor
  02 DM returns current motor speed
  1.20DM will set the motor to the default motor speed
RI Reset Instrument to its power - up state
RM Request Measurement Initiates the measurement process
SV or V Send Version returns the model and firmware version
XE Clear and transmit errors

Undocumented Commands
note: use it at own risk as they may affect normal operation of dtp41
CE  Clear errors in the error memory stack
CL  unconfirmed (calibration learn mode: test white reference???)
CT  Transmission calibration for dtp41t only  [ Link ]
        00CT  white calibration
        01CT  black calibration
00SN return the instrument serial number
04SN return calibration strip serial number
05SN return 000000
00CR static calibration Black reference, to be confirmed
01CR static calibration White reference, to be confirmed
00DS or DS return 0300700005008
01DS return 0070700010080023
BR  return present baud rate
MP  ???
00PB  disable keypress switch
01PB  enable keypress switch

Error Codes
All errors are displayed in a <xx> format where the xx is equivalent to two numbers, or a number followed by a letter. If instead the error comes back like <Ax> (capitol letter followed by a number) this indicates a compound error. Use the XE command to list the individual errors and clear the error stack.

00 = NO ERROR
01 = MEASUREMENT STATUS -Measurement complete
02 = CALIBRATION STATUS -Calibration complete
03 = KEYPRESSED STATUS -A Key was pressed
04 = DEFAULTS LOADED STATUS
11 = BAD COMMAND -Command is unrecognized
12 = BAD PARAMETERS -One or more parameters missing or too many parameters given
13 = PRM RANGE ERROR -One or more of the parameters is out of range
14 = BUSY -Instrument is currently busy command ignored
15 = USER ABORT ERROR
20 = MEASUREMENT ERROR -General measurement error
21 = TIMEOUT
22 = BAD STRIP
23 = BAD COLOR
24 = BAD STEP
25 = BAD PASS
26 = BAD PATCHES
27 = BAD READING
28 = NEEDS CAL ERROR -Instrument requires a new calibration error
29 = CAL FAILURE ERROR -Calibration failed
30 = INSTRUMENT ERROR -General internal instrument error
31 = LAMP ERROR
32 = FILTER ERROR
33 = FILTER MOTOR ERROR
34 = DRIVE MOTOR ERROR
35 = KEYPAD ERROR
36 = DISPLAY ERROR
37 = MEMORY ERROR
38 = ADC ERROR
39 = PROCESSOR ERROR
3C = INPUT POWER ERROR
3D = TEMPERATURE ERROR
3F = TRANSMISSION LAMP ERROR

About DTP41T   [  Link  ]

2 comments:

  1. Hello, I have been trying to make a static measurement with multiple readings with the command xx15cf (with xx being the number of readings in hexa)
    The post says that the command accepts the range 00-ff, but i was only able to make it read up to 100 times max, is there a way to take 255 readings?
    Have you been able to send the command ff15cf succesfully?
    I have a DTP41.. maybe is a DTP41B feature?
    Thanks!

    ReplyDelete
  2. Hi, anyone here? have someone had error 28 issues when attempting to read?
    Thank You!

    ReplyDelete