
B–63523EN–1/03
1. AXIS CONTROL
134
Program setting and external input/output can be performed as stated
below:
1) Setting a reference fixture offset value, using G10
G10L21 Pn IP; n: Fixture offset number
IP: Reference fixture offset value or reference
angle for an individual axis
The command shown above can be used to set a reference fixture offset
value or reference angle in a program.
If the program is executed in the G90 mode, a value specified in the
program is set up without being modified.
If the program is executed in the G91 mode, a value specified before
the execution is added to a value specified in the program.
NOTE
The programmable data input (G10) option is needed.
2) Reading/writing based on a custom macro system variable
The following system variable number can be used to read and write
a reference fixture offset value or a reference angle. However, it is
impossible to write to a system variable area (5500 to 5508) if n = 0.
System variable number = 5500 + 20*n + m
n: Fixture offset number (1 to 8)
The current offset is used if n = 0.
m: Axis number (1 to the number of controlled axes)
System variable 5500 can be used to read a selected offset number.
NOTE
The custom macro option is needed.
3) Reading/writing through the PMC window and OpenCNC
The window function can be used to read/write a custom macro system
variable having the same number as in 2).
NOTE
The custom macro option is needed.
4) Output to external units
Selecting [PUNCH] on the fixture offset screen enables outputting to
external units such as a floppy cassette and memory card. Output data
is in the G10 format with no program number. To enter the program,
register and execute it.
NOTE
The reader/punch interface and programmable data input
(G10) options are needed.
Fixture offset
input/output