FSEIPEL
Member
I have a basic question. I want to go to a 'wait' state set by a boolean tag in controller -- currently HMI only (RSVIEW32) sets this tag, which is type 'boolean' and representation 'decimal'. However, I also want to go into the 'wait' state from program when an alarm triggers.
Problem is, every time I try to use MOV to move a '1' into this boolean tag, I get an error nag about 'invalid data type. Argument must match parameter data type'. I tried using .0 to reference the bits, 2#00000001 as a constant in source operand of MOV, etc, nothing works... Oddly it doesn't even like MOVing source into DEST when they are both set to same tag...
Problem is, every time I try to use MOV to move a '1' into this boolean tag, I get an error nag about 'invalid data type. Argument must match parameter data type'. I tried using .0 to reference the bits, 2#00000001 as a constant in source operand of MOV, etc, nothing works... Oddly it doesn't even like MOVing source into DEST when they are both set to same tag...