EasyManua.ls Logo

VIPA CPU 21 Series - Counter instructions

VIPA CPU 21 Series
394 pages
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...
Chapter 12 Instruction list Manual VIPA CPU 21x
Command
Operand
Parameter
Status word
Function
Length
in
BR CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
12-34 HB103E - Rev. 05/45
Counter instructions
Counter instructions
Status word The counter value is in ACCU1-L res. in the
address transferred as parameter.
S C f
0 to 255
BR CC1 CC0 OV OS OR STA RLO /FC
Presetting of counter on edge change from "0" to "1". 1/2
Counter p.
- - - - - - - Y - 2
R C f
0 to 255
- - - - - 0 - - 0 Reset counter to "0". 1/2
Counter p.
2
CU C f
0 to 255
Increment counter by 1 on edge change from "0" to "1". 1/2
Counter p.
2
CD C f
0 to 255
Decrement counter by 1 on edge change from "0" to "1". 1/2
Counter p.
2
FR C f
0 to 255
Enable counter on edge change from "0" to "1". 1/2
Counter p.
(reset the edge bit memory for up and down counting) 2

Table of Contents

Related product manuals