24
1 Outline
1.3 Cautions on Creation of Fundamental Programs
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
2. Introduction of method for using flags in any positions other than directly under sequence
instructions.
When two or more sequence instructions are programmed, general flags turn ON or OFF when each
sequence instruction turns ON.
Accordingly, when using a flag in any position other than directly under a sequence instruction, set to ON or
OFF another bit device (variable), and then use the contact (variable) of the device as the command contact.
M8000
M8029
Execution is
completed.
M0
M8029
Execution is
completed.
DSW execution
complete flag
M8029 is changed
to M100.
DPLSY execution
complete flag
M8029 is changed
to M200.
M100
It works as DSW
execution complete flag.
M200
It works as DPLSY
execution complete flag.
M100
D0
M200
Y030
M0
R
X010
1
DSW
EN
s
ENO
d1
Y010
nd2
Y000
DPLSY
EN
s1
ENO
d
s2
D0
10
Number of
output pulses
MUL_E
EN
_IN
ENO
_IN
Number of
output pulses
1000