Zuku88 Posted April 24, 2018 Report Share 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 Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted April 24, 2018 MVP 2021 Report Share 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 Quote Link to comment Share on other sites More sharing options...
Zuku88 Posted April 25, 2018 Author Report Share 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? Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted April 25, 2018 MVP 2021 Report Share Posted April 25, 2018 Place a Call Subroutine block in the Main Routine. You can find Call Subroutine under the Utils drop-down menu. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.