Auxiliary And Applied Functions; M-Code Output Function - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller, real mode
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7 AUXILIARY AND APPLIED FUNCTIONS

7. AUXILIARY AND APPLIED FUNCTIONS
This section describes the auxiliary and applied functions for positioning control in the
Multiple CPU system.

7.1 M-code Output Function

M-code is a code No. between 0 and 32767 which can be set for every positioning
control. During positioning control, these M-codes are read using the Motion SFC
program to check the servo program during operation and to command auxiliary
operations, such as clamping, drill rotation and tool replacement.
(1) Setting of M-codes
(2) Storage of M-code and read timing
M-code can be set using MT Developer2 at the creation and correction of the
servo program.
(a) M-codes are stored in the M-code storage register of the axis specified with
the positioning start completion and specified points (at the speed switching
control or constant-speed control).
During interpolation control, the M-codes are stored in all axes which
perform interpolation control.
(b) When the M-code is read at the positioning start completion, use the
positioning start complete signal (M2400+20n) as the reading command.
7 - 1
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents