Reading M Codes - Mitsubishi FX2N-10GM Hardware / Programming Manual

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

Advertisement

FX Series Positioning Controllers
7.3.5

Reading m codes

Read out m codes to the programmable controller to drive auxiliary equipment.
Buffer memory No.
The table below shows the buffer memories related to the m codes.
Table 7.2: Buffer memory No.
m code ON signal
m code OFF command
m code No.
*1: The X axis only is available in the FX
Operations of the m codes
• Each m code is driven in AFTER mode or WITH mode (Refer to Section 5.1.3.). In either
mode, when the m code is driven, the m code ON signal is turned ON and the m code No. is
saved in the appropriate special data register (interlocking with the buffer memory). The m
code ON signal remains ON until the m code OFF signal is turned ON.
• The diagram below shows the communication between the programmable controller and
the m codes.
Programmable controller
·Executes the sequence
program.
·Reads the m code ON signal.
Reads the m code and
executes the auxiliary
equipment drive program
when the m code ON signal
is turned ON.
·Finishes driving the auxiliary
equipment. Sets the M code
OFF signal.
·Resets the m code OFF
signal when the m code ON
signal is turned OFF.
*1 The positioning unit automatically reads from or writes to the buffer memories, the special auxiliary
relays and the special data registers.
Simultaneous 2-axis, X axis *1
Buffer memory
Special M/D
#23 b3
M9051
#20 b3
M9003
#9003
D9003
-10GM.
2N
Buffer memories
Saves data in the buffer
memories (Does not require
any program.).
FROM
·m code ON signal
instruction
#23 b3
#25 b3
·m code No.
#9003
#9013
TO
·Turns ON the m code OFF
instruction
signal
#20 b3
#21 b3
Communication with Programmable Controller 7
Buffer memory
#25 b3
#21 b3
#9013
Executes the m code in AFTER or
WITH mode.
*1
Turns ON the m code ON signal
and saves the m code.
·m code ON signal
M9051:Simultaneous 2-axis, X axis
M9083:Y axis
·m code No.
D9003:Simultaneous 2-axis, X axis
D9013:Y axis
Reads the m code OFF signal, and
executes the next line of the
*1
program. At the same time, turns
OFF the m code ON signal (The m
code No. does not change.).
Y axis
Special M/D
M9083
M9019
D9013
Positioning unit
7-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents