Counter Instructions
45
S7-400 Instruction List
A5E00267845-01
Counter Instructions
The count value must be in ACCU1-L in the form of a BCD number (0 - 999).
tion
Address ID Description
Words
CPU 412 CPU 414 CPU 416 CPU 417
S Cf
C [e]
Presetting of counter on edge
change from “0” to “1”
1
1)
/2 0.2
0.4+
0.12
0.12+
0.08
0.08+
0.06
0.06+
Counter para. 2 0.2+ 0.12+ 0.08+ 0.06+
R Cf
C [e]
Reset counter to “0”
when RLO = “1”
1
1)
/2 0.2
0.4+
0.12
0.12+
0.08
0.08+
0.06
0.06+
Counter para. 2 0.2+ 0.12+ 0.08+ 0.06+
CU Cf
C [e]
Increment counter by 1 on edge
change from “0” to “1”
1
1)
/2 0.2
0.2+
0.12
0.12+
0.08
0.08+
0.06
0.06+
Counter para. 2 0.2+ 0.12+ 0.08+ 0.06+
Status word for: S, R, CU BR CC1 CC0 OV OS OR STA RLO /FC
Instruction evaluates: – – – – – – – Yes –
Instruction affects: – – – – – 0 – – 0
+ Plus time required for loading the address of the instruction (see page 20)
1)
With direct instruction addressing Counter No.: 0 to 255