RTD_M
It has digital value from RTD 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 / CM2 : 1 ~ 4 / CM3 : 1 ~ 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_RTD_M
CM2_RTD_M
CM3_RTD_M
Buffer Memory Index
CM1 RTD : 21 ~ 28 (Ch.1~8 : Digital converted value)
CM2 RTD : 21 ~ 28 (Ch.1~8 : Digital converted value)
CM3 RTD : 21 ~ 24 (Ch.1~4 : Digital converted value)
Example) CM1_RTD_M
Ex) Base: D00 = 1, Slot: D01 = 2, ADDR: D02 = 80, SIZE: D03 = 3
You can get 3 digital value from Ch1 to Ch3 at slot #2 in 1st expansion base and save them to D80, D81, and D82 in sequence. When it works, M05 will be turned ON.
Example) CM3_RTD_M
You can get 4 digital values from Ch1 to Ch4 at slot #2 and save them to D500, D501, D502, and D503 in sequence. When it works, L10 will be turned ON.