Programming
TX1200
64
Version: 1.1
6.3.2
NI1000_TO_INT : INT
This function calculates a temperature from the value of an NI1000 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 867 ohms corresponds to -25 °C. If the value is smaller than this, 16#7FFD is
output.
The largest valid value of 1583 ohms corresponds to 95 °C. If the value is greater than this, 16#7FFE is
output.
VAR_INPUT
MP_Value : WORD;
MP_Value:
input for an ohmic NI1000 sensor
NI1000_TO_INT:
temperature in 0.01 °C.
6.3.3
NTC_TO_INT : INT
This function calculates a temperature from the value of an NTC 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 104 ohms corresponds to 145 °C. If the value is smaller than this, 16#7FFD is
output.
The largest valid value of 48555 ohms corresponds to -20 °C. If the value is greater than this, 16#7FFE is
output.
VAR_INPUT
MP_Value : WORD;
MP_Value:
input for an ohmic NTC sensor.
NTC_TO_INT:
temperature in 0.01 °C.
6.3.4
PT1000_TO_INT : INT
This function calculates a temperature from the value of a PT1000 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 862 ohms corresponds to -35 °C. If the value is smaller than this, 16#7FFD is
output.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......