3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.1 Sequence Program
3.1.1 Main routine programs
3
- 7
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
3.1.1 Main routine programs
(1) Definition of main routine program
A main routine program is a program from Step 0 to the END/FEND instruction.
(2) Execution operation of main routine program
When the main routine program is executed, it operates as described below.
(a) When only one program is executed
The main routine program is executed from Step 0 to the END/FEND instruction,
where END processing is performed.
After the END processing, the program restarts operation from Step 0.
(b) When multiple programs are executed
The main routine program operation after execution of the END/FEND instruction
varies depending on the preset execution conditions.
Figure 3.7 Main routine program
END/FEND
END/FEND
Main routine
program
Step 0
END
processing
Indicates execution of program.
When only one program is
executed, program returns to
Step 0.