Siemens Simatic S7-300 Service Manual Page 37

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 36
Bit Logic Instructions
Statement List (STL) for S7-300 and S7-400 Programming
A5E00706960-01
1-25
1.24 FP Edge Positive
Format
FP <Bit>
Address Data type Memory area Description
<Bit> BOOL I, Q, M, L, D Edge flag, stores the previous
signal state of RLO.
Description
FP <Bit> (Positive RLO edge) detects a rising edge when the RLO transitions from
"0" to "1" 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 "0" state
(detection of rising 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 36
1 ... 36 37 38 ... 272

Comments to this Manuals

No comments