Panasonic FP-E Programming Manual page 128

Fp series
Table of Contents

Advertisement

Basic Instructions
ALT
Outline
Inverts the output condition each time the leading edge of the signal is
detected.
Program example
X0
0
Operands
Instruction
Instruction
X
Y
ALT
N/A
A
Explanation of example
Each time X0 changes from off to on, the on/off state of output Y10 toggles.
X0
Y10
Invert
Invert
Description
When the immediately previous processing result changes from off to on, the on/off state of the specified coil
toggles.
The on/off state of the specified coil is held until an ALT instruction specifying that coil rises. (Flip-flop control)
Precautions during programming
During the interval that the input remains on, the output only toggles when the rise occurs, not after that.
When the mode is changed to RUN or the power is turned on in RUN mode such that the input is initially on,
toggling does not occur at the first scan.
When used with instructions which change the order of execution such as MC to MCE and JP to LBL (see
below), take care because the operation of instructions may change depending on the timing of instruction
execution and input.
− MC to MCE instructions
− JP to LBL instructions
− F19 (SJP) to LBL instructions
− LOOP to LBL instructions
− CNDE instruction
− Step ladder instructions
− Subroutine instructions
2 − 18
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Alternative out
Ladder Diagram
Ladder Diagram
Timer/Counter
Relay
Contact
R
L
P
E
T
A
A
N/A N/A
N/A
Invert
Y10
A
Alternative out
Index
modifier
modifier
C
A:
N/A
N/A
N/A: Not Available
on
off
on
off
Boolean
Address
Instruction
0
ST
X
1
ALT
Y
Available
0
10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents