SIMATIC Instructions
I4.0
I3.0
I2.0
LD
LD
LD
CTUD
Figure 9-9
9-26
LAD
C48
CTUD
CU
CD
R
4
PV
I4.0
//Count Up Input
I3.0
//Count Down Input
I2.0
//Reset Input
C48, 4
Timing Diagram
I4.0
Up
I3.0
Down
I2.0
Reset
3
2
C48
1
(current)
0
C48
(bit)
Example of CTUD Counter Instruction for SIMATIC LAD, FBD, and STL
FBD
C48
CTUD
I4.0
CU
I3.0
CD
I2.0
R
+4
PV
STL
5
5
4
4
4
3
S7-200 Programmable Controller System Manual
0
A5E00066097-02