Panasonic FP-E Programming Manual page 726

Fp series
Table of Contents

Advertisement

High−level Instructions
High−speed counter control flag varies
FP0, FPΣ, FP−e
FP−X, FP0R
(Refer to next page)
The number of the high−speed counter control flag varies depending on the channel used.
Regarding the channel number and control flag for each model, refer to the table on the next page.
Description
The number specified in "S" is set as the target value of the high−speed counter, and when the elapsed value
matches the target value, the specified output "Yn" turns on (by interrupt processing).
The target value setting and target value match output control are cleared when the elapsed value matches
the target value.
Specify a 32−bit data value for the target value "S" within the following range:
FP0/FP−e
K−8,388,608 to K8,388,607
FPΣ/FP−X−FP0R
K−2,147,483,648 to K2,147,483,647
The "S" value is stored in the target value area when the instruction is executed.
Possible specification range for "Yn":
Devices specified for the match ON/OFF output
Type
FP0/FP−e
FPΣ
FPΣ (V3.10 or more)
FP−X
However, for the device that is not implemented, only the memory turns ON/OFF.
However, when the output that is not implemented is specified, only the WY memory is set/reset.
Precautions during programming
Set the high−speed counter by the system register before using this instruction.
The high−speed counter control flag turns on when the execution condition of the F166(HC1S) instruction
turns on and remains on until the target value match output turns on. During this time, an instruction to the
high−speed counter of the same channel (F166 through F176) cannot be executed.
Before the elapsed value matches the target value, the target value and target value match output setting are
not cleared even if a hardware reset is performed (the elapsed value is cleared to "0").
A check for double output with OT instructions, KP instructions, and other applied instructions is not
performed on the output Y that is specified for target value match output.
To turn off the target value match output that was turned on with this instruction, reset using an RST instruction
or F0(MV) instruction, or use as a pair with an F167(HC1R) instruction.
If both the normal program and the interrupt program contain code for the same channel, make sure both are
not executed simultaneously.
The high−speed counter control flag also changes during scanning.
The interupt program is able to be excuted, when the high−speed counter elapsed value equals the set target
value.
3 − 462
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
R903A
R9110
Device area
Y0 to Y7
Y0 to Y7
Y0 to Y1F
Y0 to Y29F

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents