THERMISTOR_M
It has digital value from Thermistor module and this digital value will be save in D device. It is used to get more than two digital values if the FB name is finished with "_M".
Variable Name | I/O | Type | Device |
BASE | Input | Word | Write Base number 0~16 |
SLOT | Input | Word | Write Slot number CM1 : 0 ~ 11 |
ADDR | Input | Word | Write D address. (Ex. D150 : Write 150) |
SIZE | Input | Word | Write number of Channel (Ex. Ch.1 : Write 1, Ch.1~3 : Write 3) |
OUTPUT | Output | Bit | When it works, it will be turned ON |
If you write wrong SLOT number or BASE number, CPU will have an error.
According to CPU type, D device address range will be different.
System Library type
CM1_THERMISTOR_M
Buffer Memory Index
CM1 THERMISTOR : 21 ~ 28 (Ch.1~8 : Digital conversion value)
Example) CM1_THERMISTOR_M
You can get a digital value from Ch1 and Ch2 at slot #1 in Local base and save them to D10 and D11 in sequence. When it works, D00 will be turned ON.