ersanjit
Member
Hello everyone,
I am new to ladder logic and am currently working on a small project where I might need some help. So I am modifying the sequence of a machine in RsLogix5000. I just some of the rungs to be executed twice so that my machine snaps twice instead of one time only which it is doing right now.
I have two approaches so far:
1) Using a memory bit to latch when all snaps advance and one when all snaps retract and use this bit to execute the rungs used to advance and retract the cylinder again for double snap. However, it is becoming very complicated due to several sensors that check different things during snap. This approach is simple but I have to work and re-structure the whole program for this.
2) I tried using JMP and LBL to execute the rungs sensing jump back to the rung when cylinders advance again. However, the controller is going to infinite loop no matter what i do and therefore faults. I find this approach very simple but I am not sure I can use it.
So, can I use any other approach or how can I make some runs execute twice (basically running a for command in C# one time). Machine's basic functionality is:
Shot pin retracts,
Platen comes down
Snaps advance
Snaps checks and other nut checks
Snaps retract
Platen goes back up
Shot pin (lock for platnen advances)
Cycle Complete
Ofcourse, there are other things like vision inspection and other sensors for part but those do not concern our modification.
Thank you in advance guys!
I am new to ladder logic and am currently working on a small project where I might need some help. So I am modifying the sequence of a machine in RsLogix5000. I just some of the rungs to be executed twice so that my machine snaps twice instead of one time only which it is doing right now.
I have two approaches so far:
1) Using a memory bit to latch when all snaps advance and one when all snaps retract and use this bit to execute the rungs used to advance and retract the cylinder again for double snap. However, it is becoming very complicated due to several sensors that check different things during snap. This approach is simple but I have to work and re-structure the whole program for this.
2) I tried using JMP and LBL to execute the rungs sensing jump back to the rung when cylinders advance again. However, the controller is going to infinite loop no matter what i do and therefore faults. I find this approach very simple but I am not sure I can use it.
So, can I use any other approach or how can I make some runs execute twice (basically running a for command in C# one time). Machine's basic functionality is:
Shot pin retracts,
Platen comes down
Snaps advance
Snaps checks and other nut checks
Snaps retract
Platen goes back up
Shot pin (lock for platnen advances)
Cycle Complete
Ofcourse, there are other things like vision inspection and other sensors for part but those do not concern our modification.
Thank you in advance guys!