NAiS FP Series User Manual page 116

Applicable plc
Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

FPΣ
Pulse output control instruction (F0)
This instruction is used for resetting the built - in high- speed counter, stopping the pulse
outputs, and setting and resetting the home position proximity input.
Specify this F0 (MV) instruction together with the special data register DT90052.
Once this instruction is executed, the settings will remain until this instruction is
executed again.
Example 1: Enable the home position proximity input during home return
operations and begin deceleration.
In the program, the home position proximity input is enabled in
step
preset operations.
Figure 101: FPΣ Program 1 of pulse output control instruction "F0"
Example 2: Performing a forced stop of the pulse output.
Figure 102: FPΣ Program 2 of pulse output control instruction "F0"
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 F1 (DMV) instruction together with the special data register DT90044.
The elapsed value is stored as 32 - bit data in the combined area of special data
registers DT90044 and DT90045.
Use only this F1 (DMV) instruction to set the elapsed value.
Example 1: Writing the elasped value
Figure 103: FPΣ Program 1 of elapsed value write and read instruction "F1"
Example 2: Reading the elapsed value
Figure 104: FPΣ Program 2 of elapsed value write and read instruction "F1"
and 0 is entered just after that in step
1
X3
DF
F0 MV, H 10 , DT90052
F0 MV, H 0 , DT90052
X7
DF
F0 MV, H 8 , DT90052
F0 MV, H 0 , DT90052
X7
DF
F1 DMV, K3000, DT90044
X8
DF
F1 DMV, DT90044, DT100
6.4 Pulse Output Function
to perform the
2
.....
1
.....
2
Set the initial value of K3000 in the
high- speed counter.
Reads the elapsed value of the
high- speed counter to DT100 and
DT101.
6 - 41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fps seriesFpg-c32tFpg-c32t2Fpg-c24r2

Table of Contents