FX Series Positioning Controllers Communication with Programmable Controller 7
7-10
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.
*1: The X axis only is available in the FX
2N
-10GM.
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.
Table 7.2: Buffer memory No.
Simultaneous 2-axis, X axis *1 Y axis
Buffer memory Special M/D Buffer memory Special M/D
m code ON signal #23 b3 M9051 #25 b3 M9083
m code OFF command #20 b3 M9003 #21 b3 M9019
m code No. #9003 D9003 #9013 D9013
Buffer memories
·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.
Saves data in the buffer
memories (Does not require
any program.).
·m code ON signal
#23 b3
#25 b3
·m code No.
#9003
#9013
Executes the m code in AFTER or
WITH mode.
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
program. At the same time, turns
OFF the m code ON signal (The m
code No. does not change.).
·Turns ON the m code OFF
signal
#20 b3
#21 b3
FROM
instruction
TO
instruction
*1
*1
Programmable controller Positioning unit
*1 The positioning unit automatically reads from or writes to the buffer memories, the special auxiliary
relays and the special data registers.