Panasonic FP0 User Manual page 188

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

Advertisement

High−speed Counter/Pulse Output/ PWM Output
9.4
Pulse Output Function
Example 1: Enable the near home input during home return operations and
begin deceleration.
In the above program, the near home input is enabled in step
1
preset operations.
Example 2: Performing a forced stop of the pulse output.
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).
Example 2: Reads the elapsed value of the high−speed counter 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.
9 − 24
X3
DF
F0 MV, H 4 , DT9052
F0 MV, H 0 , DT9052
and 0 is entered just after that in step
X7
DF
F0 MV, H 8 , DT9052
F0 MV, H 0 , DT9052
X7
DF
F1 DMV, K3000, DT9044
X7
DF
F1 DMV, DT9044, DT100
.....
1
.....
2
to perform the
2
FP0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents