FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. Procedure using a pulse contact instruction (M2800
to M3071)
By using an auxiliary relay M2800 to M3071 in a rising/falling
edge detection instruction (LDP, LDF, ANDP, ANDF, ORP or
ORF), the ON status can be efficiently transferred by the same
signal.
When M2800 or later is specified as a device in a rising/falling
edge detection instruction, only the first rising/falling edge
detection instruction after a coil instruction is executed.
Accordingly, when X001 is set to ON, only the transfer condition
in a state relay currently in the ON status is ON during one
operation cycle, and then the ON status is transferred to the
next state relay.
*1.
It is allowable to program a device number used in LD,
LDI, OR or ORI instructions after a corresponding coil in the ladder block. However, if the same device
number is programmed in a LDP, LDF, ANDP, ANDF, ORP or ORF instruction, the priority is given to such an
instruction and the transfer condition is not effective.
Caution on using a rising/falling edge detection contact
When a rising/falling detection contact in a LDP, LDF, ANDP, ANDF, ORP or ORF instruction is used in a state relay,
the contact whose status was changed while the state relay was OFF is detected when the state relay turns ON the
next time.
When it is necessary to immediately detect the rising edge or falling edge for a condition which may change while a
state relay is OFF, change the program as shown below:
S3
X013
X014
When the ON status is transferred to S70 at the falling edge of X013 and then X014 turns OFF after that, the falling
edge of X014 is not detected at this point because S3 is OFF. When S3 turns ON the next time, the falling edge of
X014 is detected.
Accordingly, when S3 turns ON the next time, the ON status is immediately transferred to S70.
766
SET
S70
Change
35 SFC Program and Step Ladder
Ladder block
SFC block
X013
M6
X014
M7
S3
M6
SET
M7
35.1 SFC Program
(Transfer input)
X001
M2800
M2800
M2800
*1
0
M2800
1
TRAN
50
M2800
2
TRAN
51
M2800
TRAN
3
S70