EasyManua.ls Logo

Panasonic FP-E - Page 718

Panasonic FP-E
1334 pages
Print Icon
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−level Instructions
3 − 454
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
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
DF
F165 CAM0 , DT 100
S
R3
10
11
12
ST R 3
DF
F165 (CAM0)
DT 100
S Starting 16−bit area
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
SWR SDT
Constant
Index
modifier
Operand
WX WY WR WR SV EV DT In (*1)
SWR
SDT
K H
modifier
S N/A N/A N/A N/A N/A N/A A N/A N/A N/A N/A N/A 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.
1
Check that the same value is not used for the target values of the control table and they are arranged
in ascending order.
2
Judge the position of the current value of high−speed counter, set 1 to the correponding bit in the
targe position notification area of the internal relay, and clear the others to 0.
3
After that, in case of addition, the target position notification internal relay changes every time the
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,
4
When the elapsed value matches the maximum target position ”m” in add operation, the next target
position will be the negative minimum value.
5
When the elapsed value matches the minimum (target position 1−1) in subtraction operation, the
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.
FP0R
Cam control
(High−speed counter control)
F165
(CAM0)
Availability
FP0R
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com