(Beginner question,step7) Data addressing

Hello Kahorn;
Since I can't read you circuit, this is just a guess, but here goes:
When testing a program, sometimes you need to force a rung ON or OFF too see if the sequence operates correctly, under different conditions. Sometimes you include rungs in the original program that you find unuseful, and simply make them unsuable (with an "always off" bit) instead of removing.
Using an "always off" input will ensure that this particular branch will not become true during the test. This will be useful if you want to test the other branch exclusively.
Normally, though, I would expect the programmer to clean up the code and remove the "always on" and "always off" bits from the program...
Hope this helps,
Daniel Chartier
Edit:
Sorry Peter, just saw your post, Your trigger finger seems faster than mine.
D.C.
 
That surely did help.
The thing is that the programmer is on summer vacation, and the test were initially going to be performed before the end of his vacation.
In other words, I'm supposed to do the debugging...my biggest challenge ever.
However testdate will probably be delayed due to constructional problems, so at the time beeing miss Fortune is smiling to me.:)

Thanks again, to both of you!
 

Similar Topics

Hi all, Writng a FB in ST on Beckhoff TC for a pulser which turns on and off on a cycle, is paused by turning bControlInput to FALSE, but resumes...
Replies
6
Views
275
So I work for a company that doesn’t allow code change without going through a lot of people. Anyway my question is I have a sensor and when it...
Replies
12
Views
1,803
How do you code it to when you push a button attached to X001, it turns on Y001. Then, the next time you push the button attached to X001 it...
Replies
4
Views
1,631
Hi all, this is my first thread on here, completely new to plc. Have been given a 1769 L24ER QB1B to play with. I have a PA2 power supply and a...
Replies
3
Views
1,816
Hi all, I'm just starting out in the plc world. For school we had some introduction into codesys v3.5, basically we get given visualizations and...
Replies
9
Views
2,438
Back
Top Bottom