EasyManua.ls Logo

Siemens SIMATIC IM 151/CPU - Page 163

Siemens SIMATIC IM 151/CPU
218 pages
Print Icon
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...
Instruction List
B-29
ET 200S Interface Module IM 151/CPU
A5E00058783-01
B.16 Counter Instructions
The count is in ACCU1-L and in the address passed as a parameter.
In-
Length Typical Execution Time in s
stru-
ction
Address
ID
Description
g
in
Words
Direct Addres-
sing
Indirect Ad-
dressing
*
S C Preset counter at edge change
f ”0” t ”1”
1**/2 6.6 7.1+
Counter
p.
from ”0” to ”1”
2
R C Reset counter to ”0” at edge
h f ”0” t ”1”
1**/2 1.8 2.3+
Counter
p.
change from ”0” to ”1”
2
CU C Increment counter by 1 on edge
h f ”0” t ”1”
1**/2 2.8 3.4+
Counter
p.
change from ”0” to ”1”
2
CD C Decrement counter by 1 on edge
h f ”0” t ”1”
1**/2 3.0 3.5+
Counter
p.
change from ”0” to ”1”
2
FR C Enable counter at edge change
from
0
to
1
(reset edge memory
1**/2 2.2 2.7+
Counter
p.
f
rom
”0”
t
o
”1”
(
rese
t
e
d
ge memory
marker for up and down counting
of a counter)
2
Status word for:
S, R, CU, CD, FR
BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on: Yes
Instruction controls: 0 0
* + time for loading the address of the instruction
** With direct instruction addressing

Table of Contents

Related product manuals