News

CONTACT US

TOMATECH AUTOMATION 1803 Shangbao Building, Xinwen Road, Futian District, Shenzhen

86-18570651180

86-755-8478 7500

tomatech@163.com

Company News

TOMATECH CNC Work With United States Customer VMC

Release time : 2017-03-17

1) Engineer making a PDF document , the docment gives complete solution from wiring , Debugging, Parameters Setting

    Customer can easily finish the installation.

 

*************************************************************************

Part of ATC program :

O0123(VER.01-03-13-2017  CW CCW)

M05
M89P1L0
M89P0L0

M89P20L1 (OUT20 TO CUT OFF SPINDLE)
(SET MACRO PARAMETER #403 FOR Z AXIS SAFTY POSITION   BEFORE ATC)

IF[#1863==1]#3000=1(ATC TESTING NOT OFF)
#201=#4120
IF[[#200] == 0]GOTO 100
IF[[#200] == #201] GOTO 100
IF[#400 > 8]
{
#3000=1(ERR:Exceed Max.tool No.!)
}
IF[[[#200] > [#400]] || [[#201] > [#400]]]
{
#3000=1(ERR:Exceed Max.tool No.!)
}
IF[#201==0]
{
#3000=1(Current Tool No. can not be 0!)
}
M09

#188=0  (cw, ccw sign)

G53.1 Z[#403] F2000

IF  [[[#200]>[#201]]&&[[[#200]-[#201]]<=4]]     
{
M89P23L1(Turret brake unclamp)
M04X0.2
M89 P22 L1(Turret move CW)
#188=1
}

IF [[[#201]>[#200]]&&[[[#201]-[#200]]>4]]
{
M89P23L1(Turret brake unclamp)
M04X0.2
M89 P22 L1(Turret move CW)
#188=1
}


N300


IF [#200==1]
{
#1=0
WHILE[1]DO11
IF[#1>5000]
{
#3000=1(TOOL SIGNAL ERROR!)
}
IF[[#1012==0]&&[#1013==1]&&[#1014==1]&&[#1015==1]&&[#1010==0]]GOTO11
G4P2
#1=#1+1
END11
N11
}

IF [#200==2]
{
#1=0
WHILE[1]DO22
IF[#1>5000]
{
#3000=1(TOOL SIGNAL ERROR!)
}
IF[[#1012==1]&&[#1013==0]&&[#1014==1]&&[#1015==1]&&[#1010==0]]GOTO22
G4P2
#1=#1+1
END22
N22
}

IF [#200==3]
{
#1=0
WHILE[1]DO33
IF[#1>5000]
{
#3000=1(TOOL SIGNAL ERROR!)
}
IF[[#1012==0]&&[#1013==0]&&[#1014==1]&&[#1015==1]&&[#1010==0]]GOTO33
G4P2
#1=#1+1
END33
N33
}

IF [#200==4]
{
#1=0
WHILE[1]DO44
IF[#1>5000]
{
#3000=1(TOOL SIGNAL ERROR!)
}
IF[[#1012==1]&&[#1013==1]&&[#1014==0]&&[#1015==1]&&[#1010==0]]GOTO44
G4P2
#1=#1+1
END44
N44
}

IF [#200==5]
{
#1=0
WHILE[1]DO55
IF[#1>5000]
{
#3000=1(TOOL SIGNAL ERROR!)
}


N100

M89P20L0
M30
%

 

  • Prev:
  • Next:
  • 86-18570651180
  • 86-755-8478 7500
  • tomatech_automation
  • tomatech@163.com

Copyright © Shenzhen Tomatech Product Factory All Rights Reserved. Powered By UM-Network    

Follow Us