Panasonic FP-E Programming Manual page 730

Fp series
Table of Contents

Advertisement

High−level Instructions
FP0R <In case of high−speed counter>
Channel No.
Control flag
ch0
R9110
ch1
R9111
ch2
R9112
ch3
R9113
ch4
R9114
ch5
R9115
Precautions during programming
Set the high−speed counter channel by the system register before using this instruction.
Without the setting, an operation error occurs.
The high−speed counter control flag (R9110 to R9115) turns on when the execution condition of this
instruction turns on and remains on until the target value matches.
During this time, the high−speed counter control instructions (F165(CAM0), F166(HC1S), F167(HC1R),
F178(PLSM)) to the high−speed counter of the same channel 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 outptu with OT instructions, KP instructions and other applied instructions is not
performed on the outptu Y that is specified for target value match output.
If the control is cleared with F0(MV) S, DT90052 instruction, the control of this instruction is cancelled and the
high−speed countrol flag turns off.
If both the normal program and the interrupt program contain code for the same channel, make sure both are
not executed simultaneously.
The interrupt program is able to be executed, when the high−speed counter elapsed value equals the set
target value. The INT program description and the permission using ICTL instruction is required.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 466
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Elapsed value area
DT90300 to DT90301
DT90304 to DT90305
DT90308 to DT90309
DT90312 to DT90313
DT90316 to DT90317
DT90320 to DT90321
− Turns on when the area specified using the index modifier exceeds the limit.
− Turns on when n is out of the specified range.
− Turns on when [S]n is out of the specified range.
− Turns on when [D]n is out of the specified range.
− Turns on when the high−speed counter has not been set for the specified
channel by the system register.
Target value area
Interrupt program
DT90302 to DT90303
DT90306 to DT90307
DT90310 to DT90311
DT90314 to DT90315
DT90318 to DT90319
DT90322 to DT90323
FP0R
INT0
INT1
INT3
INT4
INT6
INT7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents