EasyManua.ls Logo

Panasonic FP-E - Page 719

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 − 455
To perform the control with the maximum target value, positive integer numbers must be specified for all the
target position data.
[When the maximum value control is performed]
Using the maximum target value of data table or hardware/software reset signal enables the value to return to
the starting address of data table. (V1.06 or later)
In add operation, the elapsed value will be cleared to 0 when it reaches the maximum target value (when reset
signal is detected), and the starting bit of position notification relay will be turned on.
In subtraction operation, when the elapsed value reaches −1, the maximum target value will be set as the
elapsed value, and the bit corresponding to the target position ”m” will be turned on for position output.
Note: Hardware reset is CH0: X2, CH1: X2, CH2: X5, CH3: X5.
Description of hardware reset signal operation
When the maximum value control is
not performed
When the maximum value control is
not performed
V1.06 or later
The elapsed value is cleared to 0, and the
table pointer moves to the beginning.
Only the elapsed value is cleared to 0.
V1.05 or older Only the elapsed value is cleared to 0. Only the elapsed value is cleared to 0.
When the maximum value control has been specified, set the maximum target value to a large value which
cannot be reached for returning the value to the starting address of data tabe using the hardware reset signal.
Sample operation: When controlling the high−speed counter CH0 with the maximum target value
Example: If the instruction is executed on the leading edge of the trigger R3, and the elapsed value when the
execution is started is smaller than the target position 1
The target position notification area is specified from R10.
K14000
K10000
K8000
K4000
K2000
R3
R9110
R10
R11
R12
R13
R14
Elapsed value of high−speed counter
Max. target value
Target value 4
Target value 3
Target value 2
Target value 1
Execution condition of
this instruction
Target value notification relay 0
Target value notification relay 1
Target value notification relay 2
Target value notification relay 3
Target value notification relay 4
Control flag of high−speed
counter
Time
FP0R
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com