G Code Descriptions - Omron NY532-5400 Instruction & Reference Manual

Nj/ny-series, machine automation controller, industrial pc platform, g code
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

G Code Descriptions

The program format generally called the G code is defined by ISO 6983 (JIS B 6315).
A combination of characters such as G, M and X, and digits is called a word, and a line consisting of two
or more words are called a block. G codes are executed sequentially in units of a block. When execu-
tion of the current block is completed, the next block is executed in principle. A line feed code indicates
the end of block. The length of one block must be 1020 bytes or less. These restrictions apply to blocks
after program parsing. Refer to Program Parsing by CNC Operator on page A-2 for program parsing.
The influential range varies depending on the word. A word that only has an effect in the block where it
is written is called non-modal, and one that continues to have an effect when omitted in subsequent
blocks is called modal. In the modal, a few words produce their effects exclusively. This is called a
modal group.
Comments can be entered by using "//" before the comment, which is valid to the end of the block. This
specification is not defined by ISO 6983.
The spindle operations, F, and M30 need to be described. M30 can be written as M02.
Effect range of G64
Effect range of G61
* G61 and G64 are in the same modal group and if another one is written, the subsequent modal
changes.
NJ/NY-series G code Instructions Reference Manual (O031)
N01 G17 G91 G01 ta1000 td1000 F1000
Word
Block
N02 M03 S1000
N03 G64
N04 X20
N05 Y10
N06 G61
N07 X-20
N08 Y-10
N09 M30
// End of Program
Writing comments
(Multiple line comments can be written.)
/*There are two ways of commenting multiple lines.*/
1 Basic Information on NC Programming
1
1 - 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-5300

Table of Contents