177
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.5 General Rules for Applied Instructions
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
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
... ...