kikep Posted September 6, 2014 Report Posted September 6, 2014 V350 i have a small project but i have a problem when ejectute a cutter to catter a tube i need ejecute two time to make sure cutter true tube one time is not enough, but i dont know how tu run two time thta, some body have some thing like that or idea pls.
MVP 2023 Joe Tauser Posted September 7, 2014 MVP 2023 Report Posted September 7, 2014 Do you have a limit switch on the other side of the cutter or is it a timed shot? Joe T.
kikep Posted September 11, 2014 Author Report Posted September 11, 2014 Thanks for replay, Yes i have limit switch.....
MVP 2023 Joe Tauser Posted September 12, 2014 MVP 2023 Report Posted September 12, 2014 If you post your code I'll see if I can hack a solution in for you... Joe T.
kikep Posted September 12, 2014 Author Report Posted September 12, 2014 Thank here my code is almost the same this is for tranfer or pull out the tube. transfer2tm.vlp
MVP 2023 Joe Tauser Posted September 17, 2014 MVP 2023 Report Posted September 17, 2014 For starters you don't have an IO module defined in the hardware configuration that matches your Input and Output addresses. I added an IO-DI8-RO8 module to the expansion chain that seems to cover the inputs and outputs you've defined. I gather from your logic that I37 is the cutter retracted switch and I36 is the cutter extended. O34 looks like the cutter output. It's a good idea to use network comments to describe what you're trying to do. The main problem is you are trying to define a sequence using only bits. This is a common beginner's mistake and it can drive you mad, as the bits have a habit it turning themselves on and off at unexpected times. I always use a pointer-based state machine to program sequences. See my attached program. Joe T. transfer2tm_JT.vlp
kikep Posted September 18, 2014 Author Report Posted September 18, 2014 Thanks Joe i will study your code and understand better, yes is true when you burn a IO in midle or begingn of the program, I understand after hard time with some problems after i put all outputs at en of program all became better, thanks if i have some dudes i will ask for your help again....thanks a lote....
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