background image

ADTECH9 Series CNC Programming Manual

 

The working temperature range is between 0

~60

 

Avoid using it in the environments with high temperature, humidity, dust, or corrosive gas. 

Provide rubber rails for buffering in the place with strong vibration. 

Maintenance 

The  following  items  can  be  conducted  for  daily  and  regular  inspection,  under  the  general  usage  conditions 

(environmental  conditions:  daily  average  temperature:  30

,  load-carry  duty:  80%,  and  operational  rate:  12 

hours per day) 

 

Daily inspection 

Daily 

Confirm  environmental  temperature,  humidity,  dust  and 

foreign matter; 

Check whether there are abnormal vibration and sounds 

Check whether vents are blocked by yarns 

Regular 

inspection 

One year 

Check whether solid components are loose 

Check whether terminal blocks are damaged 

Summary of Contents for CNC9640

Page 1: ...ADTECH9 Series CNC Programming Manual ...

Page 2: ... of this manual Without the permission of Adtech the imitation copy transcription and translation by any organization or individual are prohibited This manual doesn t contain any assurance stance or implication in any form Adtech and the employees are not responsible for any direct or indirect data disclosure profits loss or cause termination caused by this manual or any information about mentione...

Page 3: ...bstitute grounding wire Wiring should be correct and secure to avoid the consequences of product failure or unexpected outcome Surge absorption diode connecting with product should be linked upon the stipulated direction otherwise the product may be damaged The power supply of the product should be cut before plug in plug out or opening the cabinet Overhauling Power off prior to overhauling or rep...

Page 4: ...onducted for daily and regular inspection under the general usage conditions environmental conditions daily average temperature 30 load carry duty 80 and operational rate 12 hours per day Daily inspection Daily Confirm environmental temperature humidity dust and foreign matter Check whether there are abnormal vibration and sounds Check whether vents are blocked by yarns Regular inspection One year...

Page 5: ...and relative programming 12 2 1 2 Rapid positioning G00 13 2 1 3 Linear interpolation G01 14 2 1 4 Arc interpolation G02 G03 15 2 1 5 Pause instruction G04 19 2 1 6 Plane selection G17 G19 19 2 1 7 Machine tool coordinate system G53 20 2 1 8 Programmable workpiece coordinate system G92 21 2 2 GFUNCTION RELATED TO REFERENCE POINT 22 2 2 1 Auto return to reference point G28 22 2 2 2 Auto return from...

Page 6: ...5 70 2 4 9 Boring cycle G86 71 2 4 10 Back boring cycle G87 73 2 4 11 Boring cycle G88 74 2 4 12 Boring cycle G89 74 2 5 CONVERSION OF G COMMAND 78 2 5 1 Program coordinates rotation G68 and G69 78 2 5 2 G51 1and G50 1 mirroring 80 2 6 PROBE G COMMAND 84 2 6 1 G31 1 84 2 6 2 G31 2 84 2 6 3 G31 3 84 2 7 MACHINE COORDINATE POSITIONING COMMANDS 85 2 7 1 G53 85 2 7 2 G53 1 85 3 AUXILIARYFUNCTION 86 3 ...

Page 7: ...112 4 10 6 MOVEABS single axis moves to the machine s position 112 4 10 7 MOVEREL relative moved position of single axis 112 4 10 8 MOVEASA two axes move to the machine s position positioning or interpolation 112 4 10 9 MOVERSA relative moved position of two axes positioning or interpolation 113 4 10 10 MOVEASB three axes move to the machine s position positioning or interpolation 113 4 10 11 MOVE...

Page 8: ...Z to Axis A M10000 118 4 11 7 Process Axis Z and Axis A synchronously M10001 118 4 11 8 Process after switching Axis X to Axis B M10007 118 4 11 9 M10008 Process Axis X and Axis B synchronously M10008 118 4 11 10 Process after switching Axis X to Axis C M10009 118 4 11 11 Process Axis X and Axis C synchronously M10010 118 4 11 12 Process after switching Axis Y to Axis B M10011 118 4 11 13 Process ...

Page 9: ...4 AUXILIARY CHANNEL GRUN 4 5 6 AND 7 121 5 INSTRUCTION ON CUSTOM CAM 122 5 1 OVERVIEW 122 5 2 INTRODUCTION OF CAM INSTRUCTION INTERFACE 122 5 3 CAM INSTRUCTION MENU FUNCTIONS 123 5 4 CAM INSTRUCTION CONFIGURATION FILE 124 5 5 SCHEMATIC DIAGRAM OF CAM INSTRUCTION 131 5 6 GENERATION OF PROCESSING PROGRAMS 135 6 CAD DXF CONVERSION 139 6 1 FUNCTION 139 6 2 KEYWORDS DESCRIPTION 140 6 3 EXAMPLE 141 6 4 ...

Page 10: ...0 480 pixels CNC9810 CNC9810E 8 LCD 800 600 pixels CNC9960 10 4 LCD 800 600 pixels 1 1 1 Basic functions Name Specification Data input method 1 NC keyboard input 2 U disk import 3 Network and serial port download and upload Edit 1 New program 2 Teach program 3 Save file 4 Programmed search 5 Search search row copy row paste row delete row copy segment delete segment 7 Replace File management 1 Bro...

Page 11: ...lish users can translate it into other languages through the ZIDIAN ZD file Diagnosis 1 Input point status 2 Output point status and manual control 3 Alarm information 4 Auxiliary channel operation information 5 System information 1 1 2 Auxiliary functions Name Specification Common functions 1 M03 M04 M05 2 M08and M09 coolant switches 3 M10and M11 chuck control 4 M06 tool change command Special au...

Page 12: ...Pause accurate stop G17 02 XY plane selection G18 ZX plane selection G19 YZ plane selection G20 06 Imperial data entry G21 Metric data entry G27 00 Return to and check reference point G28 Return to reference point G29 Return from reference point G40 07 Tool radius compensation cancel G41 Left tool radius compensation G42 Right tool radius compensation G43 08 Positive tool length offset G44 Negativ...

Page 13: ...inate system 13 G598 Extended workpiece coordinate system 14 G599 Extended workpiece coordinate system 15 G65 00 Macro program command G73 09 Deep hole drilling fixed cycle G74 Reverse threading fixed cycle G76 Boring fixed cycle G80 Cancel fixed cycle G81 Drilling fixed cycle G82 Drilling fixed cycle G83 Deep hole drilling fixed cycle G84 Taping fixed cycle G85 Boring fixed cycle G86 Boring fixed...

Page 14: ... program doesn t have program name the program segment No of the program start will be considered as the program name by default If the program segment No contains five digits the latter four digits will be used as the program name If the latter four digits are 0 add 1 automatically to use as the program name N0 can t be used as program name When saving the program if both program name and program...

Page 15: ... N and number 5 digits and can be randomly arranged The sequence of executing program segments only related to the storage position rather than program segment No If program segment N20 appears before program segment N10 N20 shall be executed first Program segment A program segment consists of one or several instruction word and ends with N_ G_ X_Z_ F_ S_ T_ M_ Program segment No Preparation Size ...

Page 16: ...Program name O 1 9999 Program No Program segment No N 1 9999 Sequence No Preparation function G 00 99 Specify motion mode linear arc Size definition X Y Z 99999 999 mm Coordinate position value R 99999 999 mm Arc radius corner radius I J K 9999 9999 mm Arc center coordinate position value Feeding rate F 1 100 000 mm min Feeding rate Spindle rotation S 1 4000 rpm Spindle rotation Select tool T 0 99...

Page 17: ...veral times edit this track into the subroutine and save in the program memory of the machine tool and this subroutine can be called when this track should be executed in the program When the main program calls a subroutine this subroutine can call another subroutine which is called double nesting Generally the machine tool allows up to quadruple subroutine nesting In calling subroutine instructio...

Page 18: ...r times Note If the calling time isn t specified the subroutine will be called only once M98 doesn t need to appear in a program segment separately Different from other M codes M98 and M99 won t send signal to the machine tool when executing NC gives an alarm if can t find the program No specified by address P Subroutine call instruction M98 can t be executed in MDI mode to execute a subroutine se...

Page 19: ... upward movement the positive motion and the downward movement the negative motion X axis The left and right movement of the tool relative to the workpiece is X axis motion with the rightward movement the positive motion and the leftward movement the negative motion Y axis The forward and backward movement of the tool relative to the workpiece is Y axis motion with the forward movement the positiv...

Page 20: ...ence point to write processing program The coordinate system created with this reference point is the workpiece coordinate system When the workpiece is fixed on the worktable of the machine tool move the tool to specified workpiece reference point and set the coordinate value of this point as the origin of workpiece coordinate system and the tool will use this workpiece coordinate system as the re...

Page 21: ...ADTECH9 Series CNC Programming Manual Workpiece Coordinate System Diagram ...

Page 22: ...oordinate system is specified in increment value instruction the distance of every coordinate axis relative to the start point motion is specified Format G90 X_ Y_ Z_ α_ G91 X_ Y_ Z_ α_ G90 absolute value instruction G91 increment value instruction α additional axis Details In absolute value instruction mode the tool motion is unrelated to current position and moves according to the position of sp...

Page 23: ...ons of same group 01 appears when G00 mode is valid the latter instructions only need to specify coordinate X Y Z In G00 mode the tool always accelerates at the start point and decelerates at the end point of every path It will execute next path only after the in place state is confirmed When every motion axis reaches the end point CNC considers that this program segment has ended and turns to nex...

Page 24: ... the program F indicates the speed of linear motion unit mm min Details This instruction changes other G functions and G01 is always valid until G00 G02 or G03 instruction of same group 01 appears If the next instruction is still G01 and the feeding speed is same G01 can be ignored If the program segment in which G01 instruction appears for the first time doesn t have F instruction there will be e...

Page 25: ...gramming Diagram 2 1 4 Arc interpolation G02 G03 Function Used to move the tool in arc track Format On X Y plane G17 G02 G03 X__ Y__ I__ J__ R__ F__ On X Z plane G18 G02 G03 X__ Z__ I__ K__ R__ F__ On Y Z plane G19 G02 G03 Y__ Z__ J__ K__ R__ F__ ...

Page 26: ...Z The coordinate value of the end point position in current workpiece coordinate system G91 mode Two axes instruction in X Y Z Distance from start point to end point directional 4 Distance from start point to circle center Distance from start point to circle center Two axes instruction in I J K Arc radius Arc radius Arc radius 5 Feeding rate Feeding rate The speed of arc motion Details G02 G03 is ...

Page 27: ...nce from the point of current point to the circle center is specified by address I J and K respectively the symbols of which are determined by their motion directions The coordinate value of arc end can be either in absolute value or increment value while the coordinate value of arc center must be increment instruction from the start point When X Y and Z are ignored the start point coincides with ...

Page 28: ...ive value can be used to determine an arc larger than 180 Programming a full circle is only possible by specifying circle center Absolute Increment Programming Diagram Above tracks are programmed in absolute value and increment value mode as follows Absolute value mode G00 X200 0 Y40 0 Z0 G90 G03 X140 0 Y100 0 I 60 0 F300 0 G02 X120 0 Y60 0 I 50 0 or G00 X200 0 Y40 0 Z0 G90 G03 X140 0 Y100 0 R60 0...

Page 29: ...es the pause time and the minimum unit of its instruction is 1 second if there is no radix point Example G04 P 1000 pause for 1000ms equal to 1sec G04 X 1 pause for 1sec 2 1 6 Plane selection G17 G19 Function This group of instruction is used to select the plane of arc interpolation and tool radius compensation Format G17 select XY plane G18 select ZX plane G19 select YZ plane X Y Z indicate the c...

Page 30: ...e of every axis Details When the machine tool is electrified it must be reset in auto or manual mode and the coordinate system is created basing on reset reference origin The machine tool coordinate system won t change before the power supply is cut off after created The machine tool coordinate system won t be changed due to G92 instruction G53 instruction only can be used in absolute value mode G...

Page 31: ...int where current tool locate is the value of IP_ instruction in this workpiece coordinate system As shown in Fig 8 1 Format G90 G92 X_Y_Z_ X Y_Z_ The coordinate absolute value of every axis Details G92 instruction is a non modal instruction but the workpiece coordinate system created with this instruction is modal Actually this instruction also specifies an offset which is specified indirectly It...

Page 32: ...xed point on the machine tool and its position is determined by the installation position of stopper switch of every axis and the home position of the servo motor of every axis When this machine tool returns to the reference point the coordinates of the reference point in the machine tool coordinate system is X0 Y0 Z0 2 2 1 Auto return to reference point G28 Function This instruction makes the axi...

Page 33: ...rdinates in G28 instruction is saved as center point by NC on another hand if an axis isn t contained in G28 instruction the coordinates of the center pointed saved by NC will use the value G28 instruction specified previously Example N0010 X20 0 Y54 0 N0020 G28 X 40 0 Y 25 0 coordinates of center point 40 0 25 0 N0030 G28 Z31 0 coordinates of center point 40 0 25 0 31 0 Diagram of Automatically R...

Page 34: ... is additional axis X YZ α indicate the coordinates of end point of the tool motion Details Generally after this instruction is used for G28 the instructed axis is on reference point or second reference point In increment value mode the instruction value is the distance from center point to end point instruction position In program the specific movement amount from center point to reference point ...

Page 35: ...Details The axes of simultaneous reference point return check are same to simultaneously controlled axes If the reference point isn t reached after instruction is executed the program alarms Coordinate system setting function G52 G59 G591 G599 G92 Using preset workpiece coordinate system G54 G59 G591 G599 According to the loading position of the workpiece in the machine tool this system can preset...

Page 36: ... are preset value please refer to the operation section in this manual for the method of presetting After returning to the home of machine tool coordinate systems 1 6 of the workpiece are created G54 is the initial mode after electrified The absolute position of the position screen is the coordinates in current coordinate system In CNC programming of machine tool unless otherwise specified the IP ...

Page 37: ...specified until next G52 instruction is specified G52 instruction can set the processing coordinate system without changing the workpiece coordinate system G52 IP0 G52 X0 Y0 Z 0 α0 can be used to cancel local coordinate system The setting of local coordinate system doesn t change the machine tool coordinate and workpiece coordinate system G52 instruction can replace G92 instruction to specify the ...

Page 38: ...r it must offset a distance which is called tool compensation Tool compensation consists of length compensation and radius compensation The tool length is different or wears due to long time cutting and thus the length compensation is required Radius compensation is required because the actual processing tool always has certain tool radius or tip arc radius and therefore there is a difference of t...

Page 39: ...de and use the calculated coordinates as the end point coordinates When Z axis motion is omitted if the offset is positive G43 instruction will move an offset in positive direction and G44 will move an offset in negative direction If the offset is negative it moves to reverse direction G43 and G44 are modal G codes which are always valid before the G codes of same group appear Specifying offset H ...

Page 40: ...32 0 H01 2 N3 G01 Z 21 0 3 N4 G04 P2000 4 N5 G00 Z21 0 5 N6 X30 0 Y 50 0 6 N7 G01 Z 41 0 7 N8 G00 Z41 0 8 N9 X50 0 Y30 0 9 N10 G01 Z 25 0 10 N11 G04 P2000 11 N12 G00 Z57 0 H00 12 N13 X 200 0 Y 60 0 13 N14 M30 Note When the offset No is changed it only changes to new offset rather than adding the new offset to the old offset ...

Page 41: ... define a mode and confirm the value of compensation vector direction and tool motion direction G code Function G40 X_ Y_ Tool radius compensation cancel G41 X_ Y_ Tool radius left compensation G42 X_ Y_ Tool radius right compensation Details Tool radius compensation is specified by D instruction and H instruction is invalid The plane selection of tool radius compensation can be compensated accord...

Page 42: ...ADTECH9 Series CNC Programming Manual 2 Oasions out of the corner obtuse angle o o 90 180 3 Occasions out of the corner acute angle o 90 ...

Page 43: ...arc instruction G02 G03 else it will alarm P S69 Action in compensation mode In compensation mode the same compensation instructions G41 G42 do not require new setting over cutting or insufficient may occur if four or more continuous segments do not have motion instructions 1 Occasions that outer corner rotates ...

Page 44: ...ADTECH9 Series CNC Programming Manual 2 Occasions that inner corner rotates ...

Page 45: ...ADTECH9 Series CNC Programming Manual ...

Page 46: ...ADTECH9 Series CNC Programming Manual Cancelling tool radius compensation 1 Occasions inside the corner 2 Occasions out of corner obtuse angle 3 Occasions out of corner acute angle ...

Page 47: ...ion starts there shouldn t be arc instruction G02 G03 or else it will alarm P S70 Other instructions and actions during tool radius compensation Inserting corner arc When G39 corner arc instruction is specified the node at the workpiece corner calculates compensation and inserts automatically ...

Page 48: ...ation can be changed or maintained 1 Maintain vector when G38 instruction is moving single segment instruction the end point of this single segment isn t calculated as the node and maintains the vector same to migration segment 2 Change vector the new compensation vector direction is specified by I J and K and the compensation is specified by D ...

Page 49: ...e tool radius compensation instruction G41 G42 and compensation symbol In compensation mode the compensation instruction and direction can be changed without compensating cancellation instruction However the compensation start segment and next segment can t be changed When compensation direction is changed and there is no intersection ...

Page 50: ...pensation vector will be invalid temporarily Later the compensation mode will resume automatically In this case the compensation cancellation action is invalid the tool moves from intersection to the instruction point of compensation vector directly i e moving to program instruction point when compensation mode resumes the tool moves to the intersection directly ...

Page 51: ...sation vector doesn t change Details In the following segments the tool doesn t have motion M03 M instruction S12 S instruction T45 T instruction G04X500 Pause G22X200 Y150 Z100 Restricted processing area setting G10 L10 P01 R50 Compensation setting G92 X600 Y400 Z500 Coordinate system setting G17 Z40 Compensation the motion out of the plane G90 G instruction only G91 X0 0 is moved M00 M01 M02 M03...

Page 52: ...are specified consecutively the compensation vector can t be accomplished 2 In compensation mode the occasions specified by instruction In compensation mode if the segments without motion aren t specified consecutively for four and M instruction isn t restricted in advance the intersection vector of usual path can be calculated ...

Page 53: ...casions that have instructions same to compensation cancellation instruction Occasions specified by I J K in G40 1 In the four segments before G40 segment if the last motion instruction segment is in G41 or G42 mode the compensation cancels and the compensation direction doesn t change after the compensating from the last motion instruction end point to the intersection of tool center path of assu...

Page 54: ... from the instruction direction the intersection still can be calculated and therefore attention is required Secondly if the compensation of intersection calculation is high vertical vector occurs in the program before G40 After the arc instruction according to I J K vector of G40 if the arc path exceeds 360 the uncut part occurs and attention is required ...

Page 55: ...rner the motion action is executed in subsegment therefore in single segment mode it will execute previous segment corner motion of previous segment and keep connection motion the secondary segment executes the corner motion of the other half in following operation 2 3 3 G41 G42instruction and I J K designation Function and purpose If G41 G42 and I J K are specified in same segment the compensatio...

Page 56: ...also suitable for vector KI G18 plane and JK G19 plane As shown in the figure below I J vector isn t related to the intersection calculation of program specified path and only uses the vector in I J specified direction and having same compensation I J vector can be specified when the compensation starts or in compensation mode 1 I J compensation specified occasion 2 Compensation without motion ins...

Page 57: ...ADTECH9 Series CNC Programming Manual G18 plane G19 plane 4 If I J is specified in the segment without motion ...

Page 58: ... the direction specified by I J rotate 90 to the left in the positive direction of Z axis 2 In G42 mode In the direction specified by I J rotate 90 to the right in the positive direction of Z axis Switching compensation mode In compensation mode G41 G42 mode can be switched at any moment ...

Page 59: ...100 segment The compensation value of vector P equals to the value recorded on compensation No mode D2 of N200 segment Other precautions 1 If I J vector is used the compensation starts in linear mode G00 G01 In arc mode the program will alarm In compensation mode the IJ instruction in arc mode is the arc center 2 After I J vector is made the vector won t disappear even there is interference no int...

Page 60: ...ied different vectors 4 According to the combination of G41 G42 and I J K instructions the compensation method follows G41 G42 I J K Compensation method No No Intersection caculstion vector No Yes Intersection caculstion vector Yes No Intersection caculstion vector Yes Yes I J vector no segment inserted ...

Page 61: ...ent during tool radius compensation MDI insertion 1 Insertion treatment when there is no motion tool track doesn t change 2 Insertion treatment when there is motion Insert the treated motion segment and then the compensation vector calculates automatically ...

Page 62: ...ADTECH9 Series CNC Programming Manual Manual insertion ...

Page 63: ... canceled and another tool is selected in compensation mode when the compensation is changed the vector of segment end point is calculated according to the compensation specified by the segment 3 Compensation symbol and tool center path If the compensation is negative it is same to G41 and G42 switched circles but the rotation outside of workpiece turns into inside rotation and the inside rotation...

Page 64: ...ber change in compensation mode In compensation mode the compensation No shouldn t be changed in principle To change the motion is shown in the figure below G41 G01 Dr1 α 0 1 2 3 N101 G00 α Xx1 Yy1 N102 G00 α Xx2 Yy2 Dr2 compensation No change N103 Xx3 Yy3 ...

Page 65: ...ADTECH9 Series CNC Programming Manual Tool radius compensation start and axis Z cut in action ...

Page 66: ...e the relation between N1 and N6 and compensate appropriately as shown above Then divide N4 segment into two in above program At this moment there is no instruction segment of XY plane in the four continuous segments N2 N5 pre reading isn t allowed from N1 to N6 and overcutting as above occurs Basic execution compensation is made with N1 only but correct compensation vector can t be made and thus ...

Page 67: ...ssing Fixed Cycle G code Processing motion Z axis negative Hole bottom action Return motion Z axis positive Application G73 Sub cutting feeding Quick positioning feeding High speed deep hole drilling G74 Cutting feeding Pause Spindle CW Cutting feeding Left hand tapping cycle G76 Cutting feeding Spindle orientation stops Rapid traverse Fine boring cycle G80 Cancel ficed cycle G81 Cutting feeding R...

Page 68: ...ting feeding Boring cycle Format After G73 G74 G76 G81 G89 give hole processing parameters The format follows See table 10 2 for details G X_ Y_ Z_ R_ Q_ P_ F_ K_ G hole processing method X_ Y_ Z_ position parameters of hole processed R_ Q_ P_ F_ hole processing parameters K_ repeat times Details Generally one hole processing fixed cycle completes the following six steps G73 G74 G76 G81 G89 1 X Y ...

Page 69: ...ng in G98 mode Z axis returns to the start point after hole processing in G99 mode it returns to point R Generally if the holes being processed are on a flat plane we can use G99 instruction because it will position next hole after returning to point R in G99 mode in general programming point R is close to workpiece surface it will shorten part processing time but if the workpiece surface has conv...

Page 70: ...ction in increment value mode specify the distance from the start point to point R Hole processing parameter Q Used to specify the tool feeding of deep hole drilling cycle G73 and G83 and the offset of fine boring cycle G76 and reverse boring cycle G87 always increment value instruction no matter G90 or G91 mode Hole processing parameter P Used to specify the pause time unit sec in the fixed cycle...

Page 71: ... processing mode hole processing parameter and repeat times K are canceled The following example describes above content better SN Program content Remark 1 S_ M03 Specify the rotation and specify the spindle to rotate positively 2 G81X_Y_Z_R_F _K_ Locate specified X Y point quickly process with the hole processing parameter specified by Z R F and in the hole processing mode specified by G81 and re...

Page 72: ...d and all hole processing parameters except F are canceled In the following diagrams we use the modes below to indicate the feeding of every segment Indicate motion in quick feeding speed Indicate motion in cutting feeding speed Indicate manual feeding 2 4 1 High speed deep hole drilling cycle G73 Format Format G73 X_ Y_ Z_ R_ Q_ F_ Details High Speed Deep Hole Drilling Cycle Diagram The feeding f...

Page 73: ...G74 X_ Y_ Z_ R_ F_ D_ X_Y_ thread position Z_ Threaded hole bottom position R_ point of tool feeding retreating P_ Dwell time at the bottom of hole F_ D_ convert to feeding speed according to screw distance or specify the distance with D K_ repeat times If necessary Details Left hand Thread Taping Cycle Diagram The sequence of actions is as follows Quickly locate it to the hole X Y but the tool ma...

Page 74: ...e speed S the pitch of the thread PITCH And in the G95 feed per revolution mode the cutting speed feedrate F is thread pitch PITCH Notice In G74 and G84 cycle the feeding rate switch and feeding retaining switch are ignored i e feeding rate is retained at 100 and can t be stopped before a fixed cycle completes before cycle starts the spindle should be specified to rotate in taping direction 2 4 3 ...

Page 75: ...o offset Angle so that the boring tool tip is parallel to the X axis negative direction 5 The tool moves Q_ in the opposite direction of the tool tip using X axis note this offset Q_ is a relative movement amount 6 Return from the hole bottom position to the initial plane G98 mode or back to the R point G99 mode to perform G00 fast positioning 7 The tool moves Q_ in the direction of the tool tip u...

Page 76: ...le Diagram Note G81 is the simplest fixed cycle and its execution process follows X Y positioning Z axis moves to point R quickly and feeds to point Z at F speed Quickly returns to the start point G98 or point R G99 No hole bottom action 2 4 5 Drilling cycle rough boring cycle G82 Format G82 X_ Y_ Z_ R_ P_ F_ Details ...

Page 77: ...epth 2 4 6 Deep hole drilling cycle G83 Format G83 X_ Y_ Z_ R_ Q_ F_ Details Deep Hole Drilling Cycle G83 Diagram Note Similar to G73 instruction the feeding from point R to point Z under G83 instruction is also finished in two segments different from G73 instruction Z axis returns to point R after feeding of every segment and then moves to position d above the start point at the quick feeding spe...

Page 78: ...ating P_ Dwell time at the bottom of hole F_ D_ convert to the feeding speed according to screw distance or specify the screw distance with D_ directly K_ repeat times if necessary Details Taping Cycle Diagram The sequence of actions is as follows 1 Quickly locate it to the hole X Y but the tool maintains the original height 2 Quickly locate it to point R 3 Tapping starts and spindle reverses 4 Cu...

Page 79: ...e switch and feeding retaining switch are ignored i e feeding rate is retained at 100 and can t be stopped before a fixed cycle completes before cycle starts the spindle should be specified to rotate in taping direction The programming example is as follows tap with a pitch of 1 mm in therigid tapping mode O1234 G17 G90 G00 G54 X0 Y0 G00 Z50 M29 S1000 Note M29 enters the rigid tapping mode M28 can...

Page 80: ...rvo spindle and set by the rotary axis B In the elastic tapping mode the ratio of spindle encoder in a circle to the spindle tool in a circle is generally 1 1 If there is a special case for example the ratio of spindle encoder in two circles to the tool of spindle in a circle is 2 1 2 Spindle For the No 1 parameter the spindle specifies the interface number Note If it is an analog spindle this par...

Page 81: ...le and the execution process follows X Y positioning Z axis quickly moves to point R feeds to point Z at the speed specified by F Returns to point R at the speed specified by F In G98 mode return to point R and return to the start point quickly 2 4 9 Boring cycle G86 Format G86 X_ Y_ Z_ R_ F_ Details ...

Page 82: ...te The execution of this fixed cycle is similar to G81 the difference is that the tool feeds to hole bottom in G86 to make the spindle stop and quickly returns to point R or the start point to make the spindle to rotate in original direction and at original rotation ...

Page 83: ... be used as the cutting depth of the G73 and G83 commands In addition since this command requires the spindle to position the borehole so only the servo spindle can execute this command The sequence of actions can be as follows 1 Perform G00 command to quickly locate to the positions of X and Y coordinates 2 Perform spindle positioning Note Perform servo spindle zeroing by setting the spindle para...

Page 84: ... No 15 spindle return to zero offset Angle so that the boring tool tip is parallel to the X axis negative direction 9 The tool moves Q_ in the opposite direction of the tool tip using X axis note this offset Q_ is a relative movement amount 10 Perform G00 Z axis positioning to the starting position 11 The tool moves Q_ in the direction of the tool tip using X axis note this offset Q_ is a relative...

Page 85: ...fixed cycle if a segment contains neither address above this segment won t execute the fixed cycle except address X in G04 In addition address P in G04 won t change the P value in hole processing parameter G00 X_ G81 X_ Y_ Z_ R_ F_ K_ do not execute hole processing F_ do not execute hole processing F value is updated M_ do not execute hole processing only executes auxiliary function G04 P_ do not ...

Page 86: ... fixed cycle is first executed g In fixed cycle mode tool offset instructions G45 G48 will be ignored won t be executed h When single segment switch is in up position the fixed cycle will stop after executes X Y axis positioning quickly feeds to point R and returns from the hole bottom to point R or the start point That is to say it is required to press the cycle start button for three times to co...

Page 87: ...he program follows N001 G92 X0 Y0 Z0 the coordinate system is set at reference point N002 G90 G00 Z250 0 T11 M6 change tool N003 G43 Z0 H11 execute plane tool length compensation at the start point N004 S30 M3 spindle starts N005 G99 G81 X400 0 Y 350 0 Z 153 0 R 97 0 F120 0 process 1 hole after positioning N006 Y 550 0 process 2 hole after positioning return to point R plane ...

Page 88: ... return to start point plane N017 G99 X1050 0 process 9 hole after positioning return to point R plane N018 G98 Y 450 0 process 10 hole after positioning return to start point plane N019 G00 X0 Y0 M5 return to reference point spindle stops N020 G49 Z250 0 T31 M6 cancel tool length compensation change tool N021 G43 Z0 H31 start point plane tool length compensation N022 S10 M3 spindle starts N023 G8...

Page 89: ...by the rotation angle r1 counterclockwise 4 The setting range of the rotation angle r1 is 360 000 to 360 000 When a command of a degree exceeding 360 degrees is issued the command will be the remainder after being divided by 360 degrees 5 The rotation angle r1 is modal data and does not change until the new angle is specified next time Therefore the command of the rotation angle r1 can be omitted ...

Page 90: ...X20 N50 G03 Y10 I 10 J 5 N60 G01 X 20 N70 Y 10 N80 G40 G90 X0 Y0 N90 G69 M30 2 5 2 G51 1and G50 1 mirroring Functions and purpose When cutting the left and right symmetrical patterns and shapes the other side can be processed by only programming the left side or the right side thereby saving the time required for the programming At this point the most effective feature is the mirroring feature For...

Page 91: ...1 Cancel the mirror function of all axes Note This command needs to select the command plane in advance through G17 G19 Action descriptions When cutting a symmetrical shape you only need to select the machining program of one side and through the mirror function you can machine the symmetrical shape on the other side As shown in the figure below After the machining program for cutting the right so...

Page 92: ... G28 is executed but the process of resetting the origin via the intermediate point is invalid 4 When the mirror function is enabled the process of returning to the intermediate point from the origin is invalid when G29 is executed but the process from the intermediate point to the destination is valid 5 The mirror axis changes position as the coordinate system shifts and the tool length is correc...

Page 93: ...rror X axis absolute coordinate position 50 M98 P0002 G51 1 X50 Y50 Mirror X and Y axis absolute coordinate position 50 M98 P0002 G50 1 X0 Cancel mirroring of X axis M98 P0002 G50 1 Cancel mirroring of all axes G00 X0 Y0 M30 Subprogram O0002 G00 G90 X60 Y60 G01 X80 G01 Y70 G03 X70 Y80 R10 G01 X60 G01 Y60 M99 ...

Page 94: ..._ A_ B_ C_ F_ P_ Q_ L_ Z Search for the position of tool regulator Z F Search for the speed of the tool regulator P Tool setting input point for tool regulator Q Limiting input point of the tool regulator L Effective level of the tool setting point and limit point 2 6 3 G31 3 Extend the G31 3 command to read the distance between the two detection switches Format G31 3 X_ Y_ Z_ P_ Q_ L_ D_ Command ...

Page 95: ...achine coordinate Format G53 X_ Y_ Z_ A_ B_ C_ X Y_ Z_ A_ B_ C_ Machine coordinate position Note The speed uses the axis rapid traverse parameters 2 7 2 G53 1 A command used to position the interpolation to machine coordinate Format G53 1 X_ Y_ Z_ A_ B_ C_ F_ X Y_ Z_ A_ B_ C_ Machine coordinate position F Interpolation positioning speed ...

Page 96: ...ubrication off M30 Program ends and returns to program header M98 Call subroutine M99 Subroutine ends and returns Repeat M56 Output 02 port is in high voltage level M57 Output 02 port is in low voltage level M58 Output 03 port is in high voltage level M59 Output 03 port is in low voltage level M10 Output 06 port is in high voltage level M11 Output 06 port is in low voltage level M20 Output 07 port...

Page 97: ...tage level M50 Output 17 port is in high voltage level M51 Output 17 port is in low voltage level M66 Output 20 port is in high voltage level M67 Output 20 port is in low voltage level M64 Output 21 port is in high voltage level M65 Output 21 port is in low voltage level M62 Output 22 port is in high voltage level M63 Output 22 port is in low voltage level M60 Output 23 port is in high voltage lev...

Page 98: ...instruction is to change tool 2 M08 cooling on M09 cooling off M32 lubrication on M33 lubrication off M88 specify input IO port to check the voltage level continue to execute if the levels are same or else wait If no voltage level signal is specified it is low voltage level signal by default For example M88 P0 L1 wait until IN0 is high voltage level or else wait all along M89 specify output IO por...

Page 99: ...s at the speed set by the S value 3 1 4 M05 spindle stops When M05 is read at the time the system is running automatically the spindle is stopped for automatically running 3 2M command for input signal detection output 3 2 1 M88 input port signal detection Format M88 Pn Lm Check if the input IO IN n level signal is m high or low if not continue to wait Example Wait for the input terminal is IN10 a...

Page 100: ...of S value and spindle parameter maximum spindle speed multiplied by 10V the analog voltage value that needs to be output is then obtained S command needs to execute M03 or M04 to make analog output upon the designation Spindle mapping axis To specify one feed axis in the axis group It means the current spindle is the AB phase pulse control mode At this time the S value is set by the spindle encod...

Page 101: ...ram This function is called as variable instruction Format or expression Details 1 Representation of variables a m M 0 9 constituted value 100 b f f has the following meanings Value m 123 Variable 543 Expression 110 119 symbol expression 120 Function expression SIN 110 Note Standard operating symbols are When the function expression is ignored the function can t be executed The variable No can t b...

Page 102: ...ram System variable No 3 Variable reference a Except O N and slash b Specify with variables directly G01X 1Y 100 c Take the complement of the variables directly G01X 2 d Variable defines variable 3 105 take the complement of 105 directly and evaluate to 3 4 1000 evaluate 1000 to 4 directly e Define the evaluation with expression 1 3 2 100 the value 1 equals to the result of 3 2 100 X 1 3 1000 the ...

Page 103: ...lling Instruction G code Function G65 Macro program calling G66 Macro program calling mode A call motion instruction G661 Macro program calling mode B call every segment G67 Cancel macro program calling mode Details The macro programs specified after G66 or G661 instruction is specified before G67 cancel instruction and after the segments with motion instruction are executed or every segment is ex...

Page 104: ...es can be specified as arguments The bit addresses that do not need to transfer can be ignored In G65 instruction segment all the bit addresses are considered as the arguments of G65 For example G65P0002N100G01G90X100 Y200 F400R1000 G01 instruction isn t executed and all bit addresses are considered as the arguments of G65 The comparison between the bit addresses specified by the arguments and loc...

Page 105: ...ADTECH9 Series CNC Programming Manual F 9 G H 11 I 4 J 5 K 6 L M 13 N O P Q 17 R 18 S 19 T 20 U 21 V 22 W 23 X 24 Y 25 Z 26 can be used can t be used 2 Mode calling A motion instruction calling ...

Page 106: ... will call G66 specified macro subroutine automatically after executed G66 and G67 instructions are in the same program and must be specified in pair If G66 instruction isn t executed first and G67 instruction is executed directly the system will alarm In G66 instruction segment all the bit addresses are considered as the arguments of G65 For example drilling cycle Note G66 instruction executes th...

Page 107: ...bit addresses are considered as the arguments of G661 4 4Variable Function and purpose Variable is a useful function of macro Four types of variables are available which are local variable global non retentive variable global retentive variable and system variable These variables make the writing of macro very convenient and universal Using multiple variables Macro calls variable and the variable ...

Page 108: ...the calculation blank variables can be used as 0 generally 0 can t be used as expression L value for calculation However if the programmers edit falsely the program won t report error and this measure doesn t have any effect Calculation formula 1 0 1 Null 2 0 1 2 1 3 1 0 3 1 4 0 10 4 0 5 0 0 5 0 Please note that the blank in the calculation formula indicates 0 blank blank 0 blank fixed number fixe...

Page 109: ...ogram is independent and thus can be repeated up to four levels G65 Pp1 Ll1 argument p1 subroutine No l1 repeat times Arguments are Aa1 Bb1 Cc1 Zz1 etc the bit address specified by argument and the local variables in the subroutine are shown below Bit address Variable No Subroutine Bit address Variable No Subroutine A 1 N B 2 O C 3 P D 7 Q 17 E 8 R 18 F 9 S 19 G T 20 H 11 U 21 I 4 V 22 J 5 W 23 K ...

Page 110: ...e milling however to ensure equal spacing processing the spacing is changed to 8 333mm Secondly local variable 30 is the calculation result of reciprocating processing times data Local variables can be used for macro calling of every level independently up to four levels The main program macro level 0 provides specific local variables however local variables can t use argument at level 0 ...

Page 111: ...hod i j Definition replacement Addition and subtraction i j k i j k i j OR k or i j k i j XOR k or i j k Addition Subtraction 32 bit OR calculation logical AND 32 bit XOR calculation Multiplication and division i j k i j k i j MOD k i j AND k or i j k Multiplication Division Remainder 32 bit AND calculation logical product Function calculation i SIN k i COS k i TAN k i ASIN k i ATAN k Sine Cosine ...

Page 112: ...al point 1 1 000 The expression after the function must be bracketed with Expression calculation priority Smaller number indicates higher priority Calculation symbol 1 2 3 Function SIN COS EXP 4 MOD 5 6 GE GT LE LT 7 EQ NE 8 AND XOR OR 9 Note The calculation expression of the same level follows the sequence from left to right The calculation expression has more priorities if the expression is too ...

Page 113: ...000 14 13 000 15 190 000 4 Logical AND OR 3 100 4 3 XOR 14 3 01100100 14 00001110 4 01101110 110 5 XOR XOR 3 100 4 3 XOR 14 3 01100100 14 00001110 4 01101010 106 6 Multiplication and division 21 100 100 22 100 100 23 100 100 24 100 100 25 100 100 26 100 100 27 100 100 28 100 100 29 41 101 30 41 102 21 10000 000 22 10000 000 23 10000 000 24 10000 000 25 1 000 26 1 000 27 1 000 28 1 000 29 1000 000 ...

Page 114: ...0 000 13 Arc tangent ATAN 561 ATAN 173205 100000 562 ATAN 173205 100 563 ATAN 173 205 100000 564 ATAN 173 205 100 565 ATAN 1 732 561 60 000 562 60 000 563 60 000 564 60 000 565 59 999 14 Arc cosine ACOS 521 ACOS 100 141 421 522 ACOS 10 14 142 523 ACOS 0 707 521 45 000 522 44 999 523 45 009 15 Square SQRT 571 SQRT 1000 572 SQRT 10 10 20 20 573 SQRT 14 14 15 1 5 571 31 623 572 22 361 573 190 444 16 ...

Page 115: ...ulation will cause cumulative error Therefore the macro variable should be in a reasonable range in addition while calculating trigonometric and exponential functions too large value is also a reason of doubled error due to calculation error of the functions 4 7Control instruction Conditional instruction Format The types of conditional expression are shown in the table below i EQ j when iequals to...

Page 116: ...instruction is executed the system will search downwards first if not found the system will return and search downwards from the program header if still not found until the calling segment the system will send alarm information EQ and NE only can be used for integers and the values with decimal fraction should be compared with GT GE LT and LE instructions Cycle conditional instruction Format WHILE...

Page 117: ...ADTECH9 Series CNC Programming Manual ...

Page 118: ...ADTECH9 Series CNC Programming Manual ...

Page 119: ...ing program calling in order to keep a clean environment for programming Even if the reference is false it will be located easily 3 Same as subroutine macro can t be used in tool radius compensation therefore please cancel the compensation before calling 4 9Macro variable user parameters system configuration Macro variables contain User menu which is used to rename the macro variable addresses rel...

Page 120: ...volatile The user can customize up to 50 addresses Example of user defined alarm configuration the range of the sequence number is 200 215 the range of corresponding external alarm sequence number is 1 16 sequence number corresponds to bit number 1 16 of external alarm register and the later alarm prompt is the content generated by the alarm of current number No sequence number can be repeated ...

Page 121: ... program for reading the variable X 100 in the machine tool coordinates is as below 100 RMACPOS 1 4 10 3 WMACPOS write machine tool coordinates Function description Write machine tool s coordinates Parameter AXIS NO VAL writes coordinates Unit mm Returned value 0 INT16U WMACPOS INT8U AXIS float VAL Example The program for reading the variable X 100 in the machine tool coordinates is as below 100 2...

Page 122: ...r of the motion axis POS Move the machine s position Unit mm Returned value If correct it returns 0 If error it returns the value 1 INT16U MOVEABS INT8U MODE INT8U AXIS float POS Example set the position of No 7 AXIS to move to the machine s coordinates 100 the program is as follows SPEEDA 7 200 2000 Set the running speed MOVEABS 0 7 100 4 10 7 MOVEREL relative moved position of single axis Functi...

Page 123: ...not wait for the end of the motion AXIS A1 Number of the motion axis 1 P1 Motion displacement 1 mm A2 Number of the motion axis 2 p2 Motion displacement 2mm Returned value If correct it returns 0 If error it returns the value 1 INT16U MOVERSA INT8U MODE INT8U A1 float P1 INT8U A2 float P2 4 10 10 MOVEASB three axes move to the machine s position positioning or interpolation Function description Th...

Page 124: ...example No 1 axis Position 1 No 2 axis Position 2 No 3 axis Position 3 Example Two axis motion MOVEASC 0 2 1 100 2 100 Example Three axis motion MOVEASC 0 3 1 100 2 100 3 100 Example Four axis motion MOVEASC 0 4 1 100 2 100 3 100 4 100 Example Five axis motion MOVEASC 0 5 1 100 2 100 3 100 4 100 5 100 Example Six axis motion MOVEASC 0 6 1 100 2 100 3 100 4 100 5 100 6 100 Returned value If correct...

Page 125: ...value If correct it returns 0 If error it returns the value 1 INT16U WRITELED INT32U NUM INT8U VALUE 4 10 16 READOUT Read Physical Output Function description Read the status of physical output OUT Parameter NUM Port No Returned value If correct it returns 0 for low electrical level or 1 for high electrical level If error it returns the value 1 INT16U READOUT INT32U NUM 4 10 17 READIN Read Physica...

Page 126: ...er the end of motion Note Inputting 0 for A1 A2 A3 and A4 results to invalid axis which will not wait Returned value If all axes end the motion it returns 0 If error it returns the value 1 INT16U WAITMOVE INT8U A1 INT8U A2 INT8U A3 INT8U A4 4 10 21 WAITMOVED Wait for the End of Motion of All Axes Function description Wait for the end of the motion of all axes Note This function is used together wi...

Page 127: ... NUM 1024 NUM 7999 Read auxiliary output point which is the auxiliary point with the signal quantity interacting with PLC If correct it returns the auxiliary output coil value 0 or 1 If error it returns value 1 INT16U READPLC INT32U NUM 4 10 24 WAITPLC Timeout Waiting for Read of Physical or Auxiliary Input Point Function description Timeout waiting for read of physical or auxiliary input point Pa...

Page 128: ... and Axis A at the Z position synchronously 4 11 8 Process after switching Axis X to Axis B M10007 Execute this M order to switch the Axis X to Axis B for pulse port output 4 11 9 M10008 Process Axis X and Axis B synchronously M10008 Execute this M order to output the pulse of Axis X and Axis B at the X position synchronously 4 11 10 Process after switching Axis X to Axis C M10009 Execute this M o...

Page 129: ...the running system the system will execute the mechanical zeroing operation 4 12 2 M2203 M2203 When the system is started if there is O2203 M3000 in the M_FUNC_NC the system will call M2203 program segment automatically 4 12 3 M2201 M2201 When the processing program is started if there is O2201 M3000 in the M_FUNC_NC after the system is started the system will call M2201 program segment automatica...

Page 130: ...00 in the M_FUNC NC the system will execute the macro program automatically after zeroing 4 12 11 M2212 M2212 Execution of M Code after suspension 4 12 12 M2213 M2213 Restart andexecution of M Code after suspension 4 12 13 M2214 M2214 Execution of M Code before suspension 4 12 14 M2216 M2216 Custom M Code for moving Axis X manually 4 12 15 M2217 M2217 Custom M Code for moving Axis Y manually 4 12 ...

Page 131: ...ion disconnection detected 1400 1 OUT00 output controlled to open IF 1014 1 IN14 input signal disconnection detected 1400 0 OUT00 output controlled to close M3000 4 14 Auxiliary Channel GRUN 4 5 6 and 7 The system can be configured with two major channels and four auxiliary channels which includes GURN4 GURN5 and GURN6 User can configure to start together with the major channels It can be applied ...

Page 132: ...ugh CAMTEACH CT As it has instruction function user can edit multiple processing pictures When using the CAM instruction user needs to put the CAMTEACH folder and CAMTEACH CT file into the ADT folder of D disc of the controller and then restart it There is no need to restart the system when the file is separately put into the CAMTEACH folder 5 2Introduction of CAM Instruction Interface The interfa...

Page 133: ...CAMTEACH CT configuration table for element to be inserted Currently loaded CAM file If the instruction file has been saved it displays the name of the instruction file which is being operated Otherwise it displays nothing The previous data displays the current position of the CAM element in the current file and the latter data displays how many CAM elements in the current file 5 3CAM instruction ...

Page 134: ... A CAM type parameter range 1 30 Currently it supports 30 types at most and can be expanded according to the situation B Number of parameters C CAM picture saving path for example 0 ADT CAMTEACH G151 bmp D Picture type 380x380 E The correspondent G code is G151 G180 G The value after the parameter is the initial value involved by FGH F Parameter name definition involved by FGH The first CAM parame...

Page 135: ...ADT CAMTEACH G151 bmp D 380x300 E 151 F Round hold G151 G 10 0 H 0 0 F Space X between the hole centers O G 9999 0 H 9999 9999 F Space Y between the hole centers O G 0 0 H 9999 9999 F Space Z between the hole centers O G 0 0 H 9999 9999 F Space A between the hole centers O G 0 0 H 9999 9999 F Radius R of the hole G 0 0 H 0 5 9999 F Left gun Open 1 Close 0 G 0 H 0 1 F Right gun Open 1 Close 0 G 0 ...

Page 136: ... 2 CAMINFO A 2 B 12 C ADT CAMTEACH G152 bmp D 380x300 E 152 F Square hole G152 G 0 0 H 0 0 F Space X between the hole centers O G 0 0 H 9999 9999 F Space Y between the hole centers O G 0 0 H 9999 9999 F Space Z between the hole centers O G 0 0 H 9999 9999 F Space A between the hole centers O G 0 0 H 9999 9999 F Length of the square hole L G 0 0 ...

Page 137: ...ht gun Open 1 Close 0 G 0 H 0 1 F Upper gun Open 1 Close 0 G 0 H 0 1 F Radius of the lead arc G 0 H 0 5 100 F Plane G 0 G17G18G19 H 0 2 CAMINFO A 3 B 12 C ADT CAMTEACH G153 bmp D 380x300 E 153 F Oblong hole G153 G 0 0 H 0 0 F Space X between the hole centers O G 0 0 H 9999 9999 F Space Y between the hole centers O G 0 0 H 9999 9999 ...

Page 138: ...G 0 0 H 9999 9999 F Width of oblong hole L G 0 0 H 0 9999 F Radius of oblong hole R G 0 0 H 0 9999 F Left gun Open 1 Close 0 G 0 H 0 1 F Right gun Open 1 Close 0 G 0 H 0 1 F Upper gun Open 1 Close 0 G 0 H 0 1 F Radius of the lead arc G 0 H 0 5 100 F Plane G17G18G19 G 0 H 0 2 CAMINFO A 4 B 23 C ADT CAMTEACH G154 bmp D 380x300 E 154 ...

Page 139: ...rs O G 0 0 H 9999 9999 F Space Z between the hole centers O G 0 0 H 9999 9999 F Space A between the hole centers O G 0 0 H 9999 9999 F Arc radius R1 G 0 0 H 0 9999 F Arc radius R G 0 0 H 0 9999 F Arc radius R3 G 0 0 H 0 9999 F Arc radius R4 G 0 0 H 0 9999 F Length of one side L1 G 0 0 H 0 9999 F Length of one side L2 G 0 0 H 0 9999 F Length of one side L3 ...

Page 140: ...h of one side L5 G 0 0 H 0 9999 F Height H1 G 0 0 H 0 9999 F Height H2 G 0 0 H 0 9999 F Height H3 G 0 0 H 0 9999 F Height H4 G 0 0 H 0 9999 F Height H5 G 0 0 H 0 9999 F Left gun Open 1 Close 0 G 0 H 0 1 F Right gun Open 1 Close 0 G 0 H 0 1 F Upper gun Open 1 Close 0 G 0 H 0 1 F Radius of lead arc G 0 ...

Page 141: ...ADTECH9 Series CNC Programming Manual H 0 5 100 F Plane G17G18G19 G 0 H 0 2 CTEND 5 5Schematic Diagram of CAM Instruction The schematic diagrams of CAM instruction are shown as follows ...

Page 142: ...ADTECH9 Series CNC Programming Manual ...

Page 143: ...ADTECH9 Series CNC Programming Manual ...

Page 144: ...ADTECH9 Series CNC Programming Manual ...

Page 145: ...s defining the G code function user can decide whether to use the G code inside the system according to his own need If there is no need to use the system default G code user can write his own code in the M_FUNC_NC file The relationship between the user s custom M code and the CAM instruction G ...

Page 146: ...30 G163 M1630 G173 M1730 G154 M1540 G164 M1640 G174 M1740 G155 M1550 G165 M1650 G175 M1750 G156 M1560 G166 M1660 G176 M1760 G157 M1570 G167 M1670 G177 M1770 G158 M1580 G168 M1680 G178 M1780 G159 M1590 G169 M1690 G179 M1790 G160 M1600 G170 M1700 G180 M1800 The generated program is as follows O1618 G90 G54 G17 G00 Z0 A0 G00 X0 Y0 G150 801 9999 000 802 0 000 803 0 000 804 0 000 805 0 000 806 0 000 80...

Page 147: ...3 0 000 804 0 000 805 0 000 806 0 000 807 0 000 808 0 000 809 0 000 810 0 000 811 0 000 G152 801 0 000 802 0 000 803 0 000 804 0 000 805 0 000 806 0 000 807 0 000 808 0 000 809 0 000 810 0 000 811 0 000 G153 801 0 000 802 0 000 803 0 000 804 0 000 805 0 000 806 0 000 ...

Page 148: ...es CNC Programming Manual 807 0 000 808 0 000 809 0 000 810 0 000 811 0 000 812 0 000 813 0 000 814 0 000 815 0 000 816 0 000 817 0 000 818 0 000 819 0 000 820 0 000 821 0 000 822 0 000 G154 G00 Z0 A0 G00 X0 Y0 M30 ...

Page 149: ...ge file which configures the DXF graphic files to generate different codes by modifying the script its usage corresponds to DXF files The name of template file is GTEMPLET GT which is saved in system directory ADT After restarted every time this file is loaded automatically write and configure the template file with PC and copy to the system Format of template file HEADER Template header O0001 G54...

Page 150: ...on of current layer ARCW Forward arc configuration of current layer ARCI Reverse arc configuration of current layer CUTTERBACK Tool jump configuration of discontinuous point in current layer Coordinate data configuration X Y Configure point coordinates and end coordinates of the line I J Configure the offset of arc center relative to the starting point Layer configuration keyword ADTLAYER 1 HEAD T...

Page 151: ...UTOCAD2007 Open the AUTOCAD2007 software create a new file create a new graphic conversion layer ADTLAYER1 and set the color to red as shown below Select currently defined layer ADTLAYER1 and draw graphics such as point line and arc As shown in the figure below After drawing save as DXF file and copy to the system ADTLAYER1 ...

Page 152: ...elect the DXF file to be processed the system will pop up a dialog box press OK to complete the conversion of the DXF file and convert the generated code file name to DXF file name with the suffix as CNC Then load the file again The figure above shows the Drawing2 dxf file After selecting it in the file management interface press the EOB button and the following prompt screen pops up ...

Page 153: ...n again to confirm that the DRAWING2 CNC file is stored in the same directory after the conversion is completed After selecting DRAWING2 CNC and loading the target code file you can then preview the converted DXF file The figure below shows the preview locus ...

Page 154: ...ayer PATHLAYER will be added The processing method is as follows first select the PATHLAYER layer then select the spline curve button in the drawing toolbar connect one by one from the starting point based on the planned path and the last point is set to the safe position of the target retraction Note Polygon type straight line and the end point of the arc should be on the spline curve As shown be...

Page 155: ...fter the planning save the file into the DXF file of AUTOCAD2004 version When loading the DXF file the system will convert the G code file according to the spline connection order The optimized path in the above example is shown below Green ...

Page 156: ...ly available to the AUTOCAD 2004 version and is only available for small and easy drawings It may not be suitable for all graphics For complex tracks please choose another professional CAM software The standard G code is generated and transmitted to the CNC system ...

Page 157: ...ol change process includes tool installation selection and change The spindle stops working moves to tool change position to take out the tool select tool in the tool magazine and install on the spindle position To change tool take out the tool from the spindle and put back to the tool magazine the tool magazine should be moved to the position to receive spindle tool in advance Many methods are av...

Page 158: ...ameter 3001 alarm alarm content can be modified IF 201 0 alarm if current tool number is 0 3000 1 current tool number zero error G01 Z 403 404 F 405 Z axis rises to a safe altitude M09 turn off cooling M89 P8 L1 output spindle quasi stop signal M89 P13 L1 spindle blowing G04 X 407 spindle blowing delay M89 P13 L0 turn off spindle blowing M88 P4 L0 wait for spindle quasi stop in place G01 X 401 Y 4...

Page 159: ... 1 IF 201 200 200 201 400 2 GOTO 2 M89 P9 L1 cutter forward rotation 1 0 the sign is 0 GOTO 3 N2 M89 P10 L1 cutter reverse rotation 1 1 the sign is 1 GOTO 3 N1 IF 201 200 200 400 200 201 400 2 MOD 400 GOTO 4 M89 P9 L1 1 0 GOTO 3 N4 M89 P10 L1 1 1 N3 2 201 save current tool number in temporary variable WHILE 2 200 DO1 check whether equals to the tool number to be changed M88 P7 L0 wait for cutter c...

Page 160: ...al GOTO 6 N5 G04 P 409 turn off reverse rotation after delay M89 P10 L0 turn off reverse rotation signal N6 M89 P11 L1 output cutter exit signal M88 P6 L0 wait for exit in place M89 P13 L1 spindle blowing turn on G04 X 407 spindle blowing delay M89 P13 L0 blowing off M89 P12 L1 spindle tool release signal on M88 P9 L0 tool release signal in place G01 Z 403 2 5 F 405 Z axis moves to 2 5 ms above re...

Page 161: ...lue corresponding to current tool number in the coordinate system and realize the tool compensation function of different lengths N100 M30 Macro address description 200 tool No to be changed 400 system maximum tool No can be customized 4121 current system tool No 3000 macro program alarm address 403 Z axis tool change reference point 404 Z axis tool change safe altitude ...

Reviews: