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
896
Part III FP Instructions
A maximum of 31 target values can be specified.
The target values must be arranged in ascending order. No value may be used
twice.
When the instruction starts, all output relays are FALSE, except for output relay 0,
which turns to TRUE, provided that the elapsed value is smaller than target value
1. Otherwise, the output relay corresponding to the target value area turns to
TRUE. Example: If the current value is between target value 2 = -4000 and target
value 3 = +4000, output relay 2 is TRUE. In the following example maximum
target value control has been disabled. When the elapsed value reaches the last
target value, counting continues and the elapsed value is not reset to 0.
8000
4000
-4000
-10000
t [ms]
y
1
2
0
1
2
3
4
3
INT0
y Elapsed value of high-speed counter 8000 Target value 4
1
Execution condition 4000 Target value 3
2
High-speed counter control flag -4000 Target value 2
3
Output relay 0-4 -10000 Target value 1
INT0 Interrupt program 0
Maximum target value control
The instruction can be executed using maximum target value control to reset the elapsed value to 0
when the maximum target value has been reached. Maximum target value control can be enabled
in the control code of F165_HighSpeedCounter_Cam_8_Values_DUT. Instead of using maximum
target value control, the elapsed value can also be reset using a reset input or a software reset
(see page 1021).
To perfo
rm maximum targ
et value control, positive integer numbers must be specified for all target
values.

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals