// ---------------------------------------- // // The following SmartCAM code generator has been // created to generate NC code for the respective // machine and control combinations listed below. // // Due to differences in programming styles, // controller versions, and optional equipment, // SmartCAMcnc DOES NOT and CANNOT guarantee // that the NC code generated is correct for any // specific machine. Some modification to the code // generator to match your setup and output // requirements is likely necessary. // // Modifications to code generators do not TYPICALLY // require a significant amount of time. SmartCAM // customers with active SMA contracts are entitled // to support for their code generators from the // SmartCAMcnc Support Group. To contact them for // support, please send an email to: // Support@SmartCAMcnc.com. If you would like // information on purchasing SMA for your SmartCAM // products, please contact: Sales@SmartCAMcnc.com // // DISCLAIMER: It is the responsibility of the end // user to confirm and verify that the NC code // created by any code generator is accurate and // will not cause a machine malfunction which // could result in stock, tooling, machine, and/or // personal injury. // // SmartCAMcnc assumes no responsibility or // liability for any damage caused or alleged to // have been caused by the use of any of the code // generators it provides. // ---------------------------------------- @COMMENTS Machine: DEVLIEG JMC54R80 HORIZONTAL JIG MILL Control: ALLEN BRADLEY 7320 Supported Functions: G-Codes (Preparatory Functions) G00 Positioning mode G01 Linear interpolation (contouring) G02 Clockwise circular interpolation G03 Counter clockwise circular interpolation G17 Circular Interpolation in XY Plane G18 Circular Interpolation in XZ Plane G19 Circular Interpolation in YZ Plane G04 Dwell G40 Tool radius compensation cancel G41 Tool radius compensation, left G42 Tool radius compensation, right G80 Cancel fixed cycle G81 Drilling cycle G81 Drill / Dwell G84 Tapping cycle G86 Bore in / Spindle Stop / Bore out G90 Absolute positioning mode G91 Incremental positioning mode G93 1/ Time Feed Rate Mode G94 IPM Feed Rate Mode M-Codes (Miscellaneous Functions) M00 Program stop (user command @STOP) M01 Optional stop (user command @OPSTOP) M02 End of Program M03 Spindle on CW M04 Spindle on CCW (use negative spindle speed in job plan) M05 Spindle Stop M06 Tool Change M08 Coolant on - Flood M09 Coolant off M30 End of program / rewind tape ----------------------------------------------------- Special variables/considerations: The "W" Axis (or knee) is sent to a hard coded dimension and is not driven graphicaly. This machine is equipted with a very large tool changer which requires a staging pot for the tool to be in before it can go into the spindle. A tool number of T0014 will put tool number 14 into the staging pot while the tool number T1400 will put the tool into the spindle and return the last tool to its correct position in the magazine. The important part is that the Job Plan can be constructed as if this were no special requirements needed for a tool change. The code generator will add the appropriate zeros for the tool changer commands. @START % #ONBLKG94 G70 G90 G17 G00W19.5 H00R0Z0 T00#TOOL T3000M06 W10.0 #MOVX#XPOSY#YPOSS#SPEEDT00#NTOOLM03 H#LOFFZ0 @TOOLCHG <#FXD> G00H00W19.5 R0M05 T#LTOOL00M06 G00H00Z0X#XPOSY#YPOSW10.0S#SPEEDT00#NTOOLM03 H#LOFFZ0 @END <#FXD> G00H00Z0T0030 W19.5 R0M05 T#LTOOL00M06 M30 @STPROF <#ABSI><#FXD><#MOV> @ENDPROF #MOVZ#ZPOS <#DCOMP> @RAP <#ABSI><#FXD><#MOV> @LINE <#DCOMP#EXCD#DOFF><#MOV> @ARC <#MOV>I#XCTRJ#YCTR @ZCLRMV <#ABSI><#FXD><<#MOV>Z#ZPOS> @ZCHKMV <#FXD><<#MOV>Z#ZPOS> @ZDPTHMV <<#MOV>Z#ZPOS> @FXD1 <#ABSI><#FXD> @FXD2 <#ABSI><#FXD> @FXD3 <#ABSI><#FXD> @FXD4 <#ABSI><#FXD> @FXD5 <#ABSI><#FXD> @DWELL G04P#DWELL @