G Language - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Overview of G-language Programs in the MC Unit
Operations from the
Teaching Box
1-7-3

G Language

The following table shows the operations that can be performed using the
Teaching Box.
Operation
Monitoring
Present values
I/O signals
Errors
Position data
Phase-Z
margin
Servo
parameters
Origin search
Program execution
Jogging
Handle feeding
Extension
Mode
Servo-lock/
servo-unlock
Memory
protection
Absolute origin
setting
Teaching Box
message
change
Saving
Override
Teaching
Deceleration stop
Error reset
O:
Can be used.
X:
Cannot be used.
1:
Output signal ON/OFF status, analog output data, or other data is
only monitored and cannot be changed.
2:
Position data is only monitored and cannot be changed.
3:
Override values are only monitored and cannot be changed.
The G language is used widely in position control and its main feature is that it
is very easy to write for programming. Program functions can be entered sim-
ply by entering a "G" and a 2-digit numerical code, then adding any needed
parameters. G-language codes G00 through G91 are used in the MC Units.
For example, the function "PTP control positioning" is assigned to G00.
Note Refer to Section 1-7-4 G-language Codes for a table showing the functions
assigned to the G-language codes. For details on programming, refer to the
CX-Motion Online Help.
MC Unit operating mode
T.Box control
T.Box enabled T.Box occupy
O
O
1
O
O
O
2
O
O
O
O
O
X
O
X
O
X
O
X
O
O
O
X
O
X
O
X
O
O
O
X
O
3
O
X
O
X
O
X
O
Section 1-7
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents