3 workpiece coordinate system (g54 to g59), Table 3.1.3.3 setting workpiece coordinate system – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 55

Advertising
background image

3 - 5

YASNAC PCNC Programming Manual

Chapter 3: Movement Control Commands

3.1.3

Workpiece Coordinate System (G54 to G59)*

It is possible to set a workpiece coordinate system by shifting the base coordinate system. When
a G code (G54 to G59) is specified, shift distance corresponding to the specified G code is called
and the workpiece coordinate system is set by shifting the base coordinate system by the called
shift distance. Shift distance is set on the WORK SHIRT SET screen corresponding to G54 to
G59. It is also possible to rotate a coordinate system around the origin (0, 0, 0) by the set angle.

Table 3.1.3.1

G Codes Used to Call Workpiece Coordinate Systems

(1) Number of Workpiece Coordinate Systems

The number of workpiece coordinate system sets can be increased optionally.

Table 3.1.3.2

Number of Workpiece Coordinate System Sets

(2) Command Format

Table 3.1.3.3

Setting Workpiece Coordinate System

Note: An alarm occurs if an improper value is specified for address J.

Option 1 . . . . . . . . . . . . . . . J2 or larger

Option 2 . . . . . . . . . . . . . . . J10 or larger

Option 3 . . . . . . . . . . . . . . . J28 or larger

G code

Description

Group

G54

Shift to workpiece coordinate system 1

12

G55

Shift to workpiece coordinate system 2

12

G56

Shift to workpiece coordinate system 3

12

G57

Shift to workpiece coordinate system 4

12

G58

Shift to workpiece coordinate system 5

12

G59

Shift to workpiece coordinate system 6

12

Option 1

6 sets

Option 2

54 sets

Option 3

162 sets

Option 1

G54 J1 (P1)

G55 J1 (P1)

G56 J1 (P1)

G57 J1 (P1)

G58 J1 (P1)

G59 J1 (P1)

Option 2

G54 J1 (P1)

-

G54 J9 (P9)

G55 J1 (P1)

-

G55 J9 (P9)

G56 J1 (P1)

-

G56 J9 (P9)

G57 J1 (P1)

-

G57 J9 (P9)

G58 J1 (P1

)

-

G58 J9 (P9)

G59 J1 (P1)

-

G59 J9 (P9)

Option 3

G54 J1 (P1)

-

G54 J27 (P27)

G55 J1 (P1)

-

G55 J27 (P7)

G56 J1 (P1)

-

G56 J27 (P7)

G57 J1 (P1)

-

G57 J27 (P7)

G58 J1 (P1

)

-

G58 J27 (P7)

G59 J1 (P1)

-

G59 J27 (P7)

Advertising