Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル

ページ / 936
173
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.5 General Rules for Applied Instructions
1
In
trodu
ct
ion
2
O
ver
vi
ew
3
In
st
ru
ct
ion 
Li
st
4
D
evices 
in D
etail
5
Specifi
ed t
he
D
evice &
 
C
onst
ant
6
Bef
ore 
Pr
ogr
am
m
ing
7
B
asic 
In
st
ru
ct
ion
8
FNC0
0-F
NC0
9
Pr
ogr
am
 Flow
9
FN
C
10-FN
C
19
Mo
ve
 &
 Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
 &
 Logic 
O
per
ati
on
2. Introduction of method for using flags in any positions other than directly under applied 
instructions
When two or more applied instructions are programmed, general flags turn ON or OFF when each applied instruction
turns ON.
Accordingly, when using a flag in any position other than directly under an applied instruction, set to ON or OFF
another device just under the applied instruction, and then use the contact of the device as the command contact.
M8000
FNC 72
DSW
X10
Y10
D0
K1
FNC 22
MUL
D0
K10
D20
M8029
Execution is
completed
M0
FNC 57
DPLSY
K1000
D20
Y000
M8029
Execution is
completed
DSW execution
complete flag
M8029 is
changed to
M100.
M100
M200
DPLSY
execution
complete flag
M8029 is
changed to
M200.
M100
It works as DSW
execution
complete flag.
RST
M0
M200
It works as
DPLSY execution
complete flag.
Y030
...
...