G-Language Symbols; Specifying Position Data Addresses (A0000 To A1999); Specifying Registers (E00 To E31) - Omron C200H-MC221 Operation Manual

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

Advertisement

G-language Symbols

6-2

G-language Symbols

6-2-1 Specifying Position Data Addresses (A0000 to A1999)

6-2-2 Specifying Registers (E00 to E31)

The following table lists the symbols used to define parameters in G-language
programming.
Symbol
A
Indicates a position data address. There are 2000 addresses ranging
from A0000 to A1999.
E
Indicates an indirect register. There are 32 indirect registers ranging from
E00 to E31.
F
Indicates the speed when performing interpolation operations.
G
G function
I
Circle center coordinate for the X-axis.
J
Circle center coordinate for the Y-axis.
L
Loop block
M
M code
N
Block number
P
Program number
R
Circle radius
X
X-axis
Y
Y-axis
/
Punctuation mark
( )
Indirect specification
#
Optional number, parameter type
*
Comment
It is possible to use the contents of a position data address for position data or an
M code by specifying that address in a parameter in an axis operation command
or M code. For example, when the following program is executed, the contents of
A1000 (123.45) will be used for the X-axis data and the contents of A1001 (50)
will be used for the M code.
Program block
:
:
:
N010
G01
XA1000 MA1001
:
:
:
Position data can be specified indirectly by specifying a register (E00 to E31) in
an axis operation command or M code. The relationship between the register
and position data contents is shown below.
Register
Address
Contents
E00
1000
E01
1001
Meaning
Address
A0000
:
A0001
:
A1000
A1001
A1999
Position data
Address
Contents
A1000
123.45
A1001
50
Section 6-2
Position data
0
0
123.45
50
0
51

Advertisement

Table of Contents
loading

Table of Contents