
8-12
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
8.11 Up Counter Coil
The Up Counter Coil (CU) instruction increments the value of a specified
counter by one if the RLO has a positive edge (that is, a transition from 0 to 1
takes place in the RLO) and the value of the counter is less than 999. If the
RLO does not have a positive edge, or if the counter is already at 999, the
value of the counter does not change.
The Set Counter Value instruction sets the value of the counter (see
Section 8.10).
Table 8-10 Up Counter Coil Element and Parameter, with SIMATIC and International Short Name
LAD Element Parameter Data Type Memory Area Description
ZV
<address>
CU
Counter
number
COUNTER C The address indicates the number of
the counter that is to be incremented.
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write – – – – – 0 – – 0
I 0.0 C 10
CU
If the signal state of input I 0.0 changes from
0 to 1 (that is, if there is a positive edge in the
RLO), the value of counter C 10 is
incremented by 1 (unless the value of C 10 is
equal to 999).
If there is not a positive edge, the value of
C 10 remains unchanged.
Figure 8-10 Up Counter Coil
Description
Bit Logic Instructions
Comentarios a estos manuales