High
−
speed Counter/Pulse Output/ PWM Output
FP0
9
−
13
9.3 High
−
speed Counter Function
Example 2:
Reads the elapsed value of the high
−
speed counter and
copies it 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.
Target value match on instruction (F166)
XA
DF
F166 HC1S, K0, K10000, Y7
If the elapsed value (DT9044 and DT9045/DT90044 and DT90045) for channel 0
matches K10000, output Y7 turns on.
XB
DF
F166 HC1S, K2, K20000, Y6
If the elapsed value (DT9104 and DT9105/DT90104 and DT90105) for channel 2
matches K20000, output Y6 turns on.
Target value match off instruction (F167)
XC
DF
F167 HC1R, K1, K30000, Y4
If the elapsed value (DT9048 and DT9049/DT90048 and DT90049) for channel 1
matches K30000, output Y4 turns off.
XD
DF
F167 HC1R, K3, K40000, Y5
If the elapsed value (DT9108 and DT9109/DT90108 and DT90109) for channel 3
matches K40000, output Y5 turns off.
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 ...