Home

NC__________________________________Technical

image

Contents

1. Axis Motor IV Enabled Display formats xXCC e105 M Display Inch ER cycu rore IT Metric units Mene Ia we e p C3C7 Degrees 19 3 Cer gi ss SR GE Feed back pulses d unit 25400 Counts GI CR Unit precision to PMAC fe Dec Ples Display order YZABCUVW Save as Reg File Load Reg File S Motor Axis Setting If this is the first time you are running PMAC NC setup all axes will be undefined and require a motor assignment A will be displayed in the box immediately above the motor selection box indicating that the currently selected axis is not assigned to a motor To define a motor axis relationship 1 Select the coordinate system the axis is to be in 2 Select the desired axis name 3 Select the motor number for the axis If you select a motor cur rently in use by another axis a warning appears 4 Make sure the Enabled check box on the General tab is checked 5 Ifyou want this axis to be displayed on the operator s screens then check the Displayed check box Axis Display Order Various screens in PMAC NC32 for Windows display multiple axis names The order of axis display from top to bottom is determined by the order from left to right in the Display Order string Installation and Setup 2 19 Axis General 2 20 PMAC NC Technical Documentation Manual The Axis General Settings tab includes parameters that are used t
2. c cceccceeeeeeesseeeeeseeeneeteaes 3 7 G amp M Code LID ary stecsisedecsceidesitecdivessdeaieditecdtaie nesdes idee inialsdesdncadceiesatepesaeetdeeapeniadendeaadeetieds 3 9 EK ed Ee E 3 9 Ee 3 12 TEE theives cated cea aie dv deeiee Ri eli cite 3 12 E ee 3 13 GOO Rapid Traverse Positioning ssesssesssesseessessseserestntetnnstnnsrnssinssrnssrnssnnnsnnnsnnnsnn nennt 3 13 G01 Linear Interpolation ceeccceeceeceeeeeeeeeeeeeeeeaeeeeaaeceeeeecaeeesaaeeseaaeseeeeeseaeeesaeeseneeeeaees 3 13 G01 1 Spline Interpolation cee ee cece ceenee cece eeeaeeeeaeeceeeeeceeeeseaeeseaaeseeeeeseeessaeeseneeeeaees 3 14 G02 Circular Interpolation CW 3 16 G03 Circular Interpolation COW A 3 17 E Me TR 3 18 G07 Hypothetical Axis Interpolaton ee nesen nssr nnsrnssnnssnnsrnssrnssnssressrnne 3 19 EENS ele DEE 3 19 G10 1 PMAC Data Input by Program ccccceceeeeeeeeeeeeeeeceeeeecaaeeeeaeeseneeseeeeesaeeesaaeseeeees 3 19 G17 G18 G19 XY ZX YZ Plane Selection 0 cccceececeeeeeceeeeeeeeeeeeeeeceeeeseeeeseaeeeeneeesaees 3 19 G20 G21 Inch Metric Input Select eseesseeseeeseeseeeseeee eser essn netr nstrnssnnssnnsrnsstnssrnssrnnnns 3 20 G25 Spindle Detect Offs cciacitscsicss vegan edegEeEek eege dee SEENEN eege 3 20 G26 Spindle Detect EE 3 21 G27 Reference Point Return Check 3 21 G28 Return to Reference Point 3 22 G29 Return from Reference Point 3 22 G30 Return to Reference Point 2nd 2 3 22 G32 Thread Cuttin
3. The following will set the Z axis tool Geometry for offset number 8 to 10 0 PR_DATA_M 10 0 PR COMMAND M 2D0000 8 note that 2D is 45 in hex PR_BITS_M PR_BITS M 3 For convenience here is what you would type in via PEWIN32 M162 10 0 M161 2D0000 8 M160 M160 3 Example of Reading a Work Offset Set upper 16 bits of command to 8 based on table 2 so that PMAC NC interprets that we want to read a work offset in the range G54 G59 Also set the lower 16 bits to 61 based on table 3 so PMAC interprets our command as a read of the G56 X work offset PR_COMMAND_M 80000 61 Set bit 0 to trigger PMAC NC to write the data we want in the data location PR_BITS_M PR_BITS M 1 PR_DATA_M should now contain the G56 X axis work offset For convenience here is what you would type in via PEWIN32 M161 80000 61 M160 M160 1 6 Appendix II Application Notes PMAC NC Technical Documentation Manual M162 lt Will respond with the G56 X axis work offset gt Example of Reading a Tool Offset PR_COMMAND_M 2D0000 8 Set bits 0 and 1 to trigger PMAC to read the data we placed in data location PR_BITS_M PR_BITS_M 1 PR_DATA_M should now contain the Z axis tool geometry offset For convenience here is what you would type in via PEWIN32 M161 2D0000 8 M160 M160 1 M162 lt PMAC will respond with the Z axis tool geometry offset for tool number 9 gt Implementation issues in PLC and Motion Program
4. EXAMPLE CODE N4 GO G90 G18 S500 M3 N5 X0 N6 Z 1 H1 M8 N7 G03 Il X2 F150 G20 G21 Inch Metric Input Select 3 20 Either inch or metric dimensional data may be selected by programming a G20 inch or G21 metric code The G20 or G21 code must be pro grammed before setting the coordinate system at the beginning of the program The inch metric status is the same as that in effect before the NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual power was turned off or the control was reset Stored information such as tool offset values is automatically converted to the active measure ment state when the G20 or G21 command is issued SYNTAX G20 21 EXAMPLE CODE N005 G49 G20 G90 cancel tool comp inch mode absolute mode NO10 S2500 M03 NO15 G55 G25 Spindle Detect Off Implementation may be machine dependent Functionality provided by the system integrator In general G25 sets the system flag SPND_SPEED_DETECT false This will be interpreted by the CNC as cancellation of Spindle Speed detect SYNTAX G25 G26 Spindle Detect On Implementation may be machine dependent Functionality provided by the system integrator In general G26 sets the system flag SPND_SPEED_DETECT true The CNC will prevent the next block from executing until spindle rpm s are within a specified of the com manded value This is reported via CS SPND AT SPEED and CS_SPND_AT_ZERO SYNTAX G26 G27 Reference Point Retu
5. PMAC NC32 Technical Documentation Manual 3Ax ACC33N xUxx June 1999 A DELTA TAU uy Data Systems Inc Power Flexibility Cost Effectiveness EaseofUse Customer Support 21314 Lassen Street Chatsworth CA 91311 Tel 818 998 2095 Fax 818 998 7807 www deltatau com PMAC NC Technical Documentation Manual Contents Te SOV EE 1 1 INTFOQUCTION BE 1 1 Manual OrQaniZation EE 1 1 NC 32 Bit Software WHAT and WHY M A 1 2 Hardware Software Requirements for NC 32 Dn 1 3 elle VT 1 3 e 1 3 2 Installation Arnd ZSetup EENS SEENEN dee 2 1 Installing The PMAC NC32 for Windows Goftware nees 2 1 Setting up PMAC Communications see eeeaeeeeaae scenes seaeeesaeseeeeseeeees 2 3 Starting the Motion Applet AA 2 4 Loading the INT TEE 2 4 INT Driver ET EE 2 5 Adding a PMAC Device c ccceccceeeeeceeeeceneeceeeeeaaeeeeaaeseaeeeseaeeecaaesdeaeeseeeesaeeseaaeseaaeeenees 2 5 Removing a PMAC Device ccccccceceeceeeeeeeeeaeeeaaeeeeneeceaeeesaaeeeeaaeseeeeeseaeeesaeeseaaeseneeeeaes 2 6 The Configuration Dialog E 2 6 Ree le 2 6 PC Bus Deeg erdeg eege EE hie eee Pali Eed 2 7 Establishing COMMUNICATIONS 1 c ccceeeceeeeeeeeeeeeeeaee cence ceeeeesaaeeeeaaeseeeeeseaeeseaeeesaeeneneeteaes 2 7 Advanced Settings E 2 7 Setting Up PMAC NC32 for Windows 2 9 General Settings Tabu ssiindiinroesdonindinini eenaa aano d ianaeaieo dai Dee 2 10 ULT 2 10 MACHINE TYPO sssi lars stecnetade e S EE A E
6. Power pins 8 RED 24 VOLT out 9 WHITE AVAILABLE Appendix III Touch Probing for PMAC NC 7 PMAC NC Technical Documentation Manual Optical Interface Two relays must be available One for the Start Spindle Probe signal sent to the optical interface And another for selecting the table probe It is suggested that discrete input 13 be used for the Start Spindle Probe signal and the discrete input 14 be used for selecting the table probe Any two relays can be used providing the defined variables used by M codes supplied with PMAC NC are modified to reflect this As shipped PMAC NC uses these relays by default 8 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Renishaw This wiring chart is based on the Renishaw MI 12 the OMM and the M18 interface unit The chart addresses both the spindle and table probe The pin designations use cc pp where cc is the component and pp is the pin on the component RENISHAW WIRING CHART KEY COMPONENTS PP PROBE HARNESS POWER PIN OW OMM WIRE SP PROBE HARNESS SIGNAL PIN TW TABLE PROBE WIRE OI OPTICAL INTERFACE PIN MI12 HI HARDWIRE INTERFACE PIN M18 Il MI12 SW3 SET TO 1 2 3 4 MI12 SW2 SET TO 1 2 3 4 MI8 OUTPUT SET TO 1 N C normally closed PROBE SIGNAL PINS SP 1 BLACK OI 23 AGND Analog ground SP 2 GREEN O1 23 Table probe select SP 3 RED OI 24 SKIP signal SP 4 WHITE O1 21 Probe Enable
7. The PMAC does not stop and overcutting occurs Over cutting by Cutter Compensation Sheet 1 of 2 430 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual iii When machining a step smaller than the tool radius Circular movement CC2 Tool center path lt Programmed path PMAC backs up to correct when intersection is determined at 1 block ahead The PMAC does not stop and overcutting occurs iv Machining small segments PMAC backs up to correct at 1 block ahead when intersection is determined rs The PMAC does not Many small segments stop and overcutting occurs The PMAC calculates trajectory 2 blocks ahead If the radius of compensation is sufficiently large and programmed segments are short Overcutting can occur Turbo calculates in segments If there are too many segments overcutting can occur Overcutting by Cutter Compensation Sheet 2 of 2 NC 32 Bit for Mill Application 4 31 PMAC NC Technical Documentation Manual G43 G44 G49 Tool Length Compensation and Cancel Program zero is a point of reference for coordinates in a part program usually from a key location on the workpiece The position of the tool s center in X and Y does NOT change as the tool changes In the Z axis this is not the case If the length of the tool changes so does the distance from the tip of each tool to the program zero point in Z Note that each tool has a different distance fro
8. WORK COORD X Y APPROACH SELECT OFFSET Z APPROACH PROTECTED APPROACH FEATURE 2 REPORT ON WIDTH OF 2 0 POCKET PROTECTED DEPART G65 P9812 X2 0 W1 G65 P9810 Y 3 25 Wp en SS eee See ose 24 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Bore Boss Measurement This cycle measures the size of a bore or boss feature in the X Y plane Measurements are made at 0 90 180 and 270 degrees to determine feature size The feature can be used to set a tool offset It can be used to adjust a work offset The feature size can be reported to a file G65 P9814 D ZFQRSTW D The features nominal diameter DIA bore or boss F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block Q Maximum search distance beyond feature surface before alarming R Added to X Y SIZE when determining decent position of probe When R is the feature is a BOSS When the feature is BORE 2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 Z Absolute Z location to touch off If not present BORE 1 is assumed Program Example N9814 4 POINT BORE MEASURE M19 ORIENT
9. manded by the handwheel the axis stops motion when you stop input to the handwheel 2 11 PMAC NC Technical Documentation Manual Maximum handle incr sets the maximum axis travel distance in user units per pulse of the handwheel input when the jog speed multiplier input is set to the maximum value Least handle incr sets the minimum axis travel distance in user units per pulse of the handwheel input when the jog speed multiplier input is set to the lowest value Least jogging incr sets the axis travel distance in user units when an incremental jog command is issued and the speed multiplier input is set to the lowest value The actual axis travel distance is determined by this value multiplied by the speed multiplier input the lowest being x1 Language Setting You can set up custom message and error warnings to be displayed by the PMAC NC user interface This is done by establishing a text file with these messages and identifying its location in the Message Errors text file box located in the Languages Settings Tab shown below Please refer to your PMAC NC32 for Windows manual for information on how to create the message file Languages Setting Tab Limits Rates Languages Errors Events Probing File Management Message Errors text file C Program Files Delta Tau NC 2 0 NcMsqg Browse Error Language System Lanquage English English z Error Language lets you choose which language DLL
10. A when cycle is called F Value Z Depth Drilling Cycle with G99 Active PROGRAMMING EXAMPLE G98G81X 3 Y 2 75Z 0 05R0 1F25 0L2 X 2 75 X 2 5L2 X 2 25 G80 4 43 PMAC NC Technical Documentation Manual i emang Z When cycle is fe called F Value Z Depth Drilling Cycle with G98 Active G82 Boring Spotfacing Counter Sinking Cycle Free cutting 4 44 When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Normal drilling is then performed at the specified feedrate to the specified Z posi tion A dwell then occurs at the bottom of the hole for P seconds The tool is then retracted from the bottom of the hole at rapid traverse rate The return point in Z is either the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G82 line if G99 mode is active This cycle occurs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel SYNTAX G82 X_Y_Z_R_F_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z Cutting feedrate Number of repeats ee oe N o Number of seconds of bottom dwell NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual NC 32 Bit for Mill Application PROGRAMMING EXAMPLES G99G8 2X 3Y 2 752Z 0
11. B T T D T E Pa K a S S Ki 7 blu wht TB1 CHA i org CHA e gt grn wht CHB ZE ylo ao d ary 15 my ff wht N Pulse Gen S m wht red Remote Axis Select 1 Select bk 2 ou sws 3 N 8 vio wht 1 PA SA cu gs blu grn AIN om grn CO Es lt of ES gin N O Red Red Grn wht C 8 blu On Li blk 2 4 vi of SW2 5 2 Speed Multiply N O com N C SPDT Switch Bottom View Blk Wht Rotary Switch Bottom View 1 Title Remote Handwheel Box ze Document Number ev nla Remote Handwheel Box ale Thursday March 06 199 neet Tof T B c D E Appendix II Application Notes PMAC NC Technical Documentation Manual APPENDIX II TOUCH PROBING for PMAC NC DELTA TAU DATA SYSTEMS INC 01 OCT 97 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual TABLE OF CONTENTS PMAG NE PROBING APPENDIX ocisccsvesniscesceccccsvsssssstuassscgsussnsertisese capt ssnssrensedccgseeseanstessesusesecobestoseorsnces d 4 HARDWARE INTEGRATION MANUAL sssssssssssssssssssesccassssecssossersessessersessecseasessenssessssnssessoasensessnasene 5 Differences Between PMAC and PMAC2 uc eececcesecssesseesseesseseneeseeeseeesecaeceaecsaecsaecaaecseesaeseneseneseneeerenes 5 PMAC Wiring for Skip Seng 5 PMAC2 WIRING FOR SKIP SIGNAL AA 6 Installing a Spindle and Table Probe 0 ceeeeseeccsseeeeeceeecseeeceeeseeseceaeeecsaeeaseaecaeseesnaeeeeaeeeeeaeeateaseneeered 7 Optical Interta
12. G72 Multi Facing Canned Cycle seesseesseesseeeeeseeneeertstrtstnnstnnssrsstnsstnssrnssrnssrnsstensrnnt 3 43 G73 Pattern Repeat Canned Cycle ccccccceceeeceeeeeceeeeeceeeeceaeeesaaeeeeaeeseeeesaaeeesaeseenees 3 44 G74 Canned Ree 3 44 G75 Groove Cutting Canned Cycle ccccceeccecceeeeeeeeeeeeceneeecaaeeesaaeseneeeseaeessaeeeeneeeenees 3 45 G76 Multi Repetitive Threading Canned Cwcle 3 45 G90 GCycle A Single Pass Cutis sedeateccctevssctiessctiel secdessinadeevesnedessteeetai aca aa Aaa 3 47 G90 1 G91 1 Absolute Incremental Mode 3 47 EC ERR e ae 3 48 G93 Inverse Time Feed iaieiiea aaa aaia 3 49 G94 Endface Turning Cwcle tsnena 3 49 G98 G99 Feed Per Min Feed Per ReV ccccceceeeeeeeeeceeeeeseeeeeeeeeeeaaeseeeeeseaeeesaeeeeneeeeaees 3 50 G96 G97 Constant Surface Speed CSS Mode ceceeccececeeseeeeeeeeceneeeseaeeesaeeseneeeenees 3 50 G98 1 G99 1 Canned Cycle Return Point 3 50 4 NC 32 Bit for Mill Application ccceccssseeeeeee seen ee eee sence eneeeeeeeeeseeesenseeeeeneeesnaeseseeeeneeeenees 4 1 Miroduc a 9 EE 4 1 B fore Starting WEE 4 1 lege 4 2 TOO ut EE 4 2 Tool Movement Gpecficatton eese nesr nsr rsrnernsnsstnsstenstenstenstenstenstenstnnnnenns 4 3 AXiS Move Specification sssrinin iakinen ka aea aan airaa ENE aatia 4 3 Feed Speoificaton soes aa a eoa iaa aaa 4 3 Cutting Speed Gpechflcation nntu nsnunnnnnnnnnnnnnnnnn 4 4 Tool Movement Considerations 0 cc ccceecceceeeeeeeee
13. The block sequence from P to Q specifies the finish program and is the same as that used in the G71 G72 or G73 rough cutting cycle U and W are the cutting allowances in the X and Z direction respectively The F S or T functions specified in the block se quence from P to Q are not overridden as in a G71 G72 or G73 rough cutting cycle G70P_ Q U W G71 Multi Turning Canned Cycle 3 42 Depth of cut and escaping amount are specified by the U and R parame ters respectively in the G71 setup line The move commands between A and B is specified in the block sequence from P to Q In other words the sequence number of the first block for the program of finishing shape uses P and Q for the last block The U parameter specifies the distance and direction of finishing allowance in X direction and W for the Z Any F S or T commands contained in blocks P to Q in the cycle are ignored Only the F S or T functions in this G71 block are effective and those called out in the block sequence from P to Q are overridden Radius specification for circular interpolation is not allowed NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual B i depth of cut A GT escape amount finishing D A J allowances H G 7 d profile Turning SYNTAX G71U_ R G71P_Q U W_F ST G72 Multi Facing Canned Cycle Depth of cut and escaping amount are specified by the U and R parame ters respectively in the G72 setup li
14. dress specification followed by the value S250 rpm units Tool Movement Considerations At multiple move or block boundaries the CNC applies a coordinated ramp of the vector velocity into and out of the point without stopping The result of this is move blending Because of blending corners are not cut sharply If sharp corners are required to be cut Exact Stop or a dwell must be commanded in the block or set modally see G04 G09 G61 This will force an in position stop before starting the next move In position means that the feed motor is within a specified range about the commanded position This range is determined by machine tool builder Coordinate Systems There are two types of coordinate systems One fixed by the machine mechanics at the time of build And a relative coordinate system speci fied by the NC program that coincides with the part drawing The control is aware of only the first one Therefore in order to correctly cut the workpiece as specified on the drawing the two coordinate systems must be set at the same position Insert a deceleration command Ww Program path Actual path Y Program path Move Blending X When a workpiece is set on the table these two coordinate systems lay as follows Coordinate system specified by the CNC Machine Coordinates NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Coordinate system specified by the part Program Coordina
15. provide the NC programmer with complete flexibility and control of the program Branching GOTO Conditional block execution IF Iteration WHILE Pause or abort 3006 n stop 3000 n alarm Branching is available with the GOTO statement The GOTO statement must be followed by an expression that evaluates to the N code of a block The block is searched for in the currently executing main program or subroutine Searching is performed in the following manner If the expression evaluates to a positive number the search starts from the currently parsed block and proceeds to the end of the program If the target block is not found then searching resumes from the beginning of the program and continues through to the current block If the expression evaluates to a negative number searching is performed in the reverse direction working toward the beginning of the program from the current block If the search fails to find the target block number then an alarm is generated If the block is found program execution is transferred to that block The GOTO statement lt goto gt can be used in the following forms GOTO lt integer gt Branch searching forward GOTO lt integer gt Branch searching backward GOTO lt expr gt N code is derived from expression The GOTO statement when alone on a line is called an unconditional branch That is the branch always occurs Here are some examples Ex N10 GOTO20 FORWARD BRANCH N20 Ex N 30 GOTO 20 B
16. 0 Z 20 0 in work coordinate system 2 Where 3 39 PMAC NC Technical Documentation Manual the tool is positioned on the machine depends on work zero point offset values Work coordinate system to 6 are established after reference point re turn or homing after the power on When the power is turned on G54 coordinate system is selected by default SYNTAX G54 59 G61 Exact Stop Mode Causes a stop between block moves so that no corner rounding or blending between the moves is done i e sharp corners are cut When G61 is commanded deceleration is applied to the end point of cutting block and in position check is performed every block thereafter This G61 is valid until G64 cutting mode is commanded Cutting mode G64 is the startup default CORNER SYNTAX G61 G62 G63 Diameter X Axis Radius X Axis G62 allows the operator to input values as diameters The parser will automatically multiply the input value by 1 2 for the actual move G63 will revert back to radius input 340 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual SYNTAX G62 G63 G64 Cutting Mode When G64 is commanded deceleration at the end point of each block is not performed thereafter and cutting is blended to the next block This command is valid until G61 exact stop mode is commanded However in G64 mode feed rate is decelerated to zero and in position check is performed in the following cases Positioning
17. 05RO 1F25 0L2P2 X 2 75 X 2 5L2 X 2 25 G80 ZC wi n cycle is called F Value Z Depth Boring Spotfacing Counter Sinking Cycle with G99 Active PROGRAMMING EXAMPLES G98G8 2X 3Y 2 752 0 05RO 1F25 0L2P2 X 2 75 X 2 5L2 X 2 25 G80 4 45 PMAC NC Technical Documentation Manual A when cycle is called F Value Z Depth Boring Spotfacing Counter Sinking Cycle with G98 Active G83 Deep Hole Peck Drilling Cycle 4 46 When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Normal drilling is then performed at the specified feedrate to a depth of K below the R value The tool is then retracted from the bottom of the hole at rapid traverse rate to the R value The tool is then moved at rapid traverse rate to the height of the last drill ing plus the R parameter Normal drilling is then repeated to a depth of K below the last hole The tool is then once again retracted from the bottom of the hole at rapid traverse rate to the R value This pattern is repeated until the depth of the Z parameter is achieved This cycle permits intermittent cutting feed to the bottom of the hole to assist in removing chips from the hole The return point in Z is the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G83 line if G99 mode is active This cycle occ
18. Application PMAC NC Technical Documentation Manual G98 return initial point reference point O G99 return Finishing Cut Boring Cycle Example G87 Boring Cycle Manual or programmed quill return NC 32 Bit for Mill Application When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position At this point the spindle is stopped The Z axis is returned either manually or with programmed instructions SYNTAX G87 X_Y_Z_R_F_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z ANK Cutting feedrate L Number of repeats PROGRAMMING EXAMPLES G99 G87X 3 Y 2 75Z 0 005P 5RO 1F25 0 X 2 75 KE G80 G98 G87X 3 Y 2 75Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 4 51 PMAC NC Technical Documentation Manual G80 G98 return initial point A i i J reference point G99 return Manual Or Programmed Quill Return Example G88 Boring Cycle Free cutting manual or programmed quill return When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position At this point a dwell of P seconds is performed and then the spindle is stoppe
19. CNC system The following is a list of software required for probing If you have probe ready software then all of your files should be configured to install and work as is Files Required for Installation Renish pmc FANUC to PMAC translated probing routines Probe plc Initializes probe monitors skip signal Errors dat Contains text of alarms specific to probing Dprnt enu Contains Text of Dprnt statements Mill g With G31 G65 G103 installed Mill m With M51 Probe On M52 Table probe select M62 Spindle probe select default and M61 Probe Off Mill t Updated T codes that allow M06 to operate within G65 motion program Oem h 1 68 or later Registry default report file Redistry G65 definition 1 Inspect the cfg file for your machine If you are adding probing to an existing system insure that the cfg file includes probe pmc and probe plc Appendix III Touch Probing for PMAC NC 11 St 6 PMAC NC Technical Documentation Manual Within PEWIN save a copy of the current Configuration If something goes wrong you can use this to restore a working environment Download your cfg file If you have any problems successfully downloading the cfg file you are probably using an old copy of PEWIN You need a copy of PEWIN in which conditional compilation is working properly Enable PLC s by typing ENABLE PLC 1 31 and I5 2 Save the configuration to flash by typing SAVE in PEWIN Testing of the Probe At this po
20. Code When performing these function functions in PLC or Motion program code the programmer should check to insure that PR_BITS_M bit 0 is cleared before relying on the data in PR_DATA_M to insure that PMAC NC has successfully completed the transaction For example to set tool offset 8 and 9 consecutively you would do the following PR_DATA_M 10 0 PR_COMMAND_M 2D0000 8 PR_BITS_M PR_BITS_M 3 WHILE PR_BITS_M amp l 0 wait for PC to finish ENDWHILE PR_DATA_M 11 0 PR_COMMAND_M S2D0000 9 PR_BITS_M PR_BITS_M 3 WHILE PR_BITS_ Mel 0 wait for PC to finish ENDWHILE Production software would of course have a timeout in the while statement and create an error message if the 0 Bit of PR_BITS_M was not cleared Appendix II Application Notes PMAC NC Technical Documentation Manual PMAC NC 32 Parts Counter Operator Interface To view the parts counter information from the PMAC main function row select F6 settings On this screen the following information is provided Parts Total This value is incremented by 1 when a M02 M30 or a M code specified by the machine tool builder is executed This value usually represents how many parts have been made by the machine since its last rebuild This value cannot be set on screen This value is set through the following registry entry HKEY_LOCAL_MACHINE System CurrentControlSet Services PMAC De
21. Example assume you have loaded tools 1 10 into pockets 1 10 In addition assume you have placed tool 11 into the spindle In this case you would set up the Tool offset page pocket fields as is shown in figure 1 below P PAD HC erie ed Tool D sst Of ZGeom CC Geom Gem epp Pocket Di Dep He DO UO DOG OI 06005 OO HG Do Dos HG 12005 DG DO OI DG Oe Dem po i DG DG H DG De 12 DO Oe 1J KR o A A O b oe gr rt By issuing a T1 M6 command the VS_TURRET_POT_M variable would be loaded with 1 so the tool change PLC could locate tool 1 on the tool changer chain or tool change carosel 14 Appendix II Application Notes PMAC NC Technical Documentation Manual P PAD HE Cerin Leger Hepeale et T 7 Limpio f S i HEGRE Tool Offsets Of ZGeom CC Geom XGeom Geom Pocket omg pp Gm 0000 S ali 40000 owo miooo 0 0000 3 0000 1 0000 II o sooo ooo mooo om 0000 0000 6 0000 0 0000 ooo 0 0000 2 1 7500 4 7500 4 1 500 Drop moooo 0 0000 oe por mooo ooo 0 1000 i 60000 0 0000 mooo 0 0000 6 0000 oowoo mooo tem 60000 oowoo oo om 6 0000 aooo 00000 3 0000 0 0000 0 0000 pre 0 0000 noda 00000 7500 D 0000 0 0000 oo Domm Gomm CRW 0 1000 0 0000 0 0000 0 1000 0 1000 E SG E 3 e e d op eo MH amp epdr te gt K wE Fi 3 IS W I INN RW Spindle if ET E ect kt TEI TALR SI If you followed the T1M6 command with a T4M6 command VS_TURRET_POT_M variable would be loaded wit
22. HOLE PATTERN X ABSOLUTE X LOCATION OF CENTER OF BOLT HOLE PATTERN Y ABSOLUTE Y POSITION OF CENTER OF BOLT HOLE PATTERN H Y DISTANCE BETWEEN HOLES WITH 0 ROTATION W X DISTANCE BETWEEN HOLES WITH 0 ROTATION A ANGULAR ROTATION OF PATTERN IN DEGREES R RETURN PLANE OF REFERENCE Z START PLANE Z INCREMENTAL Z DEPTH TO TAP HOLES ASSUME 4 20 TAP IS TO BE MADE GENERATE FOUR TAPPED HOLES GIVEN THE LOCATION OF THE CENTER OF THE RECTANGULAR PATTERN THE ROTATION AND THE DEPTH OF THE HOLES IF X AND Y ARE NOT PASSED ASSUME CENTER IS AT CURRENT LOCATION IF A IS NOT PASSED ASSUME NO ROTATION IF R IS NOT PASSED ASSUME R IS AT CURRENT Z POSITION IF 11 EQ 0 GOTO9610 H NOT PASSED IF 23 EQ 0 GOTO9620 W NOT PASSED IF 26 EQ 0 GOTO9630 Z NOT PASSED RECORD R X AND Y IF THEY ARE NOT PASSED IF 24 EQ 0 THEN 24 5041 CURRENT X POSITION IF 25 EQ 0 THEN 25 5042 CURRENT Y POSITION IF 18 EQ 0 THEN 18 5043 CURRENT Z POSITION CALCULATE X AND Y OFFSET FROM CENTER USING H AND W 3 1 1 1 2 32 23 2 MOVE TO TOOL CHANGE POSITION G0 G53 ZO G0 G53 X0 YO SELECT DRILL T1 7 201 DRILL T1 M06 S1000 M3 SPINDLE ON M8 COOLANT ON GO X 24 Y 25 MOVE TO XY LOCATION Z 26 MOVE TO R PLANE ROTATE IF REQUESTED 4 Appendix I Parametric Programming PMAC NC Technical Documentation Manual IF 1 EQ 0 GOTO9602 G68 R 1 N9602 D
23. M05 Spindle Stop M08 Coolant On M09 Coolant Off M19 Spindle Orientation Generic PLC program M30 Program End amp Rewind M98 Subprogram Call M99 Subprogram Return BB NO32 Bit for Lathe Application PMAC NC Technical Documentation Manual G amp M Code Library CNC M Codes M00 Program Stop Unconditional stop of part program at current block Machine state does not change until restart or rewind M01 Optional Stop Same as MOO but conditional on Optional stop switch setting EXAMPLE X 1 25 X 1 G80 M1 OPT STOP M1 M02 Program Rewind Resets the program buffer to the beginning of the program EXAMPLE G0G49X0Y0Z0 Z 5M5M9 G90G0G4 9M5M9 X0Z0 M2 M03 Spindle Clock wise Starts the spindle CW using current S word EXAMPLE N30 G54 GO X 3 7185 Z 1649 N40 S5000 M3 T1 N50 G43 H1 Z 1 M04 Spindle Counter clock wise Starts the spindle CCW using current S word M05 Spindle Stop Stops the spindle EXAMPLE NC 32Bitfor Lathe Application e A8 PMAC NC Technical Documentation Manual 3 10 N1940 N1945 N1947 N1950 M06 Tool Change G28 X0 ZO M5 G4 X2 M2 Execute the machine builders tool change code EXAMPLE G0G49X0Y0 T3M6 M3S100 M8 GOX1 5Z 1 5 M08 Coolant On Engage the coolant pump EXAMPLE G43Z0 M8 5H10 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual M09 Coolant Off Disengage the coolant pump EXAMPLE X 4 16572Z 5 455
24. Mill Application PMAC NC Technical Documentation Manual c When going around the outside of an acute angle i Linear Linear ii Linear Circular Programmed path sS L Tool center path Tool center path Programmed path d When the tool goes around the outside linear at an acute angle less than 1 degree compensation is performed as follows S L Tool center path Programmed path less than 1 deg S Intersection L Linear C Circular Offset Start up Sheet 2 of 2 NC 32 Bit for Mill Application 4 23 PMAC NC Technical Documentation Manual a When going around an inside corner i Linear gt Linear ii Linear gt Circular gt Programmed path Tool center path Tool center path iii Circular gt Linear iv Circular gt Circular gt Programmed path CC CC2 Tool center path n cr Programmed path Tool center path v Straight line to Straight line S A gt Tool center path r c H CC1 y A gt Programmed path S Offset Mode Sheet 1 of 3 424005 2 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual b When going around an outside corner at an obtuse angle i Linear gt Linear li Linear Circular Programmed path L Tool center path Programmed path Tool center path iii Circular gt Linear iv Circular gt Circul
25. PMAC NC32 for Windows will load for displaying standard error messages System Language lets you choose which language DLL PMAC NC32 Jor Windows will load and utilize within the graphical user interface Note English is the only language presently available for 32 bit applications Other languages are being developed and will be available from Delta Tau Data Systems Inc in the future 2 12 Installation and Setup PMAC NC Technical Documentation Manual Errors And Events Probing Installation and Setup PMAC NC32 for Windows includes the ability to log all event and error messages issued by the NC user interface This feature is enabled by checking the Log error events box in the Errors Events Settings Tab shown below The user definable path and name of the text file which contains these messages must be specified in the Events logging file box Errors Events Settings Tab Limits A Rates Languages Errors Events Probing File Management IV Log error events Events logging file oram Files Delta Taus NC 2 0 NcEvents lod Browse I Issue a kill K to PMAC on fatal error I Issue a abort A to PMAC on stop error Issue a kill K to PMAC on fatal error determines whether PMAC will issue a kill Ctrl K on fatal error or rely on a user written PLC to handle fatal error conditions Issue a abort A to PMAC on stop error determines whether PMAC will issue an abort Ctrl A on stop errors or
26. SYNTAX GZU W R GZP QUWFST G74 Canned Cycle The return amount is specified in the G74 setup block using R This designation is modal The X axis component of point B is specified in the X parameter U contains the incremental amount from A to B The Z parameter would specify the Z axis component of point C or W for the increment amount from A to C Movement amount in X direction and radius amount without sign uses the P address parameter Q specifies the depth of cut in Z direction without sign R specifies the relief amount of the tool at the cutting bottom The sign of this cutting relief is always plus However if address X U and P are omitted the relief direction can be specified by the desired sign Feed rate uses F 3 44 NO32 Bit for Lathe Application PMAC NC Technical Documentation Manual rapid C rapid rapid rapid rapid feed teed feed feed feed return amount 4 k B W SYNTAX G4R G4X U Z W P QRF G75 Groove Cutting Canned Cycle The return amount is specified in the G75 setup block using R This designation is modal The X axis component of point C is specified in the X parameter U contains the incremental amount from A to C The Z parameter would specify the Z axis component of point B or W for the increment amount from A to B Movement amount in Z direction and radius amount without sign uses the Q address parameter P specifies the depth of cut in X direction without sign R speci
27. Same as common work coordinates but applies to G59 7001 795n G54 1 P1 P48 extra offsets Same as common work coordinates but applies to extra offsets Appendix I Parametric Programming 15 PMAC NC Technical Documentation Manual Expressions The evaluation of an expression is how data is created and how decisions are made in a parametric program This section explains expressions It defines how they are formed and where they can be used in a program An expression is made of three elements These elements are operands operators and precedence brackets An operand is a variable or literal number Variables appear as lt integer gt Literals are constants such as 1 0 5 or 0 An operator is a function that uses operands and derives a resultant operand Operators are single character operators like and They can be functions like SINT or LOG Or operators can be conditional operators like EQ or GT Order of evaluation is from left to right As an expression is evaluated from left to right operations are either performed immediately or deferred based on the operators precedence Operators with higher precedence are executed first So that in the following expression 5 4 5 9 5 will be assigned the value of 49 This is because multiplication has a higher priority than addition and it s operation is executed first even though the addition comes first in a right to left scan of the expression Brackets can over
28. Screen MEE Mi111 ne Repeat 1 of 1 Line 0 of 119 0000909 000 0 A 0 0 P 0 100 0 RO 100 6 0 so 99 Act 6 0 0UR 10 AUTO SNGL BLK BLK DEL DEI STOP GOO G96 G54 G17 G94 G97 GHO G20 G49 STOP IPOS BUF OPN RS274 DPR BIN WR EI 6 8 d 0 F12 POS PRG OFS TOOLS SETTING DIAG REWIND EDITOR MSG OPER Machine Position Screen EX Mi111 ne Repeat 1 of 1 Line 0 of 119 0000909 000 0 A 0 8 P 0 100 RO 100 6 0 so ax 1000 Act 9 0 OUR 108 8 SNGL BLK BLK DEL OPT STOP GOO Con G54 G17 G94 G97 G48 G20 G49 STOP D BH on RS274 DPR BIN 6 6 DI aka Pree ws joss me oe fue we Operator Position Screen EN PMAC NC Control Gelz Repea o e 0 0 9 zz 000000 0 0000 O 0000 OU 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 O 0000 0 0000 0 0000 0 0000 0 0000 a 000 0 ACT 0 0 P 0 100 6 RO 100 6 pindle 0 so 090 act 0 0 R 100 6 NGL BLK BLK DEL OPT STOP GOG G90 G54 G17 G94 G97 a G26 G49 A STOP IPOS BUF OPN RS274 DPR BIN 3 6 Fl D 6 8 g 0 Pos PRG OFS TOOLS SETTING DIAG REWIND FOOR MSG OPER Overall Position Screen PURPOSE The PMAC NC32 for Windows program has five machine position display screens available Four of these are shown above The Distance To Go screen appears exactly like the Program Operator and Machine Position screens except that it shows the appropriate Distance To Go values for each
29. Standard files PLC and G M amp T code files for Mill NCVerify Third party software for verifying the motion C Program Files Common Files Address h Oem h 10600 h A dAvANN h Setting up PMAC Communications The Motion Exe applet is used to establish communications with the Delta Tau PMAC motion control cards when using 32 bit applications such as PEWIN32 and PMAC NC32 for Windows No applications in cluding PEWIN32 will be used to add remove or configure PMACs in your system Rather communication settings have been centralized in your operating system making the set up of each PMAC much like other devices in your computer i e video card sound card etc The configu ration information for PMAC is now stored in the Windows registry where in the past it has been stored in initialization ini files The Motion Exe Applet manages this registry information Note Before running this application it is important that all applications that use PComm32 the Delta Tau 32 bit communication driver be shut down This includes PEWIN32 PMAC NC32 for Windows and any appli cations developed with PComm32 or PTalk Installation and Setup 2 3 PMAC NC Technical Documentation Manual Starting the Motion Applet All setup is done through the MOTION CONTROLS applet or the Motion Exe application which is accessible through your operating system s CONTROL PANEL Once you have the Windows Control Panel open click on
30. When performing circular interpolation specified by a Radius the maximum value of the scaling magnification for the appropriate plane is applied to the Radius component For example if the selected plane is the X Z plane then the maximum magnification of X Z is used to scale Radius If the selected plane is the X Y plane the maximum magnification of Y is used to scale Radius When performing circular interpolation with a vector specifying the arc center I J K each vector component is magnified by its appropri ate scale factor Coordinate scaling is canceled with G50 SYNTAX GS5IX_Y_Z I J K G50 G50 1 G51 1 Coordinate Mirroring G51 1 is mirroring X_Y_Z_ is the axis to mirror about The value of this parameter is meaningful only in absolute mode It indicates the line about which mirroring occurs In incremental mode only the axis letter is meaningful and the actual value may be anything Mirroring is canceled with G50 1 G51 G Code Values MIRRORED PROGRAM POSITIONS MIRRORED PROGRAM POSITIONS ABSOLUTE MOVES INCREMENTAL MOVES G1 G90 X0 YO X 0 0000 Y 0 0000 G1 G90 X0 YO G91 X 0 0000 Y 0 0000 X 0 0000 Y 0 0000 i X 0 0000 Y 0 0000 EXAMPLE CODE SYNTAX G51 1X_Y_Z G50 1 NC 32 Bit for Mill Application 4 33 PMAC NC Technical Documentation Manual G52 Local Coordinate System Set While programming in a work coordinate system it is sometimes more convenient to have a common coordinate system within all the work coor d
31. XYZ space may be specified This is done by executing G17 G18 G19 For example G17 by describing a vector parallel to the Z axis in the negative direction specifies the XY plane with the normal right left sense of the compensation This same command also specifies the plane for circular interpolation The amount of compensation must be set using the D address and data word as in G42X 5D1 The units of the argument are the user units of the X Y and Z axes Negative and zero values for radius are possible although not necessarily useful The direction of compensation is determined by the G41 G42 As mentioned 3 25 PMAC NC Technical Documentation Manual above the compensation is turned on by the RS 274 G Codes G4land G42 respectively The compensation is turned off by G Code G40 How PMAC Introduces Compensation Any change in compensation is introduced gradually and linearly over the move immediately following the change The change could be turn ing compensation on turning compensation off or changing radius All are treated the same as a change in compensation radius When com pensation is off it is effectively zero radius When the direction of off set is changed left to right or vice versa the endpoint of the move is changed extended or shortened so that the next move will start on the proper side of the comer The path of the move to that point is not changed When the change in compensation is introduced over a l
32. Y_ Z_R_L G72 I1 J45 L5 G80 G84 X_ Y_ Z_R_L_F_P_Q G72 I1 J45 L5 G80 440000 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual L 5 Number of points The code excerpt above would first drill a hole at the points in the picture with a peck drill cycle then would tap holes with the tap cycle at the same points G80 89 Canned Cycles NC 32 Bit for Mill Application A canned cycle simplifies programming through the use of single G codes to specify machine operations normally requiring several blocks of NC code The canned cycle consists of a sequence of five operations as shown here 1 Position of axes 2 Rapid to initial point 3 Hole body machining 4 Hole bottom operations 5 Retract to reference point A canned cycle has a positioning plane and a drilling axis The positioning plane is the G17 plane The Z axis is used as the drilling axis Whether the tool is to be returned to the reference point or to the initial point is speci fied according to G98 or G99 Use G99 for the first drilling and use G98 for the last drilling When the canned cycle is to be repeated by L in G98 mode the tool is returned to the initial level from the first time drilling In the G99 mode the initial level does not change even when drilling is per formed 4 41 PMAC NC Technical Documentation Manual rapid operation 1 initial point A rapid apid operation 2 van operation 6 refe
33. axis displayed OPERATION You can step through the five different machine position displays by pressing the F2 key on the PC keyboard or mouse clicking on the POS F2 button in the PMAC NC32 for Windows program Pressing the F2 key continuously cycles through the five different machine position displays Pressing the F1 key accesses the sub menu keys for the machine position displays as shown in the Overall Position screen above Now you can access each of the machine Installation and Setup 2 37 eee eee ete ene eee rns emme o_o i wes n Program Check Screen 2 38 EN PMAC NC Control DI N30G0654X0 2863V0 N40G4321 H1 N6 0GOZ1 6435 43 ach DEL D I STOP CEE E OFF ACT 0 0 GEES F19000 0090 Mos Hoo ped Ern Hax 1000 6 0000 6 0000 6 0000 E PMAC NC Technical Documentation Manual position displays directly without having to continuously press the F2 key Position Definitions Program The Program position is equal to the current machine position minus the Work Coordinate offset minus any G92 offsets and minus active tool offsets If no work offsets are active the Program Position will be based upon a default work offset of G54 The Program Position display is meaningful only when operating a part program Operator The Operator Position is equal to the the current machine position minus the Operator defined Work Coordinate offset Machine The Machine Position i
34. circular interpolation the G19 plane must be in effect 4 15 PMAC NC Technical Documentation Manual SYNTAX G17 G18 G19 EXAMPLE CODE N4 GO G90 G17 S500 M3 N5 X0 Y1 0156 N6 Z 1 H1 M8 N7 G03 I1 J1 Y0 X2 F150 G25 Spindle Detect Off G25 sets the system flag SPND_SPEED_DETECT false This will be interpreted by the CNC as cancellation of Spindle Speed detect This will make the CNC program disregard whether the spindle is at speed SYNTAX G25 G26 Spindle Detect On G26 sets the system flag SPND_SPEED_DETECT true The CNC will prevent the next block from executing until spindle rpm s are within a specified percentage of the commanded value Programmer s note This is reported via system flags CS_SPND_AT_SPEED and CS_SPND_AT_ZERO SYNTAX G26 G27 Reference Point Return Check G27 positions the tool at rapid traverse to the optional intermediate point ip and then the reference point The ip is saved for subsequent use by G29 SYNTAX G27 X__Y__Z_ EXAMPLE CODE N4 GO G90 S500 M3 N5 G27 X0 Y1 0156 Z 1 41600 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual R REFERENCE POINT INTERMEDIATE POINT Reference Point Return Check Example G28 Return to Reference Point The tool is returned to the reference point via an intermediate point ip specified in the block The ip is saved for subsequent use by G29 SYNTAX G28 X__Y__Z__ EXAMPLE CODE N4 GO G90 S500 M3 N5 G
35. difference between the two points The term Relative is also used Table Envelope NC 32Bitfor Lathe Application BS PMAC NC Technical Documentation Manual Reference point 3 6 Aside from Machine zero a machine tool may need to locate other fixed positions corresponding to attached hardware i e a tool changer This position is called the reference point which may coincide with Machine zero The tool can be moved to the reference point in two ways Manual reference point return is performed by manual operation Automatic reference point return is performed in accordance with pro grammed commands In general manual reference point return is performed first after the power is turned on This will usually be the same as the homing func tion since the reference point will be at a fixed offset from the Machine zero position In order to move the tool to the reference point for tool change thereafter the function of automatic reference point return is used NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual PMAC NC for Windows Turning Center G amp M Code Library Valid As Of 6 1 96 Version 1 60 Software Bold indicates start up G Code G Code Function G00 Rapid Traverse G01 Linear Interpolation G01 1 Spline Interpolation G02 Circular Interpolation CW G03 Circular Interpolation CCW Dwell Exact Stop Check Program Data Input PMAC Data Input G17 XY Plane Selection G18 ZX P
36. edhe ctberees 4 37 G64 Cutting OTT 4 37 G65 MACRO INStrulCtion ET 4 38 G68 G69 Coordinate System Rotation ccccceceeeeeeeeeeeceeeeeeeeeeeeaeeseeeeeseeeseaeeeeneeeeeeees 4 38 G70 Bolt Hole Circle Pattem 4 38 G70 1 Bolt Hole Center Hole Ignore Pattern ccccccccesseceeseseeeeseseeesesaeeeesseaeeeeseaas 4 39 G71 Are Pattern eege dees ege dE edd 4 40 G72 Bolt Line Pattern 2 0 00 cecccececeeeeeeeeeeeeceeeeeeaaeeeeaaeeeeeeceaeeesaaeeeeaaeseeeeseaeeeeaeseeaeeesaees 4 41 G80 89 Canned Cycles 4 42 G80 Canned Cycle Cancel 4 43 G81 Drilling Cycle seisine nannaa aaaeaii pae naa aana EKE Taaa aaa aE ERa aa 4 43 G82 Boring Spotfacing Counter Sinking Cycle Free cuttng 4 45 G83 Deep Hole Peck Drilling Cwcle 4 47 G84 Tapping Cy Cle seinas eonia test ea andea ana aaa aaa 4 48 G85 Reaming Boring Cycle aaide aaia na aaa aaae 4 50 G87 Boring Cycle Manual or programmed quill retum 4 52 G88 Boring Cycle Free cutting manual or programmed quill return sseeseeeeeeeeeen 4 53 G89 Boring Cycle Finishing cut free Cutting 4 54 G90 G91 Absolute Incremental Mode sssseesseeseeeseesseeeressn tsenter nsrrssrnssrnssrnnsrnssrnssrnsnnnnt 4 56 G90 1 G91 1 Arc Radius AbS INC Mode 4 56 G92 Work Coordinate System Gei 4 56 G93 Inverse Time FOC get cide seg ee ere a a aaa aa aaa eich nena 4 57 G94 G95 Feed Per Min Feed Per RevV ccccccceeseeceeeeeceeeeeeeaeeeaaeeeeeeeseaeeseaeeeeneeenaees 4 58 G98 G99 Canned C
37. ee ebessen ge 2 10 Backing Up The NC CGonfiouraton 2 10 Restoring The NC CGonfiouraiton 2 10 Number Of Coordinate Gvsiems nenn nnt 2 11 LIMES ANG EE 2 11 LAMQUAGES SOTA BET 2 12 Stelle 2 13 PODNO estae AAA A eed haaewan ened A eae 2 13 WIRE e EEN 2 14 lee eur ER E le E 2 14 Coordinate System Settings Tab 2 16 Contents PMAC NC Technical Documentation Manual Coordinate System Data Ee 2 17 DNC Port amp Flow Control Settings ccccceecceceeeceeeeeeeeeeeeeeeeseaeeeeaeeeeeeeeseeeesaeeseeeseeneens 2 17 DNC Parameter Settings nsise aeaa geed wien 2 17 Code Settings Tab EE 2 18 KARTEN 2 19 Compensation Correchon utuutu nenn nattnnnnsnnnn nannan 2 19 Tool Change During Motion 2 19 Automatic RE 2 19 Code Ee le 2 20 KEREN 2 21 Motors E EE 2 21 Axis Uespelt gute ee ee 2 21 E EE 2 22 A Lu CEET 2 23 AXIS Spindle ietin eege die a a Ea a a Seege eege EE 2 24 AE ele o E E AAE E A eee ahd eed Wa deen heen 2 25 AXIS Home Referente ssrsirrinnrsuuiinernnnninunninnannnnnin innana iania aaaea nia 2 26 Performance Settings Tab estdunssgretgees innta anaa a aaa a a aaa a a aaa AAE 2 27 V O Thread Priority EE 2 28 Buffer Thread Priority c2c0 chve cert ee EEN NE A EAA 2 28 DNG Thread Priority EE 2 28 Five AXiS SettingS Tab 2 28 GOSS ary de RE 2 30 Operating PMAC NC for Windows cece eeeaeeeeaeeceaeeecaaeeesaaeseneeeseaeeesaeeeeneeeeaees 2 30 PMAC NC32 for Windows Operator Screen Organization 2 32 PMAC NC32 for Win
38. expression 3 14159 Literal constant lt literal gt 1 2 compound expression 1 3 2 compound expression with precedence override 1 NE 0 Logical expression SIN 1 COS 2 Expression using functions When discussing the syntax of parametric programming we will need to identify how expressions can be used In the following we identify any general expression like the examples above by lt expr gt There are four places where expressions can be used in a parametric program Expressions are used in the following syntactical forms They are defined below Assignment statements Address codes Conditional expressions Appendix I Parametric Programming 17 PMAC NC Technical Documentation Manual GOTO expressions Assignment statements lt assign gt allow you to modify variables Assignment statements have the following form 1 lt integer gt lt expr gt Simple assignment 2 lt expr gt lt expr gt Indirect assignment A simple assignment explicitly states what variable that you wish to modify Ex 1 5 0 3000 5 ALARM An indirect assignment allows you to state the variable that you want to modify with an expression Ex 1 0 0 1 contains the number of the modified variable 500 1 0 1 contains the index into the common variables Address code statements can use expressions in the following form 1 X lt literal gt address code using literal value 2 X lt expr gt address code using
39. expression to define value 3 X lt expr gt address code negating value of expression If an address code is followed by an expression that results in 0 undefined the address code in the block is ignored Ex 1 0 2 1 1 GO X 1 Y 2 same as GO Y1 1 Conditional expressions make use of the following conditional operators EQ Equal to NE Not equal to GT Greater than GE Greater than or equal to LT Less than LE Less than or equal to These conditional operators are binary operators that return a value of 1 0 or 0 0 If the condition represented by the operator is TRUE the value of 1 0 results If the condition represented by the operator is FALSE 0 0 results Thus a conditional expression has the following general form 18 Appendix I Parametric Programming PMAC NC Technical Documentation Manual lt expr gt In most cases a conditional expression will be less general and look something like lt expr gt lt cond gt lt expr gt where lt cond gt EQINEIGTIGEILTILE To maintain FANUC compatibility this form of a conditional expression should be adhered to GOTO expressions lt goto gt can be followed by an expression The form of the GOTO is explained in the section on program control Appendix I Parametric Programming 19 PMAC NC Technical Documentation Manual Program Control Parametric programming allows additional control of program processing The following constructs when combined
40. follows S If M99 is encountered in the main program and no L or P code is in the block processing is transferred to the first block of the program In this manner a program can be commanded to loop indefinitely e Ifan Lis on the M99 line the program loops L times and then exe cutes an M30 e Ifa P address code is on the M99 line processing is transferred to a block that contains a matching N address code The control searches from the first block after the block with the M99 address code to the end of the program and then continues from the top of the program to the block containing the M99 Control is transferred to the first block found with a matching N address code in it If no match is found an alarm is issued and program execution stops EXAMPLES Program O099 nc performs initialization and loops indefinitely Program 099 nc 99 M99 example s Initialization code Executed one time only R The part program Executed indefinitely PMAC NC32 for Windows for Mill Application 4 65 PMAC NC Technical Documentation Manual Program 0990 nc calls O991 nc twice Each time O0991 nc loops 5 times and returns Program 0990 nc o 5 0990 M99 example G90 M98 0991 GO X 5 0 M98 P991 M30 o 5 Program O991 nc Called by 0990 nc o oO 0991 Subroutine G91 G81 X 5 Z 5 F30 0 X 4 x 2 G90 G80 M99 L5 T Codes T Code format 4 66 Tnn Where nn
41. from the direction that measuring takes place X direction default for A is 90 degrees Y direction default for A is 0 degrees B The angular tolerance of A D The Distance between the two measuring points along the X direction if using Y the Y direction if using X Q Maximum search distance beyond feature surface before alarming W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 X X dimension that plane surface is expected to be When X is selected measurements are along the X axis Y Y dimension that plane surface is expected to be When Y is selected measurements are along the Y axis Appendix III Touch Probing for PMAC NC 37 Program Example ANGLE 38 N9843 G65 G65 G65 G65 P9810 P9810 P9843 P9810 X0 Z1 X2 Z5 PMAC NC Technical Documentation Manual MEASUREMENT OF Z PLANE Y2 0 F30 X Y APPROACH MIDPOINT PROTECTED Z APPROACH 0 D 8 Aen W2 MEASURE ANGLE c F30 0 Z DEPART Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual ALARMS The following alarms have been added for probing cycles The alarms are listed in alphabetical order according to the text seen on the alarms display Following the text is the probable cause for the alarm along with corrective action Broken Tool In tool detection probing cycles this indicates that
42. hole then drill holes located at points equally distributed on the circle This G code must be preceded by a valid canned drilling cycle Ge G81 G88 The canned cycle G code must precede G70 1 so as to establish the method of drilling for the pattern cycle The X_ and Y_ parameters speci fied on the line containing the G81 G88 determine where the center of the pattern will reside The drilling canned cycle CAN NOT reside on the same line as the drilling pattern cycle G70 1 SYNTAX G70 1 I_J_L_ I Radius of circle must be greater than 0 J Angle formed by X axis and vector from center of circle to start point NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G71 Arc Pattern NC 32 Bit for Mill Application L Number of points in the circle PROGRAMMING EXAMPLE G83 X_ Y Z RL G70 1 I3 J45 L8 G80 G84 XV 3 RL FP Oo G70 1 I3 J45 L8 G80 L 8 The number of points on the circle The code excerpt above would first reference BUT NOT DRILL the cen ter hole then drill a hole at the points in the picture with a peck drill cycle then would tap holes with the tap drill cycle at the same points When commanded the tool is located at points distributed equally on an arc This G Code must be preceded by a valid canned cycle ie G81 G82 G83 G84 G85 G86 G87 G88 The canned cycle g code must precede G71 so as to establish the method of drilling for the pattern cycle The X_ and Y_ paramet
43. i5sx21 d Initial Fill i5sx22 0 Back Fill Rate i5sx22 H Time 1 11 21 PM Date 6 7 99 Spindle gt a 1668 Act 6 CSS UL d OUR 100 6 GOG G90 G54 G17 G94 G97 G48 G20 G49 ee ee oc E B E Lire Time vs rns ere oe Pro vn we en PURPOSE The Setting Screen with Parts Counter amp Parts Total screen provides machine operating and power on totals cycle time and cutting time and parts counter parts required total This screen also provides the current time and date OPERATION Press the F6 key on the PC keyboard or mouse click on the SETTING F6 button in the PMAC NC32 for Windows program to access this screen Press the F12 key function toggle key A Parts dialog box appears on the F2 button Press this button to enter the amount of parts required for a particular machining operation 2 44 Installation and Setup PMAC NC Technical Documentation Manual Error Message Screen EN PMAC NC Control BEE Repeat 1 of 1 Z Line 6 of 119 N666666 Alrm No Type Description a reset commanded Feedrate gt F1600 6 ACT 8 0 FPH CUT FO 100 6 RO 100 6 Spindle gt OFF S SG Act 6 CSS 0FF oUR 160 6 SNGL BLK GOO G96 G54 G17 G94 G97 Gig G20 G49 ae ee oo R E B E E Les ee oe re erme ome Promo es ore PURPOSE The Error Message Screen displays any machine errors with a time date stamp associated to the error message OPERATION Press the F10 key on the PC keyboard or m
44. if any 1000 1035 Discrete Inputs 1100 1135 Discrete Outputs 2000 2999 Tool Compensation For a Mill Tool compensation system variables are organized by H and D codes The following are reserved for tool geometry and wear 2000 Always returns zero when used in an expression Associated with HO and DO 2001 2200 H code Geometry for tool 1 200 Tool Length offset 2201 2400 H code Wear for tool 1 200 Tool Length Wear 2401 2600 D code Geometry for tool 1 200 Tool Diameter offset 2601 2800 D code Wear for tool 1 200 Tool Diameter Wear These system variables are associated with the values of the tool offsets on the tool offset display For instance tool 004 would be referenced with system variables 2004 2204 2404 and 2604 for Z GEOM Z WEAR CC GEOM and CC WEAR respectively The values of the tool offsets can be read from and written to by use of the above system variables When Tool offsets are modified with an assignment statement the PC side block look ahead is halted and look ahead processing is not continued until the look ahead queue is exhausted Assignment to a tool offset sends a G10 through the rotary buffer to be executed by pmac 3000 User Alarm with message Fatal alarms can be generated from within a parametric program by assigning a value to 3000 The alarm generated will have this value as a reference in the alarm message If a comment is on the block assigning 3000 it will be displ
45. in the circular interpolation is programmed then helical cutting will be effected The feedrate of the linear axis will be F length of linear axis move length of arc move SYNTAX GI7 G18 G19 G02X_Y I J F G17 G18 G19 G0O2X_Y RE EXAMPLE CODE N040 G61 G1 Z 02 F20 N050 G64 G2 X0 5 Z2 0 R0 375 cut mode cw circle NO60 G1 21 5625 G03 Circular Interpolation CCW Circular contouring control uses the axis information contained in a block to move the tool ina COUNTERCLOCKWISE arc of a circle up to 360 degrees The velocity at which the tool is moved is controlled by the feedrate word and is vector tangential F f All circles are defined and machined by programming three pieces of in formation to the control they are START POINT of the arc END POINT of the arc ARC CENTER of the arc x G03 using I K NC 32 Bit for Lathe Application A1 PMAC NC Technical Documentation Manual G04 Dwell 3 18 The START POINT is defined prior to the G03 line usually by a G01 linear positioning move The END POINT is defined by the X and Y axis coordinates within the G03 line when in the XY PLANE The ARC CENTER is defined by the I J and K values vector incremental from the start point when in the X Y PLANE or the R value within the G03 line The full format for a G03 line must reflect in which plane the arc is being cut This is accomplished by use of a G code to define the plane and the letter addresses I J a
46. inhibit blending with the next block If the G61 modal Exact Stop is active no blending between lin ear blocks will occur until canceled G64 Cutting Mode GO1 is group 01 modal It is canceled by other group 01 functions SYNTAX GOIX__Y_Z_F EXAMPLE CODE NO30 X1 125 Y2 25 NO40 G61 G1 Z 02 F20 exact stop mode linear plunge cutter 20 ipm NO50 G64 G3 X0 5 Y2 0 RO 375 G01 1 Spline Interpolation NC 32 Bit for Mill Application Interpolates as a three point Cubic Spline a segmented profile trajectory of points with no change in acceleration at segment boundaries smooth contouring A fixed move time of R F for all segments is specified indi rectly with a segment size and feedrate in the initial G01 1 block with R and F respectively PMAC NC Technical Documentation Manual Actual commanded velocities a result of the Spline calculations are smooth Accelerations are matched at segment boundaries Subsequent blocks are blended to fit a 3 point cubic Spline with the adjacent blocks until dwell new segment word R or modal change i e G00 or G01 Zero length intervals of R F time units are added at the endpoints to fa cilitate entry and exit of the Spline The PMAC segmentation parameter 113 does not effect Spline mode Intermediate positions are relaxed somewhat to meet the velocity and ac celeration constraints imposed and may be calculated from the following equation SES SES etrn 6 It applies to vector s
47. input stream supplies the PMAC with mo tion data and monitors PMAC error reporting The default priority for this thread is Normal DNC Thread Priority The DNC thread monitors external I O through the PC serial port This thread priority normally is set to IDLE unless you plan on using DNC serial feed to the PMAC NC32 for Windows program Five Axis Settings Tab The FiveAxis Settings Tab should be used in conjunction with the PMAC NC Integrator s Manual for proper configuration Configuration of this tab is required only for users with machines that have one or two axis articulating spindle heads If you are not using this type of con figuration select Disable Offsets from the menu 2 26 Installation and Setup PMAC NC Technical Documentation Manual Installation and Setup Five Axis Settings Tab Configure PMHAC NC Control 0 7 Device 0 fe S 2 9 2 s The Axis Configuration settings determine what orientation the articu lating spindle head will be in while in it s homed state The PMAC NC32 for Windows software utilizes the standard right hand rule to de termine which linear axes the rotary axes are to rotate about The A axis rotates about the X axis the B axis rotates about the Y axis and the C axis rotates about the Z axis Please refer to the drawing below for clari fication Rotary Axis Orientation Diagram From the menu select which configuration matches the type of machine you have
48. means that if an address code is parsed with an undefined variable it is just as if the parser didn t see that address code Ex 1 H0 2 3 5 G1 X 1 Y 2 same as G1 Y3 5 Ex X 1 40 same as X0 0 Ex Z 1 Z is ignored Conditional expressions convert undefined values to 0 0 in the same manner as algebraic expressions If the algebraic expression results in an undefined value it is treated as 0 0 except for EQ and NE Conditional 1 0 1 0 1 EQ 0 TRUE FALSE 1 NE 0 TRUE FALSE 1 EQ 0 FALSE TRUE 1 GE 0 TRUE TRUE 1 GT 0 FALSE FALSE 1 LT 0 FALSE FALSE If you are using a variable as say a counter and comparing for 0 0 use 0 0 If you are comparing to see if a variable has been assigned to use 0 It is important to distinguish between the two Local Variables Local variables as discussed above are allocated and initialized each time a G65 is executed Local variables are numbered 1 33 They are initialized to undefined which is equivalent to 0 Thus if the conditional phrase 1 EQ 0 evaluates to TRUE then 1 has never been Appendix I Parametric Programming 9 PMAC NC Technical Documentation Manual assigned a value and either argument A was not passed to the current level of nesting or argument A was 0 M98 differs from G65 in that the local variables are not nested M98 subroutines can still access local variables In an M98 subroutine the local variables that are accessed
49. mode G00 Block with exact stop check G09 Next block is a block without movement command SYNTAX G64 G65 MACRO Instruction Jay Patch G70 76 Canned Cycles NC 32 Bit for Lathe Application A canned cycle simplifies programming through the use of single G codes to specify machine operations normally requiring several blocks of NC code The canned cycle consists of a sequence of five operations as shown here 1 Position of axes 2 Rapid to initial point 3 Hole body machining 4 Hole bottom operations 5 Retract to reference point 6 Retract to initial point A canned cycle has a positioning plane and a drilling axis The Z axis is used as the drilling axis Whether the tool is to be returned to the refer ence point or to the initial point is specified according to G98 or G99 3 41 PMAC NC Technical Documentation Manual Use G99 for the first drilling and use G98 for the last drilling When the canned cycle is to be repeated by L in G98 mode tool is returned to the initial level from the first time drilling In the G99 mode the initial level does not change even when drilling is performed Canned Cycle rapid operation 1 initial point lnitial point rapid id operation 2 rapin operation 6 reference Sek feedrate feedrate operation 3 operation 5 operation 4 o G70 Canned Cycle This command follows a G71 G72 or G73 rough cutting cycle to en gage the finishing cycle
50. operation from a programmer s perspective So although we know that physically the table moves and not the tool the chapter discusses op eration in terms of tool motion The tool moves through lines and arcs within the table boundaries as re quired to manufacture a part In a working machine the table is moved in relation to the rotating tool so the actual table displacement will be the re verse of commanded tool motion N Tool Motion Motion Workpiece H T Tool Movement Specification Program commands for NC machines are called the preparatory functions also known as G codes The function of moving the table along straight lines and arcs is called interpolation Preparatory functions specify the type of interpolation used The three basic interpolation preparatory func tions are 1 Table movement along straight line G01 2 Table movement along circular arc G02 G03 3 Table movement along specified trajectory G01 1 Reference to the axis position word executes motion The PMAC control ler coordinates the movement of the axis motors to execute the command In this document the generalized form of the axis position word X_Y_Z_ isused NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual Axis Move Specification Last commanded position is the starting position of a move and the final position is the commanded position The final position may be either an absolut
51. other op erations unless the power is turned off Occasionally it is desired to move the axes to a specific position in relation to machine zero and ignore any tool and work offsets that are active This is accomplished using G53 for machine coordinate programming Machine coordinates are always ex pressed as absolute coordinates If the G91 incremental mode is active the G53 command is ignored All G92 codes and offsets are ignored The interpolation mode must be either G00 or G01 The tool is moved to the absolute Machine coordinates expressed in the G53 block SYNTAX G53X_Y_Z_ EXAMPLE CODE N4 G53 X0 YO 20 G54 59 Work Coordinate System 1 6 Selection NC 32 Bit for Mill Application Six coordinate systems proper to the machine tool are set in advance per mitting the selection of any of them by G54 to G59 Work coordinate system 1 G54 Work coordinate system 2 G55 Work coordinate system 3 G56 Work coordinate system 4 G57 Work coordinate system 5 G58 Work coordinate system 6 G59 The six coordinate systems are determined by setting distances work zero offset values in each axis from the machine zero point to their respective zero points The offsets are saved in the OFS page of the PMAC NC pro gram Example G55G00X20 0Z100 0 X40 0Z20 0 In the above example positioning is made to positions X 20 0 Z 100 0 and X 40 0 Z 20 0 in work coordinate system 2 Where the tool is po sitioned on the machine d
52. rely on a user written PLC to handle stop error conditions The PMAC NC32 for Windows probing feature is enabled by checking the Probing Enabled box in the Probing settings tab as shown below When enabled various power up time and reset time initialization functions are set which are specific to probing routines Probing report file specifies the file and path that are used to record DPRNT statements that are executed during probing This is where the probing report file is located Probing Setting Tab Limits Rates Languages Errors Events Probing File Management IT Probing Enabled Probing report file m Files Delta Tau NC 2 0 NcProbeReport txt Browse 2 13 PMAC NC Technical Documentation Manual File Management The PMAC NC32 for Windows software includes file security features When the Use controlled file management box is enabled M98 calls will look only in the directories specified in the File Management dia log box Files located in the directory specified by the Controlled files directory are read only when controlled file management is enabled The files can be purged automatically from this directory at a user determined time period The duration for this period is set in the Purge controlled files period window Files located in the directory Local non controlled files directory are standard read write and can be accessed in the normal manner A high level of document control and security
53. repeats PROGRAMMING EXAMPLES G99 G85X 3 Y 2 75Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 G80 G98 G85X 3 Y 2 75Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 G80 G86 Boring Cycle Finishing cut When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position At this point the spindle is stopped and a dwell of P seconds will occur Z is then fed rapidly to the R value The return point in Z is either the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G85 line if G99 mode is active This cycle occurs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel During this cycle manual feedrate override is ignored 4 49 PMAC NC Technical Documentation Manual 4 50 G98 return initial point reference point O G99 return Reaming Boring Cycle Example SYNTAX G86 X_ Y_Z_R_F_P_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z Cutting feedrate SE e E e Dwell in seconds at the bottom of the cut L Number of repeats PROGRAMMING EXAMPLES G99 G86X 3 Y 2 75Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 G80 G98 G86X 3 Y 2 752Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 G80 NC 32 Bit for Mill
54. specifies a program name as a path and filename in a comment DESCRIPTION M98 is the NC program s method of transferring control to another pro gram from an executing program When an M98 command is encoun tered in a currently executing program the calling program control is transferred to the specified program in the M98 block the called pro gram The name of the calling program is saved by the Control The called program can transfer control back to the calling program with an M99 block There are three ways of specifying a called program in an M98 block They are 1 P Code Specification 2 Comment Specification 3 O Code Specification P Code Specification The most used and standard method is by refer encing a program number with a P address code This is the method that is suggested if you wish to run your programs on other controls When the control sees a Pnnnn code on the M98 line it constructs a filename from the number following the P address code The filename is of the 4 62 PMAC NC32 for Windows for Mill Application PMAC NC Technical Documentation Manual following form Onnnn nc The nc part of the filename is called the file extension By default the file extension is nc The control then searches the directory that the calling program was executed from for the program that has that filename If the program is not found an alarm is issued and program execution stops Otherwise that program is loaded and progr
55. specifies tool number from TOOLS page in NC display EXAMPLE TOOL 4 437 DRILL TOOL 3 1 2 13 TAP G90G80G49G40G20G17G56 T4M6 M3S3000 M8 GOX1 5Y 1 5 PMAC NC32 for Windows for Mill Application PMAC NC Technical Documentation Manual Miscellaneous Block Delete character Prevents execution of the block when block delete is on Must be the first character in the block PMAC NC32 for Windows for Mill Application 4 67 PMAC NC Technical Documentation Manual 68 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual APPENDIX I PARAMETRIC PROGRAMMING Introducing Parametric Programming Parametric programming is an extension to NC Numeric Control programming It gives the programmer of NC products the ability to use variables and to perform conditional branching within an NC program Subroutines are extended to accept arguments Predefined functions such as sine and cosine can be used Expressions can be evaluated With parametric programming it is possible to create libraries of routines that can be used and reused Custom canned cycles and families of parts can be programmed with less effort Parametric programming increases the productivity and versatility of machine tools and reduces the cost of machined products Parametric programming is not meant to be used in lieu of CADCAM systems It is provided to add flexibility to the NC control and to provide compatibilty to controls that have made
56. subroutines which can be called with a G65 command The probing cycles are divided into the following categories CALIBRATION Spindle Probe length calibration e Spindle Probe Stylus offset from spindle center Spindle Probe Ball radius Spindle Probe Ball radius vector measuring e Table Probe Length Calibration Table Probe X Y Calibration SAFE AXIS MOVEMENT Sg Protected Positioning MEASUREMENT Surface measure of X Y or Z planes Web Trough measurement Bore Boss measurement Internal corner location e External corner location Tool length setting Tool diameter setting 14 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual VECTOR MEASUREMENT e Deviation of distance to angled surface in the X Y plane e Width deviation of an angled web or pocket e Three point bore boss measurement MISCELLANEOUS Bolt pattern bore boss measurement Calculate feature to feature distance e X Y plane surface angle measurement Calling Method Use G65 P to invoke the probing cycle The system will stop look ahead based on an internal list of O codes designated as programs that must stop look ahead In the descriptions that follow any address code that follows G65 P is an argument to the cycle called by P Optional arguments are designated by brackets Appendix III Touch Probing for PMAC NC 15 PMAC NC Technical Documentation Manual Calibration These probing mac
57. the axis relative to program zero 3 47 PMAC NC Technical Documentation Manual In the incremental mode G91 1 the axis word dimensions are refer enced from the current position The input dimensions are the distance to be moved The algebraic sign or specifies the direction of travel SYNTAX G90 1 Absolute mode G91 1 Incremental mode EXAMPLE CODE NO20 G20 G90 1 GO Xo inch abs rapid to work piece x y zero psn N025 G43 Z0 25 H1 NO30 X1 125 22 25 G92 Threading Cycle In incremental programming the sign of numbers following addresses U and W depends on the direction of paths 1 and 2 That is if the direction of path 1 is the negative along the X axis the value of U is negative The range of thread leads limitation of spindle speed etc are the same as in G32 thread cutting Thread chamfering can be performed in this thread cutting cycle A signal from the machine tool initiates thread chamfer ing The chamfering distance is specified in a range from 0 1 to 12 7 in 0 1 increments of the thread lead parameter X is the thread dia or radius Z is the depth of the thread U is the ending X dia or radius W is the ending Z position R is added to X for taper threads F is the thread lead The diagram assumes radius programming values 3 rapid 1 rapid SYNTAX G92X_ U_ Z W_ R_F 348 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual G93 Inverse Time Feed Specifies inverse time mod
58. the icon shown below The following dialog box appears Motion Controls x Motion control devices PmacO ISA Port 210 Int 10 DPRAM D 4000 Unload Driver oad ge NC Setup Startup Add Remove Setup boe Note The Unload Load and Startup buttons appear only if you are running Windows NT The NC Setup button is visible only if the driver has PMAC NC capability Typically the Load and Unload are never used except in rare trouble shooting cases The Startup button may be used to tell the operating system how to load the PMAC communications driver PComm32 Loading the NT Driver 2 4 The Load Driver Unload Driver and Startup buttons are visible only if you are in the Windows NT operating system They are not visible in Windows 95 98 because the low level driver for Windows 95 PMAC VXD is self loading on demand If the Windows NT driver PMAC SYS is currently loaded into system memory the Unload Driver button is enabled and highlighted The Load Driver button is enabled and highlighted if the driver is not in memory Installation and Setup PMAC NC Technical Documentation Manual NT Driver Startup Windows NT provides the capability to select when the low level driver is loaded into memory This is provided to allow communication with the PMAC device when no user is logged on Pressing the Startup button brings up the Driver Startup dialog box Start Method C Boot e
59. the probe signal was not detected within the tolerance specified Replace the tool or open the tolerance A Input Missing An A address code is required on a G65 block B Input Missing A B address code is required on a G65 block C Input Missing A C address code is required on a G65 block D Input Missing A D address code is required on a G65 block Data 130 139 Missing Indicates that the first features in a feature to feature distance calculation was not recorded P1 must be recorded prior to P2 with G65 P9834 Format Error Indicates that the combination of arguments used is not allowed Refer to the operators manual for the proper format G65 Address Code Missing Indicates that a G65 line was program without a P code in the block G65 Nesting Level Exceeded Indicates that too many nested G65 calls were made Nesting cannot exceed 5 levels H Input Not Allowed H is not allowed in the G65 probing cycle Refer to the operators manual M Input Not Allowed M is not allowed in the G65 probing cycle Refer to the operators manual Appendix III Touch Probing for PMAC NC 39 PMAC NC Technical Documentation Manual No Feed Rate Indicates that probing variable 117 has no value No feed rate has been specified on any previous probing cycle No Tool Length Active Group 8 is in G49 state meaning that no tool length is in effect Specify a G43 or G44 prior to G65 call Path Obstructed The probe was deflected dur
60. the tool holder pocket number is assigned pot number from the tool number VS_TOOL_NEXT_M which is retrieved from the file tools dat The tool changer PLC Program uses this fact to rotate the carousel to VS_TURRET_POT_M ie If TO2 is programmed in a NC program VS_TOOL_NEXT_M is loaded with the value of 2 VS_TURRET_POT_M is then loaded with the value in the Pot field of tool 2 in the tools dat file in the example below that would be 2 OT2 pot 2 ofsz 2 985700 2 The pot number of VS_TOOL_NUMBER_M is now assigned the pot number of VS_TOOL_NEXT_M from the file tools dat ie Suppose currently tool 6 is in the spindle then VS_TOOL_NUMBER_M should equal 6 Since it is in the spindle its pot should be 0 Since VS_TOOL_NEXT_M is to take the place of VS_TOOL_NUMBER_M we assign the pot of VS_TOOL_NUMBER_M equal to the pot of the tool to take its place tool 2 So the tools dat database now the followiing data for tool 2 and 6 OT2 pot 2 ofsz 2 985700 OT6 Appendix II Application Notes 11 PMAC NC Technical Documentation Manual pot 0 ofsz 5 23800 3 The pot number of the tool VS_TOOL_NEXT_M is assigned to 0 since it is no longer in a pot OT2 pot 0 ofsz 2 985700 OT6 pot 2 ofsz 5 23800 4 The new pot number for VS_TOOL_NUMBER_M is actually saved to the tools dat file 5 The new pot number for VS_TOOL_NEXT_M is actually saved to the tools dat file 6 The current tool number VS_TOOL_NUMBER_M is assigned VS_T
61. to 128 charac ters long Customizable through the Motion Exe setup program or Windows registry Windows Minimize screen button Windows Maximize screen button Windows Close Screen button Works only when PMAC NC32 for Windows is in Manual Mode G Code Program File Name Bar WII nc Repeat 1 of 1 Line of 119 ETET Purpose The G Code Program File Name Bar displays the file name of the last executed file or the file currently loaded into the G code exe cution buffer The G Code Program File Name Bar has the following components starting from left to right Installation and Setup Name of the last executed or currently loaded G Code program Number of times a sub routine has been repeated The O program number supporting Fanuc style G Code pro gram names The N block number if programmed into the G Code program 2 31 PMAC NC Technical Documentation Manual Modal Information Display Area 2 15540 10 91326 10 91326 0 72891 7 14976 7 14976 3 24843 3 24843 3 24843 2 15540 0 00000 o 00000 0 72892 0 00000 0 00000 3 24843 0 00000 oO 00000 Purpose The Modal Information Display Area displays a specific operator screen the Overall Position screen is shown above as deter mined by which mode or function is currently being accessed by the PMAC NC32 for Windows program This is the only display area that changes while operating the PMAC NC32 for Windows program The Modal Information Display Are
62. 0 0 degrees B The angular tolerance of A D The Minimum distance from P1 to P2 Note that D is independent of X and Y S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs T can be used only when P2 is measured using 9811 or 9821 W Print results to the currently selected output file WI Increment the feature number W2 Increment component number set feature number to 1 Z The nominal incremental distance expected in the Z axis Program Exa a gt P2 Appendix III Touch Probing for PMAC NC 35 36 N9834 G65 G65 G65 G65 G65 G65 G65 P9810 P9810 P9811 P9834 P9810 P9811 P9834 PMAC NC Technical Documentation Manual FEATURE TO FEATURE MEASURE X1 5 YO F30 X Y APPROACH P1 421 0 F30 PROTECTED Z APPROACH Ls MEASURE Z AT P1 RECORD P1 X3 1 X Y APPROACH P2 Lis20 MEASURE Z AT P2 D1 6 Z 25 B 5 W2 MEASURE AND REPORT TOLERANCE Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual X Y Plane Surface Angle Measurement This canned cycle measures two points along the X axis or along the Y axis to determine the angular direction of a plane The points are measured in the same Z plane equidistant on opposite sides of the start point G65 P9843 X YD ABQ W A Angle of surface relative to the X direction Select A 90
63. 0Y100 When a local coordinate system is set the move commands in absolute mode G90 1 which is subsequently com manded as are the coordinate values in the local coordinate system The local coordinate system can be changed by specifying the G52 command with the zero point of a now local coordinate system in the work coordi nate system To cancel the local coordinate system and specify the coor dinate value in the work coordinate system match the zero point of the local coordinate system with that of the work coordinate system SYNTAX G52X Z EXAMPLE CODE N4 GO G90 S500 M3 N5 G52 X 0157 ZO 3 38 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual G53 Machine Coordinate Selection The machine zero point is a standard point on the machine The machine tool builder normally decides it in accordance with the machine A coor dinate system having the zero point at the machine zero point is called the machine coordinate system The tool cannot always move to the ma chine zero point because in some cases the machine zero point is set at a position to which the tool cannot move The machine coordinate sys tem is established when the reference point return is first executed after the power is on Once the machine coordinate system is established it is not changed by reset change of work coordinate system G50 local co ordinate system setting G52 or other operations unless the power is turned off Occasionall
64. 10 1 0 N20 1 1 1 N30 IF 1 LT 10 GOTO20 LOOPING Ex IF 500 NE 0 0 THEN 500 0 0 ASSIGNMENT Iteration is available with the WHILE statement The WHILE statement has the following form WHILE lt expr gt lt cond gt lt expr gt DOn EN Dn Or DOn ENDn Appendix I Parametric Programming 21 PMAC NC Technical Documentation Manual Where n 1 3 And WHILE can be replaced with WH In the above each WHILE statement must have matching DO and END words The DO and END labels for any WHILE must match in number For example WHILE 1 GT 0 0 DOI END 1 WHILE 500 NE 550 DO2 END2 DO of the WHILE loop will branch to the first block after its matching END block if the conditional statement preceding it is FALSE otherwise execution continues to the block just following the DO statement If there is no conditional on the block DO END is looped through forever Each program subroutine or parametric subroutine can have upto 3 WHILE DO END loops active at any one time The DO loops of the subroutines are all independent This means that you can call subroutines from within a while loop and that subroutine will have three more while loops available to it When the calling program is returned to any WHILE loops that were active prior to the call are restored WHILE loops can be nested as the following example shows N10 WHILE 1 NE 0 0 DO1 N20 WHILE 2 NE 0 0 DO2 N30 WHILE 3 NE 0 0 DO3 N40 END3 N50 E
65. 2 Increment component number set feature number to 1 X Y Expected work coordinate location of internal corner Program Example N9815 INTERNAL CORNER M19 ORIENT SPINDLE G90 G80 G40 GO G54 X 7 3 Y 3 3 COORD SYSTEM X Y APPROACH G43 H1 Z 75 SELECT OFFSET Z APPROACH G65 P9810 Z 2 F50 PROTECTED APPROACH G65 P9815 X 7 75 Y 3 75 I 4 J 4 W1 REPORT SW INTERNAL CORNER G65 P9810 Z 75 F50 PROTECTED DEPART GO Z 75 26 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual External Corner Location This cycle measures the location of an external corner at the intersection of two planes The planes do not have to be orthogonal 90 degrees to each other The distance to the first touch off point is the same distance from the probe start point to the X Y corner position The feature can be used to set a tool offset It can be used to adjust a work offset The feature location can be reported to a file X Y Position wee X Y Position of corner a o Probe start position an Equidistant Equidistant G65 P9816 X Y BIJQS W B Maximum allowable angular plane deviation of each surface B5 0 is 5 degrees F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block I Incremental distance along X axis to move for 2 touch off point J Incremental distance along Y axis to move for 2 touch off point Q Maximum search d
66. 2 G2X 4 20732 5 44211 0 0056K0 0547 G0Z0 5M5M9 M30 End of Program and Rewind Stops program and rewinds buffer EXAMPLE Z 5M5M9 G90G0G4 9M5M9 X0Z0 M30 M98 Subroutine Call amp M99 Return from Subroutine Call Loads and runs the NC file specified by full pathname filename inside the accepts L address for loop iterations M98 c cnc machines lathe newpawn nc L16 M99 must be the last line in a subroutine This returns to the line after The M980 call after executing all loop iterations To perform looping first create a calling program where the filename follows an M98 in pa renthesis and that is followed by an L parameter which indicates how many times to loop the program An alternative syntax for subroutines uses the P address with a subrou tine number M98P_L_ This requires that a filename exist in the startup directory of num ber NC NC 32 Bit for Lathe Application 3 11 PMAC NC Technical Documentation Manual T Codes Miscellaneous 3 12 EXAMPLE Loop MG calls PRG NC 100 times G04X1 M98 C CNC PRG NC L100 G04X2 M30 PRG NC is any NC program with a M99 for a return from subprogram G1 X5 Z5 GO X2 M99 T Code format Tanmm nn specifies selected tool number for CNC tool change mm specifies tool number from TOOLS offset page EXAMPLE TOOL 4 437 DRILL TOOL 3 1 2 13 TAP G90G80G49G40G20G17G56 T4M6 M3S3000 M8 G0X1 5Z 1 5 Block Delete character Prevents ex
67. 2 BIT for Windows software program for the particular application controller configuration An overview of the software installation process and a list of installed files is provided here Readme files on the media provided contain the latest revision instructions Manual Organization Overview Chapter 1 Overview Organization of the manual and an introduction to the PMAC NC 32 Bit for Windows Brief description of the 32 Bit software and information on why 32 bit over 16 bit Basic information on the requirements for installing 32 Bit Software for Windows includ ing Hardware and Software requirements How and where to get the re quired files for 32 Bit Software Chapter 2 Installation and Setup Describes the installation and setup procedures for NC 32 Bit software including how to set up the NC 32 bit software for the required application Different changes re quired in the registry CFG and BAT files Use of PEWIN32 and MOTION EXE for setup Chapter 3 NC 32 Bit for Lathe Application Describes the basics of NC 32 Bit as configured for Lathe and provides instructions for the PMAC NC 32 for Windows application Chapter 4 NC 32 Bit for Mill Application Describes the basics of NC 32 Bit for Mill and provides instructions for the PMAC NC for Windows application 1 1 PMAC NC Technical Documentation Manual NC 32 Bit Software WHAT and WHY The PMAC NC32 for Windows program is a true 32 bit multi threading regi
68. 25 G90 1 G91 1 Arc Radius Abs Inc Mode Program commands for movement of the axes may be programmed either in incremental or absolute movement commands SYNTAX G90 Absolute mode G91 Incremental mode G92 Work Coordinate System Set NC 32 Bit for Mill Application This command establishes the work coordinate system so that a certain point of the tool for example the tool tip becomes IP in the established work coordinate system Any subsequent absolute commands use the po sition in this work coordinate system Meet the programming start point with the tool tip and command G92 at the start of program G92X25 2Z23 0 When creating a new work coordinate system with the G92 command a certain point of the tool becomes a certain coordinate value therefore the new work coordinate system can be determined irrespective of the old work coordinate system If the G92 command issued to determine a start point for machining based on work pieces a new coordinate system can be created even if there is an error in the old work coordinate system If the relative relationships among the G54 to G59 work coordinate systems are correctly set at the beginning all work coordinate systems become new coordinate systems as desired SYNTAX G92X__Y__Z__ EXAMPLE CODE N4 G53x0Y0Z0 N5 G92X0 1 0156 N6 Z 1 H1 M8 4 55 PMAC NC Technical Documentation Manual G92X25 2Z23 0 Work Coordinate System Set Example G93 Inverse Time Feed G93
69. 3 Ow BLUE OI 4 ON RED O1 19 OW BLACK OI 20 OI 9 RED TW OI 10 BLUE TW MISC OI 16 GREY OI 26 OI 12 BLACK OI 14 10 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual SOFTWARE INTEGRATION MANUAL This section describes the installation and testing of the probing software Before you can test the probe you must install the latest version of the software required for probing Before loading the software it is probably a good idea to review the section describing the variables and the variable map for the probing software If your application uses any of these areas you will need to address these issues It is strongly recommended that you modify your application rather than the probing software Probing Memory Map The following list identifies PMAC variables reserved for use by probing software Note the extensive use of P variables for probing MO 500 Standard Delta Tau reserved M codes P100 199 Probing variables P250 499 Standard Delta Tau reserved P codes P500 599 Probing variables P600 799 G65 nesting stack space for probing variables P950 989 G65 Miscellaneous variables P990 1023 32 bit selection mask OU 2320 Standard Delta Tau reserved Q codes Installation of Software Execute the following procedure to insure that all of the software required to run probing is installed It is recommended that you install probing in a working
70. 32 driver In most cases the default settings will be adequate and will not require modification Please see the PMAC Option 2 Dual Ported Ram User s Guide for more information regarding DPRAM topics Setting Up PMAC NC32 for Windows The Motion Exe applet is used to configure the registry values required by PMAC NC32 for Windows If the PMAC NC version of the PMAC driver library is available on the system there will be an additional NC Setup button visible in the dialog box This is not available in the communications only version Clicking on NC Setup takes you to the main NC setup dialog In order for PMAC NC32 for Windows to operate properly communica tions utilizing Dual Ported RAM must be established in the PMAC De vice x Configuration dialog box prior to starting PMAC NC32 for Windows software Installation and Setup 2 9 PMAC NC Technical Documentation Manual General Settings Tab Title Machine Type The PMAC NC General Settings Tab Configure PMHAC NC Control 0 Device 0 24x ee fteerresrseresgenl Title Machine Type JPMAC NC Control C Mill Lathe Number of coordinate systems fe 1 J Limits Rates Languages Errors Events Probing File Management Maximum rapid override 200 Maximum handle incr fo 010000 Maximum feedrate override 200 Least handle incr fo 000010 Default guage block height fi 000000 Least jogging incr fo 000100 Save as Reg File Load Reg Fi
71. 4 Tool Length Compensation Direction Tool Offset Increase Tool Offset Decrease Tool Offset Double Increase Tool Offset Double Decrease 49 Tool Length Compensation Cancel G50 Scaling Cancel G51 Scaling G50 1 Mirror Cancel G51 1 Mirror Image NC32Bitfor Mill Application e gi PMAC NC Technical Documentation Manual G52 G53 G54 G56 G57 G58 G59 G61 G64 G68 G69 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G92 G92 1 G98 G99 G Codes G00 Rapid Traverse Positioning Local Coordinate System Setting Machine Coordinate System Setting Work Coordinate System 1 Work Coordinate System 2 Work Coordinate System 3 Work Coordinate System 4 Work Coordinate System 5 Work Coordinate System 6 Exact Stop Mode Cutting Mode Cancel Exact Stop Mode Coordinate System Rotation Coordinate System Rotation Cancel Bolt Hole Circle Pattern Bolt Hole Center Hole Ignore Pattern Arc Pattern Bolt Line Pattern Canned Cycle Cancel Spot Drilling Canned Cycle Counter Boring Drilling Cycle Peck Drilling Cycle Tapping Cycle Fine Boring Canned Cycle Boring Canned Cycle Back Boring Canned Cycle Reverse Tapping Canned Cycle Canned Cycle Recall Absolute Command Mode Incremental Command Mode Arc Radius Abs Inc Mode Arc Radius Abs Inc Mode Absolute Zero Point Programming Absolute Zero Point Programming Cancel Inverse Time Feed Feed Per Minute Feed Per Revolution Return To I
72. 4 inch Program Example N9851 AUTOMATICALLY SET TOOL 8 LENGTH M52 SELECT TABLE PROBE M19 ORIENT SPINDLE G49 CANCEL TOOL OFFSET G54 X0 YO SELECT COORD APPROACH STYLUS CENTER G65 P9851 T8 04 0 SET TOOL LENGTH H8 ALLOW 4 INCHES OVERTRAVEL 28 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Tool Diameter Setting This probing cycle determines the diameter of a tool The cycle can be used to automatically set tool diameter offsets or to detect a broken tool The tool must be positioned on center and just above the probe stylus prior to invoking the cycle The table probe must first be calibrated STYLUS 2 e G65 P9852 S D Z R D Tool radius offset number to update R Radial clearance when traveling down the side of the stylus Default 16 inches S Tool diameter for tools required to rotate shell mills Positive for right handed tools Negative for left handed tools Z Incremental depth for measurement from the start position Default is 6 inch Program Example G53 Gl X 10 0 YO MOVE TO TOOL CHANGE POSITION G53 Gl Z 4 37 T7 M6 GET TOOL 7 G53 Gl Z 4 6 MOVE TO CLEARANCE PLANE N9852 AUTOMATICALLY SET TOOL 7 DIAM M52 SELECT TABLE PROBE M19 ORIENT SPINDLE G90 G80 G40 G49 CANCEL TOOL OFFSET G54 X0 Y 2 SELECT COORD APPROACH STYLUS CENTER G65 P9852 8 5 D7 SET TOOL RADIUS D7 5 DIAMETER TOOL Appendix III Touch Probing for PM
73. 40 IF 4007 EQ 40 GOTO cutter compensation is off 4101 4126 Look ahead time modal address code information These variables can be used by the programmer to determine what the look ahead time value is for any address code A through Z These variables contain the value of the most recently parsed address codes 4101 through 4126 correspond to A through Z and are mapped in the same manner as the address codes are see the Local Variables section For example if you want to know what the last commanded S code was inspect 4119 IF 4119 GT 1500 GOTO excess spindle RPM 5001 500n Target work coordinate position 5021 502n Current machine coordinate position Appendix I Parametric Programming 13 PMAC NC Technical Documentation Manual These variables return the current position in machine coordinates of the specified axis 5021 returns the machine coordinate of PMAC s 1 axis 5022 returns the machine coordinate of PMAC s 2 axis Etc Tool offsets are not included 5041 504n Current work coordinate position These variables return the current position in work coordinates of the specified axis 5021 returns the work coordinate of PMAC s 1 axis 5022 returns the work coordinate of PMAC s 2 axis Etc The work coordinate is determined by the currently set group 14 code G54 G59 any active G52 local work coordinate any active G92 and any scaling or mirroring active Tool offsets are not include
74. 74 X0 1 0156 2 1 G29 Return from Reference Point The tool is moved to the point specified in the block via the ip stored by G28 G27 SYNTAX G29X__Y_ Z G30 Return to Reference Point 2nd 3 Implementation may be machine dependent The system integrator pro vides this functionality In general the tool is moved to the second refer ence point the P address via the ip specified in the block The ip is saved for subsequent use by G29 SYNTAX G30P_ X__Y__Z_ NC 32 Bit for Mill Application 4 17 PMAC NC Technical Documentation Manual G31 Move Until Trigger Does a move until trigger skip When the skip signal occurs the move will decelerate to a stop and the location at which the skip signal occurred will be stored for later use SYNTAX G65 P9810 VE G40 G41 G42 Cutter Compensation 4 18 While cutting the programmed contours of lines and curves being depend ent on the direction of cutting and spindle rotation the operator must keep the tool consistently oriented to the cutting surface at the offset needed to maintain the depth of cut and surface finish called for in the print Calcu lations involving moving surface normals and curve tangencies are usually required Cutter radius compensation will automatically provide cutter orientation and tool offset The control will offset the tool normal to the instantaneous surface tangent of the workpiece with respect to the direction of tool motion in the com pensa
75. AC NC 29 PMAC NC Technical Documentation Manual Vector Measurement These probing macros are used to measure features that are not normal 90 degrees to the X Y or Z axis They involve the recording of some angle In order to use these cycles 12 additional points of the probe ball are used These points are used to compensate for the probe ball not being on the center of the spindle Before these cycles can be used the user must orient the spindle and calibrate the probe for use with vector probing cycles DEVIATION OF DISTANCE TO ANGLED SURFACE IN THE X Y PLANE This cycle measures the distance to an angled surface The surface is limited to angles in the X Y plane The angle is determined by the programmer Deviations of the expected distance to the surface are reported By using two measurements along a know angle the true angle and deviation can be determined See SPINDLE PROBE BALL RADIUS VECTOR MEASURING CALIBRATION A j Gem egrees y ee L G65 P9821 A D QST W A Assumed Angle of surface being measured 180 0 degrees D Expected distance to surface along angle A from start position Q Maximum search distance beyond target surface before alarming S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs W Print results to the currently selected output file Wl Increment the fe
76. ACKWARD BRANCH Ex 1 10 MYSTERY PROGRAM 2 1 N10 2 24 3 5 N20 2 2 2 4 20 Appendix I Parametric Programming PMAC NC Technical Documentation Manual N30 2 24 2 3 N40 2 2 2 2 N50 2 24 2 1 1 1 10 GOTO 1 EXAMPLE OF lt expr gt N60 MO Pause so variables do not clear M30 Conditional block execution allows the programmer to execute a statement based on a conditional expression This is accomplished with the IF statement The IF statement has the following forms IF lt expr gt lt cond gt lt expr gt lt goto gt IF lt expr gt lt cond gt lt expr gt THEN lt assign gt In the above lt expr gt lt cond gt lt expr gt is a conditional expression containing one of the conditional operators EQ NE GT GE LT LE In general the bracketed syntax can be any expression but for FANUC portability it is best to follow the above syntax Conditional operators always return 0 0 or 1 0 If the conditional expression evaluates to 0 0 FALSE then the statement following the conditional expression is not performed and the next block is executed On TRUE not 0 0 and not 0 the statement following the conditional is performed This means that any expression that evaluates to a non zero value is considered to be TRUE not just 1 0 Form 1 will branch conditionally whereas form 2 will perform the assignment statement The keyword THEN is optional Ex IF 24 EQ 0 GOTO99 NO X ARGUMENT Ex N
77. C NC 32 has incremented the parts total and parts count CS_STATUS6_M CS_PARTS_COUNT This is set by PMAC NC 32 while PMAC NC 32 is incrementing the parts total and parts count This bit is cleared once PMAC NC 32 has incremented the parts total and parts count CS_COMMAND6_M CS_PARTS_RESET Setting this bit in PLC causes the parts count to reset to 0 Once the parts count has reset to 0 the CS_PARTS_RESET bit in CS_STATUS6_M is cleared CS_STATUS6_M CS_PARTS_RESET This is set by PMAC NC 32 while once the parts count reaches the parts required set by the user on the settings page 10 Appendix II Application Notes PMAC NC Technical Documentation Manual Using PMAC NC with Random Double Arm Tool Changers The Variables The following Dual Port RAM macro definitions are available in address h to assist in programming random toolchangers with PMAC NC VS_TOOL_NEXT_M M43 The tool number of the programmed T Code VS_TOOL_NUMBER_M M41 The tool number of the tool in the spindle VS_TURRET_POT_M M39 The tool holder of the programed T Code CS_TOOL_CHANGE 200000 Bit for signaling PMAC NC to update its database of tools CS_STATUS4_M M3 Word that the CS_TOOL_CHANGE bit resides in A bit is provided in DPRAM for use with the double arm type tool changers It is the status bit CS_TOOL_CHANGE in status word CS_STATUS4_M the setting of this value causes the following actions to occur How it Works 1 VS_TURRET_POT_M
78. Degree rotation CCW in the XZ plane about X1Y1 N5 GOO X2 Y 2 Rapid move in the newly rotated coor dinate system N6 G69 Cancel the Coordinate system rotation G70 Bolt Hole Circle Pattern NC 32 Bit for Mill Application When commanded the tool will first drill a center hole then drill holes lo cated at points equally distributed on the circle This G code must be pre ceded by a valid canned drilling cycle e G81 G88 The canned cycle G code must precede G70 so as to establish the method of drilling for the pattern cycle The X_ and Y_ parameters specified on the line containing the G81 G88 determine where the center of the pattern will reside The 4 37 PMAC NC Technical Documentation Manual drilling canned cycle CAN NOT reside on the same line as the drilling pattern cycle G70 SYNTAX G701_J_L_ I Radius of circle must be greater than 0 J Angle formed by X axis and vector from center of circle to start point L Number of points in the circle PROGRAMMING EXAMPLE G83 X_ Y_ Z_R_L G70 I3 J45 L8 G80 G84 X_Y_Z_R_L_F_P_Q G70 I3 J45 L8 G80 L 8 The number of points on the circle The code excerpt above would first drill the center hole then drill a hole at the points in the picture with a peck drill cycle then would tap holes with the tap drill cycle at the same points G70 1 Bolt Hole Center Hole Ignore Pattern 4 38 When commanded the tool will first LOCATE BUT NOT DRILL a cen ter
79. For example if you have a single axis articulating spindle head that rotates about the Y axis select B Configuration from the menu 2 27 PMAC NC Technical Documentation Manual Glossary of Terms DNC DPRNT Event Logging File GUI Semaphores Thread Windows Registry Distributed Numerical Control The transfer of NC programs from one host computer to another via serial communications A command used by PMAC NC Probing to generate probing reports An ASCII text file in which are recorded all messages which are displayed in the NC environment including warnings and error messages Graphical User Interface The PMAC NC32 for Windows is a GUI for machine tool operators Blocks of code that notify the PMAC NC32 for Windows program as to the par ticular location of the physical axes of the machine in order to avoid collisions A portion of code that can get a time slice from the operating system to run con currently with other portions of code and must be associated with a process PMAC NC32 for Windows is the process However a Win32 based appli cation can initiate multiple threads for a given process to enhance the application for the user by improving throughput enhancing responsiveness and aiding background processing The central information database for 32 bit Windows operating systems is called the Registry The registry maintains information about hardware components and devices that have been identifi
80. G40 G41 amp G42 Cutter length offset G43 G44 amp G49 e Mirroring scaling and rotation G50 G51 G68 amp G69 Multiple work coordinate system selection G54 G59 Programmable canned cycles boring tapping floating and rigid drilling G70 G73 amp G80 G89 Multi Finishing cycle multi turning cycle multi facing cycles for lathes G70 G71 G72 Absolute and incremental modes G90 amp G91 Coordinate system set G92 Inverse time feed feed per minute and feed per revolution G93 G94 amp G95 Constant surface speed and constant RPM spindle G96 amp G97 Installation and Setup PMAC NC Technical Documentation Manual NC 32 Bit for Lathe Application Introduction This chapter defines the basics of NC Lathe and instructions for the PMAC NC 32 for Windows Application The goal of this document is to provide descriptions of the software within the required hardware envi ronment The hardware requirement is explained in the requirement chapter The default G codes delivered with PMAC NC 32 are designed to emu late a Fanuc 10 style of G codes Hence a CNC program posted for a Fanuc 10 should work without any changes This document also contains the section the VC Programmers Refer ence a detailed description of RS 274 style G Code programming Before Starting Before running the Lathe application please confirm the checklist 1 Read the Basics of NC Lathe 2 Ins
81. Machining Center M amp T Code Library Valid As Of 6 1 99 Bold indicates Default G Codes used at startup G Code Function Moo Program Stop M01 Optional Stop M02 Program End amp Rewind MO3 Spindle CW M04 Spindle CCW M05 Spindle Stop M06 Tool Change M08 Coolant On M09 Coolant Off M19 Spindle Orient M30 Program End amp Rewind M87 Start Data Gathering M88 End Data Gathering M98 Subprogram Call M99 Subprogram Return 4 58 PMAC NO32 for Windows for Mill Application PMAC NC Technical Documentation Manual MOO Program Stop Unconditional stop of part program at current block The coolant and spindle are stopped with this command Machine state does not change until restart or rewind M01 Optional Stop Same as MOO but conditional on Optional stop switch setting EXAMPLE X 1 25 X l1 G80 M1 OPT STOP M1 M02 Program Rewind This resets the program buffer to the beginning of the program cancels tool compensation and resets coolant and spindle to OFF EXAMPLE GOG49X0Y0Z0 Z 5M5M9 G90G0G4 9M5M9 XO0YO0ZO M2 M03 Spindle Clockwise Starts the spindle in the Clock wise direction CW using the current setting for speed EXAMPLE N30 G54 GO X 3 7185 Y 1649 N40 S5000 M3 T1 N50 G43 H1 2 1 PMAC NC32 for Windows for Mill Application 4 59 PMAC NC Technical Documentation Manual M04 Spindle Counterclockwise Starts the spindle in the counter clockwise direction CCW using the current set
82. N ALARMS FOLLOW N9410 3000 941 MISSING ARGUMENT N9420 3000 942 VARIABLE RANGE DEFINITION ERROR N9499 M99 Program 094 MAIN PROGRAM THAT DEMONSTRATES VARIABLE INITIALIZATION G65 P9400 S500 E589 GLOBAL VARIABLES ARE UNDEFINED G65 P9400 S590 E599 V0 0 SET 590 599 TO 0 0 G65 P9400 S500 E600 GENERATES AN ALARM M30 Drilling Custom Bolt Hole Patterns Purpose This example shows how you can program a routine to drill and tap a custom bolt hole pattern Here the bolt hole pattern is for a standard clamp that you may use in holding parts on a fixture The subroutine can be saved and used later for drilling the bolt holes on other fixtures The bolt hole pattern is a simple rectangular pattern The absolute position of the center of the bolt hole pattern is passed in arguments X and Y The height and width of the bolt spacing is passed as arguments H and W The rotation of the pattern is passed in A The initial position plane is passed in R and the incremental hole depth from R is passed in Z Assume 4 20 tap is being used To use this routine you must have a drill and tap set up in tool holders 1 and 2 and pass the appropriate arguments This routine could be improved by adding a center drilling operation or by passing a feed rate parameter to accommodate various materials Appendix I Parametric Programming 3 PMAC NC Technical Documentation Manual Routines 09600 DRILL AND TAP A RECTANGULAR BOLT
83. ND2 N60 END1 WHILE loops can be repeatedly used in the same program N10 WHILE 1 NE 0 0 DO1 N20 END1 N60 WHILE 1 NE 0 0 DOI N70 END 1 Branching outside of a while loop is allowed Branching CANNOT be made into a WHILE loop The following code is allowed N20 WHILE 1 LT 10 DO1 N30 N40 IF 100 NE 1 0 GOTO 70 22 Appendix I Parametric Programming PMAC NC Technical Documentation Manual NSO N60 END 1 N70 WHILE loops CANNOT overlap The following is incorrect code and will alarm WHILE 1 NE 0 0 DO WHILE 1 NE 0 0 DO2 END1 END2 Pausing or aborting the program is another form of program control Writing to system variables 3006 and 3000 will accomplish these A program stop can be generated by writing to system variable 3006 An alarm can be generated and servos stopped by writing to 3000 Refer to the system variables section for more on 3000 and 3006 N10 3006 1 TURN PART OVER N20 3000 1 G43 IS NOT INVOKED Formatted Output Formatted Output is the way that a part program can send ASCII text strings to a serial port or a file The program can generate reports as a part is run allowing for run time generation of positional data This data can later be used for quality assurance The following is a list of FANUC compatible commands that Delta Tau s NC control supports DPRNT This sends out ASCII text or formatted variables to the current output file or device The current output
84. O nuer BLK Installation and Setup BLK DEL opt stop Ep G98 G54 G17 G94 G97 G49 G20 STOP IPOS BUF OPN RS274 DPR BIN 13 51 Note PMAC NC32 for Windows has three 3 operational modes Manual MDI amp Auto Auto amp MDI modes display the same information in the Current Ma chine Operational Information Display Area so only manual amp auto modes are displayed above The three operational modes of the PMAC NC32 for Windows program can be accessed via the Operator Control Switch Panel or the Operator Software Control Panel Purpose Displays current machine status information depending on which operational mode the PMAC NC32 for Windows program is cur rently selected The Current Machine Operational Information Dis play Area also displays the currently active error status The current machine error status can always be found in the lower left while in either manual MDI or auto mode 2 33 PMAC NC Technical Documentation Manual Manual Mode displays the following information from left to right top to bottom e Currently selected axis Currently selected jog mode Continuous Incremental Handle Home Currently selected speed multiplier Low Medium High e BUF CLS Rotary Buffer Closed e 0 0 Displays amount of G Code lines currently loaded into the rotary buffer Should always be 0 0 while in manual mode Auto or MDI Mode displays th
85. ON Press the F3 key on the PC keyboard or mouse click on the PRG F3 button in the PMAC NC32 for Windows program to toggle between the two different G code program execution screens During Automatic operation a G code file is loaded into the G Code Program Execution screen The PMAC NC32 for Windows program helps identify which line of G code is being executed by displaying the G code program lines in the following manner G Code Line Color Status Of G Code Line G Code Lines In Yellow G Code Lines That Have Already Been Executed G Code Line In Solid Red Bar The Currently Executing Line Of G Code G Code Line In Red The Next Line Of G Code To Be Rectangular Box Executed G Code Lines In White G Code Lines To Be Executed The G Code Program Check Screen displays 12 lines of G code at a time and also displays the following G code program information Program Position Display Distance to Go Display Active M Miscellaneous Active G Codes Codes Active T Tool Number Currently Programmed F Feedrate Word Codes Active H amp D offsets tool length height amp tool length diameter offsets The G Code Program Text Screen displays 25 lines of G code at a time Though this screen does not display machine program information like the G Code Program Check Screen this screen is particularly useful when an operator wants to examine more of the G code program 2 39 2 40 PMAC NC Techn
86. OOL_NEXT_M 7 The current tool in the spindle is written to the toolInSpindle1 parameter in mill cnc 8 CS_TOOL_CHANGE bit is set to zero How to Code In order to use this system do the following in your T Code program 1 Assign the value of VS_TOOL_NEXT_M in the T Code program This is probable already done in mill t Then in the tool change M Code do the following 2 Set on the status bit for a tool change SET_ON CS_STATUS4_M CS_TOOL_CHANGE 3 Wait for PMAC NC to reset the bit CS_TOOL_CHANGE this assures us that PMAC NC has appropiately changed the tool database ie WHILE ON CS_STATUS4_M CS_TOOL_CHANGE WAIT Once the above condition expires VS_TOOL_NUMBER_M will be set to the value of VS_TOOL_NEXT_M 12 Appendix II Application Notes PMAC NC Technical Documentation Manual You may wish to add a timeout and error checking for the above while loop However it should not fail unless your computer crashes or the operator hits RESET or the operator hits E Sstop or PMAC NC is not running 4 Now set whatever flags are necessary to move the carousel to the tool pot position defined by VS_TURRET_POT_M and then actually make the tool change Example excerpt from Mill m Program 1001 Tool Change M Code M06 NO6000 SET_ON CS_STATUS4_M CS_TOOL_CHANGE WHILE ON CS_STATUS4_M CS_TOOL_CHANGE move axes out of the way vapid to tool change position GO X8 00Y022 00 perform tool change START
87. PCLOS and DPRNT is illustrated in the skeleton subroutine below 0999 DPRNT UTILITY POPEN Open device for output 24 Appendix I Parametric Programming PMAC NC Technical Documentation Manual DPRNTI DPRNTI PCLOSE M99 Parameter Display The parameter display is an important tool for developing and determining if a parametric program is working as expected The programmer can use the parameter display to view local and global parametric variables At any time the operator of the machine tool can view the value of these variables regardless of the level of parametric subroutine nesting that the program is at The user is allowed to change the values of these parameters thus giving the program a rudimentary form of operator input Below is a picture of the first page of local variables on the Parameter display You can access the parameter display by pressing F9 the DIAG soft key Itis arranged as two columns of 17 fields enough room for the 33 local variables The first field of the first column is the real time value of the G65 nesting level If you want to see the variables for the current nesting level make sure that the page that you are viewing matches this number As PMAC NC is shipped there are five pages of local variables corresponding to nesting levels 0 to 4 and 8 pages of global variables The parameter display is a powerful tool for viewing system parameters NOTE The display can be modified by the user to
88. PROACH Z G65 P9810 Z 5 F50 PROTECTED APPROACH FEATURE 1 G65 P9811 YO W1 REPORT Y EDGE SHOULD BE 0 G65 P9810 Z1 0 F50 PROTECTED DEPART GO Z 75 Appendix III Touch Probing for PMAC NC 23 PMAC NC Technical Documentation Manual Web Trough Measurement This cycle measures the size of a web or trough feature parallel to the X or Y plane The feature can be used to set a tool offset It can be used to adjust a work offset The feature size can be reported to a file TROUGH 1 TROUGH 2 G65 P981 X Y ZFORST WI F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block Q Maximum search distance beyond feature surface before alarming R Added to X Y SIZE when determining decent position of probe When R is the feature is a WEB When the feature is TROUGH 2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 X Y The features nominal SIZE web or trough measured in X or Y Z Absolute Z location to touch off If not present TROUGH 1 is assumed Program Example N9812 POCKET MEASURE M19 ORIENT SPINDLE G90 G80 G40 GO G54 K 1 25 Y 3 25 G43 H1 Z 75 G65 P9810 Z 2 F50
89. PROBE POWER PINS PP 6 BLACK O1 17 Common 24V PP 7 GREEN O1 18 Chassis ground PP 8 RED O1 16 24V OMM WIRES OW YELLOW OI 1 OW GREY OI 2 OW WHITE OI 3 OW GREEN OI 4 OW BROWN OI 5 OW YLW GRN OI1 18 Shield TABLE PROBE INTERFACE HI A1 BLUE TW HI A2 RED TW HI A3 TW Shield HI A4 OI 18 Chassis ground HI A5 RED OI 16 24V HI A6 BLACK OI 17 Common 24V HI B6 GREEN OI 24 SKIP signal through relay M949 HI B7 YELLOW OI 23 AGND Analog ground MISC OI 17 BLACK OI 22 Appendix III Touch Probing for PMAC NC 9 PMAC NC Technical Documentation Manual Marposs This wiring chart is based on the Marposs E83 optical transmission system The chart addresses both the spindle and table probe The pin designations use cc pp where cc is the component and pp is the pin on the component MARPOSS WIRING CHART KEY COMPONENTS PP PROBE HARNESS POWER PIN OW OMM WIRE SP PROBE HARNESS SIGNAL PIN TW TABLE PROBE WIRE OI OPTICAL INTERFACE PIN E83 E83 INTERFACE DIP SWITCH SET TO 0 0 1 1 0 1 0 1 0 1 where the right most digit is switch 1 PROBE SIGNAL PINS SP 1 BLACK OI 12 SP 2 GREEN O1 25 SP 3 RED O1I 13 SP 4 WHITE OI 11 PP 6 BLACK O1 17 PP 7 GREEN OI 18 PP 8 RED OI 16 OMM WIRES OW WHITE OI 1 OW PURPLE OI 2 Ow GREEN OI
90. Pass Cut Outer Diameter Inner Diameter canned cycle for straight and taper cuts Incremental values are from the tool point at start and mixed incremental and absolute values are valid for this cycle X is the final radial depth of the cut Z is the final length of the cut U is the incremental distance to final radial depth of the cut W is the incremental distance to final length of cut R is the taper height The diagram assumes radius programming values Since data values of X U Z W and R during canned cycle are modal if X U Z W or R is not newly commanded the previously specified data is effective Thus when the Z axis movement amount does not vary as in the example below a canned cycle can be repeated only by specifying the movement commands for the X axis However these data are cleared if a one shot G code expect for G04 dwell or a G code in the group 01 except for G90 G92 G94 is commanded SYNTAX G90X UW DW P G90X U Z mW mp F G90 1 G91 1 Absolute Incremental Mode NC 32 Bit for Lathe Application Program commands for movement of the axes may be programmed ei ther in incremental movement commands or in absolute coordinates The absolute mode is automatically selected when the power is turned on or the control is reset In the absolute mode G90 1 all axis word dimen sions are referenced from a single program zero point The algebraic signs or of absolute coordinates denote the position of
91. Programmed path CC2 Tool center path Tool center path iii Circular gt Linear iv Circular gt Circular Programmed path CC2 L Tool center path Programmed path Tool center path Teal center path CC lt gt gt Programmed path ee eel yo S NC 32 Bit for Lathe Application S 3 PMAC NC Technical Documentation Manual Offset Mode b When going around an outside corner at an obtuse angle i Linear gt Linear ii Linear gt Circular cc2 CC3 L a L a SY Programmed path gt P r r r c gt Tool center path c Programmed path Tool center path iii Circular gt Linear iv Circular gt Circular cc2 CcC2 E Programmed path gt i 4 r T i r e L Tool center path e gt Programmed path Cc Tool center path NOTE When the change in angle is less than 1 a gt 179 no circular segment is added There is simply the blending from the incoming segment to the outgoing segment over one TA time 3300 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Offset Mode c When going around an outside corner at an acute angle i Linear gt Linear CC2 gt Programmed path gt L Tool center path iii Circular gt Linear Programmed SSC gt L Tool center path NC 32 Bit for Lathe Application ii Linear Circular Programmed path Tool center pat
92. RILL FOUR HOLES AT INCREMENTAL OFFSETS FROM CENTER G81 X 24 31 Y 25 32 Z 26 F5 UPPER RIGHT X 24 31 Y 25 32 UPPER LEFT X 24 31 Y 25 32 LOWER LEFT X 24 31 Y 25 32 LOWER RIGHT G69 CANCEL ROTATION M5 SPINDLE OFF M9 COOLANT OFF MOVE TO TOOL CHANGE POSITION G0 G53 ZO G0 G53 X0 YO SELECT DRILL T2 14 20 TAP T2 M06 S100 M3 SPINDLE ON M8 COOLANT ON GO X 24 Y 25 MOVE TO XY LOCATION Z 26 MOVE TO R PLANE ROTATE IF REQUESTED IF 1 EQ 0 GOTO9604 G68 R 1 N9604 TAP FOUR HOLES AT INCREMENTAL OFFSETS FROM CENTER G84 X 24 4 3 1 Y 25 32 Z 26 2 F5 UPPER RIGHT X 24 31 Y 25 432 UPPER LEFT X 24 31 Y 25 32 LOWER LEFT X 24 31 Y 25 32 LOWER RIGHT G69 CANCEL ROTATION M5 SPINDLE OFF M9 COOLANT OFF GOTO 9699 SUCCESSFUL RETURN ALARMS FOLLOW N9610 3000 961 MISSING H N9620 3000 962 MISSING W N9630 3000 963 MISSING Z Appendix I Parametric Programming PMAC NC Technical Documentation Manual N9699 M99 Program 096 MAIN PROGRAM THAT DEMONSTRATES BOLT HOLE PATTERNS G65 P9600 X1 0 Y1 0 H1 25 W1 75 Z 75 CLAMP 1 G65 P9600 X7 0 Y8 0 H1 25 W1 75 Z 75 A 135 CLAMP 2 M30 Parametric Subroutines A parametric subroutine is an extended version of an M98 subroutine The following list identifies the features that make up a parametric subroutine Numeric arguments c
93. S G90 G80 G40 G65 P9810 XO YO F30 APPROACH POSITION DO SOME PROBING G65 P9810 X10 Y5 0 DEPART POSITION 22 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Measurement These probing cycles are the most commonly used measurement cycles They have the ability to optionally set tool or work offsets record true position or print output based on input arguments supplied through the application Surface Measure of X Y or Z Planes This cycle measures the position of a surface parallel to the X Y or Z plane The surface can be used to set a tool offset It can be used to adjust a work offset The surface position can be reported to a file G65 P9811 X Y Z FQSTW F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block Q Maximum search distance beyond target surface before alarming S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 X Y Z Axis destination linearly interpolated at feed F Program Example N9811 SINGLE SURFACE MEASURE M19 ORIENT SPINDLE G90 G80 G40 GO G54 Y 5 WORK COORD APPROACH Y G43 H1 Z 75 TOOL OFFSET AP
94. SPINDLE G90 G80 G40 GO G54 X 6 75 Y 1 25 WORK COORD X Y APPROACH G43 H1 2 75 SELECT TOOL OFFSET Z APPROACH G65 P9810 Z 2 F50 PROTECTED APPROACH G65 P9823 D2 0 W1 REPORT BORE SIZE G65 P9810 2 25 PROTECTED DEPART GO Z 75 Appendix III Touch Probing for PMAC NC 25 PMAC NC Technical Documentation Manual Internal Corner Location This cycle measures the location of an internal corner at the intersection of two planes The planes do not have to be orthogonal 90 degrees to each other The feature can be used to set a tool offset It can be used to adjust a work offset The feature location can be reported to a file X Y position G65 P9815 X Y BFIJMQ SW B Maximum allowable angular plane deviation of each surface B5 0 is 5 degrees F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block I Incremental distance along X axis to move for 2 touch off point J Incremental distance along Y axis to move for 2 touch off point Q Maximum search distance beyond feature surface before alarming R Added to X Y SIZE when determining decent position of probe When R is the feature is a BOSS When the feature is BORE 2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value W Print results to the currently selected output file W1 Increment the feature number W
95. TA and TS When coming to a full stop at an outside corner e g Step Quit or DWELL at the corner PMAC will include the added arc move around the outside of the corner before stopping NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Offset Start up a When going around an inside corner i Linear gt Linear ii Linear gt Circular Programmed path r Offset amount cc2 L Tool center path Tool center path Programmed path b When going around the outside corner i Linear gt Linear ii Linear gt Circular gt Programmed path a Cc RB Tool center path S Cc y Tool center path S Intersection L Linear C Circular NC32BitforLathe Application S 327 PMAC NC Technical Documentation Manual Offset Start up c When going around the outside of an acute angle i Linear gt Linear ii Linear gt Circular L y y Programmed path ry Tool center path Tool center path Programmed path d When the tool goes around the outside linear at an acute angle less than 1 degree compensation is performed as follows Tool center path Vr Programmed path d less than 1 deg S Intersection L Linear C Circular 3 28 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Offset Mode a When going around an inside corner i Linear gt Linear ii Linear gt Circular
96. This forces an in position stop before starting the next move In position means that the feed motor is within a specified range about the commanded position Insert a deceleration command Te Program path Actual path T Program path Move Blending X Move Blending Example Coordinate Systems There are two types of coordinate systems One is fixed by the machine mechanics and the other is a relative coordinate system specified by the NC program that coincides with the part drawing The control is only aware of the fixed one Therefore to correctly cut the workpiece as speci fied on the drawing the two coordinate systems must be specified at ma chine startup When a workpiece is set on the table these two coordinate systems are as follows Coordinate system specified by the CNC Machine Coordinates Coordinate system specified by the part Program Coordinates Machine Coordinates The machine zero point is a standard reference point on the machine The machine coordinate system is established when the reference point return is first executed after the machine power is turned on or the homing cycle is executed Once the machine coordinate system is established it is not changed A G code program will not execute without the machine coordi NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual nate system being established first i e all the machine axes must be homed before a G code p
97. Windows program now begins loading Once disk is installed a Setup Needs The Next Disk box appears Insert disk 2 then press the Enter key or click on the OK button Repeat this procedure until all disks of the PMAC NC32 for Windows program are loaded Upon completion of copying files a Select Components box appears There are three different components If you select Do not update regis try files then the existing registry files will not be updated This selec tion is recommended only when you are upgrading to a newer version of PMAC NC32 for Windows The other two components are for LATHE Turning applications or MILL Machining Center applications The program is set up for one or the other but not both Once the selection is completed the registry files and the other components are modified Upon completion a Setup Complete box appears This informs you that all the required files are copied Restart Windows before starting the application All the files required for setting up the PMAC NC32 for Windows pro gram are available in C Program Files Delta Tau NC 2 0 Lathe or Mill Installation and Setup PMAC NC Technical Documentation Manual subdirectories The PMAC NC32 for Windows program will create the below listed subdirectories C Program Files Delta Tau wc 2 Default Location for copying files in installation Examples All PLC examples Lathe Standard files PLC and G M amp T code files for Lathe Mill
98. Z axis measuring position when measuring an external boss Omit if a bore is being measured Program Example N9803 TEST PROBE BALL RADIUS CALIBRATE G90 G80 G40 GO M19 ORIENT SPINDLE G54 X0 YO G43 H1 Z 75 G65 P9810 Z 2 F30 G65 P9803 D2 0 G65 P9810 2 25 SELECT TOOL OFFSET Z APPROACH PROTECTED MOVE CALIBRATE STYLUS RADIUS PROTECTED DEPART ees 18 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Spindle Probe Ball Radius Vector Measuring Calibration This cycle determines the probe stylus radius from stylus center for the X and Y directions In addition 8 other directions are determined in order to calculate accurate data for vectored measuring cycles A calibration ring should be placed in the work cell where the diameter and approximate center location is known The probe must be positioned inside the bore The cycle moves X and Y axes to determine the ten radii Upon completion of the cycle the radii are retained for later use The X axis radius is stored in variable P500 and the Y axis radius is stored in variable P501 Additional radii are store according to the table below VECTORED RADIUS STORAGE PMAC DIRECTION VARIABLE DEGREES P500 0 180 P501 90 270 P510 30 P511 60 P512 120 P513 150 P514 210 P515 240 P516 300 P517 330 G65 P9804 D Z D Actual bore diameter average Z Current work coordinate Z axis measuring position when measuring an
99. _TOOL_CHANGE 1 WHILE START TOOL CHANGE 1 WAIT RET lt WAIT The flags START_TOOL_CHANGE and TOOL_CHANGE_DONE are samples of items that would be created by the integrator that the tool change PLC responds to Ie open plc 20 clear IF VS_TURRET_POT_M lt gt CURRENT_TURRET_POS TO DO all the plc code that swaps tools in and out the spindle it should read the DPR variable VS_TURRET_POT_M to determine where to rotate the carosel or tool chain to CURRENT_TURRET_POS VS_TURRET_POT_M ENDIF IF START_TOOL_CHANGE 1 AND VS_TURRET_POT_M CURRENT_TURRET_POS TO DO all the plc code that swaps tools in and out the spindle it should read the DPR variable VS_TURRET_POT_M to determine where to rotate the carosel or tool chain to START_TOOL_CHANGE 0 ENDIF close Tool changes in PMAC NC would be programmed in the following manner TO6M6 Gotcha s The pocket numbers can only be set via the Tools DAT text file manually for PMAC NC versions 1 20 2 33 Appendix II Application Notes 13 PMAC NC Technical Documentation Manual The pocket number must be initilized the text file tools dat before using the built in random tool change tracking can be used In addition the VS_TOOL_NUMBER_M M41 variable must be set to indicate the tool number in the spindle before starting Only Version 2 35 and later will allow modifying the pocket numbers on screen For
100. a has the following characteris tics e Screen area changes depending on which mode or function is currently being accessed by the PMAC NC32 for Windows pro gram Background colors help identify the operator screen currently being displayed Feedrate amp Spindle Information Display Area Feedrate gt ZAN ACT 6 6 FPH ZEUKA RO 166 6 Spindle gt OFF Max 7 808 Act 6 CSS 0FF OUR 160 6 Purpose Provides the operator with constantly updated information re garding the current machine feedrate amp spindle speeds The Feedrate amp Spindle Information Display Area displays the fol lowing information from left to right Sg Last or currently programmed machine feedrate Actual machine feedrate Feed per minute or inches per revolution Cutting Threading Or Rapid Mode 2 32 Installation and Setup PMAC NC Technical Documentation Manual Current position of feedrate override switch on operator control panel Current rapid override The Spindle information displays the following information from left to right e Spindle Off CW Or CCW Current programmed spindle speed Maximum programmable spindle speed Current actual spindle speed Constant surface speed On Off Current position of spindle override switch on operator control panel Current Machine Operational Information Display Area Manual Mode Bev Axis CONT HIGH IT READY TI Care BEE Reset OR Auto amp MDI Mode AUT
101. ables can be used in conditional expressions assignment expressions GOTO expressions and address code expressions Ex IF 1 EQ 3 0 GOTO 5S Ex 3 342 Ex G1 X 1 Y 2 Z 3 The categories of variables in a FANUC compatible parametric program are Undefined 0 Local Common System Below each category is discussed in detail In order to determine if a program is executing correctly it is necessary to be able to view variables as they are being modified in the program The parameter display is ideal for this Screens for displaying Local and Common variables are predefined on the parameter display Refer to the PARAMETER DISPLAY section for details on how to access and use this useful tool 8 Appendix I Parametric Programming PMAC NC Technical Documentation Manual Undefined 0 A variable that has not been assigned a value is called undefined It is referenced in an NC program with 0 Undefined variables allow the programmer to determine if a subroutine is being called correctly or to determine if a certain logic path has been taken Allowing variables to be undefined requires special processing Algebraic expressions convert undefined variables to 0 0 If the equation is singular then the expression evaluator returns undefined Ex 1 0 1 is undefined Ex 3 1 3 is undefined Ex 4 1443 4 is 0 0 Ex 5 1 3 5 is 0 0 Address Codes using variables that evaluate to undefined are ignored This
102. all Shield starts up a Welcome box advises you to end any Windows programs that may be running at the time Once you have ended all other Windows programs click on the Next button A Software License Agreement box appears If you agree with the li censing agreement click on the YES button A User Information dialog box appears Enter your name and com pany information in the appropriate boxes Once the information is cor rect click on the Next button A Choose Destination Location box appears You can select the sug gested file loading structure by clicking on the Next button Click on the Browse button if you want to load the PMAC NC32 for Windows pro gram in any other sub directory The default location will be C Program Files Delta Tau NC 2 0 A Setup Type box appears This dialog box allows you to select the type of setup you prefer TYPICAL COMPACT or CUSTOM Select the preferred type of setup and click the Next button Suggested type of in stallation is TYPICAL A Select Program Folder box appears This dialog box allows you to direct where the application icons will be displayed Click on the Next button The suggested program folder is PMAC NC32 for Windows A Check Setup information box appears This will summarize the in formation about your installation selection If you are satisfied with the selection click the Next button to begin copying files A Start Copying Files box appears Disk 1 of the PMAC NC32 for
103. along specified trajectory G01 1 Reference of the axis position word will execute motion The control will coordinate the movement of the axis motors to execute the command In this document the generalized form of the axis position word A NZ will be used Axis Move Specification Last commanded position is the start and the final position is in the com mand This final position may be either an absolute position a point ref erenced to program zero or a relative move signed increment of exten sion from present point This is specified with axis move or position words the axis address letter followed by a numeric literal X5 2Y0Z 001 length units in mm FEEDRATE PER TIME UNITS FEEDRATE PER REVOLUTION UNITS NC 32 Bit for Lathe Application Movement of the tool at a specified speed for cutting a workpiece is called the feedrate Feedrates can be specified similarly with the feed word F150 0 length time units in min mm min or Feed Per Rev in rev mm rev Length units are within program control see the G code definitions in the next section Time units are set by the machine builder I parameter 1190 controls the time units 3 3 PMAC NC Technical Documentation Manual Cutting Speed Specification The relative rotational speed of the tool with respect to the workpiece during a cut is called the cutting speed As for the CNC the cutting speed can be specified by the spindle speed in rpm units using the S ad
104. am execution continues from the first block in the called pro gram the subroutine Comment Specification Another way to specify a program is by speci fying a full path and filename in a comment that is on the M98 line This is a way to transfer control to routines that are not in the same di rectory as the calling routine All that is necessary is to place a valid file path name in the comment If the path or filename is invalid then an alarm is issued Note When specifying a filename explicitly C SUBPROG NC the full path is not necessary If the full path is not specified NCUI will look for the file in the directory specified by the Start in property of the windows shortcut that launched the program O Code Specification When neither of these methods is present in a block the control constructs a filename using the number associated with the most recently invoked O address code This means that you can use O just like a P code Note When in MDI mode the calling program exists in the directory specified by the Start in property of the windows shortcut that launched the NCUI This means that when in MDI mode the subprograms identified by an O should reside in the Start in directory MDI mode does not support subpro grams calls such as M98P100 Note If you forget to place a P code or comment on an M98 line and you have an O code at the top of your program the program will be called again recursively If more
105. an be passed from the calling program to the subroutine Each subroutine called has access to its own private variables that are not altered by other subroutine calls These variables are local to the subroutine Subroutines can be aliased The parametric subroutine is invoked with a line containing G65 and a P code Ex N100 G65 P50 A1 0 B2 0 C3 0 In the above example block 100 invokes program 50 as a parametric program It passes to program 50 arguments A B and C The G65 command loads the subroutine into memory and allocates a set of local variables for its use The local variables of the calling routine are saved and will be restored when the subroutine returns with an M99 This concept of saving and restoring of local variables is known as nesting In the Delta Tau NC nesting is limited to 4 levels The main program is considered to be nesting level 0 Below is an example of how nesting takes place and how variables are allocated in G65 and M98 subroutines 6 Appendix I Parametric Programming PMAC NC Technical Documentation Manual Program Comments O1 Main progra Level 0 Variables G65 P100 Nest Allocate Level 1 Variables Nest Allocate Level 2 Variables Call subroutine Using Level 2 Variables Return Nest Allocate Level 3 Variables Nest Allocate Level 4 Variables UnNest Using Level 3 Variables UnNest Using Level 2 Variables UnNest Using Level 1 Variables UnNest Using Level 0 Va
106. ar Programmed path gt L Tool center path Programmed path Tool center path NOTE When the change in angle is less than 1 a gt 179 no circular segment is added There is simply the blending from the incoming segment to the outgoing segment over one TA time Offset Mode Sheet 2 of 3 NC 32 Bit for Mill Application 4 25 PMAC NC Technical Documentation Manual c When going around an outside corner at an acute angle i Linear gt Linear gt Programmed path gt L Tool center path iii Circular gt Linear Programmed path gt L Tool center path Offset Mode Sheet 3 of 3 4 26 ii Linear gt Circular Programmed path Tool center path iv Circular gt Circular 0 Programmed path Tool center path NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual i Linear gt Linear ii Linear gt Circular Tool center path Cy Programmed path GE Nr CC CC vt iii Circular Circular iv Circular Circular Scroll i Tool center path Scroll S Circle Tool center path rogrammed path v When an intersection is not obtained if offset is normally performed i Linear gt Linear Offset vector CC CC3 Ki Programmed path Tool center pe S ii Linear gt Circular Tool center path r CCR Programmed path S Intersection L Linear K A Se C Circular Cc P Parabloic C
107. are blended to fit a 3 point cubic Spline with the ad jacent blocks until dwell new segment word R or modal change i e G00 or G01 Zero length intervals of R F time units are added at the endpoints to facilitate entry and exit of the Spline The PMAC segmen tation parameter I13 does not effect Spline mode NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Intermediate positions will be relaxed somewhat to meet the velocity and acceleration constraints imposed and may be calculated from the fol lowing equation It applies to vector sum and axis components for simultaneous multiple axis splines If a segment size within the block sequence deviates appre ciably from that specified in the initial block R word the above error is exaggerated greatly G01 1 is modal in group 01 It is canceled by other group 01 functions See the PMAC SPLINE1 program command SEGMENT SIZE R WORD A Zero length R F interval added Out of range segment Error exageration B Zero length R F interval added SYNTAX GOLIR X Z F EXAMPLE CODE N6 Z 1 H1 M8 N7 G1 1 R 05 F150 spline mode seg size of 05 in at 150 ipm N8 X10 point 1 N9 X10 2236Z10 2236 point 2 N10 X10 0 4729Y10 0 4729 point 3 NC 32 Bit for Lathe Application sss B PMAC NC Technical Documentation Manual G02 Circular Interpolation CW 3 16 Circular interpolation uses the axis information contained in a block to move the to
108. ature number W2 Increment component number set feature number to 1 Program Example N9821 TEST ANGLED SINGLE SURFACE MEASURE G90 G80 G40 GO M19 ORIENT SPINDLE G54 X 75 Y 75 X Y APPROACH G43 H1 Z 75 Z APPROACH G65 P9810 Z 2 F50 PROTECTED Z APPROACH G65 P9821 A225 D 3536 W1 REPORT DISTANCE TO SURFACE G65 P9810 Z 75 F50 PROTECTED DEPART 30 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Width Deviation of an Angled Web or Pocket This cycle measures the width of an angled web or pocket The web pocket is limited to angles in the X Y plane The angle is determined by the programmer Deviations of the expected width are reported By using two measurements along a know angle the true angle and deviation can be determined See SPINDLE PROBE BALL RADIUS VECTOR MEASURING CALIBRATION TROUGH 1 WEB TROUGH 2 G65 P9822 A D ZF QRST W A Assumed Angle of web pocket being measured 180 0 degrees D Expected width of feature F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block Q Maximum search distance beyond feature surface before alarming R Added to D when determining decent position of probe When R is the feature is a WEB When R is the feature is as TROUGH 2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed val
109. au 16 Appendix II Application Notes PMAC NC Technical Documentation Manual PMAC NC Handwheel Option J6 Remote Handwheel Box J6 is DB 25 male style connector on Delta Tau s Remote Handwheel box Pin Label Duneten Cid HWCHA Manual Pulse Generator A input HWCHBs Manual Pulse Generator B input AGND AGND ENCSEL Enable remote handwheel box 6 AS1 Axis select BCD input bit 1 Axis select BCD input bit 3 8 SM1 Jog speed and increment multiply BCD input bit 1 9 SM83 Jog speed and increment multiply BCD input bit 3 SW_COM BCD common input ESTOP2 Contact 2 for e stop switch HWCHA Manual Pulse Generator A input HWCHB Manual Pulse Generator BI input Analog 5 volts Analog 5 volts Axis select BCD input bit 0 Axis select BCD input bit 2 Jog speed and increment multiply BCD input bit 0 Jog speed and increment multiply BCD input bit 2 E STOP Remote box active detection ESTOP1 Contact 2 for e stop switch ACC NC1 A Remote Handwheel Cable DB 25s to DB 25p ACC NC1 CABLE Max cable length un shielded flat ribbon 25 cond 9ft B Remote Handwheel Box Ass y 3C2 O00CNC OPT Appendix II Application Notes PMAC NC Technical Documentation Manual 18
110. ayed on the error page Ex IF 24 NE 0 GOTO 5 3000 1024 X ARGUMENT REQUIRED N5 CONDITIONAL WAS TRUE X ARGUMENT PASSED 3001 3002 System Timers These timers are millisecond timers Timer 3001 is continuously running and will wrap around after 49 7 days of running 3001 is initialized to zero at power up Timer 3002 is an hour timer based on 3001 Hours are accrued only when a program is running 3002 is saved at power 12 Appendix I Parametric Programming PMAC NC Technical Documentation Manual down and is restored on power up Both of these timers can be initialized with an assignment statement Ex dwell 3 5 seconds 3 1 3001 N1 IF 3001 LT 31 3500 GOTO 3003 3004 Single block and override suppression 3006 Programmable Stop with message A programmable stop M00 can be generated from within a parametric program by assigning a value to 3006 A comment can be placed on the block to assist the operator in what operation is to be performed Ex 3006 2001 MESSAGE FOR THE OPERATOR 3007 Mirroring 4001 4026 Look ahead time modal group information These variables can be used by the programmer to determine what the look ahead time code is for any group These variables contain the modal group information for the last parsed G code block 4001 through 4026 correspond to groups through 26 For example if you want to know if cutter compensation is off check to make sure that group 7 is
111. belong to the most recent G65 nesting level M99 in a G65 subroutine will unnest local variables and the values are lost M99 in a M98 subroutine do not unnest local variables Local variables are used to hold arguments passed to a G65 parametric subroutine call Local variables can be tested against 0 to determine if an argument with a value was passed Address code arguments are passed according to the following table Address Local variable code Address codes G L N O and P cannot be used as arguments Note that the mapping is irregular This follows the FANUC convention A subroutine can access arguments by referring to the associated variable name Ex 31 1 2 assign to variable 31 the argument A times 2 Ex G1 G91 X 24 Feed X the incremental amount of argument X Note that subsequent assignments will destroy the value of the passed argument 10 Appendix I Parametric Programming PMAC NC Technical Documentation Manual Common Variables Common variables are always accessible in an NC program Another term used is global variables Common variables are numbered 100 through 199 and 500 through 599 Variables 100 199 are initialized to undefined when the control is turned on Variables 500 599 values are maintained between power up and down conditions Common variables can be used to pass information from one parametric subroutine to another Once a value is set it remains available regardless of nesti
112. ber of times to execute the program P_____ _ specifies a program block to branch to DESCRIPTION M99 transfers program control to a calling program or to a different lo cation of the current program being executed The action of M99 is dif ferent depending on whether M99 is encountered in a subroutine or in the main program PMAC NC32 for Windows for Mill Application PMAC NC Technical Documentation Manual Subroutine program action of M99 is as follows S If M99 is encountered in a subprogram and no L or P address code is in the block processing is transferred to the first block after the M98 block or the calling program that called the current program If anLis on the M99 line the subroutine resumes execution at the first block of the subroutine and loops L times This L overrides any L in the calling M98 block In a subroutine control is always trans ferred to the first block even if there is a P on the M99 line Ifa P address code is on the M99 line in a subroutine execution is resumed in the calling program not at the line after the M98 call but at the first N address code found after the M98 call matching the P address code The control searches from the first block after the block with the M98 address code to the end of the program and then continues from the top of the program to the block containing the M98 If no match is found an alarm is issued the program execution stops Main program action of M99 is as
113. blished the following message appears PHAC Motion Control Device Driv Ku The PMAC device was sucessfully loaded Advanced Settings The Advanced button on the PMAC Configuration dialog box is used to configure Dual Ported RAM settings typically used with the PMAC NC32 for Windows software Installation and Setup 2 7 PMAC NC Technical Documentation Manual PMAC Advanced Communications Setup Page PMAC Advanced Communication Setup EN DPRAM Rotary 1 Size 0x400 DPRAM Rotary 2 Size 0x400 DPRAM Rotary 3 Size s DPRAM Rotary 4 Size 0x0 DPRAM Rotary 5 Size 0x0 DPRAM Rotary 6 Size 0x0 DPRAM Rotary 7 Size 0x0 DPRAM Rotary 8 Size 0x0 DPRAM Var Start Address 0 0 DO The Binary Rotary Buffer in PMAC s DPRAM allow the host computer to send program commands to PMAC in binary format for the fastest possible transmission of these commands In order to utilize this feature rotary buffers must be defined in both DPRAM and within PMAC s in ternal memory Please reference your PMAC User s Manual for infor mation about defining binary rotary buffers within PMAC The combined binary rotary buffers in PMAC and DPRAM allow for downloading program lines from the host during execution of a program and for overwriting already executed program lines This permits con tinuous execution of programs larger than PMAC s memory space and real time downloading of program lines such as G code programs a
114. by the cycle Angular tolerances as well as absolute distances can be measured and report on Web Trough measurement 9812 cannot be used with this cycle XY PLANE G65 P9834 G65 P9834 X S T W G65 P9834 Y S T W G65 P9834 X Y B S T W G65 P9834 A D B S T W A Angle between features as taken from the X axis 180 0 degrees B The angular tolerance of A D The Minimum distance from P1 to P2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs T can be used only when P2 is measured using 9811 or 9821 W Print results to the currently selected output file WI Increment the feature number W2 Increment component number set feature number to 1 X The nominal incremental distance along X Y The nominal incremental distance along Y 34 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual N9834 FEATURE TO FEATURE MEASURE G65 P9810 X 5 Y2 0 F30 X Y APPROACH WALL G65 P9810 Z1 0 F30 PROTECTED Z APPROACH G65 P9811 X0 MEASURE X WALL P1 G65 P9834 RECORD P1 G65 P9810 X 4 0 X Y APPROACH BOSS G65 P9814 D 5 Z 5 MEASURE BOSS P2 G65 P9834 X 4 0 H 02 W2 MEASURE AND REPORT TOLERANCE Z PLANE G65 P9834 Z S T W G65 P9834 A Z B W G65 P9834 D Z B W A Angle between features as taken from the X axis 18
115. can be achieved when Windows NT directory access control features are used in conjunction with PMAC NC security features File Management Tab Limits Rates Languages Errors Events Probing File Management M Use controlled file management Purge controlled files period 5 Days Disabled if zero Controlled files directory C Delta Tat 2 0 Contral Browse Local non controlled files directory Des Tau NC 2 0 Non Controf Browse Please refer to the PMAC NC Integrator s Manual for more information about File Management features Tools Settings Tab Tool data including offsets and tool location is stored in a Windows initialization text database file You can select the location and name for this file as shown below The 32 bit version is compatible with the 16 bit version If the Motion Exe applet cannot find the file you enter it will prompt you to create one Number of Tools sets the number of tools that will be available to the PMAC NC32 for Windows software The maximum number of tools is 99 2 14 Installation and Setup PMAC NC Technical Documentation Manual The Tools Setting Tab Configure PHAC NC Control 0 Device 0 20x General Tools Coord Sys Code Axis Performance Fivedxis Tool data file C Machines MiINNcT ools dat Browse Number of tools fad Save as Reg File Load Reg File Help Coordinate System Settings Tab The coordinate system tab is where coordinat
116. ce cec3 csscrsascsscwasecseasaiesauesdsedeecdacesausabeessctadtecssees teats obladcanetellesdsducyaees taeda seaadesaeisbarteeaegecsseeveoe 8 RETA SAW neister eae ENNET EEE EE EECH 9 GE e 10 SOFTWARE INTEGRATION MANUAL ju cesssssesssccscsscssssesssesecssscscssccssesesssssecsscssesecsssesessncseesesseess 11 Probing Memory Map EE 11 Installation of Software 11 Files Required for Installaton 11 Testing of the Probe eum ZER SES gent etiaiencnsceaeeeenneenetees 12 Testing G31 operation gg EE aimee ETER 13 MACHINING CENTER OPERATORS MANU AL csesssssesssccscsessscsscssscssssossscsecssssecsscesessesseesesseees 14 Probing Cycles aiekin geesde ite deet ege Steeg eieiei deel sas canl esac tanuvsastanletdewatiesssuastiaiesiees 14 Calling Method EE 15 EHM 16 Spindle Probe Length Calibration ccssesscssessceeceseeeceseecessccseesecaeverenaeeneaecaessecaeeneeaeeeesaesateaeeneees 16 Spindle Probe Stylus Offset from Spindle Center Calibration cee seeecseeeceseeeeeeceeeecneeeeeeeeneees 17 Spindle Probe Ball Radius Calibration cecececcesssceseceseeeeesecseeseceveecsaeeeeeaecaessesseeeceaeeeeeeceaeeeeeaeees 18 Spindle Probe Ball Radius Vector Measuring Calibration cc ccesesssesceecseeeecneeeeceaeceeeaeeaeeseeneees 19 Table Probe Length Calibration 2 20veebdegeee eu Erg Eeer ege Eege Rains 20 Table Probe X Y Calibration eent eet oestdeascdussssecsupivaseheusestonagsotesoevers ee tansncsceunesberveneastenteveeoewnioveenayes 21 Sa
117. cel cutter rad comp and resulting axis motion until a block with a non zero move component in the compensation plane is exe cuted DO NOT cancel tool nose compensation on any line that is still cutting the part Cancel of tool nose compensation may be a one or two axis move When tool nose compensation is active the control ap plies a virtual cutter of zero diameter The physical or actual diameter of the cutter is stored in the control by the operator on the page that con tains the cutter tool lengths and diameters The tool length is addressed by an H word and the tool diameter is addressed by a D word A tool offset number T word will address both using values stored in the Tools page Note The AtMoveToolChange profile setting in the machine type sre file can effect the order of axis motion and T word execution point in a common block The machine tool builder or integrator will specify the parameter selection Normally the tool length and the tool diameter are assigned the same tool offset number Tool nose compensation takes the stored value for the diameter and calculates the cutter path offset from that value Be cause of look ahead care must be taken that programmed moves do not violate the called for compensation Compensation Requirements NC 32 Bit for Lathe Application Several parameters must be specified for the compensation First the plane in which the compensation is to be performed must be set Any plane in
118. coincide with Machine zero The tool can be moved to the reference point in two ways manually or automatically In general manual reference point return is performed first after the ma chine power is turned on Usually this is the same as the homing function since the reference point is at a fixed offset from the Machine zero posi tion In order to move the tool to the reference point for tool change there after the function of automatic reference point return is used Ae NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G Code Library CNC G Codes PMAC NC32 for Windows Machining Center G Code Library Valid As Of 6 1 99 Bold indicates Default G Codes used at startup G Code Function GOU Rapid Traverse G01 Linear Interpolation G01 1 Spline Interpolation G02 Circular Interpolation CW G03 Circular Interpolation CCW G02 amp G03 Helical Interpolation X Y amp Z in the G code command line Dwell Exact Stop Check Program Data Input PMAC Data Input G17 XY Plane Selection G18 ZX Plane Selection G19 YZ Plane Selection G20 Inch Mode G21 Metric Mode G25 Spindle Speed Detect Off G26 Spindle Speed Detect On Reference Point Return Check Return To Reference Point Return From Reference Point 2 Reference Point Return G31 Move Until Trigger Cutter Compensation Cancel Cutter Compensation Left Cutter Compensation Right G43 Tool Length Compensation Direction G4
119. commands Installation and Setup PMAC NC Technical Documentation Manual Axis Jogging Installation and Setup Axis Spindle Settings Tab General Rates Limits Spindle Joggin 4 gt Jv ls Spindle Max RPM limit e000 RPM Max RPM default fi 000 RPM Primary ratio 1 RPM Max RPM default determines the maximum programmed spindle speed at power up in revolutions per minute Primary ratio configures the mechanical gear ratio between the spindle motor and the spindle cartridge If multiple ratio gear boxes are used a user written PLC program will be required The axis jogging speed parameters are set in the Jogging Settings Tab The units are in either inches per minute or millimeters per minute as defined in the Axis General Settings Tab and are used during continu ous jog moves The individual settings are selected either by the jog speed selector switch on the operator control panel or the software op erator control interface through the PMAC NC32 for Windows program Note The Advantage 500 allows configuration of all five jog selector rates the Advantage 600 700 use only Low Medium and High 2 23 PMAC NC Technical Documentation Manual Axis Jogging Settings Tab Rates Limits Spindle Jogging Home t gt Jog selector rates Units Min Low 5 Medium low fo Medium fo Medium hi 50 Hiho Axis Home Reference 2 24 The Axis Home Re
120. cumentation Manual NC 32 Bit for Mill Application Introduction This chapter defines the basics of CNC Mills and instructions for the PMAC NC32 for Windows application The goal of this document is to provide descriptions of the software within the required hardware environ ment and a detailed description of RS 274 style G Code programming The default G codes delivered with PMAC NC32 are designed to emulate a Fanuc 10 style of G codes Hence a CNC program posted for a Fanuc 10 should work without any changes Before Starting Before running the Mill application please confirm the following checklist 1 Read the Basics of NC Mill 2 Install the application for Mill 3 Run MOTION EXE to set up the PMAC card for DUAL port RAM communication and the machine AXIS configurations 4 Verify that the configuration PLC files and G M T code files are downloaded to the PMAC card using PEWIN32 NC32Bitfor Mill Application AH PMAC NC Technical Documentation Manual NC Mill Basics Tool Motion A Linear co a Circular Work Piece Ki HM U U D Unlike a lathe tool which moves around the workpiece to produce a shape a rotating mill tool remains stationary while the table moves moving the workpiece around the tool But NC programmers describe the operation of both machines in the same way as if the tool moves around the workpiece That is not a problem when dealing with a lathe but this chapter discusses mill
121. d 5061 506n Current work coordinate skip position These variables return the most recent position sensed as a skip or trigger during a G31 move The position is returned in work coordinates 5061 returns the skip position of PMAC s 1 axis 5062 returns the skip position of PMAC s 2 axis etc Tool offsets are not included 5081 508n Current tool offset applied 5101 511n Current following error 5201 520n Common work coordinates These variables return the common work coordinates in effect at look ahead time Fanuc also refers to these as external work coordinates The common work coordinates can be modified in a G code program by assigning values to these variables When these variables appear on the left of an assignment statement the PC side look ahead queue is allowed to empty and the coordinates will change before further look ahead is allowed 5201 corresponds to PMAC s 1 axis 5202 corresponds to PMAC s 2 axis These variables do NOT refer to G92 5221 522n G54 Same as common work coordinates but applies to G54 5241 524n G55 Same as common work coordinates but applies to G55 5261 526n G56 Same as common work coordinates but applies to G56 14 Appendix I Parametric Programming PMAC NC Technical Documentation Manual 5281 528n G57 Same as common work coordinates but applies to G57 5301 530n G58 Same as common work coordinates but applies to G58 5321 532n G59
122. d The Z axis is returned either manually or with pro grammed instructions SYNTAX G88 X_ Y_Z_R_F_P_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z Cutting feedrate Dwell in seconds at the bottom of the cut fo 2 2 E Number of repeats 452 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual PROGRAMMING EXAMPLES G99 G88X 3 Y 2 752Z 0 005P 5RO 1F25 0 X 2 75 X 2 5 G80 G98 G88X 3 Y 2 752Z 0 005P 5RO 1F25 0 X 2 75 SS G80 G98 return initial point reference point O G99 return Free Cutting Manual Or Programmed Quill Return Example G89 Boring Cycle Finishing cut free cutting NC 32 Bit for Mill Application When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position At this point a dwell of P seconds is performed Z is then fed linearly to the R value The return point in Z is the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G85 line if G99 mode is active This cycle occurs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel During this cycle manual feedrate override is ignored 4 53 PMAC NC Technical Docu
123. d The screen can be turned off in the Windows registry If this screen is disabled the OPER button will still appear but it will be grayed out and the Operator Software Control Panel will not ap pear OPERATION Press the F11 key on the PC keyboard or mouse click on the OPER F11 button in the PMAC NC32 for Windows program to access the Operator Software Control Panel Screen 2 46 Installation and Setup PMAC NC Technical Documentation Manual MDI Editor Screen PN PMAC NC Control F1688 6088 Cra Sys r xis dog Mode a s LG C Handle Continuous 696 Mes Hog Cc C Incrementa Home G94 628 Hee DSB Speed Mult Overrides Feed Low Zi 100 0 5 C MedL X10 Rapid C Med X100 100 0 K 6 6666 6 6066 6 6066 6 6066 6 6666 6 6666 C MedH X1000 Spindle 100 eereeeee si gd a op be D d C High 10000 _ Feedrate gt TE I BEUZ R0 188 0 Spindle gt se MZEZSmm CSS 0FF 0UR 1900 0 MDI sct six Bik peL opr stor G60 G90 G54 G17 G94 G97 G4O G20 Gig stop mros sworn IF oem vo Fal F2 F3 F4 F5 ER i F8 F9 F10 F11 EE ee iil PURPOSE The MDI Manual Data Input Editor Screen provides the ability to manually program and execute G code programs OPERATION Place the PMAC NC32 for Windows program in MDI mode by either the Operator Control Switch Panel or the Operator Software Control Panel to program and execute a G code progra
124. d about a point By using this function it becomes possible for example to modify a program using a rotation command when a workpiece has been placed with some angle rotated from the programmed position on the machine Further when there is a pattern comprising some identical shapes in the positions rotated from a shape the time required for programming and the length of the program can be re duced by preparing a subprogram of the shape and calling it after rotation Angle of rotation is the CCW direction is command with a signed angle value in decimal degrees using the R address in the G68 block The center of rotation is specified in the block with axis address data X Y and Z After this command is specified subsequent commands are rotated by the specified parameters Command the angle of rotation R within the range of 360 to 360 degrees A rotation plane must be specified GI7 G18 G19 when G68 is desig nated although it is not required to be designated in the same block If no plane of rotation is specified prior to the G68 command then the default plane of G17 XY plane is utilized G68 may be designated in the same block with other commands Tool offset such as cutter compensation tool length compensation or tool offset is performed after the coordinate sys tem is rotated for the command program The coordinate system rotation is cancelled by G69 SYNTAX G68X_Y_Z_ R__ G69 EXAMPLE CODE N4 G18 G68 X1 Y1 R34 34
125. display any address in dual ported ram or within the PMAC To see how this can be done review the commentary at the beginning of the pages dat file located in the startin directory of the ncui32 exe application It is strongly recommended that the end user not change the pages dat file It is meant to be setup by the machine tool OEM or integrator G65 LEVEL o 17 o 1 A 18 R 2 B 19 s5 3 c 20 T 4 I 21 U 5 J 22 Vv 6 K 23 W 7 D 24 X 8 E 25 Y 9 F 26 z 10 27 11 R 28 12 29 13 M 30 14 31 15 32 16 33 GOTO PREV PAGE NEXT PAGE Appendix I Parametric Programming 25 PMAC NC Technical Documentation Manual Integration This section describes system parameters that are used by parametric programming If these parameters are set incorrectly parametric programming may not exhibit correct behavior or it may not work at all In the following read BASE1 as HKEY_LOCAL_MACHINE System CurrentControlSet Services Pmac and read BASE2 as HKEY_CURRENT_USER Software Delta Tau Set bPCdoesMacroCall in the registry to 1 This registry variable is found in the following registry path BASE1 DeviceO NcO0 Code Set UseNewDiagnostics to 1 This registry variable is found in the following registry path BASE2 NCUI 32 Insure that CallHighSpeedMachProg is set to 1065 This registry variable is found in the following registry path BASE1 Device0 Nc0 Code Group0 Insure that macroCall is set to 65 T
126. dows Operator Gcreens 2 38 PMAC NC32 for Windows Standard Machine Control Functons 2 48 3 NC 32 Bit for Lathe Application cccccccsseccseeeeeeeeeeeeeeseseeeeeeneeeeeeeeseaeseseeeeeeeeeseeeseseaeenseeeeneas 3 1 PATO COU CUON ME 3 1 Before StartiNg ates sass atesaes edecantace yedavedeceaeeaadhedacesuseescdecaateastudavsdecesien fuadisaideauessasedievia cece 3 1 Lathe Bl ck Diagram eent SekshEgechsteg ehete eher iena ge Seege ERC Deedee 3 1 le 3 2 TOI MOUOM E 3 2 Tool Movement Gpechficatton eese nese nesr rstnernsernsernstnstnsstensrenstnnsrenstensnnnnnenet 3 2 Axis Move SpecifiCation eccccceeceeeeeeeeeeceeeeeceaeeeeaaeeeeneeseaeeecaeeeeaaeseeaeeseeeeeseaeeesaeeeeneessaees 3 3 Cutting Speed Gpechficeaton nnn nnnn nnna 3 4 Tool Movement Considerations c ccceecceceeeeeeeeeeeeeeceeeeceaeeeaaeseeaeeseeeeseaeeesaeeneneeseaes 3 4 Contents PMAC NC Technical Documentation Manual Contents Coordinate SysteMS cae eeeaaeseeeeeeeaeeecaeeeeaaeseeaseseaeeesaeeeeaaeeseneeees 3 4 Machine Coordinates iiscics fovectescactienenatdctsneectentanecrdacatevincgaanibarivdedtiaeinasieensnatectawutenetes 3 5 Program COOrdiNateS as eiicsrisccceecestens asccehasnceeteaceceegeten Siva a aiea aa E aaant 3 5 Absolute Coordinate Posittons nnt 3 5 Incremental Coordinate Values ccceecceceeececeeeeeeeeeceeeeceeeecaaeeeeaaeeeeeeeseaeeesaaeeseaaeseneeseaes 3 5 Se EE 3 6 PMAC NC for Windows Turning Center G amp M Code Library
127. e 39 G65 Address Code Missing 22 euEEeEEEEE EENS 39 2 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual G65 Nesting Level Exceeded sipiris EENEG Ee 39 H Input Not Allowed d e siaii R E EE dE ege 39 M Input Not Allowed 5 csscsnsssscstesecsosstssnssedesecpcoscescasosaseessssnsocstesnceastanescedecensacesbtentebacncousuapassenssbaconees 39 ING BCC E 40 No Tool BE EE 40 Path Obstractedi noe ege RER ee eee eee ies 40 Probe EE 40 geil EE 40 Runtime en E 40 S Input Not Zcllemwed ode NEE ENEE Ed SEENEN 40 ei EB ELSE 40 siele ME 40 bont Massing icc etcccecni aceanrecesetociags bees EEE estan EEEE REEE OEN EE a EEEN SEEE EREE EAEE eae EREE SEE EES NE 40 T Input Not Allowed 2 ci ennenen E RE R E RE E R ER R 40 RM Input Mixed arre e a E E S 41 MEG OM OME OP RIND EE 41 Kee 41 XY Input RE sic ce83 c 2e5 ki ences e chave nce eeadncvs cba RE RA E E E E E EE Fades ease uee 41 XY ptt E EE 41 XYZ Input Eeer eer eeben 41 XYZ Input Mixed BEE 41 Y Inp t Missing senn SCHERER EE Ee Ee 41 avo E ET 41 ee 41 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual PMAC NC PROBING APPENDIX This appendix outlines in detail the necessary steps to implement RENISHAW or MARPOSS probing on the PMAC NC It assumes that you have a working CNC installation where you can communicate with PMAC via the PEWIN executive 4 Appendix III Touch Probing for PMAC NC PMAC NC Technical Docu
128. e move is specified by move time F word is in time units of seconds and is derived from the Rate x Time Distance equation applied to the specific block move AXin Fipm x 60 AT sec Example Assume X is at zero Specify the following as Inverse Time G01X1F100 a Solve for move time Fipm 100 AXin 1 AT sec 1 100 x 60 6sec b Recode the block G01G93X1F0 6 SYNTAX G93F G94 Endface Turning Cycle Endface Turning canned cycle for straight and taper R gt 0 cuts Incre mental values are from the tool point at start and mixed incremental and absolute values are valid for this cycle X is the final radial depth of the cut Z is the final length of the cut U is the incremental distance to final radial depth of the cut W is the incremental distance to final length of cut R is the taper height The diagram assumes radius programming val ues Since data values of X U Z W and R during canned cycle are modal if X U Z W or R is not newly commanded the previously specified data is effective Thus when the Z axis movement amount does not vary as in the example below a canned cycle can be repeated only by specifying the movement commands for the X axis However these data are cleared if a one shot G code expect for G04 dwell or a G code in the group 01 except for G90 G92 G94 is commanded 1 rapid SYNTAX G94X_ U_ Z W_ R_F NC 32 Bit for Lathe Application 3 49 PMAC NC Technical Docu
129. e ci isczictycns tess ancdecvecsdasieey eadcatissdasds a a a e A EE 3 22 G36 Tool Geometry Compensation cccceccceeeeeeeeeeeeeeeeceeeeeeaeeeeaaeseeeeeseaeessaeeseneeeeaees 3 23 G37 Tool Wear Compensation ter ttt ttn ustn nssr nstnnsttnsnnsnnssnnnsnnn nna 3 23 G40 G41 G42 Nose Radius Compensation sssseesseeseesse esee nssn nesr nsrnsnnssrnssrnssrnnsrnsnnne 3 23 Compensation Requirements cccccccesceceeeeeceeeeeesaeeeeneeceeeeesaaeseeaaeseeeeseaeeseaeeeaaeenenees 3 25 How PMAC Introduces Compensation 0 c ccccscecesceceeeeeseeeeeeaeeeeaeeseeeescaeeesnaeeeeneeeeaees 3 25 Speed of Compensated Moves nntu nsttnsstnsnnssrnssnnssenn nnns 3 26 Treatment of Inside Comers nenntu nnennnnn nnn na nna 3 26 iii PMAC NC Technical Documentation Manual Treatment of Outside Corners ssssesssessessesssnssesstestetstiestnettnnttnnetnntnnennnennnsennsen nenn 3 26 G50 Work Zero Set amp Max Spindle Speed ccccecececeeceeceeeeeeeeeeeeseeeeeseeeeseaeeseeeeeeeees 3 37 G52 Local Coordinate System Set AAA 3 38 G53 Machine Coordinate Selection ccccceecceceeeeeeeeeceeeeeeeeeeeaeeesaaeseneeeseaeesseeesaeseenees 3 39 G54 59 Work Coordinate System 1 6 Gelecton eer rsnssrrssrrssrnssrrssens 3 39 G61 Exact Stop Mode cece Akku 3 40 G62 G63 Diameter X Axis Radius X Avis 3 40 G64 ei Drudlnte HE 3 41 G65 MACRO Instruct E 3 41 G70 76 Canned ee TEE 3 41 G70 Canned ee 3 42 G71 Multi Turning Canned Cycle 3 42
130. e following information from left to right top to bottom e Single Block highlighted if active Block Delete highlighted if active Optional Stop highlighted if active e Currently active G Codes Machine Run or Stop Status Machine In Position Status e BUF OPN rotary buffer opened should always be displayed while in either MDI or Auto mode RS274 Type of G Code Being Executed DPR BIN dual port RAM to binary rotary buffer communica tions 13 51 Example of line pointer number G Code line number in binary rotary buffer Machine Function Buttons Area Fl F2 E3 F4 F5 F6 eg F8 F9 F10 Fill ab Pree oe es ios seme ove vem e we oes Purpose The Machine Function Buttons Area at the bottom of the PMAC NC32 for Windows display screen is where all of the machine functions and display screens are accessed The Machine Function Buttons Area displayed above is the Home Row for all machine functions and activities Each function and purpose is listed below 2 34 Installation and Setup PMAC NC Technical Documentation Manual Installation and Setup Fl Sub Menu Toggle Button F2 POSITION Display Button Machine Operator Commanded Dis tance To Go amp Overall Position Displays are accessed from this button F3 PROGRAM Display Button G Code Check amp G Code Text Screens are accessed from this button F4 OFFSET Display Button Used to set G54 G59 work coordi
131. e position a point referenced to program zero or a relative move signed incremental distance from the previous point This is specified with axis move or position words the axis address letter followed by a numeric literal N100 X5 2Y0Z 001 length units in or mm Feed Specification Movement of the table at a specified speed for cutting a workpiece is called the feedrate Feedrates can be specified similarly with the feed word N100 F150 0 length time units in min or mm min Length units are within program control see the G code definitions in the next section The machine builder sets time units Feedrate in min mm min F150 Tool Feedrate Example Cutting Speed Specification The relative rotational speed of the tool with respect to the workpiece during a cut is called the spindle speed As for the CNC the spindle speed can be specified in rpm units using the S address letter followed by the value N100 250 rpm units Tool Movement Considerations NC 32 Bit for Mill Application At multiple move or block boundaries the CNC applies a coordinated ramp of the vector velocity into and out of the point without stopping The result of this is called move blending Because of blending corners are not cut sharply If sharp corners are required to be cut Exact Stop or PMAC NC Technical Documentation Manual Dwell must be commanded in the block or set modally see G04 G09 G61
132. e specific items are config ured and DNC Distributed Numerical Control settings are maintained General Tools Coord Sys Code Asis Performance Fivedxis Coordinate System Coordinate System Data File a r2 KEE DNC Port DNC Parameters Port fi e Minimum Buffered Lines 2000 Baud Rate 3600 D Maximum line lenath 256 Data Bits P DI DNC Flow Control Stop Bits 2 DI Flow Software Parity None DI DTR Disabled ell Disabled Save as Reg File Load Reg File Help Installation and Setup 2 15 PMAC NC Technical Documentation Manual Select the coordinate system you are addressing If you have set one co ordinate system in the General Settings tab then you will be able to se lect only coordinate system one Coordinate System Data File Enter the file path here where coordinate system data settings are to be stored If the Motion Exe applet is unable to find the file it will ask if you would like it created You can also use the browse button to search for the desired file DNC Port amp Flow Control Settings The DNC port settings allow transfer of NC programs from another computer via the host PC s serial port Please see the PMAC NC Inte grator s Manual for further information on how to use the DNC feature The DNC Port and DNC Flow Control settings must match the serial port configuration of the device from which the transfer is to occu
133. ecution of the block when block delete is on Must be the first character in the block NC 32 Bit for Lathe Application G Codes PMAC NC Technical Documentation Manual EXAMPLE G90G80G49G40G20G617G56 T4M6 M3S3000 G00 Rapid Traverse Positioning Used to position the tool from the current programmed point to the next programmed point at maximum traverse rate for all axes G00 is group 01 modal It is canceled by other group 01 functions The rapid move is not axis coodinated Each axis will have different endpoint velocity ramps Each axis may also have different maximum traverse rates The axis with the longest move time move distance axis velocity will finish last and provide the final in position for end of block registration Rapid moves are never blended with adjacent blocks The maximum traverse rate for each axis motor is set by the maxRapid parameter in the ma chine type enc file The CNC profiling uses these values to program the maximum jog motor I parameters in the PMAC PC 1x22 Ix16 Ix50 motion card Consult the control package hardware documentation or the PMAC User Software reference manuals for further information SYNTAX G00X_ Z __ EXAMPLE CODE N005 G49 G54 G20 G90 G40 G80 NO10 S2500 M03 N015 G55 N020 G20 G90 GO XO Zo inch abs rapid to work piece x y zero psn G01 Linear Interpolation NC 32 Bit for Lathe Application Linearly interpolates the position of the tool from the current point to the p
134. ed through an enumeration process in the hierarchical structure of the registry When new devices are installed the system checks the existing configuration in the Registry to determine the hardware resources for example IRQs I O addresses DMA channels and so on that are not being used so the new device can be properly configured without conflicting with a device already installed in the system Operating PMAC NC for Windows 2 28 The following describes the operational methodology and operator screens available from Delta Tau s PMAC NC32 for Windows CNC graphical user interface GUI software program The PMAC NC32 for Windows program allows CNC operators to quickly and easily load and execute RS 274 type G code programs e define work coordinate systems G54 G59 establish tool length offsets and monitor program execution and machine position from easy to access and uncomplicated operator screens Installation and Setup PMAC NC Technical Documentation Manual The PMAC NC32 for Windows GUI program is designed to be displayed on any SVGA Super Video Graphics Array monitor at 800 x 600 resolution The PMAC NC32 for Windows program emulates the operational meth odology of today s most popular CNC controller systems and uses screen background colors judicially to aid the machine operator to im mediately identify which screen is currently active The operator screens in the PMAC NC32 for Window
135. ee S ve 4 17 G26 Spindle Detect EE 4 17 G27 Reference Point Return Check 4 17 G28 Return to Reference Point 4 18 G29 Return from Reference Point 4 18 G30 Return to Reference Point 2nd 2 4 18 G31 Move Until Trigger 4 19 G40 G41 G42 Cutter Compensation eeceeececcteceeeteeeeeeeceeeeeeeaeeeeaaeseneeeseaeescaeeesaeeeenees 4 19 Compensation Requirements cccccccescecseceeceeeeeeaaeeeeneeceaeeesaaeeeeaaeseeeeseaeeeeaaseenaesnenees 4 21 How PMAC Introduces Compensation cccccecesceceeeeeseneeeeaeeeeaeeseeeeeseaeeesaeeeeneeenaees 4 21 Speed of Compensated Moves na 4 21 Treatment of Inside Comers cece eeeeaeeeeaeeeeeeeseaeeesaaeeeeaaeseeeeeseaeessaeeseaeeeeaes 4 22 Treatment of Outside Corners sssssssseesiesiesiiesiestitttitttitttinttnnttn ntn nnn nnn nnnn nnn nsn nnna 4 22 G43 G44 G49 Tool Length Compensation and Cancel 4 33 G45 G46 G47 G48 Single Block Tool Offset 4 33 G50 G51 Coordinate Scaling ceccccccceenceceeeeeceeeeaeeeeeeeseeeeseaeeeeaaeseneeescaeeeseeesaeeeenees 4 34 G50 1 G51 1 Coordinate Mirroring riscs anidan aaa a aA 4 34 G52 Local Coordinate System Get 4 35 G53 Machine Coordinate Selection ccccccceccecseeeeeeeeceeeeeceeeeeeeaeeseeeeseaeeseeeesaeeeeneeeeaees 4 36 G54 59 Work Coordinate System 1 6 Gelechon eese resr nesr nssrnssrssrnssrnssre 4 36 PMAC NC Technical Documentation Manual G61 Exact Stop Modes iriccd nedidveesce tikes eerie dedees oped act iebde aaa
136. eeeeeceeeeeceaeecaaeeseaeeseeeeeseaeeseaeeseneeseaees 4 4 COOrdiNnale SYStSMS sisisihan tnea verb cls deene dees Nee li btn 4 5 Machine Coordinates sses netsen eaaa ataa a aaia aaa ia aai 4 5 Contents PMAC NC Technical Documentation Manual Contents Program Coordinates ccccceccececcceeeeeeeeeeeeeeeeecaeeeeaaesaeeceaeeesaaeseeaaeeeaeesgeeeseaeeeeaeseeneeseaes 4 6 Absolute Coordinate Posittons A 4 6 Incremental Coordinate Values ccecececeeececeeeeeeseeceeeeceeeeeseaeeesaaeseeeeeseaeeesaeeeeaeeeneeseaes 4 6 Reference Point eegene ENNEN 4 6 G Code Library enert totes aiiai ni aa in ects ier neuen EE 4 8 EK ee Ee 4 8 CG ODS Sera set cat cess a a a A tape vans aedeess 4 10 GOO Rapid Traverse Positioning eesessesseesseeseeseeeestrtstrtstnustrnntrnstrnssnnstnsstnssnnsrnnsrnnt 4 10 GOT Linear Interpolation cececcceeeceeeeeeeee cece eeceaeeeeaaeeeeeesaeeesaaeedeaaeseaeeeseaeeeeaaeseeneeesaees 4 10 G01 1 Spline Interpolation sc sicccteseccts seed vsceuateendetetessceuelaseabeantenestiadereteaadsnaveeeeeuettaaceees 4 11 G02 Circular Interpolation CW Helical CW 4 11 G03 Circular Interpolation CCW Helical Interpolation CC 4 13 EW Me TEE 4 15 EEN lege ME 4 15 G10 Programmable Data Input 4 15 G10 1 PMAC Data Input By Program 4 16 G17 G18 G19 XY ZX YZ Plane Selection cccceececeeneeceeeeeeeaeeeeeeeseeeeseeeesaeeseeeesaees 4 16 G25 Spindle Detect Off tugerghesgdgd euer gege eaten tae
137. epends on work zero point offset values 4 35 PMAC NC Technical Documentation Manual Work coordinate systems 1 to 6 are established after reference point return or homing after the power is turned on When the power is turned on G54 coordinate system is selected by default SYNTAX G54 59 G61 Exact Stop Mode G61 causes a stop between block moves so that no corner rounding or blending between the moves is done i e sharp corners are cut When G61 is commanded deceleration is applied to the end point of the cutting block and the in position check is performed every block thereafter The G61 is valid until G64 cutting mode or G73 tapping mode is com manded Cutting mode G64 is the startup default SYNTAX G61 CORNER Exact Stop Mode Example G64 Cutting Mode 4 36 When G64 is commanded deceleration at the end point of each block is not performed thereafter and cutting is blended to the next block This command is valid until G61 exact stop mode or G63 tapping mode is commanded However in G64 mode feed rate is decelerated to zero and in position check is performed in the following cases Positioning mode G00 Block with exact stop check G09 Next block is a block without movement command SYNTAX G64 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G65 MACRO Instruction See Appendix I G68 G69 Coordinate System Rotation A programmed shape can be rotate
138. ers specified on the line containing G81 G88 determine where the center of the pattern will reside The canned cycle G81 G88 cannot reside on the same line as the pattern cycle G71 SYNTAX G71 1_J_K_L_ I Radius of arc must be greater than 0 J Angle formed by X axis and vector from center of arc to start point L Number of points in the arc K Angle between points on the arc PROGRAMMING EXAMPLE G83 X_ Y_ Z_R_L G71 I3 JO L8 G80 G70 1 4 39 PMAC NC Technical Documentation Manual G84 X_ Y_ Z_R_L_F_P_ Q G71 I3 JO L8 G80 L 4The number of points on the circle The code excerpt above would first drill a hole at the points in the picture with a peck drill cycle then would tap holes with the tap cycle at the same points G72 Bolt Line Pattern When commanded the tool is located at points distributed equally on a line This G Code must be preceded by a valid canned cycle ie G81 G82 G83 G84 G85 G86 G87 G88 The canned cycle g code must precede G72 so as to establish the method of drilling for the pattern cycle The X_ and Y_ parameters specified on the line containing G81 G88 de termine where the start of the pattern will reside The canned cycle G81 G88 cannot reside on the same line as the pattern cycle G72 SYNTAX G72 1_J_L_ I Distance between drill points must be greater than 0 J Angle formed by X axis and vector of line L Number of points on the line PROGRAMMING EXAMPLE G83 X_
139. esented by the PMAC NC32 for Windows operator screens is divided into six sections and is organized in the following manner beginning from the top of the PMAC NC32 for Windows op erator display screen l 4 X 6 Title Bar With Windows Minimize Maximize amp Program Close Button G Code Program File Name Bar With O Program Number amp N Block Number Display Modal Information Display Area Is Dependent On Which Operator Screen Is Active This is the only display area that changes during operation of the PMAC NC32 for Windows program Feedrate amp Spindle Information Display Area Current Machine Operational Information Display Area Machine Function Buttons Area Listed below are the specific details regarding the features and purposes for each of the six sections that constitute the PMAC NC32 for Windows software program Installation and Setup PMAC NC Technical Documentation Manual Title Bar FA PMAC NC Control BEE Purpose The Title Bar can be used to minimize maximize or close the PMAC NC32 for Windows software program The title bar is also used to provide a customizable and unique name for the particular PMAC NC32 for Windows software program that is running at the time The Title Bar has the following components starting from left to right Windows Close Screen Button Works only when PMAC NC32 for Windows is in Manual mode Program Title Name Can be any text string up
140. ets the PR COMMAND_M upper word is 40 48 or 50 58 and in the case of cutter compensation the DR COMMANID M upper word is 2 or 3 For work offsets there is a special interpretation of the lower 16 bits For the case of G54 the value for the low 16 bits should have a base 20 plus the axis number Where the axis number can be 1 2 3 4 5 6 representing X Y Z A B C respectively For example to modify the G54 X offset the low 16 bits should be 21 to modify G54 Y the low 16 bits should be 22 and to modify the G54 Z value the low 16 bits should be 23 For G55 the base is 40 G56 the base is 60 G57 the base is 80 G58 the base is 100 and for G59 then base is 120 For the extended work offsets G54 1 Pn where n can range from 1 48 the base value is n 1 20 see table 3 Appendix II Application Notes 3 PMAC NC Technical Documentation Manual PR COMMAND M Value for Value for COMMAND site Leen Work OffsetG54 G59_ 8s See Table3 Table 2 4 Appendix II Application Notes PMAC NC Technical Documentation Manual Offset Base Value for Value for Value for Value for Value for Value for Type Bits 15 0 to Bits 15 0 to Bits 15 0 to Bits 15 0 to Bits 15 0 to Bits 15 0 to Set X Axis Set Y Axis SetZ Axis Set A Axis Set B Axis Set C Axis s56 Lon Ier Io Io Iw ee 657 so st 8288S E 120 fig fap fas E N E Garer o i a S a e e ke elen oe e e eee pe ooo o ee ee peoo o e e P48 Table 3 Offset X Center Y Center Z Center XY Rota
141. external boss Omit if a bore is being measured Program Example N9804 TEST PROBE VECTOR STYLUS RADIUS CALIBRATE M19 ORIENT SPINDLE G90 G80 G40 GO G54 X0 YO G43 H1 2 75 G65 P9810 Z 2 F30 G65 P9804 D2 0 G65 P9810 24 25 SELECT TOOL OFFSET Z APPROACH PROTECTED MOVE CALIBRATE STYLUS RADII PROTECTED DEPART See Fes Appendix III Touch Probing for PMAC NC 19 PMAC NC Technical Documentation Manual Table Probe Length Calibration This cycle determines the actual machine location for the Z axis surface of a table probe The calibration is accomplished using a calibration arbor of precise known length To calibrate place the arbor in the spindle and position it directly over and on center of the table probe stylus surface The cycle touches off of the stylus three times When the calibration is complete the stylus surface location is stored in PMAC variable P520 d ZREF d P520 STYLUS G65 P9851 K K Calibration length of reference arbor ZREF Program Example N9851 CALIBRATE ARBOR LENGTH TO TABLE PROBE G90 G80 G40 GO G49 CANCEL TOOL LENGTH OFFSET G54 X0 YO POSITION ABOVE TABLE PROBE G65 P9851 Ke 0 CALIBRATE LENGTH ARBORE IS 6 0 INCHES 20 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Table Probe X Y Calibration This cycle determines the size of the probe stylus using a reference arbor of precise known diameter The reference probe is place into the sp
142. f the linear axis will be F x length of linear axis length of arc SYNTAX G17 G18 G19 GO3X__Y_I JF _ G17 G18 G19 G03X__Y__R__F__ EXAMPLE CODE N4 GO G90 G17 S500 M3 N5 X0 Y1 0156 N6 Z 1 H1 M8 N7 G03 I1 J1 YO X2 F150 4 13 PMAC NC Technical Documentation Manual G04 Dwell G09 Exact Stop When programmed in a block following some motion such as G00 G01 G02 or G03 all axis motion will be stopped for the amount of time speci fied in the F P or X word in seconds Only axis motion is stopped the spindle and machine functions under PLC control are unaffected The nu merical range is from 001 to 99999 999 seconds If no parameter is speci fied then a default value of 0 seconds dwell is executed SYNTAX G04X__ EXAMPLE CODE N4 GO G90 S500 M3 N5 X0 1 0156 N6 Z 1 H1 M8 N7 G04 X10 dwell 10 seconds N8 G04 P0 055 dwell 0 055 seconds This forces a controlled deceleration to a stop with in position registra tion at the end of the block This is used to prevent move blending with the next block i e sharp corners are cut G09 is not modal It is valid for the current block only and is effected by issuing a dwell of zero time see G73 for modal Exact Stop SYNTAX G09 EXAMPLE CODE N030 X1 125 Y2 25 N040 G73 Gl Z 02 F20 exact stop mode linear plunge cutter 20 ipm NO50 G64 G3 X0 5 Y2 0 R0 375 G10 Programmable Data Input 4 14 R_ IP_ represents the X Y Z U V W A B or C offset
143. ference Settings Tab determines how a homing request will be controlled by PMAC NC32 for Windows Note The Home Ref configuration is used to establish how PMAC NC32 for Windows will home an axis On line command is used for a machine which has a home switch associated with the axis PLC is used when the machine does not have a home switch associated with the axis and must use an overtravel switch for homing Motion program is used for homing gantry machine tools that have an axis slaved to a master axis On line command nHM issues a standard on line HM homing command to PMAC for the particular axis Used when the axis has a home switch PLC DPRAM bit sets a bit in DPRAM which can then initiate a homing routine through a user written PLC by using a logical IF statement PMAC NC32 for Windows uses the CS HOME INIT bit for this purpose Example IF ON CS_STATUS4 M CS_ HOME INIT Homing routine SET OFF CS STATUS4 M CS HOME INIT ENDIF This PLC statement looks for the homing initialization bit runs the homing routine and resets the initialization bit once the homing routine is complete Motion program runs a user written motion program homing routine PMAC NC32 for Windows does this by issuing a bnr command to ini 224 Installation and Setup PMAC NC Technical Documentation Manual Date the homing sequence Ch issues a begin statement to PMAC n is the program number and r issue
144. ffset 5 Implementation issues in PLC and Motion Program Code A 7 PMAC NC 32 Parts Counter cesses eege ienn iei er eE e KEE EE Ea EER R EEEN eege 8 Operator Interface msersr eiri neran ireen narar EE EEEE E TEE E EEEE SEEE EEE EEE EEN EEE EEE 8 Parts Ke 8 LN CR D 8 Parts COUN eerste e ege eege E Eeer EA 8 Machine Tool Builder Programming 00 eee eee cee cseeeseeeeeeeeeeeeeeseeesecaecsaecsaecsaecaeecaeesaeseeeeeeeeeeeeerseeeeaees 9 Example M2 M30 code inside the file Mill M A 9 Parts Counter Signal Description csiis eir cseceeeeeeeeeeeeeeeeeeseceseceeeseeeseeaeesaecsaecsaesaaecaeesaeeeseseneeeneesesegs 10 Using PMAC NC with Random Double Arm Tool OChangerg ee ecceeseeseeeeeeeeeeceeecesecenecaecsaecaeeaeeenes 11 The ENEE 11 LOW e EE 11 PLOW RE 12 Gotcha Reese eege eege EAA E E E E E SE E E EEE E ERA 13 Registry Entries fot Pocket Display ic 2 suestcetvseststivden sci lvesoesieusces saevecbovessceuadiassesibursedeatiensssunvestseieversesues 15 PMAC NC Handwheel Cptton erte EES EEN EE E EEEE eel ame Gans 17 J6 Remote Hand wheel Box sicsistesces ceiscscactcnevenbiditeonsset cdesdedecssaceseebuns geuvonsdehentesndeserasntonssasdoonstehesbeaabidsaeos 17 2 Appendix II Application Notes PMAC NC Technical Documentation Manual Modifying Work and Tool Offsets from PMAC PMAC NC contains bits in DPRAM as well as words that allow changing the tool and work offset database within PMAC NC In addition resides a floating point location
145. fies the relief amount of the tool at the cutting bottom The sign of this cutting relief is always plus However if address Z W and Q are omitted the relief direction can be specified by the desired sign Feed rate uses F SYNTAX G75R G75X_ U_ Z_ W_ P_Q RF G76 Multi Repetitive Threading Canned Cycle NC 32 Bit for Lathe Application In the G76 setup block the P parameter takes three values in this order finishing repetitive count chamfering amount and angle of tool tip an gle Each value must use two digits for a total of six digits The finishing repetitive count is 01 to 99 The chamfering amount is expressed in terms of the thread lead F parameter and can be set from 00 to 99 using 0 1 increments of lead The tool tip angle has six legal values 80 60 3 45 PMAC NC Technical Documentation Manual 3 46 55 30 29 and 00 The finishing allowance uses the R parameter Q has the minimum cutting depth When the cutting depth of one cycle be comes smaller than this limit the cutting depth is clamped at this value FIGURE A oA chamfering In the G76 cutting block the taper value is programmed using the R pa rameter The thread height is in P Depth of the first cut is in Q Lead of the thread is F FIGURE B tool point C finishing allowance SYNTAX G76P Q R G76X_ U Z W_ P_Q RFF NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual G90 Cycle A Single
146. file is determined by a registry entry as described in the INTEGRATION section below The output file can also be set in the motion applet under the probing tab The syntax follows DPRNT lt ASCII text gt l lt formatted variable gt Where ASCII text is A Z 0 9 And Formatted variable has the form lt var integer gt lt whole integer gt lt decimal integer gt where var integer is any valid local or global variable number Whole integer is the number of places to reserve for the Appendix I Parametric Programming 23 PMAC NC Technical Documentation Manual Whole part of a floating point number Decimal integer is the number of places to reserve for the Fractional part of a floating point number Examples Given 1 4 13 24 7 9 100 5 9 Then DPRNT A 1 22 X 24 34 AND VARIABLE 100 100 34 Sends out A 4 13 X 7 9000 AND VARIABLE 100 5 9000 Given 9 30 0 24 125 25 1 0 Then DPRNT G1 X 24 44 Y 25 44 F 9 30 Sends out G1 X 0 1250 Y 1 0000 F30 Given 500 100 501 0 Then DPRNT THIS IS PART 501 30 OF 500 30 Sends out THIS IS PART O OF 100 POPEN This prepares or opens the output file or device for output It should be included prior to any DPRNT statement for FANUC compatibility PCLOS This closes any output device opened by POPEN For FANUC compatibility it should be used before terminating a program The proper sequence for POPEN
147. h iv Circular gt Circular CC2 0 Programmed path Tool center path 3 31 PMAC NC Technical Documentation Manual Change of Offset Direction i Linear gt Linear ii Linear gt Circular Tool center path Programmed path Tool center path Programmed path CC3 iii Circular gt Linear iv Circular gt Circular Circle Scroll Tool center path Scroll CC Tool center path Programmed path Programmed path r CCR S Intersection L Linear C Circular P Parabloic 3 320 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Change of Offset Direction v When an intersection is not obtained if offset is normally performed i Linear gt Linear CC Programmed path CC2 Offset vector Tool center path CC Programmed path lt CC2 Tool cent th S ool center pa lt ii Linear gt Circular r CCR S Intersection L Linear C Circular NC 32Bitfor Lathe Application sss 3 PMAC NC Technical Documentation Manual Offset Cancel a When going around an inside corner i Linear gt Linear ii Circular gt Linear CC 3 A a Programmed path n gt Tool center path L Programmed path Tool center path b When going around the outside corner i Linear gt Linear ii Circular gt Linear cco a cc2 AN Programmed path L e Tool center path L s Cc Programmed path Tool center pa
148. h 4 so the tool change PLC could locate tool 4 on the tool changer chain or tool change carosel If you follow the T4M6 command with a T11M6 command VS_TURRET_POT_M variable would be loaded with 1 so the tool change PLC could locate tool 11 on the tool changer chain or tool change carosel Registry Entries for Pocket Display To enable the display and changing of tool pockets you see above requires modifiying the system registry so that the data above is visible Using the program regedit expand the tree list until you are located at the following key name HKEY_CURRENT_USER Software Delta Tau NCUI 32 Tool Offsets At this key The string field toolOfsAxis should be appended to include a P In addition the field toolOfsAxisType should be appended with a 5 for tool a tool pocket See the last figure NOTE THAT PMAC NC Versions 1 21 2 34 DO NOT SUPPORT THE POCKET DISPLAY Appendix II Application Notes 15 PMAC NC Technical Documentation Manual e Registry Editor CC InstallLocationsMRU keyboard layout value not set E Network Ox00000001 1 RemoteAccess RE AcceptExpressions Ox00000001 1 5 Software R ActiveT oolCr 0x000000ff 255 BackGroundClr 0x00c0cO0cO 12632256 FollowOffset ox00000000 0 Arial 0x00000082 130 0x01000000 16777216 0x00808080 8421504 Dom 16776960 0x01000000 16777216 ZRXYP 94005 J Aqueduct aa BasicScript Program Settings H A Borland Classes ES Delta T
149. hange of Offset Direction NC 32 Bit for Mill Application 4 27 PMAC NC Technical Documentation Manual a When going around an inside corner i Linear Linear ii Circular Linear CCS Ges A Programmed path cco Tool center path L S Programmed path Tool center path b When going around the outside corner i Linear Linear ii Circular Linear CC a e fei Programmed path L r Tool center path L Ss C Programmed pathTool center path S Intersection L Linear C Circular Offset Cancel sheet 1 of 2 428 NO32 Bit for Mill Application PMAC NC Technical Documentation Manual c When going around the outside of an acute angle i Linear Linear ii Circular Linear Programmed path Tool center path cce2 L Programmed path Tool center path d When the tool goes around the outside linear at an acute angle less than 1 degree compensation is performed as follows S L Tool center path CC2 Programmed path C00 Shen e S Intersection L Linear C Circular Offset Cancel sheet 2 of 2 NC 32 Bit for Mill Application 4 29 PMAC NC Technical Documentation Manual i Machining an inside corner at a radius smaller than the cutter radius Tool center path cC1 Programmed path The PMAC does not stop overcutting occurs ii Machining a groove smaller than the tool diameter Programmed path
150. hat holes lie on D Bolt hole boss diameter K Absolute K location to touch off for a bore Q Maximum search distance beyond feature surface before alarming R Added to D when determining decent position of probe When R is the feature is a BOSS When the feature is a BORE W Print results to the currently selected output file WI Increment the feature number W2 Increment component number set feature number to 1 Z Absolute Z location to touch off for a boss Program Example N9814 BOLT HOLE MEASURE M19 ORIENT SPINDLE G90 G80 G40 GO G54 X 4 0 Y 2 0 X Y APPROACH G43 H1 2 75 Z APPROACH G65 P9810 Z 75 F30 PROTECTED Z APPROACH G65 P9819 C2 0 D1 0 K 4 A18 0 B5 W1 MEASURE 5 BORES AT 18 DEG G65 P9810 Z 75 F30 Z DEPART Appendix III Touch Probing for PMAC NC 33 PMAC NC Technical Documentation Manual Calculate Feature to Feature Distance This cycle measures the distance between two independently measured features No motion takes place when this cycle is invoked P1 is designated as the first feature and P2 is the second Distance is measure as P2 relative to P1 After P1 is measured with an appropriate cycle the programmer invokes this cycle without any arguments This stores the dimensional data recorded for P1 After the second feature is measured using an appropriate cycle this cycle is invoked again The second invocation must have arguments which indicate what is to be calculated
151. he machine hardware you will be using It will also create the required de fault registry structure Before starting installation make sure the requirements are fulfilled as explained in Section 1 under Hardware Software Requirements for PMAC NC32 for Windows WARNING To ensure an expedient and safe installation the Sys tems Integrator or OEM responsible for the installation and integration of a PMAC NC32 for Windows applica tion must possess at least a basic understanding of elec tronics machine tool technology and the PMAC motion control board If you have any questions about a par ticular aspect of the installation or integration do not attempt the task until you are sure you have a thorough understanding of what you are about to attempt Start Windows on the computer Place disk 1 of the PMAC NC32 for Windows program in the floppy drive Follow the instructions listed below for the appropriate operating environment Windows 95 98 from START select RUN A dialog box appears Type the letter of the drive in which the floppy disk has been loaded followed by a colon and the word setup Oe a Setup Press the Enter key or click on the OK button Follow the setup instructions 2 2 PMAC NC Technical Documentation Manual Automatic Installation The automatic installation program creates a Setup box which loads the Install Shield the automatic installation program Follow the setup instructions When Inst
152. he Background Text Editor Screen is displayed press the F12 key on the PC keyboard or mouse click on the F12 button in the PMAC NC32 for Windows pro gram to access a full complement of text editor features These text editor features include Save File save file with modifications Save As File save modified file with new name Search text amp block search Replace replace old text with new text e Cut cut text from program Copy copy onto file the contents in clipboard Paste paste text from clipboard Undo undo last file modification 2 41 2 42 PMAC NC Technical Documentation Manual Work Coordinate Offset Screen FA PMAC NC Control _ ai x Mill1 nc Repeat 1 of 1 Line 6 of 119 N666068 Work Offsets base 0 0000 x 0 0000 x 0 0000 a G55 G56 0 0000 0 0000 0 0000 X 0 0000 X 0 0000 X 0 0000 Wa Wa 1 mg Y 0 0000 Y 0 0000 Y 0 0000 z 0 0000 z 0 0000 Z 0 0000 G57 G58 G59 0 0000 0 0000 WIT x 0 0000 X 0 0000 X 0 0000 0 0000 0 0000 ANIM Y 0 0000 Y 0 0000 Y 0 0000 0 0000 0 0000 iddi 2 0 0000 Z 0 0000 Z 0 0000 Feedrate gt F1000 6 ACT 0 0 FPH F0 100 0 RO 106 6 Spindle gt OFF Max 1900 oer CSS 0FF OUR 160 6 STOP BLK DEL OPT STOP 690 G54 G17 G94 G97 G4O G20 G49 IPOS BUF OPN RS274 DPR BIN PURPOSE Allows the machine operator to quickly and easily estab lish G54 through G59 machine work coordinate
153. his registry variable is found in the following registry path BASE1 Device0 Nc0 Code Group0 BlockLookAheadDefault is set to three 3 by default This registry variable is in the following registry path BASE1 Device0 NcO S YSTEM This variable controls the PC side look ahead parsing of G code and it is not related Pmac s look ahead When set to 3 it conforms to the traditional FANUC look ahead amount When this variable is set to zero 0 PC side look ahead is wide open That is G code blocks will be parsed ahead in the PC as far as memory permits You can then limit look ahead when required by placing G103 P3 into your G code G103 P3 limits block look ahead to three blocks Alternately you can leave the Default set to 3 and place G103 PO into your G code The DPRNT output file is specified in the following location BASE1 DeviceO NcO Probing ReportFile 26 Appendix I Parametric Programming PMAC NC Technical Documentation Manual APPENDIX II Application Notes Appendix II Application Notes PMAC NC Technical Documentation Manual Contents Modifying Work and Tool Offsets from DMAC ee eeeeceeseeeeceeeeeeeeesecaecsaecsaecaaecaeeeeeseeeeeeeeaeeeseeeseenaeenaees 3 Triggering PMAC NC to Read or Write an Offset 3 Telling PMAC NC to What Offset to Read or Write 0 eee ee ceeceseceecsceesecesecaeecaeeeneseaeeeeeeeeeeeeeseeeaeeeaees 3 Where PMAC NC returns data from a Read or Write of an Offset 5 Example of Setting a Work O
154. ical Documentation Manual Background Text Editor Screen PMAC NC Editor File Edit Search Options C Program Files Delta Taus NC 2 37 MilI Mill1 nc p123 N05G54G90G80G40G17 N10TIMG N20M351000 N130X0 143270 24920 49 N14040 119370 290520 4791 N1500 0954Y 0 33220 4675 N390 0 0954 0 33220 4675 N4OOM 0 07167 0 373520 4553 MAINZ Ze A1RZN AAPA zi is a a ee ee er ed Ti Find PURPOSE The Background Text Editor Screen provides an easy to use standard ASCII text G code file editor Megabyte size files can be loaded into the PMAC NC32 for Windows Background Text Editor Screen Once a G code file has been loaded into the Background Text Editor Screen program modifications can be made quickly and easily Installation and Setup PMAC NC Technical Documentation Manual Installation and Setup Note Once a G code file has been loaded into the G Code Program Execution Screen that same G code file cannot be loaded into the Background Text Editor Screen An error message will be generated stating that the PMAC NC32 for Windows program will not allow this sequence of operation PMAC NC32 for Windows program forces this constraint so there is no possiblity of modifying or confusing the currently loaded file in the G code program execution screen OPERATION Press the F3 key on the PC keyboard or mouse click on the PRG F3 button in the PMAC NC32 for Windows program to access the Background Text Editor Screen Once t
155. inate systems This coordinate system is called a local coordinate system The G52 specifies the local coordinate system The Local CS X Y is off set from the Work CS XY by the vector A that makes the current tool point in the Local CS equal to the position word in the G52 block G52X100Y100 When a local coordinate system is set the move commands in absolute mode G90 which is subsequently commanded as are the co ordinate values in the local coordinate system The local coordinate system can be changed by specifying the G52 command with the zero point of a now local coordinate system in the work coordinate system To cancel the local coordinate system specify G52X0Y0 SYNTAX G52X__Y_Z EXAMPLE CODE N4 GO G90 S500 M3 N5 G52 X 0157 Y1 0156 Z0 _ CH Tool position Local Coordinate System Example 43400 2 2 2 000 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G53 Machine Coordinate Selection The machine zero point is a standard point on the machine A coordinate system having the zero point at the machine zero point is called the ma chine coordinate system The tool cannot always move to the machine zero point The machine coordinate system is established when the reference point return is first executed after the power is on Once the machine coor dinate system is established it is not changed by reset change of work co ordinate system G92 local coordinate system setting G52 or
156. indle and positioned above the probe stylus approximately on center The cycle touches off two sides of the probe stylus and determines the exact width of the stylus at the tool measure position The width is stored in variable P522 for use when measuring tool diameters STYLUS G65 P9852 S K Z K Table probe stylus diameter average S Calibration arbor diameter Z Incremental distance from start plane to touch off point Optional default distance is 4 inch Program Example N9853 CALIBRATE ARBOR DIAMETER TO TABLE PROBE G90 G80 G40 G49 CANCEL TOOL LENGTH OFFSET G54 X0 YO POSITION ON CENTER OF TOOL TEST POSITION G65 P9852 61 1255 K 500 Z 8 Appendix III Touch Probing for PMAC NC 21 PMAC NC Technical Documentation Manual Safe Axis Movement Protected Positioning This cycle typically utilizes G31 to move to a location It is programmed just like G31 If the path is obstructed then motion is stopped with an alarm whereas G31 will go on to the next block and will not alarm It is used when moving about the work cell with the probe in the spindle Ifthe probe is deflected because an object hits it in an unanticipated manner then all motion will stop G65 P9810 X Y Z F F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block X Y Z Axis destination linearly interpolated at feed F Program Example N9810 PROTECTED POSITIONING MOVE
157. inear move the compensated tool path will be at a diagonal to the pro grammed move path When the change in compensation is introduced over a circular arc move the compensated tool path will be a spiral Speed of Compensated Moves Tool center speed for the compensated path remains the same as that programmed by the F parameter On an arc move this means that the tool edge speed the part of the tool in contact with the part will be dif ferent from that programmed by the fraction RB ue Treatment of Inside Corners Inside corners are still subject to blending The longer the acceleration time the larger the rounding of the corner The corner rounding starts and ends a distance F TA 2 from the compensated but unblended cor ner The greater the portion of the blending is S curve the squarer the corner will be When coming to a full stop at an inside corner PMAC will stop at the compensated but unblended corner Treatment of Outside Corners 3 26 For outside corners PMAC introduces an arc move to cover the addi tional distance around the corner The starting and ending points for the arc are points offset from the programmed corner point perpendicular to the path on each side at the corner point by an amount equal to the tool nose compensation The arc has its center at the programmed corner point Any outside corner with a change in angle less than 1 degree does not introduce an arc it simply blends the offset corner using
158. ing a non zero compo nent in the compensation plane G17 18 19 on or immediately after the NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual NC 32 Bit for Mill Application G41 or G42 block The compensation adjustment will be vectored with this move The programmer must consider this effect when moving out of the current plane as in depth changes in pocket milling Execute a move whose vector component in the compensation plane parallel to the last in plane compen sation move but of opposite direction is interpolated with the intended out of plane axis move compensated Lom tool path program path Cutter Radius Compensation Example When deactivating cutter compensation G40 care must be taken in se lecting a clearance move If the move is omitted the control will not can cel cutter radius compensation and resulting axis motion until a block with a non zero move component in the compensation plane is exe cuted DO NOT cancel cutter compensation on any line that is still cut ting the part Cancel of cutter compensation may be a one or two axis move When cutter compensation is active the control applies a virtual cutter of zero diameter The physical or actual diameter of the cutter is stored in the control by the operator on the page that contains the cutter tool lengths and diameters The tool length is addressed by an H word and the tool diameter is addressed by a D word A tool offset
159. ing a protected positioning move Change the programmed path or check the hardware a spurious signal was detected Probe Fail The SKIP signal indicates that the probe never deflected and it should have The surface being probed was not encountered or the probe is not working See the integration manual for testing of the probe Make sure that the probing PLC is running Probe Open The SKIP signal indicates that the probe is deflected and it should not be Make sure that the probe is activated with the proper M code Make sure that the hardware is functioning correctly Make sure that your probe plc is running See the software integration manual for testing of the probe Runtime Error May indicate that the G65 line contains a P address code in which the subroutine indicated by the P code does not exist as a motion program S Input Not Allowed S is not allowed in the G65 probing cycle Refer to the operators manual SH Input Mixed S and H cannot be on the same G65 block Refer to the operators manual ST Input Mixed S and T can not be on the same G65 block Refer to the operators manual T Input Missing A T address code is required on a G65 block T Input Not Allowed T is not allowed in the G65 probing cycle Refer to the operators manual 40 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual TM Input Mixed T and M cannot be on the same G65 block Refer to the operators manual Too
160. ing is S curve the squarer the corner will be When coming to a full stop at an inside corner PMAC will stop at the compensated but unblended corner Treatment of Outside Corners NC 32 Bit for Mill Application For outside corners PMAC introduces an arc move to cover the additional distance around the corner The starting and ending points for the arc are points offset from the programmed corner point perpendicular to the path on each side at the corner point by an amount equal to the cutter radius compensation The arc has its center at the programmed corner point Any outside corner with a change in angle less than 1 degree does not in troduce an arc it simply blends the offset corner using TA and TS When coming to a full stop at an outside corner e g Step Quit or DWELL at the corner PMAC includeS the added arc move around the outside of the corner before stopping SYNTAX G41 G42X_Y_F_D__ G40X__Y__F__ 4 21 PMAC NC Technical Documentation Manual a When going around an inside corner i Linear Linear ii Linear Circular a Programmed path r Offset amount CcC2 L Tool center path Tool center path Programmed path b When going around the outside corner i Linear Linear ii Linear Circular cc2 Programmed path C s L Tool center path Tool center path Programmed path S Intersection L Linear C Circular Offset Start up Sheet 1 of 2 42 NO32 Bit for
161. int you are ready to test the probing hardware Before any probe cycles can be run You must insure that the SKIP signal is being received by PMAC and that PMACs responding to the skip signal You will first need to verify that the spindle probe and the table probe generates a proper signal when triggered This can best be done in PEWIN through the executive Then you must insure that servos stop when a trigger occurs This is best done through the NC interface using G31 for testing Use the following procedure to test for proper operation of the probe Testing for a SKIP signal I o y A UI A W N 10 12 Enter PMAC NC Home all axes Select the spindle probe by executing M62 from MDI Enable the spindle probe by executing M51 from MDI Exit the NC interface and PEWIN the executive Inspect M5 either via a watch window or by typing M5 Deflect the spindle probe with your finger Inspect M5 or type M5 again You should be able to see the value of M5 changing as you toggle the probe If you do not check your wiring and the battery in the probe The probe interface should not be in an error condition The interface should be set as a normally open circuit Check the dip switches Check the voltage levels to the interface units Use the same procedure to insure that the table probe is working If both a spindle and table probe are connected to the same interface unit it is IMPORTANT to insure that both are functioning p
162. istance beyond feature surface before alarming S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 X Y Expected work coordinate location of external corner Program Example N9816 ZERO ON NE EXTERNAL CORNER M19 ORIENT SPINDLE G90 G80 G40 GO G54 X 2 Y 2 X Y APPROACH G43 H1 2 75 Z APPROACH G65 P9810 Z 5 F50 PROTECTED APPROACH G65 P9816 XO YO I 5 J 5 S1 W1 REPORT NE CORNER G65 P9810 Z 75 F50 PROTECTED DEPART Appendix III Touch Probing for PMAC NC 27 PMAC NC Technical Documentation Manual Table Probe Tool Length Setting This probing cycle determines the length of a tool as referenced from machine zero The cycle can be used to automatically set tool length offsets or to detect a broken tool The tool must be positioned on center and just above the probe stylus prior to invoking the cycle The table probe must first be calibrated STYLUS G65 P9851 T Q S Z Q Maximum search distance beyond feature surface before alarming S Tool diameter for tools required to rotate shell mills Positive for right handed tools Negative for left handed tools T Tool offset number to update with length Z Incremental depth for measurement from the start position Default is
163. it 25400 Counts Unit precision to PMAC D Dec Ples You must specify how position information will be displayed in the PMAC NC32 for Windows user interface The Display Formats section contains entries for inch metric and degree display formats Two digits separated by a decimal point represent the display format The first digit is the width of the display in number of digits Always set this to 9 The second digit is the number of digits after the decimal point E g 9 4 would display 15 5500 The Unit precision to PMAC setting controls the precision with which PMAC will handle all numeric calculations In general this value should be set to two decimal places higher than will be displayed in the user in terface E g If the Display formats is set to 9 4 then Unit precision to PMAC should be set to 9 6 Axis Rates Limits Installation and Setup The Rates Limits Settings tab includes parameters for setting motor maximum speed error limits and inposition bandwidth You determine the units in the Axis General Settings Tab Maximum rapid rate determines the maximum speed for an axis during rapid mode programmed moves PMAC s Ix16 is set by this parameter Warning Setting the Warning Following or Fatal Following Error to zero will disable these features allowing dangerous conditions to exist Never set these values to zero for an operational machine Warning follow error limit sets the warning following er
164. l Out of Range The tool diameter is larger than the diameter specified in variable 121 Use a smaller cutter or increase the value of variable 121 X Input Missing An X address code is required on a G65 block XY Input Missing An X or Y address code is required on a G65 block XY Input Mixed X and Y can not be on the same G65 block Refer to the operators manual XYZ Input Missing A X Y or Z address code is required on a G65 block XYZ Input Mixed X Y and Z can not be on the same G65 block Refer to the operators manual Y Input Missing A Y address code is required on a G65 block Z Input Missing A Z address code is required on a G65 block ZK Input Mixed Z and K cannot be on the same G65 block Refer to the operators manual Appendix III Touch Probing for PMAC NC 41 42 PMAC NC Technical Documentation Manual Appendix III Touch Probing for PMAC NC
165. lane Selection G19 YZ Plane Selection G20 Inch Mode G21 Metric Mode G25 Spindle Speed Detect Off G26 Spindle Speed Detect On Reference Point Return Check Return To Reference Point Return From Reference Point 2 Reference Point Return G32 Thread Cutting Tool Nose Radius Compensation Cancel Tool Nose Radius Compensation Left Tool Nose Radius Compensation Right G50 Coordinate System Setting amp Maximum Spindle Speed G50 1 Coordinate System Setting Cancel G52 Local Coordinate System Setting G53 Machine Coordinate System Setting Work Coordinate System 1 Work Coordinate System 2 Work Coordinate System 3 Work Coordinate System 4 Work Coordinate System 5 Work Coordinate System 6 NC32BitforLathe Application e A7 PMAC NC Technical Documentation Manual G61 Exact Stop Mode G62 Diameter Mode G63 Radius Mode G64 Cutting Mode Multi Finishing Cycle Multi Turning Cycle Multi Facing Cycle Pattern Repeat Cycle End Face Peck Drilling Groove Cutting Multi Repetitive Threading G90 Outer Diameter Internal Diameter Cutting Cycle G90 1 Absolute Programming G91 1 Incremental Programming G92 Thread Cutting Cycle G93 Inverse Time Feed G94 End Face Turning Cycle G96 Constant Surface Speed Control On G97 Constant Surface Speed Control Off G98 Feed Per Minute G99 Feed Per Revolution M Code Function Moo Program Stop M01 Optional Stop M02 Program End amp Rewind M03 Spindle CW M04 Spindle CCW
166. lation hypothetical e g G07 X0 makes X axis hypothetical for subsequent use in G03 02 with Y and Z axes SYNTAX G07 X0 Y0 Z0 EXAMPLE CODE N4 G18 N5 G07 XO N7 G03 I1 J1 ZO X2 F150 Inserts a dwell at the end of the block forcing a controlled deceleration to a stop in position registration so that moves in the next block do not blend with the current block i e sharp corners are cut G09 is not mo dal It is valid for the current block only see G61 for modal Exact Stop SYNTAX G09 EXAMPLE CODE N030 X1 125 22 25 N040 G61 G1 Z 02 F20 exact stop mode linear plunge cutter 20 ipm N050 G64 G3 X0 5 Z2 0 R0 375 3 19 PMAC NC Technical Documentation Manual G10 1 PMAC Data Input by Program Allows configuration of PMAC I variables from NC program Caution should be observed incorrect setting of these parameters can disable or damage the machine SYNTAX G10 1 Ixxx EXAMPLE G10 1 125 12C004 G17 G18 G19 XY ZX YZ Plane Selection When cutting motion is for X Y and circular contouring geometry with no motion in Z the G17 plane must be in effect The G17 plane is a power on condition for all controls so normally is not programmed When cutting motion Is for Z and X circular contouring geometry with no motion in Y the G18 plane must be in effect When cutting motion is for Y and Z circular contouring geometry with no motion in X the G19 plane must be in effect G18 PLANE G19 PLANE SYNTAX G17 G18 G19
167. le Help The text string entered here will be displayed in the title bar of the PMAC NC32 for Windows application and can be up to 63 characters long Select one of two possible machine type settings Mill or Lathe These settings primarily affect the parsing of G code and how some commands are interpreted Example T2M6 for a milling machine as opposed to T0202 for a lathe Backing Up The NC Configuration Most NC values are stored in the Windows registry database The ex ceptions are tool values coordinate system values and event logging text The Save as Reg File button on the PMAC NC general configuration tab allows you to select a file for storing the current NC configuration Restoring The NC Configuration 2 10 The Load Reg File button on the PMAC NC general configuration tab allows you to restore a PMAC NC configuration from a selected file Installation and Setup PMAC NC Technical Documentation Manual Number Of Coordinate Systems Each PMAC NC32 for Windows system can have up to two coordinate systems Two coordinate systems provide two program buffers for a sin gle machine type Example a dual turret lathe The buffers share the same G code interpreter and use semaphores to protect against tool collisions between the separate coordinate systems Limits And Rates Installation and Setup Limits Rates Settings Tab Limits Rates Languages Errors Events Probing File Managemen
168. le Ee 22 Prote ted We DE 22 Measurements 225 e e n as E casts EO Ean ENERE EAEEREN AEE A EENEN E EEEREN SE PENER EIERS 23 Surface Measure of X Y or Z Planes ccccccccccsccccessceceesssceceesseeecessceeeseeecsesaeeecseseecsesssecseseeeceeesaees 23 Web Trough Measurement srren EE ER esi eae eee 24 Bore Boss Measurement ia agin aes 25 Internal Commer WG cation ix i ciecesesixsscteevaeeescebvccevia eege dee ENO RETE TREE r senate 26 External Corner Location ecccscessncecsecssesicsiccesccbzscescishcoazesccanssiaceecsbasca dactesneeussasbendasiacascobuscegdabacengensitbents 27 Table Probe Tool Length Setting 0 2 ccecccccssecsseeseeeceneecaeecseeeseeeseceeeseeeeseenseeneeesaeeeaesaecaeceeeneeenes 28 Tool Diameter EE 29 Vector Measurement EE 30 Width Deviation of an Angled Web or Pocket 31 Three Point Bore Boss Measurement ersari nearen r EENE EE EE EE EEEE EREE 32 Miscellaneous MaciOS esner E R R tes a naestdare 33 Bolt Pattern Bore Boss Measurement oieri sinees redistest iaie 33 Calculate Feature to Feature Distance 34 X Y Plane Surface Angle Measurement 0 cccccsccsscceccsecesecnecseecseeeseeeeeeseeeeeneseeeeeeneeneeeaeenaeenaes 37 HEH A KE 39 Broken Toolse reseo ei ioe stoi eege ect cei Eed EELER 39 A Input RE 39 PB Depot VATS EE 39 opt Menge ENEE estan EEEE REEN EE a EAEAN EEEE EEEE nga ENEE EE ESENES 39 D Input Missing ninie neurgai RE E R RE E EE R R E 39 Data tl 3 0 139 EEN 39 Format ETOT prieina na E NE Eege ege Eeer Eeg
169. le along Y Z Depth to drill to R Reference plane in Z 4 47 PMAC NC Technical Documentation Manual F Cutting feedrate IPM RPM 1 number of threads per inch L Number of repeats P Dwell in seconds at bottom of Z travel PROGRAMMING EXAMPLES G99 G84X 2Y 1Z 0 5Q1R0 1F15 625P 5 X 3 Y 1 G80 G98 G84X 2Y 1Z 0 5Q1R0 1F15 625P 5 X 3 Y 1 G80 initial point A G98 move spindle cw reference point CT dwell spindle cew dwell Q 2 Point Tapping Cycle Example 448000 2 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G85 Reaming Boring Cycle NC 32 Bit for Mill Application When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position Z is then fed linearly to the R value The return point in Z is the value of Z when the canned cycle is called if G98 mode is active Other wise the return point in Z is the value of R specified on the G85 line if G99 mode is active This cycle occurs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel During this cycle manual feedrate override is ignored SYNTAX G85 X_Y_Z_R_F_L_ Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z 7 AN K Sg Cutting feedrate L Number of
170. ll circles are de fined and machined by programming three pieces of information to the control they are START POINT of the arc END POINT of the arc SG ARC CENTER of the arc The START POINT is defined prior to the G03 line usually by a GO1 lin ear positioning move The END POINT is defined by the X and Y axis coordinates within the G03 line when in the XY PLANE The ARC CENTER is defined by the I J and K values vector incremental from the start point when in the X Y PLANE or the R value within the G03 line The full format for a G03 line must reflect in which plane the arc is being cut This is accomplished by use of a G code to define the plane and the letter addresses I J and K NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual NC 32 Bit for Mill Application G17 XY PLANE Letter address I for X Letter address J for Y G18 XZ PLANE Letter address I for X Letter address K for Z G19 YZ PLANE Letter address J for Y Letter address K for Z The I J and K vector incremental values are signed distances from where the tool starts cutting START POINT the arc to the ARC CENTER For 90 degree corners or fillets the I J and K values can be determined easily The G17 XY PLANE is the default or power on condition Circular Interpolation Example If another axis not specified in the circular interpolation is programmed then helical cutting will be effected The feedrate o
171. m C System Auto Load Load On Demand Disabled Select the desired start method and press OK You will have to reboot for the Boot and System methods Unloading or loading the driver will initiate the other methods Adding a PMAC Device If this is your first time running the Motion Exe applet no PMAC device will be listed in the Motion Control Devices list box To add a PMAC device press the Add button The following dialog box appears Add Motion Device Add Device Number X Cancel i vx L vo This dialog box is prompting you for a device number to associate with the PMAC you are adding Always start with your first PMAC as De vice 0 the second PMAC in your system as Device 1 and so on The applet handles the enumeration for you Installation and Setup 2 5 PMAC NC Technical Documentation Manual Removing a PMAC Device Select the PMAC device in the Motion Control Devices list box Press the Remove button A confirmation dialog box appears C Q E iho Pressing OK completes removal of the device The Configuration Dialog Device Location Pressing the Setup button opens the Configuration dialog box The configuration dialog box Ost eomputer Sp dr SEI Mall boy basea Address Modifier IRM Level i Baudate A HRA Base ele Donea bits iW vector Parity Po P mw This is where you specify how PMAC is connected to your system and the communicatio
172. m the tip of the tool to a surface on the part Tool length compensation lets the control call out the Z axis movements in a program as the tool changes although physical interference problems between the workpiece and the tool must still be overcome by the pro grammer The programmer initializes tool length compensation in each tool s first Z axis approach move to the workpiece This initialization command in cludes a G43 G44 word and an H or T word to invoke the desired tool off set It must also contain a Z axis positioning move Tool length compen sation is modal Once instated it remains in effect until cancelled or changed G49 Cancels tool length compensation that is in effect SYNTAX G43Z__ G44Z___ EXAMPLE CODE NO20 G20 G90 GO X0 YO N025 G43 Z0 25 H1 move to z0 25 with tool offset comp NO30 X1 125 Y2 25 G45 G46 G47 G48 Single Block Tool Offsets 4 32 Single block increase and decrease of stored tool offset It uses the last modal H code G45 Increase offset by stored value G46 Decrease offset by stored value G47 Increase offset by stored value X 2 G48 Decrease offset by stored value X 2 SYNTAX G45 G46 G47 G48 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G50 G51 Coordinate Scaling G51 is coordinate scaling X_Y_ Z_ is the center of scaling These pa rameters are meaningful only in absolute mode TI IK is the scaling magnification of the X Y and Z axis respectively
173. m up to 32 kilobytes in size After entering the G code program into the MDI editor press Write To Buffer to send the programmed G code lines into the G Code Program Execution screen PMAC NC32 for Windows Standard Machine Control Functions The PMAC NC32 for Windows program supports the machine control functions listed below These machine control functions can be accessed from either the Operator Control Switch Panel or the Operator Software Control Panel and a PC keyboard Installation and Setup 2 47 2 48 PMAC NC Technical Documentation Manual Cycle Start Feed Hold Axis Select X Y Z A B C U W Single Block Block Delete Optional Stop Feedrate Override 0 to Spindle Override 50 Speed Multiply X1 X10 100 150 to 110 Coolant On Off Auto 100 PPR Manual Spindle Direction Off CW CCW Pulse Generator Mode Select Auto MDI Manual Continuous Incremental Handle Home PMAC NC32 for Windows program standard G Codes support the fol lowing Floating point range and resolution on all position distance and speed displays S Rapid G00 linear G01 with 2D amp 3D circular and helical G02 G03 interpolation e High Speed contouring mode G10 1 amp G11 1 Plane specification for circular interpolation and cutter radius compensation G17 G18 amp G19 Inch Millimeter selection G20 amp G21 Automatic and multi repetitive threading G32 amp G76 Cutter radius compensation
174. mental On some machine tools especially lathes it is desired that the U V amp W axes represent an incremental command of X Y amp Z respectively Note If you actually have U V or W axis motors do not check this box Commands will never reach these motors but will be converted to X Y or Z commands Compensation Correction On PMAC devices that do not have an extended block look ahead fea ture i e all except for PMAC Turbo blocks which do not command motion during G41 or G42 mode moves can cause PMAC NC to tempo rarily remove cutter compensation To avoid this situation enable Compensation Correction Tool Change During Motion Some machines can operate the tool changer without stopping axis mo tion If you wish to have axis motion during tool changes enable the Tool change during motion box Automatic H Codes Some machines do not have a separate code group for tool length com pensation but require that an H code provide the tool number and also turn tool length compensation off and on Normally commanding an HO will turn off the height offset but if you set this value to true an H code Installation and Setup 2 17 Code Groups 2 18 PMAC NC Technical Documentation Manual that is not zero will turn the tool height offset on as though you com manded a G43 The Code Settings tab determines how PMAC NC32 for Windows will parse G codes in the start up code This tab allows you to define which G code
175. mentation Manual G98 G99 Feed Per Min Feed Per Rev The G98 preparatory function code specifies the feed rate in terms of vector per unit time The G99 preparatory function code specifies feed rate in terms of vector feed per spindle revolution The G98 and G99 preparatory functions are modal and remain in effect until replaced by the opposite code The mode is set to G98 by power on data reset and the M30 code SYNTAX G98 G99 G96 G97 Constant Surface Speed CSS Mode In this mode G96 the spindle angular velocity is varied in real time so that its surface speed past the tool tip remains constant Essentially this means that the angular velocity of the spindle is inversely proportional to the radial distance of the tool edge from the spindle center Almost all the functionality of CSS is in the spindle PLC making this function very integrator specific CSS on a mill is normally used to com pensate for mill cutter diameters when cutting for a similar surface fin ish The current spindle PLC provided assumes the X axis as the CSS axis and allows an offset parameter Refer to the Integrators Documen tation for details Cancel with G97 SYNTAX G96 G97 G98 1 G99 1 Canned Cycle Return Point Used in a canned cycle block to determine the return point G98 1 Ini tial point G99 1 clearance plane or reference point See the G80 G89 canned cycles SYNTAX G98 1 G99 1 B50 NC 32 Bit for Lathe Application PMAC NC Technical Do
176. mentation Manual HARDWARE INTEGRATION MANUAL This section explains the differences that must be understood when installing probing on a Delta Tau control It explains and outlines the hookups necessary for the probing interfaces After reading this section the implementers should be able to install a spindle probe or table probe and have it working and ready for use and testing with Delta Tau s Software Differences Between PMAC and PMAC2 PMAC and PMAC2 have different capabilities when it comes to capturing current position data through the internal position capture register This impacts probing because probing makes use of the triggering mechanism available with position capture see the PMAC manual for further information The PMAC has limited inputs available for triggering the position capture latch As a result in the PMAC the home flag must serve double duty as both the input for the probe skip signal and input for the home flag Since these functions are mutually exclusive there is no problem One does not probe while homing nor home while probing The PMAC2 has additional inputs for triggering the position capture register The PMAC2 uses the USERn flag for probe skip signal input It is easier to wire and implement probing on the PMAC2 However there is no difference in the functionality between PMAC and PMAC2 when the probing interfaces are fully integrated The following paragraphs outline the wiring for a PMAC and a PMAC2 Iden
177. mentation Manual SYNTAX G88 X_ Y_Z_R_F_P_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z Cutting feedrate oe ae L Number of repeats PROGRAMMING EXAMPLES G99 G88X 3 Y 2 752Z 0 005P 5RO 1F25 0 X 2 75 SS G80 G98 G88X 3 Y 2 752Z 0 005P 5RO 1F25 0 2 2 75 X 2 5 G80 G98 return initial point reference point O G99 return 2 point Finishing Cut Free Cutting Example G90 G91 Absolute Incremental Mode Dwell in seconds at the bottom of the cut Program commands for movement of the axes may be programmed either in incremental movement commands or in absolute coordinates The ab solute mode is selected automatically when the power is turned on or the 4 54 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual control is reset In the absolute mode G90 all axis word dimensions are referenced from a single program zero point The algebraic signs or of absolute coordinates denote the position of the axis relative to program Zero In the incremental mode G91 the axis word dimensions are referenced from the current position The input dimensions are the distance to be moved The algebraic sign or specifies the direction of travel SYNTAX G90 Absolute mode G91 Incremental mode EXAMPLE CODE N020 G20 G90 GO X0 YO inch abs rapid to work piece x y zero psn NO25 G43 20 25 H1 NO30 X1 125 Y2
178. must reflect in which plane the arc is being cut This is accomplished by use of a G code to define the interpola tion plane and the letter addresses I J and K S G17 XY PLANE Letter address I for X Letter address J for Y S G18 XZ PLANE Letter address I for X Letter address K for Z G19 YZ PLANE Letter address J for Y Letter address K for Z The I J and K vector incremental values are signed distances from where the tool starts cutting START POINT the arc to the ARC CENTER For 90 degree corners or fillets the I J and K values can be determined easily The G17 XY PLANE is the default or power on condition If another axis not specified in the circular interpolation is programmed then helical cutting will be effected The feedrate of the linear axis will be F x length of linear axis length of arc SYNTAX G17 G18 G19 GO2X_Y_Z I J K F G17 G18 G19 G02X_Y_Z_R_ F EXAMPLE CODE N040 G73 Gl Z 02 F20 NO50 G64 G2 X0 5 Y2 0 RO 375 cut mode cw circle NO60 Gl Y1 5625 4 11 PMAC NC Technical Documentation Manual G18 PLANE G19 PLANE Circular Interpolation Example G03 Circular Interpolation CCW Helical Interpolation CCW 4 12 Circular contouring control uses the axis information contained in a block to move the tool ina COUNTERCLOCKWISE arc of a circle up to 360 degrees The velocity at which the tool is moved is controlled by the feedrate word and is vector tangential F f fy A
179. n start up the tool will move a vector distance equal to the offset value the initial compensation in plane move The tool must be position so that as the compensation engages the tool begins cutting normal to the surface Also the center of the cutter must be at least the cutter radius away from the first surface to be machined Tool nose compensation is modal Once tool nose compensation is correctly engaged it will remain in ef fect until it is canceled 1 Make any zero component compensation plane axis moves be fore tool nose compensation 2 Make an axis es startup move having a non zero component in the compensation plane G17 18 19 on or immediately after the G41 or G42 block The compensation adjustment will be vectored with this move NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Note Any move containing a zero component in the compensation plane will carry an implicit compensation cancel and the re sulting axis adjustment The programmer must consider this effect when moving out of the cur rent plane as in depth changes in pocket milling Execute a move whose vector component in the compensation plane parallel to the last in plane compensation move but of opposite direction is interpolated with the intended out of plane axis move When deactivating tool nose compensation G40 again care must be taken in selecting a clearance move If the move is omitted the control will not can
180. nates F5 TOOLS Display Button Used to set tool length offsets amp cutter compensations F6 SETTING Display Button Used to access machine On Time G Code Program Execution Timer Parts Counter amp Parts Total F7 DIAGNOSTICS Display Button When accessed displays current status of machine real world I O Axis Homing Status Spindle Status amp Tool Changer Status F8 REWIND Display Button When machine is in Manual mode pressing this button forces the currently active G Code program to Rewind to the beginning of the program F9 EDITOR Display Button Starts the buffer editor F10 MESSAGE Display Button Displays all error messages with time date stamp F11 OPERATOR Display Button Allows operator to use this screen amp PC keyboard to control all machine functions amp operations Access to this screen can be turned off if desired by settings in the Windows registry Or DRY RUN Display Button When operator screen is turned off by settings in the Windows registry this changes the rapid feedrate override to the Programmed Feedrate Override Otherwise this function is found on the Operators page F12 Functions Toggle Button 2 35 PMAC NC Technical Documentation Manual PMAC NC32 for Windows Operator Screens When the PMAC NC32 for Windows program first begins the following screen appears This is the Program Check Software Control Panel Screen a
181. nd MDI programs in PMAC NC32 for Windows Each coordinate system can have a binary rotary buffer in DPRAM The buffer should be sized value in hex bytes to allow enough room for the distance ahead of the execution point you wish to load Since most ap plications utilizing rotary buffers will not strain PMAC s memory re quirements it is a good idea to oversize the buffer by a good margin Installation and Setup PMAC NC Technical Documentation Manual Note The default setting is sufficient for almost all PMAC NC32 for Windows programs Consult Delta Tau before changing the default DPRAM Rotary 1 size Note If you are using PMAC NC32 for Windows only two coordinate systems are supported therefore only two DPRAM rotary buffers can be defined Most PMAC NC32 for Windows applications will require only one binary rotary buffer The only exception is Dual Turret Lathes The DPRAM Var Start Address defines the address that corresponds to the beginning of the open memory DPRAM buffer It also corresponds to the end of the last DPRAM binary rotary buffer consequently the lo cation of this address determines the relative size of each buffer between D240 and DPRAM Var Start Address This address information is stored in the Windows registry database The memory from 0xDDE0 through OxDFFF is reserved for internal use by PMAC NC32 for Win dows The space from DPRAM Var Start Address through OxDFFF is untouched by the Win
182. nd K G17 XY PLANE Letter address I for X Letter address J for Y G18 XZ PLANE Letter address I for X Letter address K for Z G19 YZ PLANE Letter address J for Y Letter address K for Z The I J and K vector incremental values are signed distances from where the tool starts cutting START POINT the arc to the ARC CENTER For 90 degree corners or fillets the I J and K values can be determined easily The G17 XY PLANE is the default or power on condition If another axis not specified in the circular interpolation is programmed then helical cutting will be effected the feedrate of the lin ear axis will be HS length of linear axis move length of arc move SYNTAX G17 G18 G19 GO3X Y I J F G17 G18 G19 G03X__Y RF EXAMPLE CODE N4 GO G90 G18 S500 M3 N5 XO Z 1 H1 M8 N7 G03 I1 K1 X2 F150 When programmed in a block following some motion such as G00 G01 G02 or G03 all axis motion will be stopped for the amount of time specified in the X word in seconds Only axis motion is stopped the spindle and machine functions are unaffected The numerical range is from 001 to 99999 999 seconds SYNTAX G04X__ EXAMPLE CODE N4 GO G90 S500 M3 N5 XO N6 Z 1 H1 M8 N7 G04 X10 dwell 10 seconds NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual G07 Hypothetical Axis Interpolation G09 Exact Stop NC 32 Bit for Lathe Application Provides sine interpolation by making one axis of circular interpo
183. ne The move commands between A and B is specified in the block sequence from P to Q In other words the sequence number of the first block for the program of finishing shape uses P and Q for the last block The U parameter specifies the distance and direction of finishing allowance in X direction and W for the Z Any F S or T commands contained in blocks P to Q in the cycle are ig nored Only the F S or T functions in this G72 block are effective Radius specification for circular interpolation is not allowed waa depth of cut escape amount G72 N4 Faci ng finishing allowances SYNTAX GVU R G2P QUWFST NC 32 Bit for Lathe Application e SB PMAC NC Technical Documentation Manual G73 Pattern Repeat Canned Cycle Distance and direction of relief in the X axis and Z axis direction is specified in the G73 setup block as U and W respectively Also in the setup block the number of divisions in the R parameter This value is the same as the repetitive count for rough cutting In the G73 move block P holds the first block of the finishing shape program Q holds the last block of the finishing shape program Distance and direction of finishing allowance in the X and Z direction are speci fied in U and W respectively Any F S and T function contained in the blocks between sequence number P and Q are ignored and the F S and T functions in this G73 block are effective x finishing At allowance allowance
184. ng level until it is later modified System Variables System variables give the NC programmer access to static parameters built into the control Occasionally the programmer needs access to these parameters in order to alter or automate Machine setup A summary of system variables is below Variable 1000 1035 1100 1135 2000 2999 3000 3001 3002 3003 3004 3006 3007 4001 4120 4201 4320 5001 500n 5021 502n 5041 504n 5061 506n 5081 508n 5101 511n 5201 520n 5221 522n 5241 524n 5261 526n 5281 528n 5301 530n 5321 532n 7001 795n Description Discrete Inputs Discrete Outputs Tool Compensation User Alarm with message System Timers Single block and override suppression Programmable Stop with message Mirroring Look ahead time modal information Run time modal information Target work coordinate position of last executed block Tool offset included Commanded machine coordinate position Tool offset not included Commanded work coordinate position Tool offset not included Current work coordinate skip position Tool offset not included Current tool offset applied Current following error Common work coordinates G54 G55 G56 G57 G58 G59 G54 1 P1 P48 extra offsets Appendix I Parametric Programming 11 PMAC NC Technical Documentation Manual The remainder of this section details System variables how to use them and what restrictions exist
185. nge of variables is invalid an alarm is generated The range checking is not necessary in the sense that if you passed an invalid variable the control will automatically alarm In a subroutine like the one below you may wish to limit the range of variables to protect variables reserved for the application Routines 09400 INIT VARIABLES V VALUE TO WRITE TO RANGE OF VARIABLES S VARIABLE NUMBER TO START WRITING TO E VARIABLE TO END WRITING TO WRITE V INTO VARIABLES STARTING WITH S THRU AND INCLUDING VARIABLE E S MUST BE LESS THAN E AND BOTH ARGUMENTS MUST BE SUPPLIED AND VALID V IS ALWAYS USED TO WRITE TO VARIABLES IF 19 EQ 0 GOTO N9410 S NOT PASSED IF 8 EQ 0 GOTO N9410 E NOT PASSED INVALID S ARGUMENT IF 19 GE 1 AND 19LE 33 GOTO 9402 1 33 IS OK IF 19 GE 100 AND 19 LE 199 GOTO 9402 100 199 IS OK IF 19 GE 500 AND 19 LE 599 GOTO 9402 500 599 IS OK GOTO 9420 ERROR N9402 INVALID E ARGUMENT IF 8 GE 1 AND 8LE 33 GOTO 9404 1 33 IS OK IF 8 GE 100 AND 8 LE 199 GOTO 9404 100 199 IS OK IF 8 GE 500 AND 8 LE 599 GOTO 9404 500 599 IS OK GOTO 9420 ERROR N9404 IF 19 GE 8 GOTO N9420 ERROR IF S gt E WHILE 19 LE 8 DOI 19 22 ASSIGN V TO VARIABLES S THRU E 19 19 1 INCREMENT DESTINATION END1 2 Appendix I Parametric Programming PMAC NC Technical Documentation Manual GOTO 9499 SUCCESSFUL RETUR
186. nitial Point in Canned Cycle Return To R Point in Canned Cycle This is used to position the tool from the current programmed point to the next programmed point at maximum traverse rate for all axes G00 is NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual group 01 modal It is canceled by other group 01 functions The rapid move is not axis coordinated Each axis has a different endpoint velocity ramp Each axis may also have a different maximum traverse rate The axis with the longest move time move distance axis velocity will finish last and provide the final in position for end of block registration Rapid moves are never blended with adjacent blocks SYNTAX GOOX__Y__Z__ EXAMPLE CODE N005 G49 G54 G20 G90 G40 G80 NO10 2500 M03 NO15 G55 N020 G20 G90 GO X0 YO inch abs rapid to work piece x y zero psn G01 Linear Interpolation Linearly interpolates the position of the tool from the current point to the programmed point in the G01 block see Figure 1 Segmentation control for all interpolation is controlled by the PMAC I13 parameter The speed of the tool is controlled by the modal feedrate word F and is the vector velocity of the tool path defined by L L Fy F x _ F F nl Lay Lei B Ji tl Linear moves may blend with adjacent interpolative blocks If the G01 block contains a Dwell G04 or an Exact Stop G09 a controlled decel eration to a stop with in position going true will
187. ns settings The configuration you set up here must match the hardware jumper settings on the PMAC itself The PMAC can be configured to use any of three different communica tion methods serial port VME BUS or PC BUS but the PMAC NC for Windows program will run only in PC BUS with the Dual Ported RAM selections set to D4000 Installation and Setup PMAC NC Technical Documentation Manual PC Bus Device Select In PC Bus as the device location This allows three other entries Port Address The port address of the PMAC is required and must match the bus address jumper settings on the PMAC or the bus address dip switch settings on PMAC2 The most common cause of communications problems is incorrect hardware ad dress settings e Interrupt Adr The interrupt address setting is optional If you do not require interrupts set this value to NONE If used the value must match the jumper settings that have been set on the PMAC PMAC NC32 for Windows does not use interrupts for operations e DPRAM Adr Set to D4000 See your Dual Ported RAM manual for details PMAC NC32 for Windows requires Dual Ported RAM and it must be set to D4000 for proper program operation Establishing Communications Once you have made the appropriate settings in the Configuration Dialog Box pressing OK initiates setup of the Windows registry database which is required for communication with the PMAC card When com munications has been esta
188. nter of the calibration ring until the bore surface is found Upon completion of the cycle the X and Y stylus offsets are retained for use in other probing cycles The X axis offset is stored in variable P502 and the Y axis offset is stored in variable P503 G65 P9802 D Z D Actual bore diameter average Z Current work coordinate Z axis measuring position when measuring an external boss Omit if a bore is being measured Program Example N9802 TEST PROBE X Y OFFSET CALIBRATE G90 G80 G40 GO M19 ORIENT SPINDLE G54 X0 YO X Y POSITION ABOVE PLANE G43 H1 2 75 Z POSITION SELECT OFFSET G65 P9810 Z 2 F30 PROTECTED MOVE CLOSER G65 P9802 D2 0 CALIBRATE STYLUS OFFSET G65 P9810 24 25 PROTECTED AWAY Appendix III Touch Probing for PMAC NC 17 PMAC NC Technical Documentation Manual Spindle Probe Ball Radius Calibration This cycle determines the probe stylus radius from stylus center for the X and Y directions A calibration ring should be placed in the work cell where the diameter and approximate center location is known The probe must be positioned inside the bore The cycle moves X and Y axes to determine the two radii Upon completion of the cycle the X and Y stylus radii are retained for later use The X axis radius is stored in variable P500 and the Y axis radius is stored in variable P501 r501 P500 G65 P9803 D Z D Actual bore diameter average Z Current work coordinate
189. number T word addresses both using values stored in the Tools page Normally the tool length and the tool diameter are assigned the same tool offset number Cutter compensation takes the stored value for the diameter and calculates the cutter path offset from that value Because of look ahead care must be taken that programmed moves do not violate the called for compensation 4 19 PMAC NC Technical Documentation Manual Compensation Requirements Plane Radius Direction Several parameters must be specified for the compensation First the plane in which the compensation is to be performed must be set Any plane in xyz space may be specified Executing G17 G18 G19 does this For example G17 by describing a vector parallel to the z axis in the nega tive direction specifies the xy plane with the normal right left sense of the compensation This same command also specifies the plane for circular interpolation The amount of compensation must be set using the d address and data word as in G42x 5d1 The units of the argument are the user units of the x y and z axes Negative and zero values for radius are possible al though not necessarily useful The direction of compensation is determined by the G41 G42 As men tioned above the compensation is turned on by the rs 274 G codes G41 and G42 respectively The compensation is turned off by G code G40 How PMAC Introduces Compensation Any change in compensation is intr
190. number will be associated with each specific G code group Each Code Group will accept a default profile entry PMAC NC supports user defined G codes G60 1 through G69 1 and G70 1 through G79 1 The Gxx 1 format is used in order to avoid con flicts with existing RS 274 default G codes entries These codes pass and accept all RS 274 address parameters The Code Group 20 User Codes accept profile entries of the form user1 1060 through user10 1069 for user defined G codes G60 1 through G69 1 and profile entries of the form user11 1070 through user20 1079 for user defined G codes G70 1 through G79 1 To define a G64 1 configure the applicable code parameters as shown below Please see the PMAC NC Integrator s Manual for information on their use and configuration Example for User G64 1 Settings Code Groups Logical Names Mirror Multiple Canned Cycle 20 User Codes X Axis Diameter 3 S 24 Spindle Speed Detec user xi Group 20 User Codes user Group default value fi 060 user5 fi 064 Installation and Setup PMAC NC Technical Documentation Manual Axis Settings Tab The Axis settings tab is where you will configure information for your machine tools motors and axes The Axis Settings Tab Configure PMAC NC Control 0 Device 0 2 x General Tools Coord Sys Code Axis Performance x Es Motor 1 General Rates Limits Spindle Joggie gt
191. ny motion on an axis The control will command PMAC to the same location If any axis is not receiving its skip signal you may see a dwell after the skip has occurred This indicates a line break Also if you plan to use only one or two axes and you are not wiring an axes capture flag then you will have to modify the G31 code in mill g by removing the unused axes in the move until trigger command _ Y USERI PROBE SKIP SIGNAL Z USER2 Installing a Spindle and Table Probe This section describes what is required for connecting an optical interface to a Delta Tau control After the PMAC side of the SKIP signal input is available the machine side needs to be addressed This is different depending on what signaling method the machine is using weather it be optical or hardwired and who the manufacturer is You should always refer to the probe manufacturers wiring specifications when wiring the probes Here we include sample diagrams for both RENISHAW and MARPOSS probe systems It is convenient if one wiring harness is used to collect power and signal wires entering and leaving the PMAC NC Below is a suggestion for a probe wiring harness using a DB 9 connector DB 9 CONNECTOR PIN ASSIGNMENTS 1 BLACK AGND PMAC analog ground out 2 RED TABLE PROBE SELECT SIGNAL out Signal pins 3 GREEN SKIP SIGNAL in 4 WHITE START ENABLE SIGNAL out 5 NOT USED 6 BLACK Common 24 VOLT out 7 GREEN CHASSIS GROUND out
192. o enable an axis format properties of the axis in the user display and de termine the user units of the axis If an axis is to be utilized by the PMAC NC32 for Windows program the Enabled box must be checked Once the axis is enabled you can decide whether to include the axis in the user display by checking the Display box If the axis will be operating in metric units check the Metric Units box Feedback pulses unit configuration tells PMAC NC32 for Windows how many encoder counts correspond to one user unit i e encoder counts per inch or encoder counts per millimeter This value depends on the mechanical configuration of the machine 1 e leadscrew pitch number of encoder pulses per one motor shaft revolution PMAC s 1900 decode multiplier for the axis and if the axis is going to be en coder counts per inch or encoder counts per millimeter Example for Motor 1 set for inches Encoder on Motor 2500 Lines Rev Ball Screw 10mm Rev PMAC Encoder Decode Variable 1900 3 CW 4x Decode Acts S 2500lines y EE y 25 4mm 95400 SCH line rev 10mm in ut Note If user units are in millimeters remove the 25 4 mm in portion of the equation Installation and Setup PMAC NC Technical Documentation Manual Axis General Settings Tab General Rates Limits Spindle Joggin 4 gt IV Enabled Display formats RI Display Inch ER IT Metric units Metric ER Degrees ER Feed back pulses un
193. o do Provides online Special Diagnostic page setting to check I O S Easy to change ERROR messages 1 2 Overview PMAC NC Technical Documentation Manual Hardware Software Requirements for NC 32 Bit Hardware The minimum hardware required to run NC 32 bit is shown below Pentium 133 or better 32 MB RAM or better e SVGA 15 Monitor with 1 MB Video RAM S Mouse or pointing Device S The basic hardware which is used by NC 32 PAMC 1 1 5 2 or LITE Dual Port RAM card The user can further improve performance by using better PC hardware available in the market Software The minimum software required to run NC 32 bit for windows is listed below Operating System WINDOWS 95 98 WINDOWS NT PEWIN 32 PMAC Executive for WINDOWS 32 bit Delta Tau s PEWIN PMAC Executive for Windows 32 Bit program version 2 2x or later is loaded on the computer and communi cations with the PMAC board AND Dual Port Ram are estab lished If this condition is not satisfied refer to Delta Tau s PEWIN manual for help e PMACPLOT EXE Delta Tau s PMACPLOT application used for plotting different parameters from PMAC S MOTION EXE Delta Tau s MOTION EXE is used to set up the NC 32 application This software uses the Windows registry database which is the standard way of setting the environment for Windows 95 98 or NT S NC Verify PMAC NC32 for Windows also includes NC Verify Lite NC Verify Lite is a tr
194. oduced gradually and linearly over the move immediately following the change The change could be turning compensation on turning compensation off or changing radius All are treated the same as a change in compensation radius When compensa tion is off it is effectively zero radius When the direction of offset is changed left to right or vice versa the endpoint of the move is changed extended or shortened so that the next move will start on the proper side of the corner The path of the move to that point is not changed When the change in compensation is introduced over a linear move the compensated tool path will be at a diagonal to the programmed move path When the change in compensation is introduced over a circular arc move the com pensated tool path will be a spiral Speed of Compensated Moves 4 20 Tool center speed for the compensated path remains the same as that pro grammed by the F parameter On an arc move this means that the tool edge speed the part of the tool in contact with the part will be different from that programmed by the fraction Rtggj Rarc NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual Treatment of Inside Corners Inside corners are still subject to blending The longer the acceleration time the larger the rounding of the corner The corner rounding starts and ends a distance F TA 2 from the compensated but unblended cor ner The greater the portion of the blend
195. ol in a CLOCKWISE arc of a circle up to 360 degrees The velocity at which the tool is moved is controlled by the feedrate word and is vector tangential F Jf t f All circles are defined and machined by programming three pieces of in formation to the control they are START POINT of the arc END POINT of the arc ARC CENTER of the arc G02 using I K The START POINT is defined prior to the G02 line usually by a G01 linear positioning move The END POINT is defined by the X and Y axis coordinates within the G02 line when in the XY PLANE The ARC CENTER is defined by the I J and K values vector incremental from the start point when in the X Y PLANE or the R value within the G02 line The full format for a G02 line must reflect in which plane the arc is being cut This is accomplished by use of a G code to define the plane and the letter addresses I J and K G17 XY PLANE Letter address I for X Letter address J for Y G18 XZ PLANE Letter address I for X Letter address K for Z G19 YZ PLANE Letter address J for Y Letter address K for Z The I J and K vector incremental values are signed distances from where the tool starts cutting START POINT the arc to the ARC CENTER For 90 degree corners or fillets the I J and K values can be NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual determined easily The G17 XY PLANE is the default or power on condition If another axis not specified
196. ool Offset Screen allows quick and easy establish ment of tool length definitions gage block height and cutter compensa tion values OPERATION Press the F5 key on the PC keyboard or mouse click on the TOOLS F5 button in the PMAC NC32 for Windows program to access the Tool Offset Screen Press the F12 key function toggle key Set Z appears on the F2 button Move the tool to the Z set position as defined by the G code programmer then press the Set Z button A dialog box appears asking if the new Z axis position is correct Click on the OK button in the dialog box or pressing the Enter key on the PC keyboard to enter the new axis positions into the appropriate tool length offset field Installation and Setup 2 43 PMAC NC Technical Documentation Manual Settings Screen with Parts Counter amp Parts Total PN PMAC NC Control Mill1 nc Repeat 1 of 1 Line 8 of 119 Settings lel x Machine Life Totals Cycle Totals Execution Rate 8 Days Hr Mn Sec Hr Mn Sec Blocks Per Second H Machine On Time 00001 13 00 CycleTime 00 00 00 DEE DER SE E Cutting time 00 00 00 Segments Skipped 100 Blocks o Running Time 000 00 00 00 Segments Skipped 0 Power Up Totals Parts Count Lookahead Parameters Days Hr Mn Sec i E Lookahead Segments iSsx22 H Machine On Time 000 01 13 00 edel Defined Segments d Cutting Time 000 00 00 00 Parts Count fo Synchronous Outputs Segments D Running Time 000 00 00 00 Parts Total fP Fill Rate
197. ouse click on the MSG F10 button in the PMAC NC32 for Windows program to access the Error Message Screen Press the F12 key function toggle key A Clear button appears on the F2 button and Reset appears on the F3 button Press the Clear button to clear any error messages that are posted in the error message field error messages that have been corrected Press the Reset button to issue a Reset command to the PMAC NC32 for Windows program Installation and Setup 2 45 PMAC NC Technical Documentation Manual Operator Software Control Panel Screen FA PMAC NC Control fx Mill1 nc Repeat 1 of 1 Line 6 of 119 N666066 dxis Jog Mode o C Handle Continuous CY C Incrementa Home 0 0000 0 0000 0 0000 2 lt e esea NW Low Z1 GER 0 0000 0 0000 0 0000 ee C MedL X10 EE mi Rapid 0 0000 0 0000 0 0000 E mu C Med z100 f 100 0 CS C MedH X1000 Spindle 100 x Orient a Cw C High X10000 Si 0 0000 x 0 0000 x 0 0000 Me gel nzps 0 0000 Y 0 0000 Y 0 0000 jamal a al SE 0 0000 0 0000 0 0000 2 Bloc ip achine Loc Feedrate gt pang act 0 08 Fem cut Fo 100 6 R0 100 6 Spindle gt OFF a 2 SEN Max 1666 Act 6 CSS OFF OUR 188 6 BI CERI G17 G94 G97 a 626 G49 a FS Cam ES Do oh E ie PURPOSE The Operator Software Control Panel Screen provides the ability to control all machine functions and modes via this screen and a PC keyboar
198. pplication While cutting the programmed contours of lines and curves being de pendent on the direction of cutting and spindle rotation the operator must keep the tool consistently oriented to the cutting surface at the off set needed to maintain the depth of cut and surface finish called for in the print Calculations involving moving surface normals and curve tan gencies are usually required Tool nose compensation will automatically provide cutter orientation and tool offset The control will offset the tool normal to the instantaneous surface tan gent of the workpiece with respect to the direction of tool motion in the compensation plane This allows a programmer to compensate for cut ters of different radial dimensions without the need for complex trigo nometric code changes 3 23 PMAC NC Technical Documentation Manual 3 24 Climb milling will use G41 to instate tool nose compensation Conven tional milling will use G42 to instate tool nose compensation Of greatest concern is how to position the tool just prior to the start up of cutter rad comp PMAC NC will not engage compensation unless a move having a vector component in the compensation plane is commanded Workpiece G42 Workpiece G41 G40 Cancel Compensation G41 Tool nose compensation Left G42 Tool nose compensation Right When activating tool nose compensation G41 G42 care must be taken in selecting a clearance move in the compensation plane O
199. r DNC Parameter Settings DNC Parameters allows you to set up a minimum buffer size for serial DNC transfer of NC programs When issued a request for a DNC trans fer PMAC NC32 for Windows creates a buffer on the host PC s hard disk space equal to the Minimum Buffered Lines x Maximum Line Length The DNC buffer will increase in size according to demand but will not become smaller than the initial size determined by the buffered lines and the line length mentioned earlier Code Settings Tab The Code Settings tab contains setting values relative to how a G code program is parsed and the actions performed during interpretation of the program 2 16 Installation and Setup PMAC NC Technical Documentation Manual Code Settings Tab Configure PMHAC NC Control D Device 0 2 x General Tools Coord Sys Code Axis Performance TI Uyw are incremental IT Compensation Correction Tool change during motion V Hi code acts as tool length compensation Code Groups gt M Logical Names 0 One Shot Codes 1 Motion Interpolation cylindricallnterpolation 2 Plane Selection exactStopCheck 3 Coordinate Interprtatior datalnputByProgram 4 Circle Center Interprtati PMACDataSetting 5 Feed Interpretation setBufferMode 6 Metric Inch x highSpeedMachRedStart x Group 0 One Shot Codes dwell Group default value jo dwell D Save as Reg File Load Reg File Help UVW Incre
200. rence pointio feedrate feedrate operation 3 operation 5 operation 4 o Canned Cycle Example The drilling data can be specified following the G and a single block can be formed This command permits the data to be stored in the control unit as a modal value The machining data in a canned cycle is specified as shown below G80 Canned Cycle Cancel Cancels any active canned cycles G81 Drilling Cycle 4 42 When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Normal drilling is then performed at the specified feedrate to the specified Z posi tion The tool is then immediately retracted from the bottom of the hole at rapid traverse rate The return point in Z is either the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G81 line if G99 mode is active This cycle will occur on every line which includes an X and Y move until the mode is canceled with G80 canned cycle cancel SYNTAX G81 X_Y_Z_R_F_L_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z PNKK Cutting feedrate NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual NC 32 Bit for Mill Application L Number of repeats PROGRAMMING EXAMPLE G99G81X 3 Y 2 752 0 05RO0 1F250L2 X 2 75 X 2 5L2 X 2 25 G80
201. riables Program End There are 33 local variables allocated when G65 is invoked They are initialized to an undefined value indicating that they have no value assigned to them This value is called undefined and its symbol is 0 If arguments are passed to the subroutine the values of the argments are stored into the local variables of that subroutine Address codes G L N O and P cannot be used as arguments Refer to the section on local variables for more information Appendix I Parametric Programming 7 PMAC NC Technical Documentation Manual Variables Variables are what make parametric programming possible Variables are used to replace literal values in your programs A literal value is a constant that cannot be changed Ex G1 X1 2 Y3 5 examples of literal constants Ex 1 1 2 2 3 5 G1 X 1 Y 2 example of replacing literals with variables Variables can be modified in a program by using assignment statements Variables are floating point numbers They are referenced by using a lt integer gt notation where lt integer gt is a positive integral number The value of lt integer gt is restricted i e you can only use values defined in this manual Variables can be accessed in an indirect method by replacing lt integer gt with lt expr gt where lt expr gt is any expression The following all refer to the same variable Ex 1 Ex 1 Ex 1 24 3 6 Ex 2 1 2 Ex SIN 90 0 Vari
202. ride the default order of evaluation determined by operator precedence The precedence brackets are and i e square brackets The following table defines the precedence of operators in the Delta Tau control Symbol Meaning Precedence EQ Equal cond 1 NE Not equal to cond 1 GT Greater than cond 1 GE Greater than or equal to cond 1 LT Less than cond 1 LE Less than or equal to cond 1 Binary Addition 2 Binary Subtraction 2 OR Bitwise Logical or 2 XOR Bitwise Exclusive or 2 i Multiplication 3 Division 3 AND Bitwise Logical product 3 MOD Remainder 3 Unary 6 16 Appendix I Parametric Programming PMAC NC Technical Documentation Manual Unary 6 POPEN Peripheral I O device open 7 PCLOS Peripheral I O device close 7 DPRNT Print to Device 7 Indirect operation 7 ABS Absolute value 7 ACOS Arccosine 7 ASIN Arcsine 7 ATAN Arctangent 7 COS Cosine 7 EXP Exponentail 7 FIX Truncation floor 7 FUP Round up ceiling 7 LN Log natural base e 7 ROUND Round off 7 SIN Sine 7 SQRT Square root 7 TAN Tangent 7 FANUC differs from the above table in that FANUC defines the conditional operators to have the same precedence as binary addition If you are concerned about portability of your programs Then you should include precedence brackets around the operands of a conditional expresstion For example For example 0 0 LT 1 2 instead of 0 0 LT 1 2 Examples of expressions follow 1 Singular
203. rn Check Implementation may be machine dependent modified by the system in tegrator In general G27 positions the tool at rapid traverse to the op tional ip and then the reference point The ip is saved for subsequent use by G29 Other Implementation dependent system integrator code may be included SYNTAX G27 X_Y_ Z_ EXAMPLE CODE N4 GO G90 S500 M3 N5 G27 XO Y1 0156 Z 1 NC32BitforLathe Application S SA PMAC NC Technical Documentation Manual R e REFERENCE POINT INTERMEDIATE POINT G28 Return to Reference Point Implementation may be machine dependent In general the tool is re turned to the reference point via an intermediate point ip specified in the block The ip is saved for subsequent use by G29 SYNTAX G28 X_Y_Z EXAMPLE CODE N4 GO G90 S500 M3 N5 G28 X0 Y1 0156 Z 1 G29 Return from Reference Point Implementation may be machine dependent In general the tool is moved to the point specified in the block via the ip stored by G28 G27 The normal usage of G27 G28 and G29 is depicted graphically in the above figure SYNTAX G29X_ Y Z G30 Return to Reference Point 2nd 3rd 3 22 Implementation may be machine dependent The system integrator pro vides functionality In general The tool is moved to the second reference point via the ip specified in the block The ip is saved for subsequent use by G29 SYNTAX G30 X_Y Z NC 32 Bit for Lathe Application PMAC NC Technical Documentation Man
204. rogram can be executed Program Coordinates The Program coordinates are always within one of the Work coordinate systems G54 through G59 and are either absolute positions or incre mental values A Work coordinate offset Wor defines the position within the Machine coordinate space Within the Work coordinate system a Local coordinate offset Loff may define a Local coordinate system When there are no Work or Local offsets in effect or the work coordinates are zero then the Machine and Program coordinates are the same It is possible that the Machine zero position is not accessible by the tool l Tool Envelope Table Envelope Coordinate and Reference Point Examples Absolute Coordinate Positions The table moves to a point at the distance from zero point of the coordi nate system i e to the position of the coordinate values Specify the table movement from point A to point B by using the coordinate values of point B Incremental Coordinate Values This specifies table moves relative to the current table position A move from point A to point B will use the signed difference between the two points The term Relative is also used NC 32 Bit for Mill Application e S PMAC NC Technical Documentation Manual Reference Point Aside from Machine zero a machine tool may need to locate other fixed positions corresponding to attached hardware i e a tool changer This po sition is called the reference point which may
205. rogrammed point in the G01 block Segmentation control for all inter polation is controlled by the PMAC I13 parameter The speed of the tool is controlled by the modal feedrate word F and is the vector velocity of the tool path defined by E Fk gt F F gt L i JE L 7 NL L Linear moves may blend with adjacent interpolative blocks If the G01 block contains a Dwell G04 or an Exact Stop G09 a controlled decel eration to a stop with in position going true will inhibit blending with the 3 13 PMAC NC Technical Documentation Manual next block If the G61 modal Exact Stop is active no blending between linear blocks will occur until canceled G64 Cutting Mode G01 is group 01 modal It is canceled by other group 01 functions SYNTAX GOIN Z F EXAMPLE CODE NO30 X1 125 22 25 N040 G61 G1 Z 02 F20 exact stop mode linear plunge cutter 20 ipm NO50 G64 G3 X0 5 Z2 0 RO 375 G01 1 Spline Interpolation 3 14 Interpolates as a three point Cubic Spline a segmented profile trajec tory of points with zero acceleration derivative at segment boundaries smooth contouring A fixed move time of R F for all segments is specified indirectly with a segment size and feedrate in the initial G01 1 block with R and F may use modal Actual commanded veloci ties a result of the Spline calculations are smooth continuous in v and v Accelerations are matched at segment boundaries vV n V n 1 Subsequent blocks
206. roperly Additional voltage shunted to a table probe may cause the spindle probe to stop functioning or vice verse Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual E I2 13 Testin 1 o NY A UU A W N Appendix III Touch Probing for PMAC NC Stop the spindle probe by entering M61 from MDI Select the table probe by entering M62 from MDI When you are sure that PMACs receiving a SKIP signal Test the G31 command g G31 operation Enter the PMAC NC interface Home all axes Insure that the work cell is clear Place the probe into the spindle Select the spindle probe by executing M62 from MDI Enable the spindle probe by executing M51 from MDI Execute the following G code G31 G91 X 5 0 F30 During table feed deflect the probe with your finger The table should stop before reaching the 5 0 inch destination This indicates that the spindle is functioning Perform a similar test on the table probe 13 PMAC NC Technical Documentation Manual MACHINING CENTER OPERATORS MANUAL Probing Cycles This section describes the probing cycles that are supplied with the Delta Tau control It is currently a subset of probing routines supplied with RENISHAW probes Probing cycle software supplied by RENISHAW and MARPOSS are usually written in the FANUC extension to G code referred to as MACROS Delta Tau translates FANUC macro statements into native PMAC code and stores them as
207. ror limit for a particular axis When this number is reached PMAC NC32 for Windows issues a warning message to the operator through the graphical user in terface A value of zero disables this feature PMAC s Ix12 is set by this parameter 2 21 Axis Spindle 2 22 PMAC NC Technical Documentation Manual Fatal follow error limit sets the fatal following error limit for a par ticular axis When this number is reached the amplifier enable signal is disabled and a warning message is issued PMAC s Ix11 is set by this parameter Inposition band sets the maximum distance from commanded position before an axis will be considered in position when not performing a move PMAC s Ix28 is set by this parameter Axis Rates Limits Settings Tab General Fates Limits Spindle Joggin 4 gt Maximum rapid rate zoq Units Min Maximum feedrate 200 Units Min Wearing follow error limit om 5000 Units Fatal follow error limit 10 025000 Units Inposition band 0 025000 Units The Spindle tab contains entries for setting up the machine spindle If the particular axis will be used as a spindle check the Is Spindle box Note Only axes which will be used as an actual spindle should have the Is Spindle box checked i e a lathe that uses C axis also as a spindle should be checked The Max RPM limit sets the maximum spindle speed in revolutions per minute This value is overwritten by G92 and G50
208. ros are used to ascertain dimensional features of the probe The features are stored and later used by various probe cycles to adjust for these attributes Spindle Probe Length Calibration This cycle moves the Z axis toward a reference surface When the probe is triggered the machine coordinate is saved and stored as the probe calibration length in the offset designated by the currently active H code ie Hx Offset Z Work Ref G65 P9801 Z T T The current active tool offset H code Usually the tool that the spindle probe resides in Must be the same as the active H code Z Reference plane value in the current work coordinate Typically Z0 Program Example N9801 TEST PROBE LENGTH CALIBRATE G90 G80 G40 GO M19 ORIENT SPINDLE G54 X1 1 YO X Y POSITION ABOVE PLANE G43 H1 Z 75 Z POSITION SELECT OFFSET G65 P9810 Z 25 F30 PROTECTED MOVE CLOSER G65 P9801 Z 0 T1 CALIBRATE LENGTH G65 P9810 Z 25 PROTECTED AWAY 16 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Spindle Probe Stylus Offset from Spindle Center Calibration This cycle determines how far the probe stylus ball is from the spindle centerline A calibration ring should be placed in the work cell where the diameter and exact location of the center is known Optionally a pre machined bore can be used The probe must be positioned exactly on the bore center inside the bore The cycle moves the X and Y axes from the ce
209. s a run command to PMAC A motion program is used for gantry with master slave axes Home using motion program number determines which motion pro gram number PMAC NC32 for Windows will command when using the Motion program method of homing Default is 3 for either PLC or PMC Axis Home Reference Settings Tab Spindle Jogging Home Ref al gt Home method On line command nHM PLC DPRAM bit Motion program Home using motion program number 3 Performance Settings Tab The PMAC NC32 for Windows program is multi threaded Each thread performs specific tasks independently from other threads except where data is shared Because certain data is shared between these threads a thread having the highest priority can cause others to wait The performance tab allows you to balance shared time between these threads in order to maximize system throughput You can set the DNC Thread Priority to Idle if you won t be using DNC This will free up processor time for other ac tivities Installation and Setup 2 25 PMAC NC Technical Documentation Manual Performance Settings Tab Configure PMHAC NC Control 0 Device 0 s E oi 2 2 s si si a S 2 E s 2 2 2 s s E UO Thread Priority The I O thread maintains data from PMAC s I O and intercepts PLC sponsored input The default priority for this thread is Normal Buffer Thread Priority The buffer thread parses the
210. s displayed below Program Check Software Control Panel Screen EN PMAC NC Control Repeat 1 of 1 Z Line 6 of 119 N666666 F1666 6666 Continuous G96 EI ER C Incrementa Home G94 G26 HOG DOA Speed Mult Overrides Feed Low Xi 100 0 D 6 6606 6 66606 6 6668 6 6660 F C MedL X10 8 9050 8 9006 Rapid C Med X100 100 0 0123 C MedH X1000 Spindle N65654G69 668 6646617 100 N18T1h C High X10000 N26H3S1666 N30G66654X6 28630 N4664321 H Single Block Dry Run NS GH9 N 66621 6435 Optional Stop DNC Mode N766120 5435F 467 8 Optional stor N88X0 2625Y0 041520 5361 N90X0 2386Y0 083Z0 528 Block Skip Machine Lock N166X6 214896 124526 5194 N116X0 196996 16626 5162 N126X6 16790 2675260 5004 F1000 0 act FPH F0 100 0 RO 106 6 Spindle gt OFF so EEU CSS 0FF OUR 100 6 MANUAL READY F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 Fll Uess Eege PURPOSE Provides instant access to the program check screen and software control panel The software control panel can be turned off in the Windows registry 2 36 Installation and Setup PMAC NC Technical Documentation Manual Position Display Screens EN PMAC NC Control Beles Repeat 1 of 1 Line 6 of 119 NeeGaas 0 0000 0 0000 D97 A SZ L cut F0 100 0 RO 16 Act 6 CSS 0FF OUR 166 e ln BEER F a Je ime es ros sre ome reve wes oee Program Position
211. s equal to the current axis distance away from the home position Commanded The Commanded Position is equal to the end position of the current move in Program coordinates Dist To Go The Dist To Go Position is equal to the difference between the Commanded Position and the Program Position Follow Error The Follow Error Position is equal to the difference between the instantaneous desired position and the actual machine position G Code Program Execution Screens A PMAC NC Control i214 ne BEE JE Repeat 1 of 1 Line 0 of 119 Hppoogg Repeat 1 of 1 Line 6 of 119 i Nesoose 0123 NO565469 0680640617 N10T1M6 N20N3S1000 N30G0654X0 2863Y0 N40G4321 H1 Wo N60G0Z1 0435 N706120 5435F467 8 Pen 2625 0 041520 5361 Moo E 86Y 0 08320 5281 cuT __Fo 100 0 mme __css orF 0 00 690 G54 G17 G94 G97 aere G21 weem Feedrate gt F1000 6 ACT 6 6 FPH cur FO 100 6 RO 100 6 Spindle gt OFF RECH tim actze ear OUR 100 6 AUTO emm Cam Tle pee ori TI 600 G90 G54 G17 G94 G97 G49 G20 649 vom SSC Ee G Code Text Screen PURPOSE The PMAC NC32 for Windows program has two G Code Program Execution Screens the G Code Program Check Screen left and the G Code Program Text Screen right These screens provide all the necessary information about the G code program they are currently executing Installation and Setup PMAC NC Technical Documentation Manual Installation and Setup OPERATI
212. s program are organized to pres ent relevant machine operational information to the machine operator in a consistent and uncluttered manner See PMAC NC32 for Windows Operator Screens for pictures of the various screens The PMAC NC32 for Windows program provides the following operator screens standard Five Machine Position Display Screens Machine Operator Commanded Distance To Go Overall Two G Code Program Execution Screens G Code Program Check amp G Code Program Text Screens Background Text Editor Screen Work Coordinate Offset Screen G54 G59 Tool Length amp Cutter Compensation Setting Screen Settings Screen With Parts Counter amp Parts Total Diagnostics Screen With I O Monitor Status Message Screen For Error Messages Only the middle area of the PMAC NC32 for Windows operator screen changes and these screens can be identified easily by the screen background colors The specific background colors are listed below Operator Screen Display Background Color Machine Position Display Screens Five Black Possible G Code Execution Screen Two Possible Blue Background Text Editor Screen White Settings Screen With Parts Counter Gray Error Message Screen White Diagnostics Screen With I O Monitor Black Status Installation and Setup 2 29 PMAC NC Technical Documentation Manual PMAC NC32 for Windows Operator Screen Or ganization 2 30 Information pr
213. s to change R is used when changing a cutter compensation value An axis value must be present to get its offset value altered If the current mode is in incremental the offsets are incremented by the IP_ point Otherwise the IP_ is substi tuted for the current offset P represents the offset to change as follows If P is between 1 and 6 the offset changed is the work offset P1 will change G54 P2 will change G55 up through P6 for G59 EXAMPLE CODE NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G10 P1 X 10 Z 30 Set G54 offsets G10 P2001 X 0 001 Z 0 001 RO 025 Set tool wear offsets amp cutter comp G10 P1001 X 5 Z 5 Set tool geometry offsets and cutter comp G10 1 PMAC Data Input By Program Allows configuration of PMAC I variables from NC program The I Q and P are addresses for the PMAC like variables The K address holds the value SYNTAX G10 1 L_K_ G10 1Q_ K__ G10 1 P_K__ EXAMPLE CODE G10 1 1125 K1228804 1125 1228804 G10 1 Q10 K8 QI10 8 G10 1 P11 K7 P11 7 CORNER PMAC Data Input By Program G17 G18 G19 XY ZX YZ Plane Selection NC 32 Bit for Mill Application When cutting motion is for X and Y using circular interpolation the G17 plane must be in effect The G17 plane is a power on default so normally is not programmed When cutting motion Is for Z and X using circular in terpolation the G18 plane must be in effect When cutting motion is for Y and Z using
214. sometimes referred to as fixture offsets values OPERATION Press the F4 key on the PC keyboard or mouse click on the OFS F4 button in the PMAC NC32 for Windows program to access the Work Coordinate Offset Screen Then press the F12 key function toggle key Set X appears on the F2 button Set Y appears on the F3 button and Set Z appears on the F4 button Jog the axes to the desired work coordinate point then press the appropriate axis Set button A dialog box appears asking if the new desired axis position is correct Click on the OK button in the dialog box or press the Enter key on the PC keyboard to enter the new axis positions into the desired G54 through G59 work coordinate location Installation and Setup PMAC NC Technical Documentation Manual Tool Offset Screen EN PMAC NC Control BEE WILL ne Repeat 1 of 1 Z Line 6 of 119 N666066 Tool Offsets Ofs ZGeom CC Geom X Geom 0 0000 x 0 0000 x 0 0000 ven vm 002 0 0000 0 0000 0 0000 0 0000 0 0000 Bill cos 0 0000 0 0000 0 0000 0 0000 0 0000 Wig 00000 0 0000 0 0000 005 0 0000 0 0000 0 0000 006 0 0000 90 0000 0 0000 007 0 0000 0 0000 0 0000 0 0000 0 0000 WUE oos o oooo o ooo0 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 Block Height 0 0000 Spindle gt OFF Max 1666 Act 6 CSS 0FF OUR 106 6 GOG G90 G54 G17 G94 G97 G48 G20 G49 F1 A Fa F4 F5 FR E F8 Fg F10 Fil Lire me ors Ps sere oe peme o me oe PURPOSE The T
215. specifies inverse time mode move is specified by move time F word is in time units of seconds and is derived from the Rate x Time Distance equation applied to the specific block move AXin Fipm x 60 AT sec EXAMPLE Assume X is at zero Specify the following as Inverse Time G01X1F100 a Solve for move time Fipm 100 AX 1 AT sec 1 100 x 60 6sec b Recode the block G01G93X1F0 6 SYNTAX G93F__ 456 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual G94 G95 Feed Per Min Feed Per Rev The G94 preparatory function code specifies the feed rate in terms of vector per unit time The G95 preparatory function code specifies feed rate in terms of vector feed per spindle revolution The G94 and G95 prepara tory functions are modal and remain in effect until replaced by the oppo site code The mode is set to G94 by power on data reset and the M30 code SYNTAX G94 G95 G98 G99 Canned Cycle Return Point Used in a canned cycle block to determine the return point G98 Initial point G99 clearance plane or reference point G98 causes the tool to re turn to the point from which it was first called G99 causes the tool to re turn to the point specified by the R address SYNTAX G98 G99 EXAMPLE CODE N4 Zon N5 G98 N6 G81X1 Y1R0 12Z 3 N4 Z5 N5 G99 N6 G81X1Y1R0 12 3 4 57 NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual M Code Library CNC M Codes
216. stry configurable Microsoft Windows based software program de veloped specifically for CNC machine tool operators The PMAC NC32 for Windows runs on a standard Pentium based PC in either Microsoft Windows 95 Windows 98 or Windows NT 4 0 operating systems The PMAC NC32 for Windows GUI program is designed to be displayed to any SVGA Super Video Graphics Array monitor at 800 x 600 reso lution PMAC NC32 for Windows also includes NC Verify Lite NC Verify Lite is a true 32 bit Windows based solid modeling tool verification software program by Sirius Systems San Jose CA NC Verify Lite provides up to a three axis mill or a two axis lathe G code back plot ting software program PMAC NC32 for Windows controls the axis motion of a machine tool a standard lathe or a standard mill depending upon how it is configured The configuration is easy to do with a setup program called mo tion exe The user can add or modify the G M and T codes and the PLC program very easily This 32 bit software was developed because S DOS WINDOWS 3 1 16 Bit system will be phased out e WINDOWS 95 98 32 Bit is more powerful and cost effective S 32 bit is more stable and secured S Itis faster and provides better graphic support The settings are handled by registry files There is no need for additional or external software to Run NC 32 Most of the user interface is through DAT files making mes sage changes easy t
217. t Maximum rapid override 1200 Maximum handle incr o o 0000 Maximum feedrate override 200 Least handle incr 0 000010 Default guage block height fi 000000 Least jogging incr 0 0001 00 Maximum rapid override sets the maximum allowable PMAC time base percentage value during rapid mode moves The variable rapid override value is set through the PMAC NC graphical user interface The maximum allowed value is 200 percent Maximum feedrate override sets the maximum allowable PMAC time base percentage value during all other feedrate controlled moves The variable rapid override value is set through the PMAC NC32 for Win dows graphical user interface The maximum allowed value is 200 per cent Default gauge block height sets the default thickness of an operators gauge block This value is algebraically added to the Z axis tool offset settings WARNING Setting the Maximum handle incr to a value greater than 0 0100 can create a hazardous runaway like condi tion The PMAC controller will attempt to move the selected axis the corresponding number of pulses multi plied by this value For instance if you set this pa rameter to 1 0 and turned the handwheel one turn PMAC would command a jog move of 1000 user units assuming a 100 ppr manual pulse generator and con tinue motion long after the user had stopped input to the handwheel Set this value so that when the speed multi plier is set to the maximum value and a move is com
218. t by 1 The bit CS_PARTS_RESET in CS_COMMAND6_M allows the parts count to be reset to 0 In addition the bit CS_PARTS_RESET in CS_STATUS6_M indicates the parts count has reached the parts required Example M2 M30 code inside the file Mill M N2000 N30000 Cause parts counter PLC to do its work PARTS_COUNT 1 RETURN Example parts counter PLC OPEN PLC 12 CLEAR IF PARTS_COUNT 1 Cause Parts count and parts total to increment SET_ON CS_COMMAND6_M CS_PARTS_COUNT Wait for increment command to complete WHILE ON CS_COMMAND6_M CS_PARTS_COUNT ENDW Appendix II Application Notes 9 PMAC NC Technical Documentation Manual Check to see if the parts count has reached the parts required IF ON CS_STATUS6_M CS_PARTS_RESET TO DO User may want to have special actions at this location Such as set an output to a BEACON to indicate that the programmed required parts have been reached Reset Parts count to 0 SET_ON CS_STATUS6_M CS_PARTS_RESET ENDIF PARTS COUNT 0 ENDIF CLOSE Parts Counter Signal Description CS_COMMAND6_M CS_PARTS_COUNT __ CS_STATUS6_M CS_PARTS_COUNT ee es CS_COMMAND6_M CS_PARTS_RESET a pap H CS_STATUS6_M CS_PARTS_RESET Ee CS_COMMAND6_M CS PARTS COUNT Setting this bit in PLC causes the parts count and parts total to increment by 1 This bit is automatically cleared once PMA
219. t position of probe When R is the feature is a BOSS When R is the feature is as BOSS 2 S Work offset to adjust to surface S1 G54 S6 G59 The work offset is adjusted by the error from the programmed value T Tool offset to update when probe trigger occurs W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 Z Absolute Z location to touch off If not present BORE 1 is assumed Program Example N9823 3 POINT BORE MEASURE M19 ORIENT SPINDLE G90 G80 G40 GO G54 X 6 75 Y 1 25 X Y APPROACH G43 H1 Z 75 Z APPROACH G65 P9810 Z 2 F50 PROTECTED Z APPROACH G65 P9823 AO B120 0 C240 0 D2 0 W1 REPORT BORE DIAMETER G65 P9810 24 25 PROTECTED DEPART 32 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Miscellaneous Macros These cycles are various probing cycles that are useful yet don t fit into the above categories because they are unusual in some respect Either they are more complicated or they consist of a combination of the above cycles to achieve some measurement More probing functionality will be added to the Delta Tau control as the product matures Bolt Pattern Bore Boss Measurement G65 P9819 C D Z A pop wl BOSS G65 P9819 C D K ABQR wl BORE A Angle at which first hole lies from X direction B Total number of holes default 1 C Pitch diameter diameter t
220. talled the application for Lathe 3 Run MOTION EXE for setting up PMAC for DUAL port RAM communication and AXIS configuration 4 Check the default or reference PLC file and G M T code files downloaded to PMAC using PWIN32 Lathe Block Diagram NC 32 Bit for Lathe Application The basic block diagram explains the requirement for the Lathe applic a tion Make sure of DUAL PORT RAM OPTION with a DESIRED PMAC option 3 1 PMAC NC Technical Documentation Manual PMAC NC Minimal Hardware ENCODERS DRIVES CONTROL NC Basics Tool Motion The tool moves through lines and arcs within the table boundaries as re quired for manufacturing a part Rather than moving the tool in a work ing machine the table is moved The actual table displacement will be the reverse of commanded tool motion This manual assumes that the tool moves with respect to the workpiece or table Workpiece Tool movement along circular arc Tool movement along straight line Tool Movement Specification The function of moving the tool along straight lines and arcs is called interpolation Program commands for interpolated motion are called the preparatory functions and specify the type of interpolation used The three basic interpolation preparatory functions are B20 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual Tool movement along straight line G01 Tool movement along circular rc G02 G03 Tool movement
221. tes Machine Coordinates The machine zero point is a standard point on the machine The machine tool builder normally decides it in accordance with the machine A coor dinate system having the zero point at the machine zero point is called the machine coordinate system The machine coordinate system is estab lished when the reference point return is first executed after the power is on or the homing cycle is executed Once the machine coordinate system is established it is not changed Program Coordinates The Program coordinates are normally within one of the Work coordi nate systems G54 through G59 and are either absolute positions or in cremental values A Work coordinate offset Worf defines the position within the Machine coordinate space Within the Work coordinate sys tem a Local coordinate offset Loff may define a Local coordinate sys tem When there are no Work or Local offsets in effect then the Machine and Program coordinates are the same It is possible that the Machine zero position is not accessible by the tool Absolute Coordinate Positions The tool moves to a point at the distance from zero point of the coordi nate system i e to the position of the coordinate values Specify the tool movement from point A to point B by using the coordinate values of point B Incremental Coordinate Values This specifies tool moves relative to the current tool position A move from point A to point B will use the signed
222. th S Intersection L Linear C Circular 3 340 NC 32 Bit for Lathe Application PMAC NC Technical Documentation Manual i Machining an inside corner at a radius smaller than the cutter radius Tool center path CC Programmed path The PMAC does not stop overcutting occurs ii Machining a groove smaller than the tool diameter Tool center path CC2 Programmed path The PMAC does not stop and overcutting occurs NC 32Bitfor Lathe Application sss BBS PMAC NC Technical Documentation Manual iii When machining a step smaller than the tool radius Circular movement CC2 Tool center path lt Programmed path PMAC backs up to correct when intersection is determined at 1 block ahead The PMAC does not stop and overcutting occurs iv Machining small segments PMAC backs up to correct at 1 block ahead when intersection is determined 7 The PMAC does not Many small segments stop and overcutting occurs The PMAC calculates trajectory 2 blocks ahead If the radius of compensation is sufficiently large and programmed segments are short Overcutting can occur Turbo calculates in segments If there are too many segments overcutting can occur SYNTAX G41 G42X_F_D G40X_F_ 3 36 NO32 Bit for Lathe Application PMAC NC Technical Documentation Manual G50 Work Zero Set amp Max Spindle Speed This command establishes the work coordinate system so that a certain point of the
223. than one of these methods exist the control selects a method based on priority Only one method is selected The priorities are first P cod then Comment and finally O code So if you have a P and O ad dress code on the same block the P code is used to construct a filename for program execution A called program subroutine can return control back to the calling pro gram by executing an M99 The number of subroutines that can be nested is limited only by PC memory However you should nest no more than 10 levels deep This is a value that is often encountered in other controls A subroutine can be called more than once within the same block This is called looping The number of loops is specified with the L address code M98 P10 L4 would execute program O10 nc four consecutive times PMAC NC32 for Windows for Mill Application 4 63 PMAC NC Technical Documentation Manual EXAMPLES Program O98 nc calls O100 nc once and PRG nc 100 times Program O98 nc o 5 098 Subroutine call example G04 X1 M98 P100 M98 C CNC PRG NC L100 G04 x2 M30 o Oo Program O100 nc in the same directory as program O10 nc 0100 G91 G81 X 5Z 1 0 F30 G90 M99 o oO PRG NC is aN NC program with a M99 for a return from subpro gram PRG NC G1 X5 Z5 S ENEE Jo og GO X2 M99 o 9 M99 Return from Subroutine 4 64 SYNTAX M99 L____ P___ 6 Where L_____ specifies the num
224. that is used to exchange floating point data Triggering PMAC NC to Read or Write an Offset The DPRAM location in PMAC DDFD 60DFD for Turbo and 0x37F4 for a PC Offset contains bits that PMAC NC monitors for triggering the modification of an offset In PMAC the macro variable name PR_BITS_M M 60 is assigned to this location Below is table 1 which indicates how bits in PR_BITS_M trigger various commands Once the command has been executed Bit 0 will be cleared by PMAC NC PR_BITS_M Function Bit 32 Bit 3 Read An Offset Do Cas 0 Jo i Write An Offset Do Cas Jo Ir i No Command pending in PC_ Don tCare__ D C D C 0 _ Command is pending in PC Beep PC Speaker DontCare f1 jo o Table 1 Telling PMAC NC to What Offset to Read or Write The DPRAM location in PMAC DDFE 60DFE for Turbo and 0x37F8 for a PC Offset contains a DWORD that PMAC NC interprets when it receives a command for triggering the modification of an offset In PMAC the macro variable name PR_COMMAND_M M161 is assigned at this location PR COMMAND_M is a DWORD however it can be interpreted as two 16 bit WORDS concatenated together to form the DWORD The upper WORD reflects what type of offset the user chooses to set Table 2 indicates how the upper 16 bits of PR_COMMAND_M is interpreted when it receives a trigger commands from PR_BITS_M The lower 16 Bits for of PR COMMAND indicate what tool number to interpret the command for in the case of tool offs
225. tify which PMAC version you have and review the section that is appropriate for your installation You can see immediately which flavor of PMAC you have by entering the TYPE command within the PMAC executive PMAC Wiring for Skip Signal This section explains how to setup a PMAC to accept a skip signal for probing and how to wire it to use the HMFLn flag for position capture Although the PMAC NC package insures that PMACs properly configured for probing you may not be running PMAC NC when hooking up your probe The following is a list of I variables and the values you should set them to for wiring and testing probe installation Encoder n capture flag control 1903 0 X axis uses Home flag to trigger position capture 1908 0 Y axis uses Home flag to trigger position capture 1913 0 Z axis uses Home flag to trigger position capture When the probe SKIP signal occurs all enabled axes must be triggered to capture their current position Use the following wiring to make this occur Appendix III Touch Probing for PMAC NC 5 PMAC NC Technical Documentation Manual MACHINE NHM SW PROBE INTERFACE CIRCUIT When the probe SKIP signal occurs all active axes must be triggered to capture their current position Use the following wiring to make this occur 6 Appendix III Touch Probing for PMAC NC PMAC NC Technical Documentation Manual Note Currently the G31 is configured to command axes X Y and Z If you do not specify a
226. ting for speed M05 Spindle Stop Turns off the coolant and stops the spindle EXAMPLE N1940 G28 X0 ZO N1945 M5 N1947 G4 X2 N1950 M2 M06 Tool Change M08 Coolant On 4 60 Moves to the tool change position and blinks the tool change lighted pushbutton Note the tool change position is above the home position EXAMPLE GOG49xX0Y0 T3M6 M3S100 M8 GOX1 5Y 1 5 Engages the coolant pump EXAMPLE G4320 5H10 M8 PMAC NC32 for Windows for Mill Application PMAC NC Technical Documentation Manual M09 Coolant Off Disengages the coolant pump EXAMPLE X 4 1657Y 5 4552 G2X 4 2073Y 5 44211 0 005630 0547 GOZ0 5M5M9 M19 Spindle Orient The spindle rotates to a known angle EXAMPLE X 4 1657Y 5 4552 M19 Z 2 01 M30 End of Program and Rewind Same as M2 EXAMPLE Z 5M5M9 G90G0G4 9M5M9 XO0YOZO M30 M87 Start Data Gathering Setup the Data Gathering buffer and begin gathering data EXAMPLE Z 5M5M9 G90G0G4 9M5M9 XO0YO0ZO M87 PMAC NC32 for Windows for Mill Application 4 61 PMAC NC Technical Documentation Manual M88 End Data Gathering End the Data Gathering EXAMPLE Z 5M5M9 G90G0G4 9M5M9 XO0Y0ZO M88 M98 Subroutine Call SYNTAX Maul P___ M98 L__k C L Maul lo II Where L_____ specifies the number of times to execute the program O__ S_ specifies a program name of the form me P___ specifies a program name of the form P me C
227. tion YZ Rotation ZX Rotation Type of Rotation Of Rotation Of Rotation Angle Angle Angle ss tS de Table 4 Where PMAC NC returns data from a Read or Write of an Offset The DPRAM location in PMAC DDFF 60DFF for Turbo and 0x37FC for a PC Offset contains a floating point value that PMAC NC uses for setting the modification of an offset or feeding data to the PMAC from PMAC NC In PMAC the macro variable name PR_DATA_M M162 is assigned at this location that is of the type DPRAM floating point format Example of Setting a Work Offset Setup the value of 30 8 to place in a work offset PR_DATA_M 30 8 Set upper 16 bits of command to 8 based on table 2 so that PMAC NC interprets we want to set a work offset in the range G54 G59 and set lower 16 bits to 61 based on table 3 so PMAC interprets to set the G56 X work offset PR_COMMAND_M 80000 61 Set bits 0 and 1 to trigger PMAC to read the data we placed in data location PR_BITS_M PR_BITS_M 3 Appendix II Application Notes 5 PMAC NC Technical Documentation Manual For convenience here is what you would type in via PEWIN32 M162 30 8 M161 80000 61 M160 M160 3 The following would Change G54 1 P48 X value to 48 1 PR_DATA_M 48 1 PR_COMMAND_M A0000 941 note that A is 10 in hex PR_BITS_M PR_BITS M 3 For convenience here is what you would type in via PEWIN32 M162 48 1 M161 A0000 941 M160 M160 3 Example of Setting a Tool Offset
228. tion plane This allows a programmer to compensate for cutters of different radial dimensions without the need for complex trigonometric code changes Climb milling will use G41 to instate cutter radius compen sation Conventional milling will use G42 to instate cutter radius compen sation Of greatest concern is how to position the tool just prior to the start up of cutter radius compensation PMAC NC will not engage compensa tion unless a move having a vector component in the compensation plane is commanded G40 Cancel Cutter Radius Compensation G41 Cutter Compensation Tool on the Left of the workpiece in the feed direction G42 Cutter Compensation Tool on the Right of the workpiece in the feed direction When activating cutter compensation G41 G42 care must be taken in selecting a clearance move in the compensation plane On start up the tool will move a vector distance equal to the offset value the initial compen sation in plane move The tool must be positioned so that as the compen sation engages the tool begins cutting normal to the surface In addition the center of the cutter must be at least the cutter radius away from the first surface to be machined Cutter radius compensation is modal Once cutter radius compensation is correctly engaged it will remain in effect until it is canceled Make any zero component compensation plane axis moves before cutter compensation Make an axis es startup move hav
229. tool for example the tool tip becomes IP in the established work coordinate system Any subsequent absolute commands use the po sition in this work coordinate system Meet the programming start point with the tool tip and command G50 at the start of program When creat ing a new work coordinate system with the G50 command a certain point of the tool becomes a certain coordinate value therefore the new work coordinate system can be determined irrespective of the old work coordinate system If the G50 command issued to determine a start point for machining based on workpieces a new coordinate system can be cre ated even if there is an error in the old work coordinate system If the relative relationship among the G54 to G59 work coordinate systems are correctly set at the beginning all work coordinate systems become new coordinate systems as desired SYNTAX G50X_Z S EXAMPLE CODE G50X25 2223 0 NC 32BitforLathe Application e BR PMAC NC Technical Documentation Manual G52 Local Coordinate System Set While programming in a work coordinate system it is sometimes more convenient to have a common coordinate system within all the work co ordinate systems This coordinate system is called a local coordinate system The G52 specifies the local coordinate system The Local CS x Y will be offset from the Work CS XY by the vector A that makes the current tool point in the Local CS equal to the position word in the G52 block G52X10
230. ual G32 Thread Cutting Threading is repeated along the same tool path in rough through finish cutting for a screw lead E Thread cutting starts when the spindle en coder detects a trigger signal usually C channel pulse threading is started at a fixed point and the tool path on the workpiece is unchanged for repeated thread cutting Note that the commanded spindle speed must remain constant from rough cutting through finish cutting If not incor rect thread lead will occur Feedrate override is fixed at 100 Actual feedrate is dependent on spindle speed variations and lead as follows F S E SYNTAX G32X Z F E EXAMPLE CODE N4 GO G90 S500 M3 N5 G32 X0 Z1 0156 F25 E 125 G36 Tool Geometry Compensation During the setup process each tool point was touched off to the part zero From this process a TOOL Geometry offset was recorded This is referred to as the X axis or Geometry offset This offset value must be applied additively to the tool normally on the first X axis move to the part The programmed code would be G36X 1H01M08 SYNTAX G43X__ G37 Tool Wear Compensation This offset value must be applied to the tool normally on the first Z axis move to the part With the tool at the change position fully retracted the first Z axis move to the part must have the wear offset applied to in sure the tool will stop at the programmed Z axis point SYNTAX G37Z__ G40 G41 G42 Nose Radius Compensation NC 32 Bit for Lathe A
231. ue T Tool offset to update when probe trigger occurs W Print results to the currently selected output file W1 Increment the feature number W2 Increment component number set feature number to 1 Z Absolute Z location to touch off If not present TROUGH 1 is assumed Program Example N9822 ANGLED POCKET MEASURE G90 G80 G40 GO M19 G54 X 1 45 Y 1 65 G43 H1 Z 75 Z APPROACH G65 P9810 Z 2 F50 PROTECTED APPROACH G65 P9822 A 45 D1 0 W1 MEASURE ANGLED POCKET G65 P9810 Z 75 F50 PROTECTED DEPART ORIENT SPINDLE X Y APPROACH Appendix III Touch Probing for PMAC NC 31 PMAC NC Technical Documentation Manual Three Point Bore Boss Measurement This cycle measures the diameter of bore or boss using 3 points specified by the programmer The three points are specified using angles reference to the X direction Deviations of the bore boss can be reported See SPINDLE PROBE BALL RADIUS VECTOR MEASURING CALIBRATION BORE 1 BOSS BORE 2 G65 P9823 ABCD ZFQRSTW A Angle of first touch off point taken from the X axis B Angle of second touch off point taken from the X axis C Angle of third touch off point taken from the X axis D Diameter of bore or boss F Modal feed rate for the interpolated move Once set it is not necessary to place in each protected positioning block Q Maximum search distance beyond feature surface before alarming R Added to D when determining decen
232. ue 32 bit Windows based solid modling tool verification software program by Sirius Systems San Jose CA NC Verify Lite is a G code back plotting software program for up to a three axis mill or a two axis lathe S PLC and PMC files Delta Tau s standard PLC and motion codes for LATHE or MILL operation Overview 1 3 PMAC NC Technical Documentation Manual Files Downloaded To The PMAC Board for Advantage 600 700 Spindle plc PLC 5 ontrols how the spindle is interfaced to PMAC NC32 for Win dows Lube plc PLC 7 Handling of Lubrication I O Mill g Prog 1000 Controls how G codes are interpreted fAdcressh Establishes PAC NC32 for Windows Mvarabe definiions omn _Establises user specie system variable defnitons The Delta Tau PMAC NC32 for Windows software program is designed to run in either a Microsoft Windows 95 or 98 or Windows NT operat ing environment The software is distributed on five 3 5 floppy disks Overview PMAC NC Technical Documentation Manual Installation And Setup Installing The PMAC NC32 for Windows Soft ware Installation and Setup Delta Tau s PMAC NC32 for Windows software program is designed to run in Microsoft Windows 95 Windows 98 or Windows NT4 0 operat ing system The software is distributed with an automated installation utility that will assist computer memory configuration load the neces sary operational files onto the computer s hard drive and configure t
233. um of axis components for simultaneous multiple axis splines If a segment size within the block sequence deviates from that specified in the initial block R word then the above equation gives the er ror amount G01 1 is modal in group 01 It is canceled by other group 01 functions SYNTAX GOLIR XS WV ZE EXAMPLE CODE N6 Z 1 H1 M8 N7 Gl 1 R 05 F150 spline mode seg size of 05 in at 150 ipm N8 X10Y10 point 1 N9 X10 2236Y10 2236 point 2 N10 X10 0 4729Y10 0 4729 point 3 G02 Circular Interpolation CW Helical CW Circular interpolation uses the axis information contained in a block to move the tool ina CLOCKWISE arc of a circle up to 360 degrees The velocity at which the tool is moved is controlled by the feedrate word and is a vector tangent in the interpolation plane Fra Vf f All circles are defined and machined by programming three pieces of in formation to the PMAC They are START POINT of the arc END POINT of the arc ARC CENTER of the arc or ARC RADIUS 41000 NC32 Bit for Mill Application PMAC NC Technical Documentation Manual NC 32 Bit for Mill Application The START POINT is defined prior to the G02 line usually by a GO1 or G00 positioning move The END POINT is defined by the axis coordinates within the G02 line The ARC CENTER is defined by the I J and K val ues vector incremental from the start point or the R value within the G02 line The full format for a G02 line
234. urs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel SYNTAX G83X_Y_Z_R_F_L_K_ X Center location of hole along X Center location of hole along Y Depth to drill to Reference plane in Z og Ts Cutting feedrate NC 32 Bit for Mill Application PMAC NC Technical Documentation Manual L Number of repeats K Peck depth PROGRAMMING EXAMPLES G83X 2Y 12Z 0 600K0 150R0 1F25 G80 G98 G83X 2Y 12 0 600K0 150R0 1F25 G80 initial point A G98 move reference point y geen A z point Deep Hole Peck Drilling Cycle Example G84 Tapping Cycle NC 32 Bit for Mill Application When this cycle is commanded the tool is located to the specified X Y at rapid traverse rate followed by a rapid traverse to the R value Linear movement is then performed at the programmed feedrate to the specified Z position At this point a dwell of P seconds occurs The spindle direction is then reversed and Z is fed linearly to the R value The return point in Z is the value of Z when the canned cycle is called if G98 mode is active Otherwise the return point in Z is the value of R specified on the G84 line if G99 mode is active This cycle occurs on every line that includes an X and Y move until the mode is canceled with G80 canned cycle cancel During this cycle manual feedrate override is ignored SYNTAX G84 X_ Y_Z_R_F_L_P_ X Center location of hole along X Y Center location of ho
235. use of parametric programming in the past Delta Tau offers two forms of parametric programming The programmer has the ability to program in PMAC native code or he can program in FANUC compatible macros parametric programming This chapter describes the parametric programming that is compatible with FANUC macro code Example Programs This sections contains example programs A variety of applications are presented here to give an idea of the power of parametric programming Each program is described by three paragraphs PURPOSE explains the program and includes supporting documentation to fully explain the program ROUTINES contains commented listings of supporting routines used in the in the main program PROGRAM is a commented listing of the main program The following is a list of example programs exhibited in this section Clearing Global Variables Drilling Custom Bolt hole Patterns Simple Pocket Milling Appendix I Parametric Programming 1 PMAC NC Technical Documentation Manual Clearing Global Variables Purpose This is an example of how you can initialize variables The program calls a generalized subroutine that initializes a range of variables The program is identified on disk as O100 NC and the parametric subroutine as O9400 NC Start and ending numbers define the range of variables If no value is passed in argument V The range is initialized to 0 which indicates that the variables value is undefined If the ra
236. vice0 NcO S YSTE M partsTotal dword 00000000 Parts Required This is used for setting the number of machined parts required When the parts count reaches this value a machine tool builder specific function may occur Parts Count This value is incremented by 1 when a M02 M30 or a M code specified by the machine tool builder is executed In general this value may be reset when it reaches the number of parts required however a machine tool builder program specific function may occur 8 Appendix II Application Notes PMAC NC Technical Documentation Manual EN PHAC NC Control ig Settings Machine Life Totals Cycle Totals Hr Mn Sec Cycle Time 00 00 00 Cutting Time 00 00 00 Days Hr Mn Sec Setting Parts Count EN CuttingT Parts Required Running m Machine Timer 00 00 00 Power U Pars Count Parts Count fo Machine Parts Required 0 Cutting T Baal Parts Count 0 Runnin g Parts Total 0 Time 12 33 27 PM Date 1 10 2000 If you wish to modify either the parts required or parts count press F1 to go to the functions of the settings page then select F3 PARS CTR Machine Tool Builder Programming PMAC NC DPRAM command words CS_COMMAND6_M and CS_STATUS6_M Contain bits that allow the machine builder to program specific functionality for the parts counter The bit CS_PARTS_COUNT in CS_COMMAND6_M allows the parts count and parts total field on the parts counter screen to incremen
237. y it is desired to move the axes to a specific posi tion in relation to machine zero and ignore any tool and work offsets that are active This is accomplished using G53 for machine coordinate programming This code is nonmodal and is effective only in the block in which it is programmed Machine coordinates are always expressed as absolute coordinates If the G91 1 incremental mode is active the G53 command is ignored All G50 codes and offsets are ignored The inter polation mode must be either G00 or G01 The tool will be moved to the absolute Machine coordinates expressed in the G53 block SYNTAX G53X Y Z EXAMPLE CODE N4 G53 XO ZO G54 59 Work Coordinate System 1 6 Selection NC 32 Bit for Lathe Application Six coordinate systems proper to the machine tool are set in advance permitting the selection of any of them by G54 to G59 Work coordinate system 1 G54 Work coordinate system 2 G55 Work coordinate system 3 G56 Work coordinate system 4 G57 Work coordinate system 5 G58 Work coordinate system 6 G59 The six coordinate systems are determined by setting distances work zero offset values in each axis from the machine zero point to heir re spective zero points The offsets are saved in the OFS page of the PMAC NC program EXAMPLE X40 0220 0 G55G00X20 02100 0 In the above example positioning is made to positions X 20 0 Z 100 0 and X 40
238. ycle Return Point 4 58 M Code Library EE 4 59 EK ed ee E 4 59 MOO Program Stopien panpana aaaea EES Reeder eeh 4 60 M01 Optional Stop EE 4 60 M02 Program ROWING E 4 60 MO3 Spindle CloCKWiS i vciec cdeacsteueehtswacteviebeenadsnccdeyaarduntl e aaaea aa ia aaaea aa aaa 4 60 M04 Spindle Coumterclockwiee nenn nnt 4 61 MOS Spindle long ede ele ei ei ei 4 61 MOG Tool Change cisco ees 4 61 MOS Coolant E TE 4 61 MO9 Coolant Off EE 4 62 M19 Spindle One nt isssifiseccttecescadesiec ceeeavadtdenancatededeacadebadd cc webd enei adata riaan 4 62 M30 End of Program and Rewind AA 4 62 M87 Start Data Gathering scieccseedecseticassetedad Eed a eit weeds geesde 4 62 Contents PMAC NC Technical Documentation Manual M88 End Data Gathering eeseesseesseeeeesseeesneesrnstnnetnnesnnesrnetrnsttnstnnssnnstnsstnnsrnnsnensrennnnna 4 63 M98 Subroutine Call amp M99 Return from Subroutine Call 4 63 M98 c cnc machines mill newpawn nc LI8 4 63 COGS E ee EE E 4 64 MAG OAS TOMA EE 4 64 Ee EEN 4 64 Block Delete Character cnic tenno an 4 64 APPENDIX PARAMETRIC PROGRAMMING esseeeeeeseeeseeesressrnesrnssrnsnnnrntstntstnnstnnstnnssnnstrnstnnnnnnnnt 1 APPENDIX II APPLICATION NOTES APPENDIX Ill TOUCH PROBING FOR PMAC NC Contents vii PMAC NC Technical Documentation Manual viii Contents PMAC NC Technical Documentation Manual Introduction Overview This manual discusses installing and configuring the PMAC NC 3

Download Pdf Manuals

image

Related Search

NC__________________________________Technical nc technical colleges nc technical rescue classes nc technical assistance framework nc technical rescuer certification nc technical specifications nc technical assistance center nc technical schools

Related Contents

Vornado Steam User`s guide  Zona de Servicio Mundial Del Sur de California  Samsung 24" Series 650 LED HD Monitor S24A650S User Manual  CADMAX Solid Master  Stampa di fax a pagina intera  Privia PX-7WE    Corolla  Dome Conference HD - Bosch Security Systems  製品安全データシート  

Copyright © All rights reserved.
Failed to retrieve file