Yaskawa J50M Instructions User Manual

Page 114

Advertising
background image

2.11.5 VARIABLES (Cent’d)

Macro

Program

09603 ;

#1 = #5001 ;

#2 = #5002 ;

#3 = #5003 ;

G91 ;

GOO X

Y [#25-# 5022];

GOO Z [#26- #5023] ;

;

GOO

;

;

M99 ;

ABSKP

Position
at which
skip

did

not go on
in G31
block .

Work co-
ordinate
system

Included

Abbre-
viation

ABSMT

Command
current

position

(same as

POSITION
MACHINE
display) .

Machine
coordi-
nate

ABSOT

Command
current

position

(same as

POSITION
UNIVER-
SAL dis-
play) ,

Work co-
ordinate
system

Included

AB S10

End po-
sition of
block

im-

mediately
before.

Work
ordinate

System

Not
included

Coordi-
nate
system

Tool
Position,
T

OO

I

length,
Tool
radius
compen-
sation

Amount

List of Variables

Variable

No.

Meaning

Notes :

#lto #33

1. When the skip

not turned onin

Local

variables.

block, the skip

position is at the end of

2. The “input unit x 10” feature is valid

Up

the

macro call block (the argument designation

part by G65 or G66) but is invalid in the user
macro body.

3. System variables #5001 through #5104 can not be

#loo to

#149

#500 to
#559

Common variables (reset-to” blank” at
power-off) .

Common variables (retained at

.

Interface input signals (each signal
for each bit) .

to

Interface input signal

#

i]

)

#1032

placed to the left-hand of

expression.

to

#1115

Interface output signals (each
for each bit) .

Sample Program

Interface output signal

#

+

i ]

).

The tool is positioned to the specified location

( X , Y , Z ) on machine coordinate system, per-

forms the

specified M feature, and returns to

the start point.

#1132

#2001 to
#2299

Tool offset amount.

Work coordinate system shift amount,
external work coordinate system
correction amount.

Main Program

#2500 to
#2906

;

#26

#3000

#3001

#3002

#3003

Alarm message display.

Clock 1 (in units of 1 ms) .

Clock 2 (in units of 1 s) .

Single block stop, auxiliary function
complete wait control.

Feed–hold, feedrate-override, and ex-
act-stop control.

RS

232c data output (printout feature).

value of modal information

command.

#3004

#3100

#4001 to
#4120

Advertising