/
AD_MUX_S
AD_MUX_S
It has relay count value from AD MUX module. It is used to get only one detected value if the FB name is finished with "_S".
Variable Name | I/O | Type | Device |
SLOT | Input | Word | Write Slot number CM1 : 0 ~ 11 |
CH | Input | Word | Write Channel number. (Ex. Ch2 : Write 2) |
OUTPUT | Output | Word | Write Word type device address that you want to save the converted value (Except :X / F / TS / TC / CS / CC / S) |
If you write wrong SLOT number or BASE number, CPU will have an error.
System Library type
CM3_AD_MUX_S
Buffer Memory Index
CM3_AD_MUX : 1 ~ 8 (Ch.1~4 : Relay Count High / Low) – Double Word
Example) CM3_AD_MUX_S
You can get Relay Count High and Low value from Ch1 at the slot #9 and save them to D100 and D101 in sequence.