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
in
Words
Direct Addres-
sing
Indirect Ad-
dressing
*
S C Preset counter at edge change
1**/2 6.6 7.1+
Counter
p.
from ”0” to ”1”
2 – –
R C Reset counter to ”0” at edge
1**/2 1.8 2.3+
Counter
p.
change from ”0” to ”1”
2 – –
CU C Increment counter by 1 on edge
1**/2 2.8 3.4+
Counter
p.
change from ”0” to ”1”
2 – –
CD C Decrement counter by 1 on edge
1**/2 3.0 3.5+
Counter
p.
change from ”0” to ”1”
2 – –
FR C Enable counter at edge change
”
”
”
”
1**/2 2.2 2.7+
Counter
p.
rom
o
rese
e
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