F1 Dmv] Elapsed Value Write / Read Instruction - Panasonic FP0H User Manual

Control unit positioning/pwm output/high-speed counter
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

High-speed Counter Function

10.3.2 [F1 DMV] Elapsed Value Write / Read Instruction

Writes and reads the elapsed value of the high-speed counter.
 Instruction format
R0
DF
R1
DF
 Operand
Operand
Settings
When setting: Area storing the elapsed value (32-bit) set in the high-speed counter or constant data
S
K−2,147,483,648 to K2,147,483,647
D
When reading: Area reading the elapsed value of the high-speed counter
 Memory area type that can be specified
Operand
WX
WY
S
A
A
D
-
A
 Outline of operation (Reading elapsed value)
• Reads the content of the special data register storing the elapsed value of the high-speed
counter and writes to the area specified by [D].
 Outline of operation (Setting elapsed value)
• At the same time as writing the value to the elapsed value area of the high-speed counter
which uses 32-bit data specified by [S], sets it in the elapsed value area of the high-speed
counter used within the system.
 Precautions during programming
• Only F1 (DMV) instruction can perform the writing. The writing cannot be performed by other
high-level instructions such as transfer instruction F0 (MV) and arithmetic instructions.
• Specify the memory area of [S] or [D] with the memory area number for the lower 16 bits.
REFERENCE
For details of the allocations of I/O and flags, refer to "12.2.4 When Using
High-speed Counter Function".
For details of the FPΣ mode, refer to "11. FPΣ Mode".
10-10
F1 DMV
K3000
DT90300
S
F1 DMV
DT90300
DT100
WR
WL
SV
EV
A
A
A
A
A
A
A
A
D
DT
LD
I
A
A
A
A
A
A
Constant
Index
modifier
K
H
A
A
A
-
-
A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents