FP
Σ
6.4 Pulse Output Function
6 - 41
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
1
and 0 is entered just after that in step
2
to perform the
preset operations.
F0 MV, H 0 , DT90052
F0 MV, H 10 , DT90052
X3
DF
.....
1
.....
2
Figure 101: FP
Σ
Program 1 of pulse output control instruction “F0”
Example 2: Performing a forced stop of the pulse output.
X7
DF
F0 MV, H 8 , DT90052
F0 MV, H 0 , DT90052
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
X7
DF
F1 DMV, K3000, DT90044
Set the initial value of K3000 in the
high-speed counter.
Figure 103: FP
Σ
Program 1 of elapsed value write and read instruction “F1”
Example 2: Reading the elapsed value
X8
DF
F1 DMV, DT90044, DT100
Reads the elapsed value of the
high-speed counter to DT100 and
DT101.
Figure 104: FP
Σ
Program 2 of elapsed value write and read instruction “F1”
Содержание FP Series
Страница 15: ...FP Functions and Restrictions of the Unit 1 2...
Страница 25: ...FP Specifications and Functions of Control Unit 2 2...
Страница 37: ...FP Expansion 3 2...
Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Страница 45: ...FP I O Allocation 4 2...
Страница 51: ...FP Installation and Wiring 5 2...
Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Страница 135: ...FP Communication Cassette 7 2...
Страница 147: ...FP Communication Function 1 Computer Link 8 2...
Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...
Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Страница 233: ...FP Other Functions 11 2...
Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...
Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Страница 251: ...FP Specifications 13 2...
Страница 323: ...Index FP I 4...
Страница 325: ...FP Record of changes R 2...