EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 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...
High-speed counter instructions
895
Part III FP Instructions
F165_HighSpeedCounter_Cam
Cam control
Create your own DUT using the following DUT as a sample:
F165_HighSpeedCounter_Cam_8_Values_DUT
The following parameters can be specified in the DUT:
Control code
Word address for output relays
Number of target values
Target value 1
...
Target value n
Maximum target value
Characteristics of cam control
14000
10000
8000
4000
2000
t [ms]
y
1
2
0
1
2
3
4
3
y Elapsed value of high-speed counter 14000 Maximum target value
1
Execution condition 10000 Target value 4
2
High-speed counter control flag 8000 Target value 3
3
Output relay 0-4 4000 Target value 2
2000 Target value 1
Whenever the elapsed value is in the target value area n to n+1 (incremental
counting) or n+1 to n, (decremental counting), the corresponding output relay n is
TRUE.
In the example above, maximum target value control has been enabled. When
the elapsed value reaches the maximum target value, the elapsed value is reset
to 0 and counting restarts.
Specify the word address of the output relays in an overlapping DUT, e.g.
BOOL32_OVERLAPPING_DUT, and apply this DUT at dutBitOutputs.
Description
This instruction performs cam control according to the parameters in the specified DUT with a
maximum of 31 target values for the high-speed counter. An interrupt program can be executed
whenever the elapsed value matches one of the target values.

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals