kikep Posted October 28, 2016 Report Share Posted October 28, 2016 I have making app for plc v570 but for some reason direct store dont get value as you can see everything is good but i don't understand why don't assign the value if i make some error can you explaing me pls. in the image you can see on net 96 the value is assigned but in 97 must change the value an cont change nothing. Link to comment Share on other sites More sharing options...
lawry Posted October 30, 2016 Report Share Posted October 30, 2016 It may work if you shift RESET MB49 after the Store Direct block Link to comment Share on other sites More sharing options...
sgull Posted October 30, 2016 Report Share Posted October 30, 2016 Hi Kikep Try putting the reset coil of MB49 after the store direct. You may be resetting the contact before it gets the chance to store the new value. Regards Denis Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted October 31, 2016 MVP 2023 Report Share Posted October 31, 2016 Try seeing what is actually happening by doing an STL View of the network - right click on the network number itself and select "STL View" from the drop-down menu. Often Visilogic will re-compile a large network and create local internal bits to run the logic. You'll know it's doing this if you see LB 0 in the resulting statement list. This is a downside of what Visilogic allows you to do by stacking outputs in series - it doesn't always work the way it looks like it should. The previous posts are probably correct - the PLC is probably solving mini-rungs and your reset of MB 49 has killed your STO block. Joe T. 1 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted October 31, 2016 MVP 2023 Report Share Posted October 31, 2016 Just move the MB 49 Reset to the next rung gated by the MI 1 comparison. There is no reason to try to cram too much logic into a single rung. Unitronics will not charge you by the rung. It's always better to break up outputs to have a single one for each rung to avoid large network compile problems. 1 Link to comment Share on other sites More sharing options...
lawry Posted November 5, 2016 Report Share Posted November 5, 2016 On 10/31/2016 at 6:43 PM, Flex727 said: Unitronics will not charge you by the rung. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted November 7, 2016 MVP 2023 Report Share Posted November 7, 2016 On 01/11/2016 at 0:13 AM, Flex727 said: It's always better to break up outputs to have a single one for each rung And here I was thinking I was old-fashioned in sticking to this routine. Glad to see someone else always does this! And thanks Joe for the STL View explain about recompiling. cheers, Aus Link to comment Share on other sites More sharing options...
cantcliff Posted November 8, 2016 Report Share Posted November 8, 2016 19 hours ago, Ausman said: And here I was thinking I was old-fashioned in sticking to this routine. Glad to see someone else always does this! And thanks Joe for the STL View explain about recompiling. cheers, Aus I usually try to stick to one rung, one output. Sometimes I get lazy, sometimes I don't. The only way to guarantee your program works as intended is to do it every time. We had a very weird issue once with a PLC controller test station that popped up after a software update with another manufacturer. Turns out their compile routines changed slightly on how they processed the logic, which changed the order of the final program execution. I've also seen the same issues when duplicating programs across two different manufacturers. You are not alone. Link to comment Share on other sites More sharing options...
kikep Posted November 9, 2016 Author Report Share Posted November 9, 2016 Thanks for replay , I change the program and now is working. Link to comment Share on other sites More sharing options...
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