上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused 13
G54~G59 WCS Selection
Command Format
: G54/G55/G56/G57/G58/G59
Description:
G54~G59 are 6 WCSs prepared by the system (as shown in Fig. 4-4). Any one of them can be
selected.
G54 Origin
Workpiece
Origin Offset
Reference Point
(Machine Zero)
G59 Origin
G59 Workpiece
Coordinate System
G54 Workpiece
Coordinate System
Y
Z
X
X
Y
Z
Fig. 4-4 Workpiece Coordinate System Selection (G54~G59)
The origin value of these 6 WCSs in the MCS (offset value of workpiece origin) can be set in the
[Param] setting interface. The setting value will be saved automatically by the controller.
Note:
Once a WCS is confirmed, the following instruction values in absolute programming are all relative to
the origin of WCS.
G54~G59 are modal functions, which can be mutually cancelled. G54 is the default.
Programming Example:
As shown in Fig. 4-5, programming based on WCS to make the tool move from current point to
point A, and then to point B.
N01 G54 G00 G90 X30 Y40
N02 G59
N03 G00 X30 Y30
...
Current Point A B
G59
Machine Origin
30
O
B
A
40
30
30
O
G59
X
Y
Y
X
Fig. 4-5 Programming Based on Workpiece Coordinate System
Set the coordinate value of each WCS origin in the MCS before using this group of instructions.
G53 Machine Coordinate System
Command Format
: G53
Description:
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...