Chapter 1 Overview; G-Code Control Overview - Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual

Motion controller, g-code control, melsec iq-r series
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

1
OVERVIEW
1.1

G-Code Control Overview

• G-code control uses the Motion CPU to analyze G-code programs for control. G-code control is applied on a wide range of
manufacturing tools such as cutters and mills.
• To use G-code control, the G-code add-on library must be installed.
• By setting the parameters required for control, a system of up to 2 lines can be configured. Up to 8 axes can be configured
per line, and up to 4 axes can be configured as synchronous control axes. Program control can be separated between lines
with each program operating independently at the same time. (Lines are the groups of axes configured to execute G-code
control and is not the same as the term used for the servo networks.)
• G-code programs are created in text format on a personal computer. The program file is used by MT Developer2 for writing/
reading to/from the Motion CPU. The G-code program can also be transmitted from the SD memory card in the Motion CPU
using the file transmission at boot function.
• Use the G-code control devices from a sequence program or Motion SFC program to transfer to G-code control mode
(each line), and automatically start/stop programs, or control using auxiliary functions such as M-code etc. For axis control,
use the alphabet characters (X, Y, Z, A, B, C, U, V, W) allocated to each axis by the parameters in the instructions in the G-
code programs.
<Sequence program>
Automatic
operation
M0
Automatic
operation mode
Start
Stop
Start
Stop
Start
Stop
• G-code control can also be combined with other functions in the Motion CPU. For example, using advanced synchronous
control to send the same command to another control axis enables highly accurate operations such as multiple axis
synchronization. By combining G-code control with other functions, not only manufacturing control is possible, but a wide
array of systems can also be built.
<Motion SFC program>
G transition
memory mode
F10
G10
G-code program operation
F11
G11
END
<G-code program>
%
(Prog130_2_3-a)
N1 G91 G00 X2.5
N2 Y-5.
N3 Z0.5
N4 C-2.5
N5 X1.25
N6 Y2.5
N7 Z-0.25
N8 C1.25
N9 X-2.5 Y5. Z-0.5 C2.5
N10 G00 X-1.25 Y2.5 Z0.25 C-1.25
M30
%
1 OVERVIEW
1.1 G-Code Control Overview
1
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents