Mitsubishi FX2N-10GM Hardware / Programming Manual page 197

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

FX Series Positioning Controllers
Sequence program example (Example for the X axis)
M8000
RUN
monitor
M203
m code
ON
signal
M00
M01
M02
M03
Auxiliary equipment
operation
completion signal
M01
M03
Positioning program example
cod 00 (DRV) x1000
m03;
m00; (WAIT)
Data reading timing
The data can be read without regard to the mode (AUTO or MANU) or the status (BUSY or
READY) of the positioning unit.
However, it is recommended to drive the auxiliary equipment when the m code ON signal is
turned ON as shown in the sequence program example above because the m code No. is only
read when an m code drive instruction is executed in the positioning program.
Unit No.
BFM #
K 0
K 23 K4M200
FROM
K 0
K 3
FROM
K 0
K 20 K4M300
TO
DECO
D 0
M 00
Y10
X31
Y11
Y12
X33
Y13
m code
m code
ON signal
OFF signal
X31
M203
X33
Sequence for confirming
completion of the auxiliary
equipment operation.
• This is an m code drive command in WITH mode. The m code
m01
01 is saved in BFM. In the example above, Y11 is driven.
• This is an m code drive command in AFTER mode. The m code
03 is saved in BFM. In the example above, Y13 is driven.
• When the WAIT instruction is executed, m code 00 is saved in
BFM. In the example above, Y10 is driven.
Communication with Programmable Controller 7
Programmable
Number
controller
of points
M 215 to M 200
K 1
(M 203)
D 0
D 0
K 1
M 315 to M 300
K 1
(M 303)
·
When an m code is executed in the positioning unit,
K 7
D9003 (m code No., 0 to 99) and M9051 (m code
ON signal) are set and transmitted to D0 and M203
in the programmable controller.
WAIT
·
The programmable controller decodes them, and
indication
turns ON the specified auxiliary drive output.
Auxiliary
equipment
·
In this example, when the m code m** (** = 00 to 99)
No.1
is executed, the auxiliary relay M** is turned ON in
END
the programmable controller.
indication
Auxiliary
equipment
No.2
·
The programmable controller confirms the operation
of the auxiliary equipment, then drives M303 (m
code OFF command).
M303
·
When receiving the m code OFF command (M303 in
the programmable controller → M9003 in the
positioning unit), the positioning unit turns OFF
M9051 (m code ON signal) and proceeds to the next
instruction.
In the programmable controller, M203 is turned OFF.
PLC
Positioning unit
M9063 to M9048
(M9051)
D9003
(BFM #3)
M9015 to M9000
(M9003)
7-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents