Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
214
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.15 END
7.15 END
Outline
END instruction specifies the end of a program.
(Do not write the END instruction in the middle of a program.)
1. Instruction format
2. Applicable devices
Explanation of function and operation
1. END instruction (program end, I/O refresh and return to step 0)
PLCs repeat "input processing program execution output processing". When END instruction is written at the
end of a program, PLCs immediately execute the output processing without executing steps after END instruction.
If END instruction is not written at the end of a program, PLCs execute the program until the final step, and then
execute the output processing.
At the first execution after the PLC mode was changed from STOP to RUN, PLCs start from END instruction. When
END instruction is executed, the watchdog timer (which checks the operation cycle) is refreshed.
Caution
Do not write END instruction in the middle of a program.
When a program is transferred from a programming tool, all steps after END instruction are replaced with NOP (no
operation) instructions.
Instruc-
tion
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD.b KnX KnY KnM KnS T C D R U\G VZModifyKH E ""P
END There are no applicable devices.
END
END
Basic Instruction
END
Continuous
Operation
Pulse (Single)
Operation
Mnemonic Operation Condition
1 step
Input processing
LD X000
OUT Y000
END
NOP
NOP
NOP
Output processing
Step 000
001
002