End - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
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
END
END
2. Applicable devices
Bit Devices
Instruc-
System User
tion
X Y M T C S D .b KnX KnY KnM KnS T
END
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 END step, and then
execute the output processing.
At the first execution after the PLC mode is 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.
212
Series
Mnemonic
Basic Instruction
END
1 step
Digit Specification
Step 000
001
002
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Word Devices
Special
System User
Unit
C D R U \G
V
There are no applicable devices.
Input processing
LD
X000
OUT
Y000
END
NOP
NOP
NOP
Output processing
7 Basic Instruction
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
7.15 END
Pointer
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents