testsubject
Member
I suppose it is time for me to chime in...
Rod,
What is described in the book is for a momentary toggle switch. A jog switch does not function this way. For jogging, on one stage is the NO contact for the switch. When pressed, JMP to the next stage. In this stage is the Motor run code and an NC for the jog switch. When released, JMP back to the previous stage.
I realize that this could be done simpler using regular RLL, but this is just an example to prove the point.
As some of the other posters alluded to earlier, I rely heavily on Stage Programming. Once I understood the power that it gave me in writing sequenced code, I jumped in with both feet and use it everywhere now. It does take some getting used to, but hang in there. The time invested will be worth it. I also have talked to some of the tech support guys at AD about Stage programming and they try to stear people away from it because it does require thinking differently about how the code is laid out and thwey did not want tot have to handhold the callers through how it works. I think some of them do not fully get it either, IMHO.
Try writing some simple code in Stage format even though it may be easier to use RLL. This will give you familiarity with how it works because you are using code that you already know what the result should be.
Bob
Viva le Resistance!!
Rod said:Chapter 7, page 4 (toggle switch) has the button trigger on the 'release'. I'm sorry, but when I press the button, I expect the action to occur THEN, not upon release. (on mouse-button-down in VB)
Take JOG for instance - press button and hold down until in-position. Not press then release for action to begin! Non intuitive. Press the power-on button on a Fanuc control for instance.
Rod,
What is described in the book is for a momentary toggle switch. A jog switch does not function this way. For jogging, on one stage is the NO contact for the switch. When pressed, JMP to the next stage. In this stage is the Motor run code and an NC for the jog switch. When released, JMP back to the previous stage.
Code:
S0
| Jog S1 |
|-| |------------------(JMP)-|
| |
S1 |
| SP1 Motor |
|-| |------------------(OUT)-|
| |
| Jog S0 |
|-|/|------------------(JMP)-|
I realize that this could be done simpler using regular RLL, but this is just an example to prove the point.
As some of the other posters alluded to earlier, I rely heavily on Stage Programming. Once I understood the power that it gave me in writing sequenced code, I jumped in with both feet and use it everywhere now. It does take some getting used to, but hang in there. The time invested will be worth it. I also have talked to some of the tech support guys at AD about Stage programming and they try to stear people away from it because it does require thinking differently about how the code is laid out and thwey did not want tot have to handhold the callers through how it works. I think some of them do not fully get it either, IMHO.
Try writing some simple code in Stage format even though it may be easier to use RLL. This will give you familiarity with how it works because you are using code that you already know what the result should be.
Bob
Viva le Resistance!!