NI1000_LuS_TO_INT: INT
This function calculates a temperature from the value of an NI1000 L&S resistor.
Connect this function to iMP_Sensor_Analog. As output, you receive an INT variable that represents the temperature with a resolution of 0.01°C (20.5°C, for example, is represented as 2050).
The lowest valid value of 872 ohms corresponds to -30°C. If the value is smaller than this, 16#7FFD is output.
The largest valid value of 1586 ohms corresponds to 115°C. If the value is greater than this, 16#7FFE is output.
VAR_INPUT
MP_Value : WORD;
MP_Value: Input for an ohmic NI1000 L&S sensor
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_MPBus from 3.3.5.0 |