3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.3 Settings for Creation and Execution of Multiple Sequence Programs
3.3.4 Stand-by type program
3
- 47
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
1) Example of changing the execution type in scan execution type program
• Set programs "ABC" and "GHI" as scan execution type programs.
Set program "DEF" as a stand-by type program.
• When the condition is satisfied (the internal relay (M0) in Figure 3.41 turns
ON), "DEF" is changed into a scan execution type program and "ABC" into
a stand-by type program.
[Before execution of PSCAN and PSTOP instructions]
[After execution of PSCAN and PSTOP instructions]
Scan execution type program: ABC
• PSCAN is the instruction that changes the
specified program (DEF) into a scan
execution type.
• PSTOP is the instruction that changes the
specified program (ABC) into a stand-by
type.
Stand-by type program: DEF
Scan execution type program: GHI
Stand-by type program: ABC
Scan execution type program: DEF
Scan execution type program: GHI
Figure 3.41 Example of changing the execution type in scan execution type program
PSCAN "DEF"
PSTOP "ABC"
M0
PSCAN
"GHI"
PSTOP
"DEF"
PSCAN "ABC"
PSTOP
"GHI"
When M0 is
turned ON
PSCAN
M0
"DEF"
PSTOP "ABC"
PSCAN
"GHI"
PSTOP
"DEF"
PSCAN "ABC"
PSTOP
"GHI"
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......