High-speed Counter Function
10-10
10.3.2 [F1 DMV] Elapsed Value Write / Read Instruction
Writes and reads the elapsed value of the high-speed counter.
Instruction format
R0
DT90300K3000
F1 DMV
DT100DT90300
F1 DMV
S
( )
DF
R1
( )
DF
D
Operand
Operand Settings
S
When setting: Area storing the elapsed value (32-bit) set in the high-speed counter or constant data
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 WR WL SV EV DT LD I
Constant
Index
modifier
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
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.
• 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".