217
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.15 END
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
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 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.
Instruc-
tion
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modify K H
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
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......