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].