EasyManua.ls Logo

Siemens SIMATIC S7-200 - IEC Counter Instructions; Up Counter

Siemens SIMATIC S7-200
606 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IEC 1131-3 Instructions
10-15
S7-200 Programmable Controller System Manual
A5E00066097-02
10.4 IEC Counter Instructions
Table 10-4 gives page references for the non-standard IEC Counter instructions.
Table 10-4 Non-Standard IEC Counter Instructions
Description
Page
High-Speed Counter Instruction 9-27
High-Speed Counter Definition Instruction 9-27
Pulse Output Instruction 9-49
Up Counter
The Up Counter function block counts up from the
current value to the preset value on the rising edges of
the Count Up (CU) input. When the current value (CV) is
greater than or equal to the preset value (PV), the
counter output bit (Q) turns on. The counter resets when
the reset input (R) is enabled. The Up Counter stops
counting when it reaches the preset value (PV).
Note
Since there is one current value for each counter, do not assign the same number
to more than one counter. (Up Counters, Down Counters, and Up/Down Counters
access the same current value.)
Inputs/Outputs Operands Data Types
CU, R (LAD only) Power Flow BOOL
CU, R (FBD only) I, Q, M, SM, V, S, L, T, C, Power Flow BOOL
PV (LAD & FBD) VW, IW, QW, MW, SMW, LW, SW, AIW, AC, Constant, *VD, *AC, *LD INT
Q (LAD & FBD) I, Q, M, SM, V, S, L BOOL
CV (LAD & FBD) VW, IW, QW, MW, SW, LW, AC, *VD, *AC, *LD INT
Cxxx (LAD & FBD) Constant CTU
L
A
D
F
B
D
Cxxx
CTU
CU
R
PV
Q
CV
222 224
221 226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals