Yaskawa J50M Instructions User Manual

Page 112

Advertising
background image

2.11.5 VARIABLES (Cent’d)

#3004 Feed Hold

I

Feedrate

O v e r r i d e

I

Exact Stop

Valid

Valid

1 Invalid

Valid

Valid

2 Valid

I n v a l i d

Valid

3

I n v a l i d

I n v a l i d

Valid

4

Valid

V slid

I n v a l i d

5 Invalid Valid

Invalid

6

Valid

Invalid

I n v a l i d

7

I n v a l i d

I n v a l i d

I n v a l i d

Sample Program

Tapping Cycle (for Incremental command)

Main Program

G91 ;

‘Argument designation

of #26

Argument designation of #18

Macro

Program

09601

#3003 = 1 ;

Single block switch

GOO

;

invalidated

#3004 = 7

Feed hold invalidated

;

Feedrate override invalidated
Exact stop invalidated

M05 ;

M04 ;

#3004 = o ;

GOO

I

H.

Data Output (#3100)

When svstem variable #3100 is specified, messages
and NC’ internal data can be output to external
equipment via RS232C data input

face.

If the external equipment is a printer,

the above information is printed.

a. Output of Messages

#3100 = (<Message>)

When this command is specified, the message
enclosed by control-in and control-out is output.
via

RS

232

C

interface.

Each output message is followed by

(Carriage Return/Line Feed). Hence. when

#3100 = ( ) is specified, only

is output,

which is useful in tabulating the punched data.

To output message, enclose it by control-in and
control-out.

b. Output of Data

#3100 <variable >

When this command is specified, the value of
the local variable, common variable, or system

variable at the right-hand is output via RS232C interface

as sign and decimal 9-digit data (4 after and 5 before dec-
imal point).

The value is rounded out to the 5th digit after the decimal

point. When the value is of b digits or more before the
decimal point, the asterisk is output.

c.

The above output is performed when system

variable #3100 is executed in the macro program

It is required, therefore, to previously attach
the external equipment such as a printer via
RS 232c interface and preset the parameters that

use the interface.

Sample Program

); . . . Carriage

ret urn /line feed

#3100 = (TOOL oFFsET

AND 02):

#3100 = #2501 ; . . . = 10.000 mm

#3100 = #2502 ; .0. =

524 mm

#3100 = ( ) ;

Printout Data

TOOL OFFSET 01 AND 02

10.000

-

35.524

I

1

Four spaces precede signed decimal.

I. Modal Information (#4001 through #4120)

When one of

variables #4001 through

#4120 is specified, the modal commands that are

specified up to the immediately preceding block

can be known.

These modal commands are some-

times called the current values of modal informa-
tion commands.

104

Advertising