Mitsubishi FX3G Series User Manual page 109

Melsec-f, positioning control edition, main unit/sink output/source output, line driver output
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
PLC User's Manual - Positioning Control Edition
3G
3U
3UC
Built-in Positioning Functions
Programming using "Instruction execution complete" flag and "Instruction execution abnormal end"
flag:
1) If two or more positioning instructions are used in a program, the "Instruction execution complete" flag
(M8029) or "Instruction execution abnormal end" flag (M8329) will be turned on or off after execution of
each instruction. However, if the "Instruction execution complete" flag (M8029) and "Instruction execution
abnormal end" flag are used together for a program, it is difficult to determine which instruction turns them
ON/OFF and the "Instruction execution complete" flag will not be turned on for the intended instruction.
→ To use a positioning instruction at a position other than just below the instruction, refer to the
Good
example:
The M8029 will function
as the "instruction
execution complete"
flag of DRVI instruction.
The M8029 will function
as the "instruction
execution complete"
flag of DRVA instruction.
Bad
The M8029 will function
example:
as the "instruction
execution complete" flag
of the lower DPLSV
instruction.
The M8029 will function
as the "instruction
execution complete" flag
of the lower DSW
instruction.
The M8029 will function
as the "instruction
execution complete" flag
of the upper DPLSV
instruction.
M0
FNC158
K100000 K50000
DDRVI
M8029
RST
Completion
of instruction
execution
M8329
RST
Abnormal
completion of
instruction execution
M1
FNC159
K10000 K30000
DDRVA
M8029
RST
Completion
of instruction
execution
M8329
RST
Abnormal
completion of
instruction execution
M8029
RST
Completion of
instruction
execution
M8000
FNC 72
X10
DSW
X000
M0
SET
M0
FNC157
K1000
DPLSV
M8029
FNC 22
D0
MUL
Compl-
etion of instruction execution
M1
FNC157
K1000
DPLSV
4 Before Programming
4.7 Items To Be Observed in Programming
example shown on the next page.
Y000
Y004
M0
M0
Y001
Y005
M1
M1
Program for upper DPLSV
M0
instruction
Y10
D0
K1
Y002
Y006
Upper DPLSV instruction
Program for DSW
K10
D20
instruction
Y001
Y005
Lower DPLSV instruction
A
B
Apx.
B - 71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc seriesFx3u-2hsy-adp

Table of Contents