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
DT90300
K3000
F1 DMV
DT100
DT90300
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
K
H
S
A
A
A
A
A
A
A
A
A
A
A
A
D
-
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.
REFERENCE
•
For details of the allocations of I/O and flags, refer to "12.2.4 When Using
•
For details of the FP
Σ
mode, refer to "11. FP
Summary of Contents for FP0H Series
Page 1: ......
Page 11: ...1 Functions of Unit and Restrictions on Combination ...
Page 19: ...2 Wiring ...
Page 23: ...3 Power ON and OFF and Items to Check ...
Page 30: ...Power ON and OFF and Items to Check 3 8 ...
Page 31: ...4 Settings of Control Unit ...
Page 52: ...Settings of Control Unit 4 22 ...
Page 53: ...5 Operation Patterns ...
Page 89: ...6 Operating Characteristics ...
Page 93: ...7 Instruction References ...
Page 124: ...Instruction References 7 32 ...
Page 125: ...8 Troubleshooting ...
Page 133: ...9 PWM Output Function ...
Page 140: ...PWM Output Function 9 8 ...
Page 141: ...10 High speed Counter Function ...
Page 151: ...10 3 High speed Counter Instruction 10 11 MEMO ...
Page 170: ......
Page 171: ...11 FPΣ Mode ...
Page 180: ...FP Mode 11 10 ...
Page 181: ...12 Specifications ...
Page 196: ...Specifications 12 16 ...
Page 198: ......
Page 199: ......
Page 200: ......