1 Outline
1.3 Cautions on Creation of Fundamental Programs
20
FXCPU Structured Programming Manual
(Application Functions)
2. Introduction of a method to use flags in any positions other than positions just under
sequence instructions
If two or more sequence instructions are programmed, general flags turn ON or OFF when each
corresponding instruction is executed.
Accordingly, when using a general flag in any position other than a position just under a sequence instruction,
set to ON or OFF another device (variable) just under the sequence instruction, and then use the contact of
such device (variable) as the command contact.
M8000
M8029
M0
M8029
DSW execution
complete flag
M8029 is changed
to M100.
M100
It works as the DSW
execution complete flag.
M200
M100
D0
M200
Y030
M0
R
X010
1
DSW
EN
s1
ENO
d1
Y010
s2
d2
1000
Y000
DPLSY
EN
s1
ENO
d
s2
D0
10
MUL
EN
s1
ENO
d
s2
DPLSY execution
complete flag
M8029 is changed
to M200.
It works as the DPLSY
execution complete flag.
Number of output pulses
Execution is
completed.
Execution is
completed.
Number of
output pulses
Содержание 09R927
Страница 2: ......
Страница 234: ...232 FXCPU Structured Programming Manual Application Functions Revision History MEMO ...