3 Pt100 Input Module
Cdios 6162

Command / Reply messages for CALIBRATION

 


Cdios 6152 Controller Commands 


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 Full-scale calibration value of  input #1
Write Full-scale 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 Full-scale calibration value of  input #2
Write Full-scale 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 Full-scale calibration value of  input #3
Write Full-scale calibration value of  input #3

-
X
-
X

X
-
X
-

FBh Read self-calibrated A/D converter Offset - X
FCh Read self-calibrated A/D converter Gain - X

FDh

Stop calibration measurements.
After this, the 6163  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 to 60Hz.
  • Measured channels set to 4.
  • Offsets set to zero.
  • Gains set to one.
  • Filters set to maximum.

-

-

FFh Same as FEh, but Basic sample rate = 50Hz - -

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 at a 50 or 60Hz converter sample rate, with maximum filter setting.

     

  3. Use a 'dummy' Loadcell (e.g. two 1K resistors in series), connect this to Input 1:
  4. Measure all 3 input offset values:
  5. Use a fixed reference 'dummy' Loadcell of approx. 2mV/V to input 1 (e.g. three very low tempco. resistors, R1 = R3 = 2K49, R2 = 10E). Determine the exact value of this 'loadcell'.
  6. Measure all 3 input full-scale values:
  7. Write all 6 calibration values from the table to the 6163:
  8. Send the 'Reset 6163' Command (2Fh, Selector code FDh) to resume normal operation

Home

Last Modified: 26 November 2002