Panasonic FP0 User Manual page 177

Programmable controller
Hide thumbs Also See for FP0:
Table of Contents

Advertisement

FP0
Example 2:
Reads the elapsed value of the high−speed counter and
copies it to 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.
X7
DF
F1 DMV, DT9044, DT100
High−speed Counter/Pulse Output/ PWM Output
9.3 High−speed Counter Function
9 − 13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents