上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 50 - Specialized, Concentrated, Focused
O1801
N1 G20
N2 G17 G40 G80
N3 G90 G54 G00 X5.5 Y3.1 S1000 M03
(
Select G54
)
N4 G43 Z0.1 H01 M08
N5 G99 G82 R0.1 Z-0.14 P100 F8.0
N6 G55 X5.5 Y3.1
(
Switch to G55
)
N7 G56 X5.5 Y3.1
(
Switch to G56
)
N8 G80 Z1.0 M09
N9 G91 G54 G28 Z0 M05
(
Switch to G54
)
N10 M01
…
The program segment N3 ~ N5, within WCS of G54, is related to the first workpiece; Segment N6
will drill the hole on the second workpiece of the same batch in WCS of G55, while segment N7 will drill
the hole on the third workpiece of the same batch in WCS of G56.
Aiming at all the coordinate systems, public offset is used for adjusting the workpiece origin of X-, Y-,
and Z-axis, but will not change the workpiece offset value.
The related formula of workpiece offset, tool offset and public offset is as below:
Workpiece coordinate= Machine coordinate
– Workpiece offset - Tool offset – Public offset
3.7.2
Extended WCS
The NK280 system offers as many as 20 groups of extended WCSs, also called additional WCSs.
That means, totally 26 (6+20) WCSs can be supported. To put it in other words, there are 26 WCSs can
be defined in programming. Besides, the extended WCSs is additional WCSs for G54, from G54 P0 to
G54 P19.
You can use PgUp and PgDn keys to view all extended WCSs on [Coor-Manage(A)] screen.
G54 Px command can be used to select the extended WCS, and
―x‖ here refers to number 0~19.
E.g,
G54 P0 Select the extended WCS 1, corresponding to G154 on the screen.
G54 P1 Select the extended WCS 2, corresponding to G155 on the screen.
G54 P2 Select the extended WCS 3, corresponding to G156 on the screen.
G54 Px Select the extended WCS (x+1), corresponding to G(154+x) on the screen.
G54 P19 Select the extended WCS 20, corresponding to G173 on the screen.
3.7.3
Software Interface
Press [Advanced], and then press A to enter the [Coor-Manage] screen, as shown in Fig. 3-24. This
screen is mainly for selecting current WCS and modifying workpiece offset and public offset.