Zuku88 Posted April 24, 2018 Report Posted April 24, 2018 Hello I am just starting but I have problem with logic I try many times but I can't make logic working the coil is always not set. At test mode you can see red line does not go through coil and on controller no out put led indication. How ever if I force output I can see change on controller led indication
MVP 2023 Flex727 Posted April 24, 2018 MVP 2023 Report Posted April 24, 2018 Your logic says either I 48 or MB 48 must turn on to latch O 48. If you are activating either of those bits and O 48 is not coming on then you have one of two things occurring: 1) An O 48 coil is elsewhere in the program and is being turned off, or 2) This logic is in a subroutine and the subroutine is not being called by the Main routine. 1
Zuku88 Posted April 25, 2018 Author Report Posted April 25, 2018 I noticed that it works in main routine if i copy it Its no 2) Can you Tell me how to call subroutine?
MVP 2023 Flex727 Posted April 25, 2018 MVP 2023 Report Posted April 25, 2018 Place a Call Subroutine block in the Main Routine. You can find Call Subroutine under the Utils drop-down menu.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now