Panasonic FP-E Programming Manual page 143

Fp series
Table of Contents

Advertisement

When SET and RST instructions are used
When the SET and RST instructions are used, the output changes with each step during processing of the
operation.
Example:
When X0, X1, and X2 are turned on
I/O update is performed when an ED instruction is executed, therefore the data actually output is determined
by the final operation result. In the above example, the Y10 output is on.
To output a result while operation is still in progress, use a partial I/O update instruction (F143).
Precautions during programming
The output destination of a SET instruction is held even during the operation of an MC instruction.
The output destination of a SET instruction is reset when the mode is changed from RUN to PROG. or when
the power is turned off, except when a hold type internal relay is specified as the output destination.
SET and RST instructions and differential instructions
Be sure to place a DF instruction before the SET and RST instructions to make program development and
refinement easier.
This is particularly effective when the same output destination is used in several places in the program.
X0
Y10
S
(DF)
X1
Y10
R
(DF)
Precautions when using the FP2SH and FP10SH
It is not possible to specify a pulse relay (P) as the output destination for a SET or RST instruction.
All error alarm buffers can be cleared using the RST DT90400 instruction.
The head of the error alarm buffers can be cleared using the RST DT90401 instruction.
How relays are handled with SET and RST instructions
Relays can be turned off using the RST instruction.
Using the various relays with the SET and RST instructions does not result in double output.
It is not possible to specify a pulse relay (P) as the output destination for a SET or RST instruction.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
X0
Y10
S
Y10
X1
Y10
R
X2
Y10
S
This portion of the program is processed as if Y10
were on.
This portion is processed as if Y10 were off.
This portion is processed as if Y10 were on.
Basic Instructions
2 − 33

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents