![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 810](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083810.webp)
808
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
35.1.5 Latched (battery backed) type state relays
In the latched (battery backed) type state relays, the ON/OFF status is backed up by the battery or EEPROM
memory against power failure.
Use this type of state relays if the operation should be restarted from the last point at power recovery after
power failure occurred in the middle of machine operations.
35.1.6 Role of RET instruction
• Use RET instruction at the end of an SFC program.
When inputting an SFC program using GX Developer, however, it is not necessary to input RET instruction
(because RET instruction is automatically written).
• In a PLC, two or more SFC blocks can be put between step 0 and the END instruction.
When there are ladder blocks and SFC blocks, put RET instruction at the end of each SFC program.
35.1.7 Preliminary knowledge for creating SFC program
List of sequence instructions available in states
• STL instruction cannot be used in interrupt programs and subroutine programs.
• When using SFC programs (STL instruction), do not drive state relays S using SET or OUT instructions in
an interrupt program.
• It is not prohibited to use jump instructions in state relays. However, it is not recommended to use jump
instructions because complicated movements will result.
*1.
The MPS instruction cannot be used immediately after a state relay (STL instruction), even in a drive
processing circuit.
Instruction
State relay
LD/LDI/LDP/LDF,
AND/ANI/ANDP/ANDF,
OR/ORI/ORP/ORF,
INV,MEP/MEF,
OUT,SET/RST,
PLS/PLF
ANB/ORB/MPS/MRD/
MPP
MC/MCR
Initial/general state relay
Available
Available
*1
Not available
Branch/
recombination state
relay
Drive processing
Available
Available
*1
Not available
Transfer processing
Available
Not available
Not available