EasyManua.ls Logo

Panasonic FP0 - Page 177

Panasonic FP0
382 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Highspeed Counter/Pulse Output/ PWM OutputFP0
9 13
9.3 Highspeed Counter Function
Example 2:
Reads the elapsed value of the highspeed 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.

Table of Contents

Related product manuals