martin3885
Member
Hi, the problem is following...
I did use in S7 Graph in one step an instruction N(german nomenclature, unfortunatelly I don't know english) to set a bit M0.0. And as I thought this bit should be set when the step is active. In FB1(STL) I check the status of M0.0 to so something.
Other possibility of setting this bit only for one step is useing instruction SM0.0 in the step and in the next step to reset it with instruction RM0.0.
But I noticed that there is a difference between those two methods. In first case the program doesn't work properlly, it hangs, and behaves itself so as M0.0=False. It looks like this bit was constantly set and reset when the step is active.
I did use in S7 Graph in one step an instruction N(german nomenclature, unfortunatelly I don't know english) to set a bit M0.0. And as I thought this bit should be set when the step is active. In FB1(STL) I check the status of M0.0 to so something.
Other possibility of setting this bit only for one step is useing instruction SM0.0 in the step and in the next step to reset it with instruction RM0.0.
But I noticed that there is a difference between those two methods. In first case the program doesn't work properlly, it hangs, and behaves itself so as M0.0=False. It looks like this bit was constantly set and reset when the step is active.