EasyManua.ls Logo

Panasonic FP0 - Page 188

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 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 builtin highspeed
counter.
Specify this instruction together with the F1 (DMV) instruction and the special data
register DT9044/DT90044.
The elapsed value is stored as 32bit 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 highspeed counter (example
of writing the elapsed value).
X7
DF F1 DMV, K3000, DT9044
Example 2: Reads the elapsed value of the highspeed 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.

Table of Contents

Related product manuals