Programming Examples
Statement List (STL) for S7-300 and S7-400 Programming
B-6
A5E00706960-01
Statement List
STL Explanation
A I 0.0 //If there is a transition in signal state from 0 to 1 (positive edge) at input
I 0.0 and, at the same time, the signal state at input I 0.1 is 0, then the
package on the belt is moving to the left.
FP M 0.0
AN I 0.1
S Q 4.1
A I 0.1 //If there is a transition in signal state from 0 to 1 (positive edge) at input
I 0.1 and, at the same time, the signal state at input I 0.0 is 0, then the
package on the belt is moving to the right. If one of the photo-electric light
barriers is broken, this means that there is a package between the barriers.
FP M 0.1
AN I 0.0
S Q 4.0
AN I 0.0 //If neither photoelectric barrier is broken, then there is no package between
the barriers. The direction pointer shuts off.
AN I 0.1
R Q 4.0
R Q 4.1
Comments to this Manuals