Is it possible to get the status of a relay (on/off) in the ladder from within a subprogram or a macro? I have a custom M-code that turns on a certain relay under certain conditions and need to have the ability to check the status of that relay from within a program or macro. Maybe by using an IF- statement or something of that nature?
Thanks,
Steve