Counter Instructions - Siemens CPU 412-1 Instruction Manual

S7-400; cpu 412 series; cpu 414 series; cpu 416 series; cpu 417 series;
Hide thumbs Also See for CPU 412-1:
Table of Contents

Advertisement

Counter Instructions

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents