Mitsubishi Electronics Q172HCPU Baby Accessories User Manual


 
7 - 1
7
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
M-code can be set using a peripheral device at the creation and correction of the
servo program.
(2) Storage of M-code and read timing
(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.