High-speed Counter Function
10-8
10.3 High-speed Counter Instruction
10.3.1 [F0 MV] High-speed Counter Control Instruction
Performs the controls such as the software reset, disabling the count and clearing the high-
speed counter instruction.
Instruction format
R0
DT90052H1
F0 MV
DT90052
H0
F0 MV
S
( )
DF
Operand
Operand Settings
S
Area storing the control code of the high-speed counter or constant data
Memory area type that can be specified
Operand WX WY WR WL SV EV DT LD I
Constant
Index
modifier
K H
S A A A A A A A A A A A A
Outline of operation
• Performs the high-speed counter control according to the control code specified by [S].
• This instruction is used when performing the following operations with the high-speed
counter.
(1) When performing the software reset, (2) when disabling the count, (3) when disabling the
reset input by an external input temporarily, (4) when canceling the control executed by the
high-speed counter instruction F165 (CAM0)/F166 (HC1S)/F167 (HC1R), when clearing the
target value match interrupt
• The control codes once written are held until the next writing.
• The control code written by the F0(MV) instruction is written to the special data register
DT90052. At the same time, it is written to the control code monitor area. The written data is
the data for lower 8 bits only.
Precautions during programming
• The setting of disabling the rest input is valid only when allocating the reset input in the
system register.
• In the external reset input setting, the reset input (X2 or X5) allocated to the internal input is
switched between enable and disable.