7/13/2012 3:41 PM | |
Posts: 664 Rating:
|
Hai All, Please Anyone tell me the meaning of logic, C DB 10 DO FW100 L DL 0 L FY9 !=F =F100.0 If Anyone Having operating & Commissioning Manuals of WS 420-20 HMI,Please give a link.. Please Anyone give clarification on pointer DO. Thanks&Regards, Raj |
7/14/2012 1:35 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating:
|
Hello, C DB10 just opens the datablock 10, telling that the next commands will use that from that block. When executing the couple of instructions DO FW100 L DL0 you do not load DL0, but the DL with the index specified in FW100. Example: If FW100 contains the value 8, you load DL8 The instructions L FY9 !=F =F100.0 check if the loaded value equals 9, and if true, flag F100.0 is set to "1". Else F100.0 is reset. |
Best regards |
|
Follow us on