MStewart Posted December 6, 2016 Report Posted December 6, 2016 (edited) The problem I am having is when I move (&MOV) 1 to StartCommand (INT) and then I am check to see if StartCommand is equal (=) to 1 but it constantly quickly bounces between a 1 or a 3. This is causing my output to bounce constantly. Does anyone know what might be going on? Edited December 6, 2016 by MStewart
Mendon Systems Posted December 6, 2016 Report Posted December 6, 2016 It sounds like something else in your program is using that register but without a LOT more information it's only a guess.
Jay Anthony Posted December 6, 2016 Report Posted December 6, 2016 3 indicates that that bit 01 of the word that you are moving to is on at the same time as bit 00.
MStewart Posted December 6, 2016 Author Report Posted December 6, 2016 Here is a small piece of my code. If you simulate it (Turn on StartPushButton then turn it off, Turn on PartInFeeder then turn it off) after you get the CurrentSequence to hit 2 it jumps to 4 messing me up. I am new to Omron and am not understanding whats going on. You don't have these problems with AB lol Any help would be greatly appreciated McKenzie DBTest.cxp
Mendon Systems Posted December 6, 2016 Report Posted December 6, 2016 That's because turning off PartInFeeder causes T3 to time out which moves 4 into CurrentSequence.
MStewart Posted December 6, 2016 Author Report Posted December 6, 2016 And to think something so silly got me. Thanks for the help guys!
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