Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 22

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

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.
DSW execution
complete flag
M8029 is changed
to M100.
DPLSY execution
complete flag
M8029 is changed
to M200.
20
M8000
X010
M8029
Execution is
completed.
M0
1000
Number of
output pulses
M8029
Execution is
completed.
It works as the DSW
execution complete flag.
M100
It works as the DPLSY
execution complete flag.
M200
1.3 Cautions on Creation of Fundamental Programs
DSW
EN
ENO
s1
d1
Y010
1
s2
d2
D0
M100
DPLSY
EN
ENO
s1
d
Y000
s2
M0
R
M200
MUL
EN
ENO
D0
s1
d
Number of output pulses
10
s2
Y030
1 Outline

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents