Siemens Simatic S7-300 Service Manual Page 35

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 34
Bit Logic Instructions
Statement List (STL) for S7-300 and S7-400 Programming
A5E00706960-01
1-23
1.23 FN Edge Negative
Format
FN <Bit>
Address Data type Memory area Description
<Bit> BOOL I, Q, M, L, D Edge flag, stores the previous
signal state of RLO.
Description
FN <Bit> (Negative RLO edge) detects a falling edge when the RLO transitions from
"1" to "0", and indicates this by RLO = 1.
During each program scan cycle, the signal state of the RLO bit is compared with
that obtained in the previous cycle to see if there has been a state change. The
previous RLO state must be stored in the edge flag address (<Bit>) to make the
comparison. If there is a difference between current and previous RLO "1" state
(detection of falling edge), the RLO bit will be "1" after this instruction.
Note
The instruction has no point if the bit you want to monitor is in the process image
because the local data for a block are only valid during the block's runtime.
Status word
BR CC 1 CC 0 OV OS OR STA RLO /FC
writes: - - - - - 0 x x 1
Definition
RLO
0
Positive Edge Negative Edge
Time
1
Page view 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 271 272

Comments to this Manuals

No comments