Panasonic FP-E Programming Manual page 718

Fp series
Table of Contents

Advertisement

High−level Instructions
F165
(CAM0)
Outline
This instruction enables the control according to the maximum of
31−point target values for the high−speed counter.
[Feature] An interrupt program can be also executed wheneber the
elapsed value reaches each target value.
Program example
R3
DF
S
Operands
Relay
Operand
Operand
WX WY WR WR
S
N/A N/A N/A N/A
(*1) I0 to ID
Description
It notifies that the elapsed value has reached a maximum of 31 target values in the pattern specified with the
data table starting with the address specified by [S]. The internal relays corresponding to the target positions
are turned on.
Also, the interrupt program INTn can be executed at the target position.
*It is necessary to allow the execution of the interrupt program with ICTL instruction.
Check that the same value is not used for the target values of the control table and they are arranged
1
in ascending order.
Judge the position of the current value of high−speed counter, set 1 to the correponding bit in the
2
targe position notification area of the internal relay, and clear the others to 0.
After that, in case of addition, the target position notification internal relay changes every time the
3
elapsed value matches the targe values.
However, in case of subtraction, (Target value − 1) is used as the target position data.
[When the maximum value control is not performed]
When the maximum target value is 0, and the reset input is not permitted,
When the elapsed value matches the maximum target position "m" in add operation, the next target
4
position will be the negative minimum value.
When the elapsed value matches the minimum (target position 1−1) in subtraction operation, the
5
target position will be the positive maximum value.
The control with the maximum target value is available as well as the above control operation.
The maximum target value can be specified at the end of the table. When the elapsed value matches the
maximum target value, the elapsed value is cleared to 0, and The beginning of the internal relay in the
position notification area is turned on.
3 − 454
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Cam control
(High−speed counter control)
Ladder Diagram
Ladder Diagram
F165 CAM0 , DT 100
S
Starting 16−bit area
Timer/Counter Register
SV
EV
DT
N/A
N/A
A
Address
10
11
12
Index
register
SWR
SWR
SDT
SDT
In (*1)
N/A
N/A
N/A
FP0R
Availability
FP0R
Boolean
Instruction
ST
R
3
DF
F165
(CAM0)
DT
100
Constant
Index
modifier
modifier
K
H
N/A
N/A
A
A:
Available
N/A: Not Available

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents