EasyManuals Logo

NAiS FP Series User Manual

NAiS FP Series
326 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
Page #88 background imageLoading...
Page #88 background image
FPΣ
6.3 High-speed Counter Function
6-13
6.3.5 Instructions Used with High-speed Counter Function
High-speed counter control instruction (F0)
Thisinstructionisusedfor counter operationssuchassoftware reset andcountdisable.
Specify this instruction together with the special data register DT90052.
Once this instruction is executed, the settings will remain until this instruction is
executed again.
Operations that can be performed with this instruction
- Counter software reset
- Counting operation enable/disable
- Hardware reset enable/disable
- Clear controls from high-speed counter instructions
F166
to
F176
- Clear target value match interrupt
Example:
Performing a software reset
X7
F0 MV, H 1 , DT90052
⋅⋅⋅⋅⋅⋅⋅
1
⋅⋅⋅⋅⋅⋅⋅
2
F0 MV, H 0 , DT90052
DF
Figure 71: FPΣ Program of high-speed counter control instruction “F0”
In the above program, the reset is performed in step
1
and 0
is entered just after that in step
2
. The count is now ready for
operation. If it is only reset, counting will not be performed.
Elapsed value change and read instruction (F1)
This instruction changes or reads the elapsed value of the high-speed counter.
Specify this 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 this
F1 (DMV)
instruction to set the elapsed value.
Example 1:
Changing the elapsed value.
X7
DF F1 DMV, K3000, DT90044
Set the initial value of K3000
in the high-speed counter
Figure 72: FPΣ Program (1) of elapsed value change and read instruction “F1”

Table of Contents

Other manuals for NAiS FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NAiS FP Series and is the answer not in the manual?

NAiS FP Series Specifications

General IconGeneral
BrandNAiS
ModelFP Series
CategoryController
LanguageEnglish

Related product manuals