Dear all,
I am new to PLC. I have a HMI which constantly sending two words (desired stage) to a PLC location 'VA' (memory - NOT controlled by me). Somehow 'VA' will also change 'CA' (contact - can be temporary controlled for one scan). Since 'VA and CA' are controlled by HMI, I planned to create another two words 'B'. 'B' is the real words of my machine internal process state. 'B' will also be updated after machine does something.
I need to write the following to handle HMI issue
If VA!=CA, then B=VA. Otherwise B is unchanged.
What command I can use to do that in directsoft32?
Thanks
I am new to PLC. I have a HMI which constantly sending two words (desired stage) to a PLC location 'VA' (memory - NOT controlled by me). Somehow 'VA' will also change 'CA' (contact - can be temporary controlled for one scan). Since 'VA and CA' are controlled by HMI, I planned to create another two words 'B'. 'B' is the real words of my machine internal process state. 'B' will also be updated after machine does something.
I need to write the following to handle HMI issue
If VA!=CA, then B=VA. Otherwise B is unchanged.
What command I can use to do that in directsoft32?
Thanks
Last edited: