Pt100 Input Module
Cdios 6162

Command / Reply messages for CALIBRATION

 


Cdios controller commands 

All CDIOS messages are presented as 8 bytes long. When variable length messages are selected, the part of the message that is not send over the CAN bus is represented in italic/lightgray text.


Command code 2Fh: Read / write calibration related data

This command reads/writes A/D converter and calibration values.
 

Command

Module ID

3

4

5

6

7

8

2Fh

0 - 15

Selector

Data or zero
(lsb)         (msb)
0

0

0


Parameter

Value

 Description

Data in Command Data in Reply

Selector

00h
01h
02h
03h
Read Offset calibration value of input #1
Write Offset calibration value of input #1
Read Gain calibration value of  input #1
Write Gain calibration value of  input #1

-
X
-
X

X
-
X
-

10h
11h
12h
13h
Read Offset calibration value of input #2
Write Offset calibration value of input #2
Read Gain calibration value of  input #2
Write Gain calibration value of  input #2

-
X
-
X

X
-
X
-

20h
21h
22h
23h
Read Offset calibration value of input #3
Write Offset calibration value of input #3
Read Gain calibration value of  input #3
Write Gain calibration value of  input #3

-
X
-
X

X
-
X
-

FDh

Stop calibration measurements.
After this, the 6162  has to be re-initialized because sample rate, number of channels and filter settings may have changed.

-

-

FEh Setup for calibration measurements:
  • Basic sample rate set for 60 Hz suppression.
  • Measured channels set to 3.
  • Offsets set to zero.
  • Gains set to one.
  • Filters set to maximum.
  • Ohm to temperature conversion disabled
  • 4 wire measurement

-

-

FFh Same as FEh, but set for 50Hz suppression - -

Normal reply is:

 

Reply

Module ID

3

4

5

6

7

8

2Fh

0 - 15

Selector (copy of command)

Data or zero
(lsb)        (msb)
0

0

0


 Possible error message:

 

Error

Module ID

3

4

5

6

7

8

AFh

0 - 15

0

0

Error Status

0

0

0


Parameter

Bit

 Description

Error status

0
1
2

1 = Selector parameter out of range
1 = Calibration value write sequence error (data ignored)
1 = FLASH EPROM programming failed

 


Calibration protocol

  1. If not all 6 calibration factors are to be adjusted; first read the calibration values that are to be left unchanged and store them in the calibration table (because ALL values have to be written....).
  2. Initialize the A/D converter with command 2Fh, Selector code FEh or FFh, to measure 3 channels with 50 or 60Hz suppression, maximum filter setting and Ohm to temperature conversion disabled.
  3. Connect 3 special 'zero Ohm' resistors to the input connectors.
  4. For every input to be calibrated:
  5. Connect 3 exactly known precision resistor of approx. 360 Ohms to the input connectors.
  6. For every  input to be calibrated:
  7. Write all 6 calibration values from the table to the 6162:
  8. Send the 'Reset 6162' Command (2Fh, Selector code FDh) to resume normal operation

Home

Last Modified: 26 November 2002