GSK988TA/GSK988TA1/GSK988TB Turning Center CNC System User Manual
【
Programming & Operation
】
154
Ⅰ
Programming
(
2
)
G66, G67 example
Program: O0002
G00 X100 Z50
;
G66 P0100 L2 A2 B20 C20 I30 J20 K20
;
execute the block instead of call, writing local
variables, but only change the mode
G01 X80 Z50
;
after executing the block, call No.P0100 program two times(refresh the local
variable according to the argument)
G0 U0 W0; have no subprograms to be called
G01 U1; after executing the block, call No.P0100 program two times(refresh the
local variable according to the argument)
G67
;
G66 mode call is cancelled
G01 X20 Z50
;
after executing the block, the system does not call No.P0100 program
M30
;
2.28 Slant Axis Control
The slant axis control function is defined that the slant axis relative to a quadrature axis is installed
with exceeding 90°, which makes each axis’ movement amount be controlled according to a slant
angle.
Distribute any axes to one group of slant axis and quadrature axis by a parameter.
The actual movement is controlled according to a slant angle, but, a program is compiled
according to a vertical intersection between a slant axis and quadrature axis. Here, the used
coordinate system is called a program coordinate system. (the following contents sometimes
changes the program coordinate system into a cartesian coordinate system, but the actual movement
coordinate system is called a slant coordinate system or a machine coordinate system.)
Program:
O0001
N001 G0 X40.0 Z5.0
;
…;
…;
N006 G65 P9000 L3 B20.0 C10.0
;
…;
…;
N009 M30
;
Macro program:
O9000
N001 #4=#3-#2
;
N002 IF[#4 GT 40 ] GOTO 9
…;
N006 G01 X100.0 Z100.0
;
…;
…;
N009 M99
;
Summary of Contents for GSK988TA
Page 6: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation VI ...
Page 19: ...1 Ⅰ Programming PROGRAMMING ...
Page 227: ...209 Ⅱ Operation OPERATION ...
Page 369: ...Chater 10 Machining Example 351 Ⅱ Operation ...
Page 371: ...353 Appendix ...
Page 465: ...Appendix 1 Parameters 447 Appendix ...
Page 479: ...Appendix 3 Interface Explanation 461 Appendix ...
Page 527: ...Appendix 5 Installation Layout 509 Appendix ...