High
−
speed Counter/Pulse Output/ PWM Output
FP0
9
−
24
9.4
Pulse Output Function
Example 1: Enable the near home input during home return operations and
begin deceleration.
F0 MV, H 0 , DT9052
F0 MV, H 4 , DT9052
X3
DF
.....
1
.....
2
In the above program, the near home input is enabled in step
1
and 0 is entered just after that in step
2
to perform the
preset operations.
Example 2: Performing a forced stop of the pulse output.
X7
DF
F0 MV, H 8 , DT9052
F0 MV, H 0 , DT9052
Elapsed value write and read instruction (F1)
This instruction is used to read the pulse number counted by the built
−
in high
−
speed
counter.
Specify this instruction together with the
F1 (DMV)
instruction and the special data
register DT9044/DT90044.
The elapsed value is stored as 32
−
bit data in the combined area of special data
registers DT9044 and DT9045/DT90044 and DT90045.
Use this
F1 (DMV)
instruction to set the elapsed value.
Example 1: Set the initial value of K3000 in the high
−
speed counter (example
of writing the elapsed value).
X7
DF
F1 DMV, K3000, DT9044
Example 2: Reads the elapsed value of the high
−
speed counter to DT100.
X7
DF
F1 DMV, DT9044, DT100
Each time the
ED
instruction is executed, the elapsed value is automatically transferred
from the elapsed value area to the special data registers DT9044 and
DT9045/DT90044 and DT90045.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...