RD_SET_CALI_BY_INDEX via RADIO, Command 3D

OUT

0B

11

3D

GRP

ID

ID TO

CRC

S Index

CAL0

CAL1

CRC

IN

0B

10

4D

GRP

ID

ID TO

CRC

S Index

CAL0

CAL1

CRC

This command will set the calibration value for the specific value pointed to by Index via RADIO. This information will be stores in virtual EEPROM in the node. The PC handles the calculations.

For I/O-board node

The calibration-value is treated as a 16-bit signed value (2-komplement) that is added or subtracted by the PC. Example: The analog value is read as 3418mV but should be 3300mV, -> calibration value $FF8A (-118 decimal).

For non-I/O-board nodes

The calculation from the PC is done like this:

  • If the calibration value is 1.81, then the value is split up in two different bytes and stored as 1[CAL0] and 81[CAL1].

  • If it was –1.81, then the value is split up in two and the individual bytes are 2-complemented (byte=value XOR $FF +1). The individual bytes are then stored 255[CAL0] and 175[CAL1].

All data is stored in decimal value.

Last updated