G-Language Codes - Omron C200H-MC221 Operation Manual

Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

Introduction

6-1-2 G-language Codes

Code
G00
POSITIONING
G01
LINEAR INTERPOLATION
G02
CIRCULAR INTERPOLATION (CLOCKWISE)
G03
CIRCULAR INTERPOLATION
(COUNTERCLOCKWISE)
G04
DWELL TIMER
G10
PASS MODE
G11
STOP MODE
G17
CIRCULAR PLANE SPECIFICATION (X-Y)
G26
REFERENCE ORIGIN RETURN
G27
WORKPIECE ORIGIN RETURN
G28
ORIGIN SEARCH
G29
ORIGIN UNDEFINED
G30
SPEED CONTROL
G31
INTERRUPT INCHING
G50
SELECT REFERENCE COORDINATE
SYSTEM
G51
SELECT WORKPIECE COORDINATE
SYSTEM
G53
CHANGE WORKPIECE ORIGIN OFFSET
G54
CHANGE REFERENCE COORDINATE
SYSTEM PV
G60
ARITHMETIC OPERATIONS
G63
SUBSTITUTION
G69
CHANGE PARAMETER
G70
UNCONDITIONAL JUMP
G71
CONDITIONAL JUMP
G72
SUBPROGRAM JUMP
G73
SUBPROGRAM END
G74
OPTIONAL END
G75
OPTIONAL SKIP
G76
OPTIONAL PROGRAM STOP
G79
PROGRAM END
G90
ABSOLUTE SPECIFICATION
G91
INCREMENTAL SPECIFICATION
50
The following table provides summary and brief description of the G-language
functions. Refer to the MC Unit Operation Manual: Details for details on these
functions.
Name
Function
Positions up to 4 axes simultaneously with PTP control at the
maximum speed.
Performs linear interpolation on up to 4 axes simultaneously
at the specified interpolation feed speed.
Performs 2-axis circular interpolation in the clockwise
direction at the specified interpolation feed speed.
Performs 2-axis circular interpolation in the counterclockwise
direction at the specified interpolation feed speed.
Waits for the specified length of time.
Performs operations one-by-one in sequence without
deceleration to stop.
Performs the next operation after completing positioning.
Sets the X-Y plane as the plane for circular interpolation.
Moves to the reference origin.
Moves to the workpiece origin.
Performs an origin search on the specified axis.
Sets the origin to an undefined state.
Feeds up to 2 axes simultaneously at the controlled speed.
Performs an interrupt inching operations.
Specifies the reference coordinate system.
Specifies the workpiece coordinate system.
Changes the origin of the workpiece coordinate system.
Changes the present value in the reference coordinate
system.
Performs arithmetic operations on numerical values, position
data, and registers.
Substitutes numerical values, position data, or registers into
other position data or registers.
Changes the specified parameter.
Unconditionally jumps to the specified block.
Jumps to the specified block when the condition is met.
Calls the specified subprogram.
Ends the subprogram.
Ends the block currently being executed when the specified
optional input is ON.
Skips the block after this function when the specified optional
input is ON.
Pauses the program when the specified optional input is ON.
Ends the main program.
Positions with absolute coordinates when performing axis
operations.
Positions with relative coordinates when performing axis
operations.
Section 6-1

Advertisement

Table of Contents
loading

Table of Contents