Siemens Simatic S7-300 Service Manual Page 256

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 255
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
Page view 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 271 272

Comments to this Manuals

No comments