1/27/2023 5:33 AM | |
Joined: 11/7/2011 Last visit: 1/27/2023 Posts: 96 Rating: (0) |
Dear Sir, i am using pointer for displaying status of inputs ,I have written this program ,which is working fine ,when the value of DB15.DBD4 is 0 . Can anyone tell ,what is wrong in the program L L#0 T MD 200 STRT: A( L DB15.DBD 4 L MD 200 ==D ) JCN M001 L IB [MD 200] T DB15.DBB 12 JU END M001: NOP 0 L MD 200 L L#1 +D T MD 200 //; A( L MD 200 L L#3 <D ) JC STRT END: NOP 0 PROGRAM WITH SYMBOL L L#0 T MD 200 STRT: A( L "INPUT_STATUS_DB".INDEX_VALUE_HMI L MD 200 ==D ) JCN M001 L IB [MD 200] T "INPUT_STATUS_DB".INPUT_DB_REG JU END M001: NOP 0 L MD 200 L L#1 +D T MD 200 //; A( L MD 200 L L#3 <D ) JC STRT END: NOP 0 ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 01/27/2023 11:20:55New subject after splitting |
|
Follow us on