ADTECH 4 series CNC System (maintainance Manual)
139
(4 )IF[[#200] == 0]GOTO 100
(##200is the ready change tool's number,the tool number is 0 and then
quit changing tool
(5 )IF[[#200] == #201]GOTO 100
if current tool is the tool want to be changed then quit
(6 )IF[#400 > 24]
(it will alarm if the system tool number exceed 24 )
(7 ){
(8 )#3000=1
(
warm :the setting tool exceed the max!) (system parameter no 3001 alarm,the content can be
revise)
(9 )}
(10)IF[[[#200] > [#400]] || [[#201] > [#400]]]
if the current tool NO. or target too NO. is bigger than
system max tool NO., then show alarm )
(11){
(12)#3000=1 (alarm: the setting tool number exceed maximum tool number!)( NO.3001 alarm appear, can
modify alarm contain)
(13)}
(14)IF[#201==0]
if the current tool no.was 0 ,then show alarm )
(15){
(16)#3000=1 ( current tool number is 0, alarmr)
(17)}
This macro program corresponding to the flowchart ― tool change T code‖ , diagnose function that when
system not sending tool change instruction, and detect tool number, ―(2) G90 G599‖ ,when enter tool changing
procedure, it will shift to G599 machine tool coordinate system and the values are absolute in the program,
each axis refer the machine coordinate system. so the match parameter of the tools are refering to machine
coordinate , ―(3 )#201=#4120‖ read current tool number to #201 variable, use for compare with―(5 )IF[[#200]
== #201]GOTO 100‖, #200‘s variable value is transmit by target tool number of code, if the target tool number
as same as current tool NO., it will jump to N100 and not make tool change motion, if different, it will execute
―(6 )IF[#400 > 24]‖to detect if the setting of max tool value by user exceed the max tool contain 24. over
setting it will alarm: ―(8 )#3000=1‖ and stop changing, 10-17 is tool detect, if it is no problem it will execute
the coming code.
z axis back to tool changing reference point
(18)G01 Z[#403+#404] F#405
(z axis rise to safe position)
This code is used for X and Y axis to avoid colliding when tool is at the position of tool changing
―(19)M09‖, close cooling liquid to prevent cool liquid splashing to tool head or blade guard in case of
effecting tool changing precision.
Содержание 4 Series
Страница 1: ...1 ADTECH 4 SERIES CNC MAINTAINANCE USER MANUAL ...
Страница 65: ...ADTECH 4 series CNC System maintainance Manual 61 Instant ...
Страница 110: ...ADTECH 4 series CNC System maintainance Manual 106 12 1 2 49serise Mounting dimensions ...
Страница 124: ...ADTECH 4 series CNC System maintainance Manual 120 12 3 Electrical connection diagram 12 3 1 Electrical Symbol ...
Страница 125: ...ADTECH 4 series CNC System maintainance Manual 121 12 3 2 Main Power connection diagram ...
Страница 126: ...ADTECH 4 series CNC System maintainance Manual 122 12 3 3 Servo drive connection diagram ...
Страница 127: ...ADTECH 4 series CNC System maintainance Manual 123 12 3 4 Step connection diagram ...