Timer Instructions; Word Logic Instructions With The Contents Of Accu1 - Adam 821x Manual

Table of Contents

Advertisement

CPU ADAM 821x
Command
Operand
Parameter
Word Logic Instructions
with the Contents of
ACCU1
AW
AW
k16
OW
OW
k16
XOW
XOW
k16
AD
AD
k32
OD
OD
k32
XOD
XOD
k32
Time instructions
0 to 127
SP
T f
Timer
para.
0 to 127
SE
T f
Timer
para.
0 to 127
SD
T f
Timer
para.
0 to 127
SS
T f
Timer
para.
0 to 127
SA
T f
Timer
para.
0 to 127
FR
T f
Timer
para.
0 to 127
R
T f
ADAM 8000 Manual CPU 821x – Rev 1.1
Status word
BR CC1 CC0 OV OS OR STA RLO /FC
Word logic instructions with the contents of
ACCU1
Status word
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
-
- Y 0 0 -
-
-

Timer instructions

Status word
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
- Y -
-
-
-
-
- 0 -
: Instruction depends on
: Instruction influences
Gating the contents of ACCU1 and/or ACCU1-
L with a word or double word according to the
appropriate function.
The word or double word is either a constant in
the instruction or in ACCU2. The result is in
ACCU1 and/or ACCU1-L.
AND ACCU2-L
-
- AND 16Bit constant
-
- OR ACCU2-L
OR 16Bit constant
EXCLUSIVE OR ACCU2-L
EXCLUSIVE OR 16Bit constant
AND ACCU2
AND 32Bit constant
OR ACCU2
OR 32Bit constant
EXCLUSIVE OR ACCU2
EXCLUSIVE OR 32Bit constant
Starting or resetting a timer (addressed directly
or via parameters).
The time value must be in ACCU1-L.
Start time as pulse on edge change from "0" to "1".
- 0 Start timer as extended pulse on edge change from
"0" to "1".
Start timer as ON delay on edge change
from "0" to "1".
Start timer as saving start delay on edge change
from "0" to "1".
Start timer as OFF delay on edge change from
"1" to "0".
Enable timer for restarting on edge change from "0" to "1"
(reset edge bit memory for starting timer).
Reset timer.
Chapter 9 Instruction list
Function
Length
in
words
1
2
1
2
1
2
1
3
1
3
1
3
1/2
2
1/2
2
1/2
2
1/2
2
1/2
2
1/2
2
1/2
8-33

Advertisement

Table of Contents
loading

Table of Contents