Download softMachines User`s Manual

Transcript
Introduction to
Soft Machines
The G-Code Language
The G-Code Language
Soft Machines verifies an NC machining process by uploading and
executing NC part programs in a simulated workcell. These part
programs contain machine code data in the ANSI/EIA RS274D standard
format, commonly known as G-code. This is the format supported by
most machine tool manufacturers and NC post-processors on CAD
systems.
To simulate NC part programs, Soft Machines translates the part
programs into equivalent commands and executes them to perform the
simulation.
G-code commands are classified into three categories:
■ Machine-independent generic commands
■ Machine-dependent generic commands
■ Machine-dependent specific commands (user commands)
Machine-Independent Generic Commands
These basic commands are understood by all NC machines and executed
in a non-equivocal fashion. Examples are G-codes such as G00
(positioning), G01 (linear interpolation), G90 (absolute input), G91
(incremental input) and M codes such as M00 (program stop), M03
(spindle on, CW), and M08 (coolant on).
Machine-Dependent Generic Commands
These commands are understood by all NC machines but executed in a
machine specific way. Examples are M06 (tool change), M10 (clamp).
Each machine will have its own procedure, and time delay, for changing
tool or clamping/unclamping fixtures.
User’s Manual
(3/97)
1-25