See ASIMET MODULE OPERATIONS document for instructions
on how to hook up the comms link to your PC and RS-485 adapter. This board is currently used
with LOGR53-based data loggers for battery system monitoring; it is mounted inside the LOGR53
Refer to Latest Version Information for reference info on latest firmware version numbers.
Note: commands sent are indicated in BOLD, responses in normal text. <crlf> represents ASCII carriage return and line feed.
A Address acknowledge - returns address of module, terminated by <crlf> - e.g. #LAD01A LAD01<crlf> - NOTE 1: LAD01 is the default address of the A/D interface module; it may be changed by the 'U' command but any failure of EEPROM will result in the use of the default address. In addition, use of defaults is reported in the 'L' command. - NOTE 2: All LOGR53 systems based on this board expect address LAD01 only. H Help - #LAD01H - a multiple line response with text similar to the first line of each command description in this document as the help line, with each line terminated <crlf>, as follows: Firmware LOGRADIF v1.0 A - Address acknowledge H - Display Help message L - Report ID, serial #, cal info Mx - Report cal constant set x (x = channel 1-8): A B C Px - Channel x calibrated data Rx - Channel x raw A/D counts T - Enter test mode U - Update EEPROM constants - password 'OK' - A,Cxy,D,M,Q,S,WOK L Report ID, serial #, cal info, etc. - the 'L' command provides miscellaneous status information about the module in a multi-line response. - The number of lines in the response may vary depending upon the EEPROM status. Normally, after an initial <crlf>, 12 lines of info are provided, as follows: #LAD01L module id from EEPROM module serial number from EEPROM firmware name and version from program EPROM configuration date from EEPROM cal constant set #1 from EEPROM . . cal constant set #8 from EEPROM - example normal response LAD01 001 LOGRADIF v1.0 17APR02 Set1: 0.00000e+00 1.00000e+00 0.00000e+00 Set2: 0.00000e+00 1.00000e+00 0.00000e+00 Set3: 0.00000e+00 1.00000e+00 0.00000e+00 Set4: 0.00000e+00 1.00000e+00 0.00000e+00 Set5: 1.03200e+01 4.32000e-02 0.00000e+00 Set6: 1.03200e+01 4.32000e-02 0.00000e+00 Set8: 1.03200e+01 4.32000e-02 0.00000e+00 Set8: 1.03200e+01 4.32000e-02 0.00000e+00 Mx Output set x of calibration constants - returns cal set x values A B C without heading, space separated, where x is A/D channel 1 to 8. - example: #LAD01M2 0.00000e+00 2.40000e-02 0.00000e+00 Px Acquire and output calibrated data for channel x - x is A/D channel 1 to 8 - outputs calibrated data, after slight delay to acquire new data. Rx Acquire and output raw A/D counts for channel x - x is A/D channel 1 to 8 - outputs raw A/D counts from the 12-bit A/D, after slight delay to acquire new data. T Enter test mode - responds with continuous scans (about 1 second interval) of all 8 A/D channels, in the following format: ch1_cal ch1_raw; ch2_cal ch2_raw; .... ch8_cal ch8_raw; - example (actually a long line of 16 values - 8 calibrated, 8 raw counts) #LAD01T 65.32 3182; 24.33 1537; .... 13.23 2988;<crlf> - exits on receipt of ESC character. U Update EEPROM contents - enters the update mode after confirmation of 'OK' password. New EEPROM values may be entered in this mode. - upon initial entry, you must send the letters OK after the command or the command is ignored, e.g. #LAD01UOK may be sent as one. Upon receipt of the correct 'password', the response will be OK if current parameters are valid, or NEW if parameters have never been entered or are suspicious (i.e. EEPROM failure or bad internal checksum). - response to an unknown command is '?' - IMPORTANT! command letter or letters A, Cxy, M, or S will respond with the current setting when issued followed by <cr> only . If followed by =xxxxx<cr>, where xxxxx is some appropriate value, the EEPROM setting will be changed pending receipt of 'WOK' command to make it permanent. Subsequent requests for current settings will report the new value while still in update mode. However, if update mode is exited with 'Q', the original settings of all parameters will remain intact. - the following commands are available in EEPROM update mode: A - module Address (1 to 5 characters) Cxy - Cal Constants, where x is set 1 to 8, and y is constant A to C D - Configuration date - free-format 7 characters (i.e. 12APR02) M - Model info - free-format 12 characters (i.e. WHOI-AD12) Q - Quit without writing new info to EEPROM S - Serial number - free-format 3 characters (i.e. 132) WOK - Write new info to EEPROM and exit - Cal constants are used in a polynomial of form: A + Bx + Cx^2 - examples: To change the current module address: A=HRG01<cr> To see the address: A<cr> To see the current C7B cal constant: C7B<cr> To change it: C7B=5.25e-3<cr> NOTE: Upon completion, the newly updated module address will not take effect until the next reset or power-up.