Home
CNC USB Controller
Contents
1. 130 5 14 38 0564 Set Path Control Mode ee 130 5 14 39 G73 Drilling Cycle with Chip 130 5 14 40 G70 Threading Cycle 131 5 14 41 G80 Cancel Motion Mode Including any Canned 132 5 14 42 Canned Cycles G80 089 133 514 49 Canned Cycle 134 5 14 44 G82 Canned Cycle Drilling with 135 5 14 45 Canned Cycle Peck Drilling 1 sees 136 5 14 46 G84 Canned Cycle Right Hand 136 5 14 47 585 Canned Cycle Boring No Dwell Feed 137 5 14 48 586 Canned Cycle Boring Spindle Stop Rapid 137 5 14 49 Canned Cycle Back 137 5 14 50 G88 Canned Cycle Boring Spindle Stop Manual 138 5 14 51 589 Canned Cycle Boring Dwell Feed
2. 138 5 14 52 GIO Absolute DISTANCE 551 ieri ERE ea fotu 138 5 14 53 G91 Incremental Distance 138 5 14 54 G92 Offset Coordinate Systems and Set 139 5 14 55 G92 1 Cancel Offset Coordinate Systems and Set Parameters to Zero 139 5 14 56 G922 Cancel Offset Coordinate Systems But Do Not Reset Parameters 139 5 14 57 G92 3 Apply Parameters to Offset Coordinate 139 5 14 58 G93 Inverse Time Feed Rate 140 5 14 59 G94 Units Per Minute Feed Rate 140 5 14 60 G95 Units Per Revolution Feed Rate 140 5 14 61 G98 Initial level Return in Canned 140 5 14 62 099 R point Level Return in Canned 141 S Wi COS Ss este taste UU E 141 5 15 1 EE RR 141 519 2 MAE Optional Program sss euius esaet iv o bevor pa m Rv eere grad 141 S159 NEN VAL M
3. 143 192 eo 01 6 21 ONSE 143 ee 143 119 6816 Dm Um 144 Wr eme 144 CEE m 144 9437 9 One Sidge ora ball Ii6adge 145 153
4. 97 SUL MB Pe eMe MR I M D DP 98 Su q Len E El LEM Um pU RIEN 99 Sd ON ttu LM MC M I LIE IN EIC EE LIE 100 SE PEN 101 Sr Moo Ge TEE mmm 101 2 FROM OO eva uer vaa 102 35413 SENSOR hate 104 9 iter 104 34 13 2 POO Sensor MOVAable cece aie 105 34 14 MateralS amis ee 106 107 SAAG ZO 108 SE NOES a 109 110 Me 111 4 1 1 How to activate import request and export 111 4 1 2 Howto connect motor driver with optoisolated 113 4 1 3 Howto connect and setup Output 114 4 1 4 How to configure settings for MPG 116 Te HE 117 Delt o m MT 117 932 Foma ora ENE reret on 117
5. EET 141 5 15 4 M30 Program End Pallet Shuttle and 141 152 5 15 5 M60 Pallet Shuttle and Program 141 915960 M3 TUF CIOGKWISS sscses esatietiu ca xe atti Ene s Fe cro eoe po o eds 141 5 15 7 M4 Turn Spindle 141 9 159 910 aT Me SERI RESP Peu Pct d Ufer 141 Oto WIG POON 141 5 19219 2M Z 5 MISEGOOIBBEODL uvis 142 Mos Flood deu mese PIE LT REPE 142 5 15 12 M9 Mist and Flood Coolant 142 5 15 13 M48 Enable Speed and Feed 142 5 15 14 M49 Disable Speed and Feed 142 M2 n DM MOL E dA eta tetra een agre pl ep bot E tlbi tta n p 142 MOS OUD U aa imi rM 142 9 195 ster tia del ER aba de duos Gen aU v d vtt Eo aute nibo bl a Tu E Se UN 142 EE 142 5 16 Other Codes sm rt eu e tad ciae sn a ede auo ded uu estos UN oa ull 143
6. er Catan ameta dmi i 73 COR EMI MEC TEES 73 OON EMEN TT Ur 74 ORO M M 74 lt Ollsets From sedit sius ee mtus ir ub dad ducite Carum odas 75 3 3 11 14 2 OtfSet From Progra cen tnnt up pl Sade 75 33 11143 ORSEE From xe oh du enemas 75 ZTL Olisety Measure ONIBLZ 75 9o 11 14 95 ONSET Sensor SOLD casita ure a Ee Ciel Rus OTRO 76 76 SEC MES MESSIS TET DEEP 76 9 31152 TOOIS nee eee 76 TOL 76 Zero TOOL OHSOLss adieu Ex puts aqoa a ecd tps 76 3 3 11 15 5 Tools Measure Tool OIfSOel oc rt 76 3 3 11 15 6 Tools Measure Tool Offset 76 RoolS 4 Seb bool ONlSOL ecce et ca v rect Eo od Pete c oo DH COR S Fs 76 3 3 11 15 8 Tools Measure Tool 77 3 3 11 15 9 Tools Measure Tool Length 77 ome M Ehe 77 Loatietoltfidllol 77 3 3 11 17 1 Transformation Transformation 7
7. 126 5 14 10 G10 L9 Set Machine Position Without 127 5 14 11 gt 517 XY Plane Selection eee nnne rures 127 5 14 12 510 Xz Plane SelectlOPissssiedvespeo ces ove t RR a Ee Rv 127 92 14 13 2619 Y Z PIane PU o rea tates 127 54 14 O20 Tnch System ROLE EE Iu vts ae gece eect 127 5 14 15 G21 Millimeter System 127 5 14 16 G28 Return to Predefined a 127 5 14 17 030 Return to Predefined 5 127 5 14 18 033 Spindle Synchronized Motion oscense a aa aaa 128 5 14 19 G40 Cancel Cutter Radius 128 5 14 20 G41 Start Cutter Radius Compensation 128 151 5 1 5 14 21 042 Start Cutter Radius Compensation 128 5 14 22 G41 1 Start Dynamic Cutter Radius Compensation 129 5 14 23 642 1 Start Dynamic Cutter Radius Compensation 129 5 14 24 Tool Length Onset io t o bis eue ouis in ames eine bat GO U
8. Feed Only Skin lus applied in display and input dialogs Speed Feed and Traverse rates resolve to units per minute Default 3 4 1 2 Speed Colors 10 Calibration Feed Default feed rate G01 G02 G03 Used if F word is unspecified in G Code Traverse Traverse rate GOO Override Overrides G Code F word values Also set or adjusted in the main GUI using a checkbox next to the speed slider Override Feed Only If checked override affects feed rate only Traverse or Rapid rate GOO remains as set above 3 4 1 3 Display Machine Type opecifies how G Code is interpreted in the program visualization display XY UV Distance opecifies the distance between XY 1st and UV 2nd towers on hot wire machines Display Resolution Level of detail applied to G Code in the visualization display Higher settings are recommended for large NC programs Display Segments Level of detail for arcs in visualizations Values between 3 and 8 are the recommended setting Hardware DirectX Activates Deactivates hardware DirectX acceleration Some very old graphic cards do not support hardware DirectX Skin Visual effects for windows Use of this option can affect performance 84 3 4 1 4 Default button Restore settings to default values and parameters 3 4 1 5 Colors button Adjusts color assignments for the main window visualization
9. STOP OUT 1 OUT 2 OUT RESET LED POT 15V This connector provides for control of external devices and other helpful features built into controller Pins 2 4 6 8 STOP OUT 1 OUT 2 OUT 3 RESET LED POT 5V GND m 16 provide the Ground side of connections Direct connection to OUT 3 allows the ENABLE pins on the MOTOR connector to be controlled by OUT 3 switching Output signal for control of external devices i e coolant flood mist spindle vac Output signal for control of external devices i e coolant flood mist spindle vac Output signal for control of external devices i e coolant flood mist spindle vac Can be used in circuit with STOP pins to control the MOTOR connector ENABLE signal ooftware settings allow E stop status to be sent to this pin Connecting this pin to ground replicates the function of the Reset switch If the controller is enclosed making the Reset button inaccessible a NO Normally Open panel mounted momentary switch can initiate the Reset function Connection for an external blinking LED Current must be restricted to 10mA with a current limiting resistor Connection of 5k or 10k ohm logarithmic potentiometer provides a speed control for manual jogging 5V power supply for use with potentiometers Ground or common connections 11 2 2 3 connector JOG 2 JOG 1 JOG 4 JOG 3 JOG 6 JOG 5 JOG 8 JOG 7 5 Manual joggin
10. 0 0000 qf F 3 3 11 17 4 Transformation Capture amp Measure Points Measure Initiates measuring procedure using a movable sensor Measure Edge X Moves the X axis in the positive direction stops on contact with tool sensor and captures point Measure Edge Moves the X axis in the negative direction stops on contact with tool sensor and captures point Measure Edge Moves the Y axis in the positive direction stops on contact with tool sensor and captures point Measure Edge Moves the Y axis tin the negative direction stops on contact with tool sensor and captures point 78 3 3 11 17 5 Transformation Capture amp Measure Points Capture Initiates points capture using a movable sensor USB camera sensors may be used Capture Point otores the current machine location as an entry in the points list Capture Point X Stores the current machine location as an entry for Edge in the points list Capture Point Stores the current machine location as an entry for Edge in the points list Capture Point Y Stores the current machine location as an entry for Edge in the points list Capture Point Y Stores the current machine location as an entry for Edge in the points list 3 3 11 17 6 Transformation Capture amp Measure Points Clear Clear Points Clears not edge related points from the points list Clear Point
11. 59 3 3 8 6 Import PLT HPGL Import PLT HPGL file Height Safe Height value for traverse moves between elements 3 3 8 7 Import NC Drill Import NC Drill Excellon file Feed Speed Set feedrate Plunge Speed Set feedrate for plunge down moves Safe Height Safe Height value for traverse moves Zero Height Surface height Depth Drill penetration depth Use Tool Change Use ignore tool change Sort oort holes to optimize the toolpath Mirror Mirrors program in XY Height 10 0000 Feed Speed 1200 00 Plunge Speed 200 00 Safe Height 10 0000 Zero Height 0 0000 Depth 2 5000 Use Tool Change Sort Fj Mirror Fj If NC Drill format definition is not included in file then you can change it Software will try to autodetect correct settings but if imported file looks strange then you should change these values Units Specify millimeter or inch units Format Specify number decimal digit format Leading Trailing Zeroes Specify leading and trailing zeroes Units 7 Inches Milimeters Format Detect 7 2 3 7 2 4 mh 4 2 4 3 4 4 Leading Trailing Zeroes Keep leading and trailing zeroes Suppress leading zeroes Suppress trailing zeroes 60 3 3 8 8 Import Gerber Import Gerber file Feed Speed Set feedrate Plunge Speed Set feedrate for plunge down moves Safe Height Safe Height value for traverse moves Zero Height Surface height Depth Mill penet
12. 8 Coolant 2 M63 Gval M amp 4 M65 Gval Current Position lac 2 Data 80 108 97 110 101 116 67 78 67 108 3 4 17 Notes Motes The top text box is the name of the settings General If specified by the user it it will be displayed This settings are used with Kress spindle and ATC in the application title bar This is a useful option if many setting files are used The active settings file is indicated to check the correct file is in use The larger lower panel allows entry of user notes related to this settings You can write anything you want in here 109 3 4 18 Scripts Scripts are code which allows you to define custom action on specified events Each action must be enabled with checkbox Event action is defined with script filename followed by semicolon and method name Methods are written in VB script Script files must be in subfolder Scripts Scripts are still in experimental phase General On Application Start script txt Start On Open script txt Machine Start script txt On Machine Start Loop Start script txt On Machine Start Loop End script txt On Machine End Stop script txt OnMachineStop G Code On Command script txt On Command 110 4 10 4 1 1 How to activate import request and export license If you don t have a license you nee
13. Move the Z axis only at the current feed rate to the Z position Dwell for the P number of seconds otop the spindle turning Retract the Z axis at traverse rate to clear Z Restart the spindle in the direction it was going The spindle must be turning before this cycle is used It is an error if e the spindle is not turning before this cycle is executed 5 14 49 G87 Canned Cycle Back Boring The G8 cycle is intended for back boring Program 087 X Y Z A B C R L l J K The situation is that you have a through hole and you want to counter bore the bottom of hole To do this you put an L shaped tool in the spindle with a cutting surface on the UPPER side of its base You stick it carefully through the hole when it is not spinning and is oriented so it fits through the hole then you move it so the stem of the L is on the axis of the hole start the spindle and feed the tool upward to make the counter bore Then you stop the tool get it out of the hole and restart it This cycle uses and J numbers to indicate the position for inserting and removing the tool and J will always be increments from the X position and the Y position regardless of the distance mode setting This cycle also uses a K number to specify the position along the Z axis of the controlled point top of the counter bore The K number is a Z value in the current coordinate system in absolute distance mode and an increment from the Z position
14. Pins 4 6 8 10 16 are Ground or common connections LIMIT 1 X axis negative limit LIMIT 2 X axis positive limit LIMIT 3 Y axis negative limit LIMIT 4 Y axis positive limit LIMIT 5 Z axis negative limit LIMIT 6 Z axis positive limit LIMIT 7 A axis negative limit LIMIT 8 A axis positive limit SHIFT Toggle Limit switch options Software Invert options allow use of normally closed or normally open switch hardware 19 The SHIFT key toggles limit options using one of three possible configurations The chosen configuration determines hardware connections NORMAL Each switch is connected to its own pin SHIFT OFF Axes 1 to 4 limits are selected SHIFT ON Axes 5 to 9 limits are selected SINGLE INPUT Both axis limit switches are connected to one pin Direction of travel determines if positive or negative switch is triggered SHIFT ON Axis 9 selected SINGLE INPUT SINGLE INPUT SHIFT Both axis limit switches are connected to one pin with the SHIFT pin used to determine if positive or negative limit is triggered 20 2 3 5 Mk2 CTRL connector CIRL 1 CTRL 2 CTRL 3 CTRL 4 CTRL5 CTRL 6 CTRL 7 CTRL8 GND This connector provides inputs for use with axis distance and E Stop switches MPG pendant devices can also be attached Pins 2 4 6 8 16 provide convenient Ground or common connections An E Stop attached to this connector can be configured in software to ac
15. Z Axis Only The Z axis is moved to the specified location Other axes are not moved Pause Machine pauses at the tool change location for manual tool change Tool Length After tool change tool length is measured using fixed tool length sensor Auto Return After tool change the machine returns to position before tool change Auto Compensate If tool length compensation G code G43 is active it will automatically adjust to the new tool Leave Spindle On If active the spindle remains on when the machine reaches the toolchange location Skip Already Active If the correct tool is already mounted toolchange is not performed Use Default Tool If G Code tool numbers are not in the tool table an error is reported This option avoids this error Default values from tool number 0 are used instead When tool 0 is not available all 0 parameters are used This option is useful to load G Code is from another machine without error 101 3 4 12 2 From Tool Table These options are used if Position is set to From Tool Table See the example below for a detailed description of automatic toolchange Safe Height The Z axis value applied during the move to toolchange position Speed The speed rate applied for the move to toolchange position Traverse rate speed is used for other moves Lock The output used to send a Lock signal to external devices Delay time to complete Lock can be specifi
16. feed speed value traverse speed value on off on off direction amp speed position coordinates working offset value tool offset value true if moving in absolute machine coordinates tool number tool name tool shape tool diameter tool offset from tool table Current Units Plane Mode Speed Feed Traverse Flood Mist Spindle Axes Work Offset Work Offset Y Work Offset Work Offset Tool offset Absolute Origin Coordinate 5 Offset Tool Tool Name Shape Diameter Tool Offset Z Tool offset Millime XY Absolute 0 00 0 00 0 00 Off Off Stopped 1 False 0 unknown Unknown 0 000 52 3 3 3 Program panel The program panel shows information about the active NC program Information displayed includes Max X Min Y Name name of program Max Y Units units used in this panel Le Min Max minimum and maximum values used in program ee Max A program extents Min Feed Max Feed Min Feed Max Feed in pus M Max Feed minimum and maximum values used for feed moves geiles cutting extents Max Feed Min Feed Length length of toolpath Time estimated time needed to execute program Time estimated time needed to execute program if using speed Time override Bom MOM lt lt Millimeters 0 000 93 000 0 000 93 000 21 000 5 000 0 000 0 000 7 000 93 000 7 000 93 000 21 000 0 000 0 000 0 000 5625 444 00 08 41
17. 0 2 length units along the thread For a 45 degree taper program E the same as K L Specifies which ends of the thread get the taper Program LO for no taper the default L1 for entry taper L2 for exit taper or L3 for both entry and exit tapers Entry tapers will pause at the drive line to synchronize with the index pulse then feed in to the beginning of the taper No entry taper and the tool will rapid to the cut depth then synchronize and begin the cut The tool is moved to the initial X and Z positions prior to issuing the G76 The X position is the drive line and the Z position is the start of the threads The tool will pause briefly for synchronization before each threading pass so a relief groove will be required at the entry unless the beginning of the thread is past the end of the material or an entry taper 13 used Unless using an exit taper the exit move traverse to original X is not synchronized to the spindle speed With a slow spindle the exit move might take only a small fraction of a revolution If the spindle speed is increased after several passes are complete subsequent exit moves will require a larger portion of a revolution resulting in a very heavy cut during the exit move This can be avoided by providing a relief groove at the exit or by not changing the spindle speed while threading The final position of the tool will be at the end of the drive line A safe Z move will be needed with an internal thread to re
18. 00 07 18 53 3 3 4 Graphical program visualization display This display shows 3D representation of machine tool toolpath e Orange box machine limits e Gray grid machine table e Axis arrows displayed coordinate system origin e Red axis lines selected coordinate system origin e White line feed toolpath e Cyan line traverse toolpath e Red line selected toolpath section e Yellow cone current machine position e Orange cone simulated position e Dark green gray cone G28 and G30 positions e Dark green gray program extents and program cutting extents 1 2 G17 3 G Z 5 000 H1 4 G0 X 0 000 0005 3 3 5 G code panel 5 G0X 240 446 Y 2 36 i 61 Z 4 000 1500 0 7 G1 0 080 000 0 B 5 563 G code panel shows current program lines 9 X 17 889 10 X17 798 Y 5 e Red lines show a pause The software machine will pause NC 11 X 17 444 Y amp i 12 X17 146 Y b program execution at these lines agire L1 L1 L1 L1 14 X 16 746 Y 7 15 X165 579 Y 8 16 X16 507 Y 8 17 0 080 18 Y 11 963 e Lines with dark red line numbers are bookmarked Lines with L means acceleration Lines with means deceleration prp 20 17 229 Y 12 0405 Lines with H means acceleration and deceleration 21 X17 632 Y 12 476 22 X 17 964 17 809 Lines with are removed by optimizer Epa pad 24 X18 369 13 353 i
19. 1 1 ttt PLU ULL LLU a 3 3 Adapter in use with E Mk 2 9 Axis USB CNC Controller AA 130553 1x i gi E i 52 C LOOB SMRRL L OF Driver 1 Driver 2 Driver 3 Driver 4 Terminals Terminals Terminals Terminals The Screw Terminal Adapter assists Mk1 and Mk2 controller connect to motor drivers that use screw terminal inputs The adapter is compact The ribbon cable connector helps in keeping enclosure wiring neat and accessible Use is not difficult 1 Adapter MOTOR connectors 1 4 plug into controller MOTOR connectors 1 4 2 Motor drivers connect to DRIVER terminals 1 4 Connections are detailed below GND Ground 5V 5V power SVEXT jumper must be closed on when used with the Mk1 controller S Direction signal from controller D Step signal from controller 36 2 6 Jogging keyboard The jogging keyboard is a quick easy and inexpensive means to add dedicated manual jogging buttons to Mk1 Mk2 and Mk2 4 CNC USB controllers Mk2 and Mk2 4 controller users can take advantage of software options allowing the SHIFT button to toggle jog STEP mode An additional option of setting SHIFT to toggle jog control of axes 5 8 is available to Mk2 controller users The keyboard is very easy to use simply plugs in to the JOG Connector found all planet cnc com CNC USB Controllers A connecting ribbon cable of 30 cm length ap
20. Invert Output 3 Invert Output 4 Invert Output 5 Invert Output 6 Invert Output 7 Invert Motor Enable E A 116 5 G Code G code interpreter used by CNC USB controller is implemented according to National Institute of Standards and Technology RS274NGC Interpreter Version 3 specification Full documentation of RS274NGC is available at web page http www isd mel nist gov personnel kramer pubs RS274NGC 3 web RS274NGC 3TOC html 5 1 Overview The RS274 NGC language is based on lines of code Each line also called a block may include commands to a machining center to do several different things Lines of code may be collected in a file to make a program A typical line of code consists of an optional line number at the beginning followed by one or more words A word consists of a letter followed by a number or something that evaluates to a number A word may either give a command or provide an argument to a command For example G1 is a valid line of code with two words G1 is a command meaning move in a straight line at the programmed feed rate and X3 provides an argument value the value of X should be 3 at the end of the move Most RS274 NGC commands start with either or M for miscellaneous The words for these commands are called G codes and M codes The RS274 NGC language has no indicator for the start of a program The Interpreter however deals with files A s
21. Selected materials display as wireframe showing stock extents or as a solid complete with textured appearance 68 3 3 10 Program menu Program The program menu provides G Code processing functions to conform NC programs to user requirements In most cases only parameter entry is required to make desired adjustments Lines Bookmarks Shift Functions to navigate NC programs and bookmark blocks of Scale code are also available NC programs can be sectioned by use Mirror of toolchange or pause codes Rotate Set Speed shift Scale and Rotate can be applied to entire programs Copy XYZ gt UVW These functions can assist with repeat usage of the same NC Swap XYZ lt gt UVW program or defined program block for corners patterns and so forth Convert Arcs To Lines Convert All To Lines 3 3 10 1 Lines Edit G Code 381 Lines functions allow easy navigation of G Code using G Edit 382 Code commands as markers Copy Clipboard Ctrl C 391 Paste From Clipboard Ctrl V 392 3 3 10 2 Bookmarks Bookmarks functions set and remove bookmarks in G Code and allow marked sections of code to be processed Bookmarks are applied to machining Bookmarked sections of G Code can be included repeated or omitted Machining can commence from or halt on Bookmarks Bookmarks are set by selection of the G Code line where the bookmark is required and use of the Tog
22. ac 118 sx bee mE 118 O9 D 118 5 05 119 5 Expressions and Binary Operations ccccccceccceecseceeeceeeseeeeeeseeeeeeeseteceeeeeegesseneeeenecsegensees 119 50 Una Operation 120 9 9 Comments and 65 hess dim eid acis EA T PO DUE 120 SAO do uM eee a uM nd M ee E citt ee eer UHR Do m 121 S IT Siem OI Gel wet oa xoti vet ama e 121 912 Modal ana Nonsriodal s esos Citt RES PEU E De 122 53 19 Modal E MEET 122 Ge COC T 123 5 14 1 GOO Rapid Motion Linear Motion at Traverse 123 5 14 2 G01 Linear Feed Linear Motion at Feed 123 9 14 9 502 lt Feed Peso ow esu a 124 5 14 4 003 Arc Helix Feed CCW Arc at Feed 124 SP s ES Em 126 5 14 6 G7 Lathe Diameter innen seran 126 5 14 7 SOS Laie Radius dita sen reped tica UDIN 126 9 49 GIJOLTsSet bv Ge Pit USED Ex ien 126 5 14 9 G10L2 Coordinate System Origin
23. foo for the five items 121 5 12Modal and Non modal modes In RS274 NGC many commands cause a machining center to change from one mode to another and the mode stays active until some other command changes it implicitly or explicitly Such commands are called modal For example if coolant is turned on it stays on until it is explicitly turned off The G codes for motion are also modal If a G1 straight move command is given on one line for example it will be executed again on the next line if one or more axis words is available on the line unless an explicit command is given on that next line using the axis words or canceling motion Non modal codes have effect only on the lines on which they occur For example G4 dwell is non modal 5 13Modal Groups Modal commands are arranged in sets called modal groups and only one member of a modal group may be in force at any given time In general a modal group contains commands for which it is logically impossible for two members to be in effect at the same time like measure in inches vs measure in millimeters A machining center may be in many modes at the same time with one mode from each modal group being in effect The modal groups for G codes are group 1 GO G1 G2 G3 G38 2 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 motion group 2 7 G17 G18 G19 plane selection group 3 lt 1090 G91 distance mode group 5 1093 G94 feed rate mode group 6 G2
24. machine will not go that fast It is an error if e G53 is used without GO or G1 being active e 553 is used while cutter radius compensation is on 129 5 14 27 G54 Use Preset Work Coordinate System 1 5 14 28 G55 Use Preset Work Coordinate System 2 5 14 29 G56 Use Preset Work Coordinate System 3 5 14 30 G57 Use Preset Work Coordinate System 4 5 14 31 G58 Use Preset Work Coordinate System 5 5 14 32 G59 Use Preset Work Coordinate System 6 5 14 33 G59 1 Use Preset Work Coordinate System 7 5 14 34 G59 2 Use Preset Work Coordinate System 8 5 14 35 G59 3 Use Preset Work Coordinate System 9 You can select one of the nine systems by using G54 G55 656 657 G58 G59 G59 1 659 2 or G59 3 It is not possible to select the absolute coordinate system directly To select coordinate system 1 program G54 and similarly for other coordinate systems The system number G code pairs are 1 G54 2 G55 3 G56 4 G57 5 G58 6 G59 7 G59 1 8 G59 2 and 9 G59 3 It is an error if e one of these G codes is used while cutter radius compensation is on 5 14 36 G61 Set Path Control Mode Exact Path 5 14 37 G61 1 Set Path Control Mode Exact Stop 5 14 38 G64 Set Path Control Mode Continuous not implemented Program G61 to put the machining center into exact path mode G61 1 for exact stop mode or G64 for continuous mode It is OK to program for the mode that is already active 5 14 39 G73 Drilling Cyc
25. or Normally 1914 EE 4 Invert Ctrl 5 Use Button E Closed NC hardware E Invert 6 Distance 0 0100 Invert Gin 7 Max Speed 1000 00 2 Use E Stop Invert 8 E stop while switched on release normal function is resumed Use for locking stay down E Stop switches CTRL1 Use Distance Switch MPG pendant distance selection CTRL2 CTRL3 Use Axis Switch MPG pendant axis selection CTRL4 CTRL5 Use Encoder MPG pendant encoder CTRL6 CTRL7 Use Button For future use Trigger during controller power on puts the controller into manual bootloader mode CTRL8 Distance Distance traveled for each encoder detent or step Max Speed Maximum encoder traverse rate Restricts speed if encoders are turned very quickly 3 4 11 Tools This tab allows the creation of a tool table or 2 EndMill amp mm database 3 EndMill 12mm 4 EndMill 25mm 5 BallNose 6mm Number Assigns a dedicated number to call this tool in G Code Name Name used in the tool listing Shape Select tool shape from the drop down list Description User description for the tool Diameter Tool diameter in units Z Offset X Offset Number 1 Name End Mill 3mm Description Diameter Z Offset 3 0000 10 0000 Tool Change X 100 0000 561 0000 Tool offsets for use with G43 G49 G code Often used if auto toolchangers do not make use of the tool sensor Tool Ch
26. 0000 4 T0003 7 GO X0 00000 yc 31 0000 8 8 GO X1 96850 v1 u N10 GO X1 97914 Y 0 0000 12 2 0 00001 U N14 Gi X1 97914 Y xml 0 0000 2 N16 Gi 1 87952 v L 3 N18 X1 70122 Y 1 N20 X1 45484 Y 1 N22 X 1 27458 Y 1 N24 X 1 17161 Y 1 7 N26 X 1 11736 Y 1 8 N28 X 1 07572 Y 1 30 X 1 04642 Y 2 20 N32 X1 02840 Y 2 21 N34 X 1 02136 Y 2 22 N36 X1 02459 Y 2 N38 X 1 03774 Y 2 40 X 1 06112 Y 2 N42 X 1 09594 Y 2 44 X 1 14458 Y 2 46 X 1 19989 Y 2 48 X1 25777 Y 2 NSO X 1 33204 Y 2 N52 X1 40755 Y 2 4 X 1 47735 Y 2 N56 X1 55858 Y 2 N58 X1 63410 Y 2 34 N60 X1 70961 Y 2 77346 v 4 e cd tj o o ERE LN UJ UJ LU UJ FJ DH AWN PN 2 F 1000 00 4 8 ww 4 LEER 235 e ear On launch of CNC USB Controller software the Main Window will display Data and status information for all aspects of G Code program execution is provided on this main screen The interface has been designed to be simple to use Many regularly used functions are available via on screen buttons and keyboard hot keys There are seven areas within the window Each provides information or function concerning specific aspects of G Code program execution For the purposes of illustration color highlights in show the various areas
27. 25 X 18 777 Y13 780 e Lines with x are ignored 27 19 752 Y14 430 28 19 794 14 472 29 X 20 137 Y 14 777 Under panel is horizontal slider which can be used for G Code preview 30 X20 513 Y 15 042 31 X 20 736 Y 15 163 32 X 0 080 33 Y 18 363 34 X 23 443 3 3 6 Manual data input MDI panel MDI is text input box which allows manual G code input For example typing X70 20 will move machine to this position xio Y20 This input can also be used for shortcuts Each menu command has shortcut assigned For example File Open has shortcut 101 Of you type 101 into MDI input File Open command will be executed o4 3 3 7 Toolbar Emergency stop Open program Start execution Stop execution Pause execution Top View Side View Front View Perspective View Zoom In Zoom Out Zoom Tool Zoom Extents Mist Flood Spindle 4 22 00 OAS m PATER T1 s AP Executes immediate Emergency Stop Loads a G Code program Start program execution machine Stop program execution machine Pause program execution machine Display G Code program view from the top Display G Code program view from the side Display G Code program view from the front Display G Code program using Perspective view Zoom display in to view details Zoom display out to view a larger area Zoom display to
28. 3 8 19 iEXDOrt TOOPI Pieter ua ee bu ea de rt 65 2 38 10 gt EXPO TOODA tO RAW Gu aid a er renun 65 ST a 65 2 9 0 19 65 3 98 19 IBXDOIT SOIUPICS 65 147 2 65 Ea 65 S Ea TTL IT Tem 66 ME Groom 66 ies WOM VIEW E 66 SiO DOr SOIC SOW cs 66 JOA FOA VION osea uidet EP 66 3 9 9 9 JPerSDeOclVe VEW x RN DUM E Lee a E 66 200005 T IU TTE 66 d id dad 66 OOP TOO 66 67 2 39 10 eher TOOlissssediunissiduxes deve petas sacs nu eoo a 67 CORO MEC MA T mr 67 39 912 919 A ta eau 67 9 9 9 19 E 67 9 23 9 T4 UVM OW JOO ecu tuto teat ami orta t eo instit aod en Indi 67 WNdOW 67 9 9 10 VVINGOW eria Ies uie abt P ies ate Mice 67 O NOW e vetu ETE PUEDE CILE 68 3 0 92710 ERES rb RM arca n Dr REF eK contem 68 DTO PTO
29. CCW Arc at Feed Rate A circular or helical arc is specified using either G2 clockwise arc or G3 counterclockwise arc The axis of the circle or helix must be parallel to the X Y or Z axis of the machine coordinate system The axis or equivalently the plane perpendicular to the axis is selected with G17 Z axis XY plane G18 Y axis XZ plane or G19 X axis YZ plane If the arc is circular it lies in a plane parallel to the selected plane Two formats are allowed for specifying an arc We will call these the center format and the radius format In both formats the G2 or G3 is optional if it is the current motion mode e Radius Format Arc In the radius format the coordinates of the end point of the arc in the selected plane are specified along with the radius of the arc Program G2 X Y Z A B C R or use G3 instead of G2 R is the radius The axis words are all optional except that at least one of the two words for the axes in the selected plane must be used The R number is the radius A positive radius indicates that the arc turns through 180 degrees or less while a negative radius indicates a turn of 180 degrees to 359 999 degrees If the arc is helical the value of the end point of the arc on the coordinate axis parallel to the axis of the helix is also specified It is an error if e both of the axis words for the axes of the selected plane are omitted the end point of the arc is the same as the current point
30. Connect Mk1 controller with 16wire cable to CONNECTOR connector If you use 3 relays put jumper to 1 position Set output pins like this M3 M4 M5 Spindle Motor Enable E Stop Output pin Output pin Output pin Direction Exit Output pin Speed M amp 2 M63 Pout Output pin M64 M65 Pout Qval Output pin Outputs Invert Output 1 Invert Output 2 Invert Output 3 Invert Output 5 M7 M8 Coolant Invert Output 6 Output pin Hood M8 Invert Output 7 Output pin Mist M7 Invert Motor Enable M3 M4 M5 Spindle Motor Enable E Stop Output pin Output pin Output pin Direction On Exit M62 M63 Pout Qval Output pin M64 M65 Pout Qval Output pin Outputs Invert Output 1 Invert Output 2 Invert Output 3 Invert Output 4 Invert Output 5 M7 M8 M3 Coolant Invert Output 6 Output pin Hood M8 Invert Output 7 Output pin Mist M7 Invert Motor Enable 115 4 1 4 How to configure settings for MPG pendant MPG pendant only works with Mk2 controller M3 M4 M5 Spindle Output pin On Off Output pin Direction Output pin Speed A Invert Ctd 6 Invert Ctrl 7 Invert Ctrl 8 Pause Delay Isl laf M7 M8 M9 Coolant Output pin Food M Output pin Mit Min 3002 3000051 n Exit M amp 2 M63 Qval Output pin M amp 4 M65 Pout Gwal Output pin Outputs Invert Output 1 Invert Output 2
31. Radius Compensation To turn cutter radius compensation off program 040 It is OK to turn compensation off when it is already off 5 14 20 541 Start Cutter Radius Compensation Left 5 14 21 G42 Start Cutter Radius Compensation Right Cutter radius compensation may be performed only if the XY plane is active To turn cutter radius compensation on left i e the cutter stays to the left of the programmed path when the tool radius is positive program G41 D To turn cutter radius compensation on right i e the cutter stays to the right of the programmed path when the tool radius is positive program G42 D The D word is optional if there is no D word the radius of the tool currently in the spindle will be used If used the D number should normally be the slot number of the tool in the spindle although this is not required It is OK for the D number to be zero a radius value of zero will be used It is an error if e the D number is not an integer is negative or is larger than the number of carousel slots e XY plane is not active e cutter radius compensation is commanded to turn on when it is already 128 5 14 22 G441 1 Start Dynamic Cutter Radius Compensation Left 5 14 23 G42 1 Start Dynamic Cutter Radius Compensation Right G41 1 amp G42 1 function the same as G41 amp G42 with the added scope of being able to program the tool diameter D word is tool diameter 5 14 24 G43 Tool Length Offset To us
32. TENN AUIO 8 2 2 Mk1 4 axis CNC USB controller 9 22 JMEKT MOTOR COBDSGIOD 10 2 22 Wki CONNEC TOR COMME CON 2 apte 11 229 COMMeCION m T T 12 TE EB eM GONMECION 13 22 9 TOONE CIOT e ue EL ARM aA LL TM EI E E 14 2 3 Mk2 9 axis CNC USB controller 15 ZO MKZ MOTOR COlDe CIOP Bipemotee xe ee paa yeu tu mu d ua iu 16 2 32 MKZ MOTOR 3 0 COMME CON Ee ord 17 Cis EO It 18 2934 MKZ LIMIT CONMEGCION EU Em 19 2 3 5 CIR COMMC CIO uero a a 21 2 9 0 MKZINPUT COMMCCION tee tate oe t lassen hii esee Rois c Edu ML 22 Zot MKZ OUTPUT CONNECCION gt ud d EE DEAD kan EE 23 2 5 9 MKZ EXT COMME GIOL ates tios a e ciu eese iude severed 24 PES COnMeC E m mE 25 2 310 USB COMECON uolet ot Ead 26 2 3 11 Mk2 Power terminal and Power options jumpers 26 2 95 12 GMKZ siot siae on torto euro ence acta eese stint i andere Ae LE E uie 26 2 4 2 4 4 axi
33. a steady rate which may be set by the user For motion involving one or more of the X Y and Z axes with or without simultaneous rotational axis motion the feed rate means length units per minute along the programmed XYZ path as if the rotational axes were not moving 5 16 2 S Set Spindle Speed To set the speed in revolutions per minute rpm of the spindle program S The spindle will turn at that speed when it has been programmed to start turning It is OK to program an S word whether the spindle is turning or not If the speed override switch is enabled and not set at 100 the speed will be different from what is programmed It is OK to program 50 the spindle will not turn if that is done It is an error if the S number is negative 5 16 3 T Select Tool select a tool program T where the T number is the carousel slot for the tool The tool is not changed until an M6 is programmed The T word may appear on the same line as the M6 or on a previous line It is OK but not normally useful if T words appear on two or more lines with no tool change The carousel may move lot but only the most recent T word will take effect at the next tool change It is OK to program TO no tool will be selected This is useful if you want the spindle to be empty after a tool change It is an error if e anegative T number is used aT number larger than the number of slots in the carousel is used 143 5 17 Sample G code program
34. as described below Position State Program panels e Program visualization preview e G Code panel e Manual data input MDI panel e Menus and toolbars e Status e Function shortcuts On screen Jog controls are provided for position adjustment if a hardware jog keyboard is not available Alternative screen layout with wider aspect visualization and G Code display is available by pressing F11 50 3 3 1 Position panel The panel displays currently active offsets machine position and speed Ww Wi On panel are jog buttons used to move machine to desired position X 32 4188 There is also speed setting with speed override slider and check box eo Y 17 2479 0 0000 Offset v 0 0000 W Working offset T Tool offset M Matrix transformation If check box is enabled then offset is set and active If check box is checked then offset is included in position display It is also used with Set Position and Go To commands Machine position Shows current machine position If offset check box is checked then its value is included in position User can enter new value It will be used to execute Set Position command Each position value has small button in front which is used to 3 Set Position to zero Executing Set Position will change machine absolute position If absolute position is changed automatic tool change and fixed tool sensor 1000 00 L positio
35. being used and which axis or axes are moving It is an error if e anew feed rate is not specified after switching to G94 G95 5 14 61 G96 Initial level Return in Canned Cycles When the spindle retracts during canned cycles there is a choice of how far it retracts Program G98 to retract perpendicular to the selected plane to the position that axis was in just before the canned cycle started unless that position is lower than the position indicated by the R word in which case use the R word position 140 5 14 62 G99 R point Level Return in Canned Cycles When the spindle retracts during canned cycles there is a choice of how far it retracts Program G99 to retract perpendicular to the selected plane to the position indicated by the R word 5 15M Codes 5 15 1 MO Program Stop To stop a running program temporarily regardless of the setting of the optional stop switch program MO 5 15 2 M1 Optional Program Stop To stop a running program temporarily but only if the optional stop switch is on program M1 5 15 3 M2 Program End To end a program program 2 5 15 4 M30 Program End Pallet Shuttle and Reset To exchange pallet shuttles and then end a program program M30 5 15 5 M60 Pallet Shuttle and Program Stop To exchange pallet shuttles and then stop a running program temporarily regardless of the setting of the optional stop switch program M60 5 15 6 M3 Turn Spindle Clockwise To start
36. current location using a movable tool sensor The movable tool sensor is positioned by the operator The machine performs the measurement 3 3 11 16 Initiates automatic homing procedure 3 3 11 17 Transformation 3 3 11 17 1 Transformation Transformation Matrix Enabled Applies matrix based transformation to current G Code program AD 0 3097 gt BO 0 4377 0 4152 0 8991 3 3 11 17 2 Transformation Calculate Transformation Matrix Tool Sensor Calculates matrix based transformation for Offset current G Code program X 0 0000 Y 10 0000 Target Position X 0 0000 Y 0 0000 Size X 0 0000 Y 0 0000 Workpiece Angle a 25 2460 Position X 2465 9 Y 193 096 Size X 895410 Y 91 0091 Transformation AU 0 9097 BO 04377 mm 4152 0 8991 F 2465 9 93 0967 Size 5 6000 Fa F co C1 0 0000 0 0000 Calculate 0 0000 0 0000 24 6579 93 0967 4 17 3 3 11 17 3 Transformation Calculate Matrix From Points Tool Sensor Calculates matrix based transformation for Offset Size current G Code program using captured EU a measured to stored point s data From To Points From X 4187 Y 2542646 vw T To X 1754197 al Y 2542646 E Update Add Remove Capture Open Save Transformation 1 0000 gt BO 0 0000 CO 0 0000 Al 0 0000 B1 11 0000
37. direction When Testkey is the focus and a key is pressed the key code number is displayed in a box above the Set list To assign a jog key a function is selected from the list and key code number s are entered in the box above the Set list Pressing Set button confirms the assignment For example left CTRL key code 162 code 87 Selection of A B in the Set list entry of 162 87 in the box above the list and press of the Set button assigns left CTRL W to trigger the move Default restores original jog key assignments 3 4 1 7 10 button T 12345678 00000000 This panel shows the status of signals to and from the controller On Off indication depends on connected hardware and use of Invert 1234567282 options in other Settings tabs 000000060 Input 1 2 3 4 5 6 7B 00000000 Control 1 2 3 4 5 6 7 amp Output 1 2 3 4 5 7 amp 000000060 e o e o 86 3 4 1 8 Calibration button This option should only be used if manual calculation of Steps Unit is not possible It s far more accurate to derive Steps Unit by calculation using known data Pressing the Calibration button opens the panel The axis to be calibrated is selected Next advances to the next stage In next step a distance is specified for the nominated axis to be moved Default setting is 100 mm Pressing Measure advances to the next step in the process The s
38. full view 3 3 9 12 Change View Switch between horizontal and vertical position of G code panel Provides alternate view with wide aspect visualization and G Code listing This can be useful if G Code lines or comments are wider than the standard view will display or if program aspect ratio is more suited to this layout 3 3 9 13 Simulate otarts Stops animated simulation of G Code programs Users can pan left mouse button rotate right mouse button and zoom mouse wheel without interruption of simulation oimulation does not apply programmed cutting speed Shift F12 increases simulation speed Ctrl F12 slows down simulation 3 3 9 14 Window Jog Opens a jog panel maintaining on screen jog functions Click hold on large arrows jogs until mouse button release Corner buttons allow combined axis jogging Small arrows near the center of jog controls perform a single step move per click 3 3 9 15 Window Reset Resets GUI to default size and position 3 3 9 16 Window Large Displays larger toolbar screen buttons for use with a touchscreen display 67 3 3 9 17 Show The Show item opens a sub menu of elements that can be displayed as part of G Code visualizations There are many helpful aids to provide useful feedback Use is fairly self explanatory Checked items are visible in visualizations unchecked items are not 3 3 9 18 Material Material opens a list of materials defined in Settings
39. is used save does not overwrite the original file 3 3 10 13 Edit DXF The dialog will show identifying layer content in the imported DXF file Entities within the DXF can be re ordered or removed The G Code line where the entity appears in the file is identified G code describing the entity is selected When a entity is selected in the panel it is highlighted in the visualization display The code associated with the entity is selected in the G Code panel listing A DXF file must first be imported or this function is unavailable 3 3 10 14 To Clipboard Copies entire contents of the G Code panel to the windows clipboard 3 3 10 15 Paste from Clipboard Pastes windows clipboard content to the G Code panel 71 3 3 11 Machine menu The machine menu provides means to directly interact with Machine controlled machines and attached hardware Emergency Stop Escape 400 Start Enter 401 The machine can be positioned at preset locations or user specified Gri 402 positions Cutting can be controlled Raw binary files can be Statt Raw File 403 processed Programs can be looped or segmented Outputs can be Stop 404 controlled Pause Pause 405 Where a tool table database has been configured tool change acm commands can be issued or tools can directly selected from a Mist Ctri M 421 named list These options are designed for use with auto Flood Ctrl F 422 toolchangers allowing tools to be manually selected spindl
40. switches It s recommended that a 100nF capacitor is connected directly across switch terminals Pins 2 4 6 8 10 12 14 and 16 are Ground or common connections LIMIT 1 X axis negative limit LIMIT 2 X axis positive limit LIMIT 3 Y axis negative limit LIMIT 4 Y axis positive limit LIMIT 5 Z axis negative limit LIMIT 6 Z axis positive limit LIMIT 7 A axis negative limit LIMIT 8 A axis positive limit Limits can use one of two possible configurations The preferred configuration will determine limit switch connections NORMAL Each switch is connected to its own pin with positive and negative limits determined by designated switches SINGLE INPUT Both axis limit switches are connected to one pin Direction of travel determines if positive or negative switch is triggered Enabling the sensor option in Settings assigns LIMIT 5 Z for sensor for tool measuring procedures Enabling I2C in Settings assigns LIMIT 7 and LIMIT 8 for I2C communication LIMIT 7 becomes 12 SDA pin LIMIT 8 becomes 2 SCL pin 13 2 2 5 Mk1 EXT connector GND RESET LED EXT 5V GND RESET LED EXT 5V O0000u Ground or common connections A NO normally open momentary switch that when closed connects this pin to ground duplicates the function of the built in reset switch This is helpful if the controller is enclosed making the dedicated button inaccessible An LED connected
41. the absolute coordinate system but are in unspecified length units To return to predefined position by way of the programmed position program G28 X Y Z A B C or use G30 All axis words are optional The path is made by a traverse move from the current position to the programmed position followed by a traverse move to the home position If no axis words are programmed the intermediate point is the current point so only one move is made 127 5 14 18 G33 Spindle Synchronized Motion G33 X Y Z K K distance per revolution For spindle synchronized motion in one direction code G33 X Y Z K where K gives the distance moved in XYZ for each revolution of the spindle For instance if starting at Z 0 G33 Z 1 K 0625 produces a 1 inch motion in Z over 16 revolutions of the spindle This command might be part of a program to produce a 16TPI thread Another example in metric G33 Z 15 K1 5 produces a movement of 15mm while the spindle rotates 10 times for a thread of 1 5mm opindle synchronized motion waits for the spindle index and spindle at speed pins so multiple passes line up G33 moves end at the programmed endpoint G33 could be used to cut tapered threads or a fusee All the axis words are optional except that at least one must be used Note K follows the drive line described by X Y Z K is not parallel to the Z axis if X or Y endpoints are used for example when cutting tapered threads 5 14 19 G40 Cancel Cutter
42. the meaning of the line except inside comments This makes some strange looking input legal The line gOx 0 12 34y 7 is equivalent to 90 0 1234 y7 for example Blank lines are allowed in the input They are to be ignored Input is case insensitive except in comments Any letter outside a comment may be in upper or lower case without changing the meaning of a line 5 3 Line Number A line number is the letter N followed by an integer with no sign between 0 and 99999 written with no more than five digits 000009 is not OK for example Line numbers may be repeated or used out of order although normal practice is to avoid such usage Line numbers may also be skipped and that is normal practice A line number is not required to be used but must be in the proper place if used 5 4 Word A word is a letter other than N followed by a real value Words may begin with any of the letters shown below Several letters 1 J P may have different meanings in different contexts Permitted letters are D K J K L M P Q R S T X Y 2 5 5 Number A real value is some collection of characters that can be processed to come up with a number A real value may be an explicit number such as 341 or 0 8807 a parameter value an expression or a unary operation value Definitions of these follow immediately Processing characters to come up with a number is called evaluating An explicit numbe
43. the spindle turning clockwise at the currently programmed speed program M3 5 15 7 M4 Turn Spindle Counterclockwise To start the spindle turning counterclockwise at the currently programmed speed program 4 5 15 8 M5 Stop Spindle Turning To stop the spindle from turning program M5 5 15 9 M6 Tool Change To change a tool in the spindle from the tool currently in the spindle to the tool most recently selected using a T word program M6 141 5 15 10 M7 Mist Coolant On To turn mist coolant on program M7 5 15 11 M8 Flood Coolant On To turn flood coolant on program M8 5 15 12 M9 Mist and Flood Coolant Off To turn all coolant off program M9 It is always OK to use any of these commands regardless of what coolant is on or off 5 15 13 48 Enable Speed and Feed Overrides 5 15 14 M49 Disable Speed and Feed Overrides not implemented To enable the speed and feed override switches program M48 To disable both switches program M49 It is OK to enable or disable the switches when they are already enabled or disabled 5 15 15 M62 Output 5 15 16 M63 Output 5 15 17 M64 Output 5 15 18 M65 Output To control output program M62 M65 P word defines output number Q word defines value Example 1 M62 P2 Q1 this will set value of output 2 to 1 142 5 16 Other Codes 5 16 1 F Set Feed Rate To set the feed rate program F The rate at which the controlled point or the axes move is nominally
44. to this pin duplicates the function of the onboard LED This is a useful option if enclosure means the onboard LED is not visible An E Stop or Pause switch can be connected to this pin A 10k ohm pull up or pull down resistor is required Use of the pin must be enabled in Settings Misc ExtPin E Stop or Pause function be assigned Invert LED options allow use of a normally open or normally closed EXT switch 45V 5 power supply 14 2 3 Mk2 9 axis CNC USB controller description MOTOR Connectors 1 4 MOTOR 5 9 Connector CNE USE CONTROLLER uuu planet cnc Cof Power Input Power Options Power Status LEDS LED USB Port Features e 100 kHz maximum step frequency e 7 digital outputs e 12 us minimum pulse width e manual jog input keys for all axes limit keys for all axes e general inputs e 8 control inputs for pendant or similar device e 50 card support for running g code without computer e control external devices with I2C protocol LEG oe hh eg ed T SPD E m OUTPUT Connector EXT Connector POT LIMIT JOG Connector INPUT Connector CTRL Connector 15 2 3 1 Mk2 MOTOR connector 5V C GND 22 STEP J DIR ENABLE Each connector controls one motor driver Pins 2 4 6 7 8 and 10 provide the Ground or common side of connections 5V 5V power Motor drivers can take po
45. wizard lt Back Cancel Windows XP will continue installation without further user input The Found New Hardware Wizard will report success on completion Press Finish to close the wizard 48 3 2 4 Completing driver installation Windows 7 ix Windows Securi y amp Windows can t verify the publisher of this driver software gt Don t install this driver software You should ch your manufacturer s website for updated driver software Install this driver software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information v See details When the CNC USB Controller is connected to the USB Port Windows 7 will detect controller hardware and begin the driver installation process Windows Security will launch a publisher verification request Select Install this driver software anyway to continue with installation the rest of the process does not require user input When the driver has been installed Windows 7 will show a pop up report of success at the lower right hand side of the Taskbar 49 3 3 Main window CNC USB Controller General H _Stepper Stepper PC Software VS2008 CNCUSBController Samples Heart iso Ka aE File View Program Machine Help Debug DSI 5 2 2 G20 990 Off wW JT M Relief Limits a 31
46. 0 G21 units group 7 lt G40 G41 G42 cutter radius compensation group 8 G43 G49 tool length offset group 10 G98 G99 return mode in canned cycles group 12 G54 G55 G56 G57 G58 G59 G59 1 G59 2 659 3 coordinate system selection group 13 lt 661 G61 1 G64 path control mode The modal groups for M codes are group 4 MO M1 M2 M30 M60 stopping group 6 lt M6 tool change group 7 M3 M4 5 spindle turning group 8 M7 M8 M9 coolant special case M7 and M8 may be active at the same time group 9 M48 M49 enable disable feed and speed override switches In addition to the above modal groups there is a group for non modal G codes group 0 G4 G10 G28 G30 G53 G92 G92 1 G92 2 G92 3 122 For several modal groups when a machining center is ready to accept commands one member of the group must be in effect There are default settings for these modal groups When the machining center is turned on or otherwise re initialized the default values are automatically in effect Group 1 the first group on the table is a group of G codes for motion One of these is always in effect That one is called the current motion mode It is an error to put a G code from group 1 and a G code from group 0 on the same line if both of them use axis words If an axis word using G code from group 1 is implicitly in effect on a line by having been activated on an earlier line and a group 0 G code that u
47. 3 44 Z9 That means to make a clockwise as viewed from the positive z axis circular or helical arc whose axis is parallel to Z axis ending where X210 Y 16 and Z 9 with its center offset in the X direction by units from the current X location and offset in the Y direction by 4 units from the current Y location If the current location has 7 Y at the outset the center will be at X710 Y 11 If the starting value of Z is 9 this is a circular arc otherwise it is a helical arc The radius of this arc would be 5 In the center format the radius of the arc is not specified but it may be found easily as the distance from the center of the circle to either the current point or the end point of the arc 125 5 14 5 G04 Dwell For a dwell program G4 P This will keep the axes unmoving for the period of time in seconds specified by the P number It is an error if e the P number is negative 5 14 6 G7 Lathe Diameter Mode Program G to enter the diameter mode for axis X on a lathe When in the diameter mode the X axis moves on a lathe will be 1 2 the distance to the center of the lathe For example X1 would move the cutter to 0 500 from the center of the lathe thus giving a 1 diameter part 5 14 7 G8 Lathe Radius Mode Program G6 to enter the radius mode for axis X on a lathe When in Radius mode the X axis moves on a lathe will be the distance from the center Thus a cut at X1 would result in a part that is 2 in diame
48. 63 M64 or M63 codes to control outputs Code structure is M6x Px Qx P selects the output Q determines the value sent 3 4 6 6 Invert Output Invert Select positive or negative logic similar to NO NC 95 3 4 7 Limits Limit Limits options relate primarily to use of Normally Open Normally Closed NC switch hardware Single Input Shift This is set with Invert checkbox Invert Limit 1 Invert Limit 2 Controllers can use Normal or Single Input 577 Invert Limit 4 mode Invert Limit 5 Invert Limit amp Normal Invert Limit 7 Each switch is connected to its own Invert Limit 8 pin Invert Limit Shift Single Input Both axis limit switches are connected to one pin Direction of travel determines if positive or negative switch is triggered Single Input Single Input Shift Both axis limit switches are connected to one pin with the SHIFT pin used to determine if positive or negative limit is triggered see Hardware section of manual for details 3 4 8 Jog Options on this tab configure use of hardware and software jogging keyboards Enable Enable disable use of hardware jogging keyboard Invert Allows use of Normally Open NO or Normally Closed NC switch hardware on user jogging keyboards Swap Reverse positive negative direction Decelerate On key release the machine will slowly decelerate to stop Distance The distance th
49. 7 3 3 11 17 2 Transformation Calculate Transformation 77 3 3 11 17 3 Transformation Calculate Matrix From 78 3 3 11 17 4 Transformation Capture amp Measure Points 78 3 3 11 17 5 Transformation Capture 8 Measure Points Capture 79 3 3 11 17 6 Transformation Capture amp Measure Points Clear 79 3 3 11 17 7 Transformation Capture amp Measure Points Load Points 79 3 3 11 17 8 Transformation Capture amp Measure Points Save Points 79 3 3 11 17 9 Transformation Capture amp Measure Points Show 80 3 3 11 17 10 Transformation Capture amp Measure Points 80 IFES EPI ED LOC oim 81 op NES RTI PEERS 81 TSO WS eU E TET 82 3 02 9 0 12 2 JAGUVAte ECOL tetuer EM uci dran eel PMID 82 S ve DS MM alim EE EUER 82 ets Rc mete re Emme E 82 Soule WO Mec EEUU HIER 82 9 9 12 0 Gheck For 82 149 DOr bel ABDOU 92 DEMN T UT 83 GOIN Cl alan TEE 84 S
50. A E 69 OK XEM E EE 69 19 2 IBOOKIDSEIKS oM V HEU ml uc tl tua da Cn due 69 o NIME MCCC eR 70 70 70 70 d e hi e PR cde On t i D uU a B e EN ev NC 70 3 93 10 8 CODY ebat RU 71 71 319 10 LINES 71 GORVER All TO EIS aii erc vaa 71 cuero t ERR T UEM 71 EM EE 71 9 9 10714 CODY TO CID DOIG deber via er ec adea pira drea REN 71 2 9 10715 Paste rom C wt ad dg ber ved Da 71 72 Mo p PU EMEEN EE D UU a 72 ISTE S imr 72 72 NEM EE 72 MEME 00 ee tx TE 72 SOMEONE LI TUER 72 148 fase nes tee ste net T3 Cro MIIS RR E 73 9 9 1 139 73 Spe EM MEO E ET TI IER 73
51. AAN SII UU Um ES 94 SE MS D 94 ld WIS DIAY MA 84 er Roam ne OnE Coe ee nee IRE eae dE e E E en mee 85 ee mt ee 85 SP NIMES eue M 86 or WO sex DUNO m 86 34 1 0 CAD alone Diocesi 97 DA AAO MUI OLEI I MID CMM ML ME M MU CD MC E 88 SALV Rm 88 89 5 89 mt mmm 99 39 BACKAS 99 SASH 5 eeu ev edu ot e 99 SAA AOS E 90 SEMEN Emo 90 pond MONN 90 92 Sr Pon MEM ER uum 93 94D OUMU pice carcino eut 94 34601 ick v eb ED a Par du evt OE kn a tun lea s d 94 346 2 T 94 PR PURI 95 505 EET 95 3 4 0 5 1162 6 M604 MGB sic iiir ttti repiten ra mee dew st sehe ete du 95 2340435 Invert OC UNDUE dudes dh eie Peau rl carte Sars 95 Sd coucou 96 SAB C
52. CNC USB Controller User manual 2013 02 22 Disclaimer CONTROLLER AND CONTROLLER SOFTWARE ARE PROVIDED TO YOU AS IS WITHOUT WARRANTY THERE IS NO WARRANTY FOR THE CONTROLLER AND CONTROLLER SOFTWARE EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE CONTROLLER OR CONTROLLER SOFTWARE 15 WITH YOU SHOULD THE CONTROLLER OR CONTROLLER SOFTWARE PROVE DEFECTIVE YOU ASSUME THE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION IN NO EVENT SHALL THE AUTHOR BE LIABLE TO YOU FOR DAMAGES INCLUDING ANY GENERAL SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE CONTROLLER OR CONTROLLER SOFTWARE 1 Introduction 1 1 Overview Li d 295 Motor Driver Motor Mk2 4 9 Controller The planet cnc com series of USB CNC motion controllers link between a personal computer and motor drivers supporting step dir control They are compatible with most drivers The controllers use the USB port available on all modern computers and laptops They can serve as direct replacement or upgrade for many parallel port break out boards There are currently three models available The Mk1 controller for up to 4 axes the Mk2 controller using up to 9 axes and the Mk2 4 controlle
53. D calibration e Easy connection to Mk1 and Mk2 controllers e Jumper control of Mk 1 Connector OUT1 0 10V option e Replicates Mk 1 Connector POT pins e Full support in USB CNC Controller software requirements e 12V DC power supply Current rating of at least 200mA 38 2 8 MPG Pendant Adapter r mogmam 8 E WW anet crn This adapter allows the Mk2 9 axis controller to support use of an MPG pendant such as HEDSS pendant This type of hand held device provides a convenient means of precise control while the operator is close by the machine It can be of much assistance when performing job setup The adapter allows interface of the MPG Pendant by use of the CTRL and AXES 5 9 connector Both need to be connected to Mk2 controller CTRL and AXES 5 9 connectors with 16 wire cables which are included with adapter Only the Mk2 9 axis controller supports use of this adapter The adapter is supplied in one of two configurations e Adapter only This option facilitates use of existing pendants Wiring to suit the hardware in use is required e Adapter with pendant This option comes with the pendant It is pre wired for immediate use with Mk2 CNC USB controllers 39 2 9 SD Card Adapter SO Card Reader uuu pl anet cnc com SD card options for the 2 USB Controller are in development Use of this adapter in conjunction with control but
54. It is not good practice to program radius format arcs that are nearly full circles or are semicircles or nearly semicircles because a small change in the location of the end point will produce a much larger change in the location of the center of the circle and hence the middle of the arc The magnification effect is large enough that rounding error in a number can produce out of tolerance cuts Nearly full circles are outrageously bad semicircles and nearly so are only very bad Other size arcs in the range tiny to 165 degrees or 195 to 345 degrees are OK Here is an example of a radius format command to mill an arc G17 G2 x 10 y 15 20 2 5 That means to make a clockwise as viewed from the positive Z axis circular or helical arc whose axis is parallel to the Z axis ending where X210 Y 15 and Z 5 with a radius of 20 If the starting value of Z is 5 this is an arc of a circle parallel to the XY plane otherwise it is a helical arc e Center Format Arc In the center format the coordinates of the end point of the arc in the selected plane are specified along with the offsets of the center of the arc from the current location In this format it is OK if the end point of the arc is the same as the current point It is an error if 124 when the arc is projected on the selected plane the distance from the current point to the center differs from the distance from the end point to the center by more than 0 0002 inch if inches are
55. SER TEE 129 5 14 25 G49 Cancel Onset dauerte eese Due uoce ta ttes 129 5 14 26 553 Motion in Machine Absolute 129 5 14 27 G54 Use Preset Work Coordinate System 1 130 5 14 28 555 Use Preset Work Coordinate System 2 130 5 14 29 G56 Use Preset Work Coordinate System 3 130 5 14 30 G57 Use Preset Work Coordinate System 4 130 5 14 31 G58 Use Preset Work Coordinate System 5 130 5 14 32 559 Use Preset Work Coordinate System 6 130 5 14 33 659 1 Use Preset Work Coordinate System 7 130 5 14 34 G59 2 Use Preset Work Coordinate System 8 130 5 14 35 659 3 Use Preset Work Coordinate System 9 130 5 14 36 G61 Set Path Control Mode Exact 130 5 14 37 G61 1 Set Path Control Mode Exact
56. ailable Stock definitions Description can be applied in the calculation of offsets Kind Number m aize Position Assigns a number to the defined 100 0000 15 0000 s Y Size Y Position material E DODO Name Z5ize Z Position 20 0000 18 0000 Name the material will use in the listing and GUI Description Optional description Material kind used to set color and texture on visualization display X Y Z Size Material dimensions X Y Z Position Material position on machine table 106 3 4 15 Parameters Parameters Parameter table is used for setting various Coordinate System F Y 7 parameters Usually these are persistent G Coordinate System P2 Coordinate System P3 BM Code variables such as coordinate systems Coordinate System P4 Coordinate System PO B C and offsets Coordinate System 000 0 0000 0 0000 Coordinate System P8 Coordinate System V wW Position G28 000 0 0000 1 10 0000 Offset Pasition G30 Working offset ec Coordinate system Coordinate system origin setting defined with G10 L2 G Code Position G28 Home position defined with G28 G Code Position G30 Secondary home position defined with G28 G Code Offset G92 Coordinate system offset defined with G92 G Code 107 3 4 16 I2C For setting up communication with 12C devices M3 M4 M5 Spindle Speed Min Max Frequency 25000 M7
57. and G Code panel Display Named swatches identify visualization elements and applied colors Color is adjusted by selection of an element A windows color selection panel will display Adjustment or selection of an alternate color is made and the software applies this to the element Visualization colors can be reset to initial values using the Default button G Code Named swatches identify G Code words and other listing elements displaying the applied color Color assignment is adjusted as previously described The G Code tab has an additional Enable option for use of colors in the G Code panel Default 1 and Default 2 buttons provide two preconfigured color options Display Toolpath Traverse Toolpath Feed Line Toolpath Feed Arc Background Grid Extents Extents Feed Toolpath Selected G Code Enable M Words 5 Words T Words F Words Ais Words Words Words Position Simulation Position G28 Position G30 Other Enable Numbers Numbers 85 3 4 1 6 Keys button Up to three Sets of PC jog keys are configured using this tab Custom axis names and combined axes jogging can be assigned Using standard axis names names A B C correspond with axes X Y Z and so on symbols show direction For example A B is a diagonal move X moves to in negative direction Y moves in positive
58. ange X Y Z Absolute position of the tool in a toolchanger or an absolute position used for manual tool change 100 3 4 12 This tab configures manual or automatic tool change parameters Tool Change 3 4 12 1 Tool Change Position Not Set Toolchange position has not been set Position At Park 1 At Park 2 On tool change M6 the machine moves to the park location specified in the Axes 2 tab Position At G28 At G30 On tool change M6 the machine moves to home locations defined with G Codes G28 or G30 Position At Zero Z Z axis zero position On tool change M6 the machine moves the Z axis to this location Position From Tool Table Used with auto toolchangers Toolchange location is defined in a tool table see Tools tab Z Axis First Tool Change Mot Set 9 Z Axis First Z Only Pause Tool Length Auto Retum Auto Compensate Leave Spindle On Skip Already Active Use Default Tool Tool Change Tool Table At G28 At G30 From Tool Table Sate Height 90 0000 Speed 1600 00 Lock Output pin Delay 1 0 Blow Qutput pin 2 Delay 1 0 Move Unloaded X 0 0000 0 0000 Y 10 0000 0 0000 Z 40 0000 0 0000 Move Loaded X 0 0000 0 0000 Y 10 0000 50 0000 Z 40 0000 0 0000 alk alk alk alk alk The Z axis is moved first to avoid tool breakage
59. aptop running Windows XP Vista or Windows 7 32 bit or 64bit motor driver connector pin out is compatible with 10 pin open source interface controller works with most step dir motor drivers available on the market buffered IO for maximum performance advanced interpolation algorithms start stop pause and resume execution of program on your machine standard RS274 NGC G code EMC2 compatible advanced G codes G40 G41 G42 Cutter Radius Compensation supported advanced G codes G43 G49 Tool Length Offsets supported advanced G codes G54 G59 3 Coordinate System Origins supported tested with SolidCAM MasterCAM ArtCAM Vectric generated G code Profili 4 axes and 3 axes G code supported import toolpath from DXF files import toolpath from PLT HPGL files import toolpath from image files import toolpath from NC Drill Excellon files import toolpath from Gerber RS 274X files toolpath simulation automatic homing procedure automatic tool length measuring advanced toolchange procedures export toolpath to G code export toolpath to DXF SDK software developers kit is available works on MacOS X Snow Leopard 10 6 3 with virtual machine emulating Windows XP SP3 1 2 1 Mk1 4 axes USB CNC controller 25 kHz maximum step frequency 3 digital outputs flood mist spindle 12 us minimum pulse width manual jog input keys for all axes limit keys for all axes control external devices with I2C protocol Mk2 9 axe
60. ars on a line only the last one will be used each of the other comments will be read and its format will be checked but it will be ignored thereafter It is expected that putting more than one comment on a line will be very rare 5 11 Order The three types of item whose order may vary on a line as given the beginning of this section are word parameter setting and comment Imagine that these three types of item are divided into three groups by type The first group the words may be reordered in any way without changing the meaning of the line If the second group the parameter settings is reordered there will be no change in the meaning of the line unless the same parameter is set more than once In this case only the last setting of the parameter will take effect For example after the line 723215 3 6 has been interpreted the value of parameter will be 6 If the order is reversed to 723 26 3 15 and the line is interpreted the value of parameter 3 will be 15 If the third group the comments contains more than one comment and is reordered only the last comment will be used If each group is kept in order or reordered without changing the meaning of the line then the three groups may be interleaved in any way without changing the meaning of the line For example the line 940 91 3 15 foo 4 7 0 has five items and means exactly the same thing in any of the 120 possible orders such as 4 7 0 91 3 15 940
61. being used or 0 002 millimeter if millimeters are being used When the XY plane is selected program G2 X Y Z A B C l J or use G3 instead of G2 The axis words are all optional except that at least one of X and Y must be used and J are the offsets from the current location in the X and Y directions respectively of the center of the circle and J are optional except that at least one of the two must be used It is an error if e Xand Y are both omitted e land Jare both omitted When the XZ plane is selected program G2 X Y Z A B C l K or use G3 instead of G2 The axis words are all optional except that at least one of X and 2 must be used and K are the offsets from the current location in the X and Z directions respectively of the center of the circle and K are optional except that at least one of the two must be used It is an error if e Xand Zare both omitted e and are both omitted When the YZ plane is selected program G2 X Y Z A B C J K or use G3 instead of G2 The axis words are all optional except that at least one of Y and Z must be used J and K are the offsets from the current location in the Y and Z directions respectively of the center of the circle J and K are optional except that at least one of the two must be used It is an error if e Y and Z are both omitted e Jand are both omitted Here is an example of a center format command to mill an arc G17 G2 X10 Y16 1
62. cal updates to the NET Framework Cancel On completion the setup wizard will display a report of successful installation Press Close to exit the wizard 44 3 2 2 Driver installation 15 Setup USB Controller Driver Welcome to the CNC USB Controller Driver Setup Wizard This will install USB Controller Driver 2 10 on your computer IE is recommended that you close all other applications before continuing Click Next bo continue or Cancel to exit Setup Driver installation is achieved by running CNCUSBControllerDriver exe The Driver Setup Wizard will launch press Next to continue or Cancel to stop installation 15 Setup USB Controller Driver Select Destination Location Where should CNC USB Controller Driver be installed CJ Setup will install USB Controller Driver into the Following Folder To continue click IF vou would like to select a different Folder click Browse Program USB Controller Driver least 1 2 MB af Free disk space is required The destination C Program USB Controller Driver is applied by default An alternate location can be specified using Browse button Press Next to continue or to stop installation 45 15 Setup USB Controller Driver Select Start Menu Folder Where should Setup place the program s shortcuts mi Setup wi
63. cted and the following line of NC code is interpreted G91 G81 G98 X4 Y5 2 0 6 R1 8 L3 This calls for incremental distance mode G91 and OLD Z retract mode G98 and calls for the G81 drilling cycle to be repeated three times The X number is 4 the Y number is 5 the Z number is 0 6 and the R number is 1 8 The initial X position is 5 1 4 the initial Y position is 7 2 5 the clear Z position is 4 8 1 8 3 and the Z position is 4 2 4 8 0 6 Old Z is 3 The first move is a traverse along the Z axis to 1 2 4 8 since old Z lt clear Z The first repeat consists of 3 moves 1 traverse parallel to the XY plane to 5 7 4 8 2 afeed parallel to the Z axis to 5 7 4 2 3 atraverse parallel to the Z axis to 5 7 4 8 The second repeat consists of 3 moves The X position is reset to 9 5 4 and the Y position to 12 77 5 1 atraverse parallel to the XY plane to 9 12 4 8 2 afeed parallel to the Z axis to 9 12 4 2 3 atraverse parallel to the Z axis to 9 12 4 8 The third repeat consists of 3 moves The X position is reset to 13 9 4 and the Y position to 17 71245 1 atraverse parallel to the XY plane to 13 17 4 8 2 afeed parallel to the Z axis to 13 17 4 2 3 atraverse parallel to the Z axis to 13 17 4 8 5 14 44 G82 Canned Cycle Drilling with Dwell The G82 cycle is intended for drilling Program G82 X Y Z A B C R L P 1 Preliminary motion as described above 2 Move the Z axis
64. d rate The collet engages the tool 102 Step 5 Using designated outputs the controller sends Lock to grip the tool and Blow to clear any debris A short delay is used to allow the cycle to complete Blow Step 6 The machine will move at Speed rate to the Tool Change location defined in the tool table for tool 1 A tool is now mounted so a Move loaded lead in offset can be applied Zero one or two move lead ins are available Step 7 If required automatic tool length procedure can be inserted into the process at this stage by use of the Tool Length option If so tool length will be determined The machine will move to the tool sensor and measure the tool Step 8 The machine will Auto return to it s initial position using Safe Height Z axis location and traverse rate Step 9 If it was stopped at Step1 the machine will start the spindle If spindle stop start is controlled manually a Pause option will allow the spindle to be started otep 10 The Z axis moves down to the initial position to engage the tool with the stock and cutting commences When use of the mounted tool is complete the cycle is repeated As a tool is now loaded it needs to be unloaded first Tool unloading is very similar to loading the order of operations is reversed e The Z axis moves to safe Z height spindle stops he machine traverses to tool 1 toolchange position e The Z axis moves down to relea
65. d to contact us and provide activation code and controller serial number Help License actiyation Google Cade Wiki Activation Code Controller Board G Code NIST RS274hGC Reference JLE TZ W FP Serial 010200 G Code EMC2Z Reference Activate License Registration Key Import License Export License Log Check For Updates If you have registration key open License activation dialog and paste your registration key Help License activation Google Activation Code G Code Wiki Controller Board G Code NIST R5z274MGC Reference DLE T See FP ARP Seral 010200 EMC Reference Activate License Registration Key 3052 ci 4r 3dG e IB3 3352U0ec Import License Export License Lag Check For Updates 111 Help um If you have license data file dat lic or zip you can import it There oogle G Code Wiki is no functional difference if using registration key or license data file G Code NIST RS274NGC Reference G Code EMC2Z Reference Activate License Import License Export License Log Check For Updates Abaut m If you want to create backup copy of your license you can export it as Google Cade Wiki license data file G Code NIST RS274NGC Reference G Code EMC2Z Reference Activate License Import License Exp
66. decagon a twelve sided polygon having internal angles of 150 degrees can be cut without reducing speed Lookahead Radius Minimum arc radius machine can travel without reducing speed Optimization Threshold G Code post processors can generate very detailed code often with moves smaller than the distance a machine travels using a single step pulse Controller software can ignore moves beyond the controlled machine resolution i e smaller than the Optimization Threshold Pause Dialog If checked a pause dialog alert is displayed on pause Pause Decelerate If checked the machine slowly decelerates before pause Stop Decelerate If checked the machine slowly decelerates before stop Measure Speed If checked Software attempts to estimate speed based on position change Time Factor Multiplier used to correct estimated machining time with actual machining time Check Boundaries XY code extents are used to check if the cut is within Axes3 machine limits Disable Helix Interpolation Disables helix interpolation Used for development testing purposes only G Code Editor Text editor used for editing G code in the Main GUI 92 3 4 5 1 ExtPin Ext pin is only available on Mk1 controller Enable Enables use of the Ext pin Invert opecifies switch hardware connected to Ext pin as being Normally Open uninverted or Normally Closed inverted Is E Stop Triggering of switch hardware connected to Ext pin cause
67. dicate controller function is good 26 2 4 Mk2 4 4 axis CNC USB controller description MOTOR Connectors 1 4 o OUTPUT DB25 E Connector Connector cnc c c LIMIT Connector pen 4 bas a Power z Input INPUT Power Connector Options Power USB Status JOG LED Port LEDS Connector Features e 100 kHz maximum step frequency e 3 digital outputs e 12 us minimum pulse width e manual jog input keys for all axes e limit keys for all axes single input mode e inputs for tool sensor E Stop 2f 2 4 1 Mk2 4 MOTOR connector GND 5 GND STEP DIR ENABLE Each connector controls one motor driver Pins 2 4 6 7 8 and 10 provide the Ground or common side of connections All signals are also available on screw type connector and 25 connector 5V STEP DIR ENABLE GND 5V power Motor drivers can take power from the USB controller Provides a STEP signal of minimum 12 us pulse width to the motor driver Provides DIR or DIRECTION signal to the motor driver Provides an ENABLE signal for motor drivers When the ENABLE signal is lost due to output command E Stop or limit switch activation motor drivers will deactivate A dedicated E Stop attached to the INPUT connector can control the signal It can also be operated by limit switch activation software command or on shutdown of the control software This arrangement provides a useful safety fea
68. dware is suitable It is much less costly to replace in event of failure or damage Camera hardware mounted close to spindles experiences much vibration Robust construction and the ability to mount hardware securely are the most important considerations when choosing web cam tool sensors Camera and camera cable might also be source of electrical interference 3 3 11 17 10 Transformation Capture amp Measure Points Sensor Provides convenient means to adjust sensor parameters without recourse to the main settings panel This can be useful if it s necessary to adjust the Size parameter when tools are changed Sensor Setup Offset XY Sensor offset The tool sensor may be mounted at an offset from the tool center Normally the case with USB camera sensors Sensor Setup Size Tool radius tool sensor size total distance from tool center to stock Sensor Setup Height Tool sensor height If you use PCB for sensor the this is thickness of PCB Mark Offset Temporary stores position for sensor Offset XY calculation Read Offset Reads temporary stored position and calculates Offset XY 80 3 3 11 18 Soft Limits Used to temporarily disable soft limits during machine setup During setup correct coordinates are not yet in place If active Soft Limits may prevent movement when current settings indicate the machine is at it s limit 3 3 11 19 Firmware Firmware management functions for update and verification Upda
69. e Start the spindle clockwise The spindle must be turning clockwise before this cycle is used It is an error if e the spindle is not turning clockwise before this cycle is executed With this cycle the programmer must be sure to program the speed and feed in the correct proportion to match the pitch of threads being made The relationship is that the spindle speed equals the feed rate times the pitch in threads per length unit For example if the pitch is 2 threads per millimeter the active length units are millimeters and the feed rate has been set with the command F150 then the speed should be set with the command 5300 since 150 x 2 300 If the feed and speed override switches are enabled and not set at 10096 the one set at the lower setting will take effect The speed and feed rates will still be synchronized 136 5 14 47 G85 Canned Cycle Boring No Dwell Feed Out The G85 cycle is intended for boring or reaming but could be used for drilling or milling Program G85 X Y Z A B C R L 1 Preliminary motion as described above 2 Move the Z axis only at the current feed rate to the Z position 3 Retract the Z axis at the current feed rate to clear Z 5 14 48 G86 Canned Cycle Boring Spindle Stop Rapid Out The G86 cycle is intended for boring This cycle uses a P number for the number of seconds to dwell Program 086 X Y Z A B C R L P 1 Preliminary motion as described above
70. e Outputs Transformation options provide advanced features for use with Go To movable tool sensors Mk2 controller users can make use of Get Position inexpensive USB webcam as optical sensor Only Mk2 and Mk2 4 Offset controllers support use of transformations Tonk Home Ctrl Shift H 470 Firmware options allow update and verification of firmware Transformation Soft Limits 3 3 11 1 Emergency Stop sends an Emergency stop or E Stop to the machine causing Firmware immediate hard stop 3 3 11 2 Start Starts execution of the current G Code program 3 3 11 3 Start Loop otarts looped execution of the current G Code program Dialog will display for entry of the number of times the program should be looped Pressing OK starts looped program execution 3 3 11 4 Start Raw File Loads and starts execution of toolpaths exported in RAW format 3 3 11 5 Stop Stops the machine using a normal stop Deceleration is applied 3 3 11 6 Pause Pause Resume execution of the current G Code program 72 3 3 11 7 Bookmarks Processes the active G Code program based on bookmarks Start Only Bookmarked Cut only bookmarked lines Start Skip Bookmarked Cut all except bookmarked lines Start From Beginning To Bookmark Cut from first line to first bookmark Start From Bookmark To End Cut from first bookmark to last line 3 3 11 8 Mist Toggle coolant mist ON OFF 3 3 11 9 Flood Toggle coola
71. e G87 where the meaning changes with distance mode 138 5 14 54 G92 Offset Coordinate Systems and Set Parameters You can offset the current coordinate system using G92 or G92 3 This offset will then apply to all nine program coordinate systems This offset may be canceled with G92 1 or G92 2 To make the current point have the coordinates you want without motion program G92 X Y Z A B C where the axis words contain the axis numbers you want All axis words are optional except that at least one must be used If an axis word is not used for a given axis the coordinate on that axis of the current point is not changed It is an error if e all axis words are omitted When G92 is executed the origin of the currently active coordinate system moves To do this origin offsets are calculated so that the coordinates of the current point with respect to the moved origin are as specified on the line containing G92 In addition parameters 5211 to 5216 are set to the X Y Z A B and C axis offsets The offset for an axis is the amount the origin must be moved so that the coordinate of the controlled point on the axis has the specified value Here is an example Suppose the current point is at X24 in the currently specified coordinate system and the current X axis offset is zero then G92 x7 sets the X axis offset to 3 sets parameter 5211 to 3 and causes the X coordinate of the current point to be 7 The axis offsets are alway
72. e a tool length offset program G43 H where the H number is the desired index in the tool table It is expected that all entries in this table will be positive The H number should be but does not have to be the same as the slot number of the tool currently in the spindle It is OK for the H number to be zero an offset value of zero will be used It is an error if the H number is not an integer is negative or is larger than the number of carousel slots It is OK to program using the same offset already in use It is also OK to program using no tool length offset if none is currently being used 5 14 25 G49 Cancel Tool Length Offset To use no tool length offset program G49 5 14 26 G53 Motion in Machine Absolute Coordinates You can make straight moves in the absolute machine coordinate system by using G53 with either GO or G1 For linear motion to a point expressed in absolute coordinates program G1 G53 X Y Z A B C or use GO instead of G1 where all the axis words are optional except that at least one must be used The GO or G1 is optional if it is the current motion mode G53 is not modal and must be programmed on each line on which it is intended to be active This will produce coordinated linear motion to the programmed point If G1 is active the speed of motion is the current feed rate or slower if the machine will not go that fast If GO is active the speed of motion is the current traverse rate or slower if the
73. e machine will travel on a single press of a jog button in jog STEP mode Max Speed Maximum traverse rate applied in jog moves when using hardware jogging keyboards Jog Enable Invert Swap Decelerate Distance 0 1000 Max Speed 3000 00 Shift Is Step js spe Software keyboard jog speeds are NOT affected by this option Shift is Step Jog When checked the SHIFT key toggles STEP jog mode Unchecked toggles axis 5 8 jogging 97 3 4 9 Input The Mk2 controller input connector allows hardware switches to stop start and pause the machine Invert Use Normally Open NO or Normally Closed NC hardware Use Pause owitching toggles pause resume of NC program INPUT 1 Use Start Triggers G Code execution start INPUT 2 Use Stop Triggers NC program stop execution using a Normal stop INPUT 3 Use E Stop Triggers machine E Stop INPUT 4 Essential safety feature Use Tool Sensor Input is used for Tool Sensor connection INPUT 5 Input Invert Input 1 Invert Input 2 Invert Input 3 Invert Input 4 Invert Input 5 Use Pause Use Start Use Stop Use EStop Use Tool Sensor Input a a es e 98 3 4 10 Control Control Configures Mk2 controller dedicated MPG Control MPG Pendant pendant Inputs Invert Ctd 1 Fl Use E Stop Fi Invert Ctr 2 v Use Axis Switch v Invert Invert Ctrl 3 y Use Distance Switch v Use Normally Open NO
74. e of tabs Passes Number of passes Step Down Depth increment per pass 58 Advanced Safe Height Enable Enable traverse moves at Safe Height between elements Height Safe Height value Spindle Insert Spindle on off G Codes before downward plunge move Flood Insert Flood on off G Codes before downward plunge move Mist Insert Mist on off G Codes before downward plunge move Delay Insert Dwell G04 before downward plunge move Pause Insert Pause M00 G Code before downward plunge move Advanced Stages Stage 1 Enable Enable Enables stage move Height Height 3 0000 Height of stage move Spindle M3 Spindle E Flood M8 Insert Spindle on off G Codes after stage Mist M7 Flood Delay G4 Insert Flood on off G Codes after stage 10 Mist 7 Pause MO Insert Spindle on off G Codes after stage Delay Insert Dwell G04 G Code after stage move Pause Insert Pause M00 G Code after stage move Height 1 0000 Spindle SafeHeight Safe Height Enable Height 100000 E Spindle M3 Food M8 E Mist M7 Delay G4 0 0 n Pause End Enable Delay 54 0 0 Pause MQ Flood M8 Mist M7 Delay G4 0 0 ET Pause MU
75. easier A DB25 adapter is available for motor drivers requiring this form of input with male or female DB25 connector For maximum flexibility in controller layout a ribbon cable and plug kit is available This aids the construction of longer cables and ensures plug in connections correspond to the USB CNC Controller pin outs IMPORTANT The controller can be powered in several ways including use of an external power supply When the USB CNC Controller is configured to use external power it is recommended that the USB port is NOT connected if no external power supply is present When external power supply is used e Mk1 4 Axis Controller hardware requires 5V DC supply e Mk2 9 Axis controller hardware requires 7 12V DC supply 9V recommended e 2 4 4 Axis controller hardware requires 7 12V DC supply 9V recommended Power supply should be at least 200mA 2 2 Mk1 4 axis CNC USB controller description MOTOR Connectors MEM u L a i nis USB z Port I e F Power 5 7 gt Lu vr NE F m T AES SES JOG ES r CONNECTOR Connector TN Connector 2o i LED EXT Reset LIMITS Connector Switch Connector Features e 25 kHz maximum step frequency e d
76. ed Blow The output used to send a Blow signal to external devices Delay time to complete Blow can be specified Move Unloaded Parameters controlling a lead in out offset move when no tool is loaded Two offsets moves are available Move Loaded Parameters controlling a lead in out offset move when a tool is loaded Two offsets moves are available Example Setup of auto toolchanger options requires a little care to begin with for reasons of operator safety and avoidance of damage An appreciation of machine function in this process is helpful The process is outlined below Initial state no tool is loaded Step 1 Machine moves Z Axis First to Safe Height It moves at maximum traverse rate Leave Spindle is unchecked so the spindle will stop If spindle stop start is controlled manually the Pause option allows the spindle to be stopped Step 2 Using Safe Height value for the Z axis the machine traverses in XY to the Tool Change location defined in the tooltable for tool 1 No tool has yet been loaded so a Move unloaded lead in offset can be applied Zero one or two move lead ins are available The Z Axis will then move down Step 3 Using designated outputs the controller sends Lock to unlock the collet and Blow to clear any debris A short delay is used to allow the cycle to complete Blow Step 4 The machine moves to the Tool Change location using Spee
77. eleration Backlash A stepper motor using 200 steps per Backlash revolution 1 8 micro stepping and Park Positions omm per revolution lead screw requires a Steps per Unit value of Pak2 200 8 52320 Reverse Reverse motor direction Invert Pulse Sets step signal pulse to go from OV to 5V or from 5V to OV This can sometimes be referred to as logic high where 5V active and logic low where 0V active 3 4 3 2 Acceleration Initial speed Motor starting speed on the acceleration curve Maximum speed Motor maximum speed on acceleration curve Acceleration Rate of acceleration 3 4 3 3 Backlash Backlash compensation value 3 4 3 4 Park Positions Park1 Park position 1 Park2 Park position 2 89 3 4 4 Axes 3 Axes 3 settings adjust limit switch operation Soft Limits setup machine working area and homing parameters Operator and machine safety will benefit from careful attention to the parameters applied 3 4 4 1 Limits Limit Switch If checked trigger of a limit switch E Stops the machine Limit Negative limit of machine working area displayed on screen Limit Positive limit of machine working area displayed on screen Soft Limits Use the machine working area for soft limit extents The machine comes to a stop if working area boundaries are crossed See the example outlined below for a guide to setup Limi
78. ength using a fixed tool sensor Offset Measure Tool Offset Here Home Measures tool length at the current location using a movable tool sensor Initiate automatic homing procedure 56 3 3 8 File menu The file menu opens or imports files for toolpath simulation and cutting Numbers next to items are key codes or shortcuts assigned to functions Clase Recent Files Entry of the relevant code into the MDI panel calls or applies Import G Code the function Codes must be entered exactly as they appear on Import DXF screen including slash keys Import PLT HPGL Import NC Drill Import functions assist creation of G Code based on content in a i E T mport Gerber wide range of formats A G Code Wizard generates pocketing J mport Image or drill array toolpaths based on user parameters Import Text Import Airfoil G Code can be exported using an option best suited to user i requirement The Raw option saves a binary format used with G Code Wizard planet cnc com SD card adapters Export Toolpath to GCode Export Toolpath to Settings can also be imported and exported for fast restoration Export Toolpath to CSV of known working configurations or setup to suit alternative Export Toolpath to machinery and other hardware Settings Import Settings Most import and t
79. etract move at the end of each repeat called clear Z in the descriptions below is determined by the setting of the retract mode either to the original Z position if that is above the R position and the retract mode is G98 OLD 2 or otherwise to the R position It is an error if 133 X Y and Z words are all missing during a canned cycle e aPnumber is required and a negative P number is used e number is used that does not evaluate to a positive integer e rotational axis motion is used during a canned cycle e inverse time feed rate is active during a canned cycle e cutter radius compensation is active during a canned cycle When the XY plane is active the Z number is sticky and it is an error if e the 2 number is missing and the same canned cycle was not already active e the R number is less than Z number When the XZ plane is active the Y number is sticky and it is an error if e the Y number is missing and the same canned cycle was not already active e the R number is less than the Y number When the YZ plane is active the X number is sticky and it is an error if e the X number is missing and the same canned cycle was not already active e the R number is less than the X number Preliminary and In Between Motion At the very beginning of the execution of any of the canned cycles with the XY plane selected if the current Z position is below the R position the Z axis is traversed to the R position This happe
80. evices Output assignment is controlled in software OUT 1 2 7 Digital Output GND Ground 5V 5V supply OUT1 and OUT2 are capable of generating PWM signal is capable of generating UART signal 30 2 4 4 2 4 LIMIT connector LIMIT 4 LIMIT 3 LIMIT 2 LIMIT 1 GND O0000u LIMIT 1 4 connects limit switches It s recommended that a 100nF capacitor is connected directly across switch terminals Switches are connected between LIMIT pin and GND pin LIMIT 1 X axis limit LIMIT 2 Y axis limit LIMIT 3 Z axis limit LIMIT 4 A axis limit Software Invert options allow use of normally closed or normally open switch hardware Mk2 4 controller requires Single mode SINGLE INPUT Both axis limit switches are connected to one pin Direction of travel determines if positive or negative switch is triggered 31 2 4 5 Mk2 4 INPUT connector CTRL 1 INPUT 5 CTRL8 INPUT 1 GND O0000 wu Four inputs are available on INPUT terminals Switches are connected between LIMIT pin and GND pin CTRL 1 E Stop INPUT 5 Tool sensor CTRL 8 Additional switch INPUT 1 Pause 32 2 4 6 Mk2 4 POT connector 3 3V POT GND A potentiometer attached to this connector provides a manual jog speed control when using jogging keyboard connected to JOG connector 3 3V 3 3V power supply for use with potentiometers POT ok or 10k ohm logarithmic taper potentiometer can be con
81. g is controlled by switched operation of JOG 1 8 An optional plug in Jogging Keyboard can be provided If users construct their own jogging keyboard it s recommended that a 100nF capacitor is connected across switch terminals Pins 2 4 6 8 10 12 14 and 16 are 5 connections JOG 2 Jog X axis in positive direction JOG 1 Jog X axis in negative direction JOG 4 Jog Y axis in positive direction JOG 3 Jog Y axis in negative direction JOG 6 Jog Z axis in positive direction JOG 5 Jog Z axis in negative direction JOG 8 Jog A axis in positive direction JOG 7 Jog A axis in negative direction The above is an example configuration only Jog direction can be adjusted to suit requirement in software The optional jogging keyboard is pre configured to use the Jog connector immediately providing dedicated jog keys for all axes Alternatively users can create their own jog controller or use existing momentary spring loaded switches This provides for maximum flexibility in use The CNC USB controller JOG connector outputs only low voltage and current A safe simple and inexpensive jog pendant can be created by housing switches in a non conductive enclosure and use of a longer cable Users at the planet cnc com discussion group report use of cable lengths of up to 3 meters without problems 12 2 2 4 Mk1 LIMIT connector LIMIT 1 LIMIT 2 LIMIT 3 LIMIT 4 LIMIT 5 LIMIT 6 LIMIT 7 LIMIT 8 GND LIMIT 1 8 connects limit
82. gers a limit switch at location 490 mm Using Return Distance 3 the X axis moves back 3 mm to location 487 mm releasing the switch A Set position value of 487 is applied Go To O initiates a traverse move of 487 mm towards the X axis negative extent stopping at 0 mm 10 mm from the negative extent limit switch at location 10 mm If Soft Limits are active 10 mm tolerance is sufficient for the machine to decelerate to a normal stop before a limit switch is triggered and the machine performs a hard emergency stop 91 3 4 5 Misc Misc Misc tab settings affect G Code interpolation and optimization decelerations 22907 OO l Enable Spee erence Invert pause dialog and other miscellaneous ene M ls E Stap Lookahead Angle 150 functions Lookahead Radius 1 0000 damn Trigger Only In terpolation Optimization Threshold 0 0100 Pause Dialog F Line length used to interpolate arcs nC when helix interpolation is not used Stop Decelerate 7 Speed Tolerance Measure Speed Maximum allowed percentage 1 30 Check Boundaries y deviation from the G Code F word feed rate Helps avoid buffer under run for fast 3D carving with Mk controller G Code Editor notepad exe Disable Helix Interpolation Lookahead Angle The angle the CNC machine can travel without reducing speed Example The default value of 150 degrees means that a do
83. gle item or press of the Tab key Multiple lines can be bookmarked When a line has been bookmarked it highlights Selection of a Bookmark and press of the Tab key will clear it Alternatively all Bookmarks can be cleared at once using Clear When bookmarks are cleared the highlight is removed 69 3 3 10 3 Shift Shift translates or moves the toolpath in 3D space using one of options User Displays dialog allowing user specification of the distance to move the toolpath for each axis Extents to Zero Aligns the minimum edges of the toolpath extents with the machine zero position Extents to Position Aligns the minimum edges of the toolpath extents with the current machine position Center to Zero Aligns the center point of the toolpath with the machine zero position Center to Position Aligns the center point of the toolpath with the current machine position 3 3 10 4 Scale Scale adjusts dimensions of the toolpath using factor based scaling Scale opens the scale dialog Default value of 1 00 is equivalent to 100 scale or actual size A scale factor setting of 2 00 increases toolpath dimensions to 200 of the original size in the relevant axis 3 3 10 5 Mirror Mirror function mirrors the toolpath about actual X Y or Z axis Axis of reflection is selected in the submenu 3 3 10 6 Rotate Rotate XY rotates the toolpath XY plane with the origin as the center of rota
84. gram Sets the working offset based on positions from G Code program Corner Set working offset to minimum corner of loaded G Code extents Center Set working offset to center of the loaded G Code extents 3 3 11 14 3 Offset From Material Sets the Working offset based on positions from materials Corner Top Set working offset to material top corner Corner Bottom Set working offset to material bottom corner Center Top Set working offset to material top center Center bottom Set working offset to material bottom center 3 3 11 14 4 Offset Measure Offset Z Measures the Z axis working offset using movable tool sensor 19 3 3 11 14 5 Offset Sensor Setup Provides convenient means to adjust sensor parameters without recourse to the main settings panel This can be useful if it s necessary to adjust the Size parameter when tools are changed Offset XY Sensor offset The tool sensor may be mounted at an offset from the tool center Normally the case with USB camera sensors Size Tool radius tool sensor size total distance from tool center to stock Height Tool sensor height If you use PCB for sensor the this is thickness of PCB 3 3 11 15 Tools 3 3 11 15 1 Tools Active Displays the active tool or Empty if no tool has been mounted 3 3 11 15 2 Tools Change Initiates the toolchange procedure for manual or auto toolchange In the case of manual tool change the machine will m
85. igital outputs flood mist spindle e 12 us minimum pulse width e manual jog input keys for all axes e limit keys for all axes e control external devices with I2C protocol 2 2 1 MOTOR connector GND 5VEX GND STEP DIR SVEXT ENABLE mn Each connector controls one motor driver Pins 2 4 6 7 8 and 10 provide the Ground or common side of connections 5VEX STEP DIR ENABLE GND Motor drivers can be powered from the USB controller The 5VEXT jumper highlighted above must be closed to enable this feature Provides a STEP signal of minimum 12 us pulse width to the motor driver Provides DIR or DIRECTION signal to the motor driver Provides ENABLE signal to the motor driver The STOP pins on the Connector connector must be connected to OUT 3 pins on the Connector connector to use this feature The signal from Connector connector OUT 3 is usually sent to a relay to allow switching of an external device If Connector connector STOP pins are in circuit with the signal from OUT 3 the ENABLE signal on the Motor connector is also controlled by OUT 3 switching This can provide a useful safety feature if an E Stop switch is included in the circuit Operation of the E Stop breaks all connections Devices controlled by OUT 3 and the ENABLE signal to motor drivers would stop simultaneously on operation of the E Stop Ground or common connections 10 2 2 2 Mk1 CONNECTOR connector GND
86. in incremental distance mode Preliminary motion as described above Move at traverse rate parallel to the XY plane to the point indicated by and J Stop the spindle in a specific orientation Move the Z axis only at traverse rate downward to the Z position Move at traverse rate parallel to the XY plane to the X Y location Start the spindle in the direction it was going before Move the Z axis only at the given feed rate upward to the position indicated by K pus SOM c Ie 137 8 Move the Z axis only at the given feed rate back down to the Z position 9 Stop the spindle in the same orientation as before 10 Move at traverse rate parallel to the XY plane to the point indicated by and J 11 Move the Z axis only at traverse rate to the clear Z 12 Move at traverse rate parallel to the XY plane to the specified X Y location 13 Restart the spindle in the direction it was going before When programming this cycle the and J numbers must be chosen so that when the tool is stopped in an oriented position it will fit through the hole Because different cutters are made differently it may take some analysis and or experimentation to determine appropriate values for and J 5 14 50 G88 Canned Cycle Boring Spindle Stop Manual Out The G88 cycle is intended for boring This cycle uses a P word where P specifies the number of seconds to dwell Program G88 X Y Z A B C R L P 1 Preliminary motion as described abo
87. ingle program may be in a single file or a program may be spread across several files A file may demarcated with percents in the following way The first non blank line of a file may contain nothing but a percent sign 9o possibly surrounded by white space and later in the file normally at the end of the file there may be a similar line Demarcating a file with percents is optional if the file has an M2 or M30 in it but is required if not An error will be signaled if a file has a percent line at the beginning but not at the end The useful contents of a file demarcated by percents stop after the second percent line Anything after that is ignored The RS274 NGC language has two commands M2 or M30 either of which ends a program program may end before the end of a file Lines of a file that occur after the end of a program are not to be executed 5 2 Format of a Line A permissible line of input RS274 NGC code consists of the following in order with the restriction that there is a maximum currently 256 to the number of characters allowed on a line 1 an optional block delete character which is a slash 2 an optional line number 3 any number of words parameter settings and comments 4 an end of line marker carriage return or line feed or both Any input not explicitly allowed is illegal and will cause the Interpreter to signal an error 117 opaces and tabs are allowed anywhere on a line of code and do not change
88. ings file to quickly restore a known working configuration or to re configure CNC USB Controller software to suit different machines or applications 3 3 8 19 Export Settings Save the active Settings file as a backup of the software machine configuration Custom options can be stored to quickly configure machines to user requirement 3 3 8 20 Language Select language of application from list of supported languages 3 3 8 21 Exit Closes USB Controller software If the E Stop on exit feature is active the machine performs E Stop Settings options allow E Stop to deactivate spindles and interrupt all motor ENABLE signals disabling the machine if software is inactive 65 3 3 9 View menu The view menu controls various aspects of the G Code program visualization Only program visualization is affected by view menu options there are no changes applied to active program G Code For example where Settings options have defined user coordinate systems View Origin options can display origin locations assigned in user coordinate systems If so the Origin icon will relocate in the visualization display showing the location assigned in the selected coordinate system This does not affect the origin in the active G Code program Simulation and cutting use the origin embedded in G Code 3 3 9 1 Origin The Origin function displays machine origin positions established in the Setti
89. is 3 5 and Y is 17 2 in absolute coordinates The Z coordinate of the origin and the coordinates for any rotational axes are whatever those coordinates of the origin were before the line was executed 5 14 10 G10 L9 Set Machine Position Without Move Examples G10 L9 P1 X Y Z A B C Machine will set position to coordinates defined with axis words G10 L9 P28 Machine will set position to coordinates defined as G28 home G10 L9 P30 Machine will set position to coordinates defined as G30 home G10 L9 P92 Machine will set position to coordinates defined as G92 offset 5 14 11 G17 XY Plane Selection 5 14 12 G18 XZ Plane Selection 5 14 13 G19 YZ Plane Selection Program G1 to select the XY plane Program G18 to select the XZ plane Program G19 to select the YZ plane 5 14 14 G20 Inch System Selection 5 14 15 G21 Millimeter System Selection Program G20 to use inches for length units Program G21 to use millimeters It is usually a good idea to program either G20 or G21 near the beginning of a program before any motion occurs and not to use either one anywhere else in the program It is the responsibility of the user to be sure all numbers are appropriate for use with the current length units 5 14 16 G28 Return to Predefined Position 5 14 17 G30 Return to Predefined Position Two predefined positions are defined by parameters 5161 5166 for G28 and parameters 5181 5186 for G30 The parameter values are in terms of
90. le with Chip Breaking The G73 cycle is intended for deep drilling or milling with chip breaking The retracts in this cycle cut off any long stringers which are common when drilling in aluminum This cycle takes a Q number which represents a delta increment along the Z axis Program G73 X Y Z A B C R L Q 1 Preliminary motion as described above 2 Move the Z axis only at the current feed rate downward by delta or to the Z position whichever is less deep 3 Rapid up a bit 4 Repeat steps 2 and 3 until the Z position is reached at step 2 5 Retract the Z axis at traverse rate to clear Z It is an error if e the number is negative or zero 130 5 14 40 G76 Threading Cycle Program G76 P Z l J R K Q H E L It is an error if e The active plane is not the ZX plane e Other axis words such as X or Y are specified he R degression value is less than 1 0 e the required words are not specified e P J K or H is negative e E is greater than half the drive line length Thread Depth Initial Position AR Length of Threads Drive Line A line through the initial X position parallel to the Z P The thread pitch in distance per revolution Z The final position of threads At the end of the cycle the tool will be at this Z position l The thread peak offset from the drive line Negative values are external threads and positive values are internal threads Genera
91. ll create the program s shortcuts in the Following Start Menu Folder To continue click IF vou would like to select a different Folder click Browse USE Controller Driver A start menu folder for shortcuts is created CNC USB Controller Driver is the default setting An alternate folder can be specified using the Browse button Press Next to continue or Cancel to stop installation 15 Setup USB Controller Driver Ready En Install Setup is now ready to begin installing USB Controller Driver an your computer Click Install to continue with the installation or click Back iF vau want to review or change any settings Destination location C Program USB Controller Driver Start Menu Folder USB The Ready to Install pane will appear This provides opportunity to review and if so desired change setup options Press Install to continue Back to adjust settings or Cancel to stop installation 46 15 Setup USB Controller Driver Completing the CNC USB Controller Driver Setup Wizard Setup has Finished installing CNC USB Controller Driver on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup Driver is successfully installed Press Finish to exit setup 3 2 3 Completing driver installation Windows XP Found New Hardware V iza
92. lly the material has been turned to this size before the G76 cycle J A positive value specifying the initial cut depth The first threading cut will be J beyond the thread peak position K A positive value specifying the full thread depth The final threading cut will be K beyond the thread peak position Optional settings R The depth degression R1 0 selects constant depth on successive threading passes R2 0 selects constant area Values between 1 0 and 2 0 select decreasing depth but increasing area Values above 2 0 select decreasing area Beware that unnecessarily high degression values will cause a large number of passes to be used degression a descent by stages or steps 131 Q The compound slide angle is the angle in degrees describing to what extent successive passes should be offset along the drive line This is used to cause one side of the tool to remove more material than the other A positive Q value causes the leading edge of the tool to cut more heavily Typical values are 29 29 5 or 30 H The number of spring passes Spring passes are additional passes at full thread depth If no additional passes are desired program HO Tapered entry and exit moves can be programmed using E and L E opecifies the distance along the drive line used for the taper The angle of the taper will be so the last pass tapers to the thread crest over the distance specified with E E0 2 will give a taper for the first last
93. lways starts a comment The comment ends at the first right parenthesis found thereafter Once a left parenthesis is placed on a line a matching right parenthesis must appear before the end of the line Comments may not be nested it is an error if a left parenthesis is found after the start of a comment and before the end of the comment Here is an example of a line containing a comment G80 M5 stop motion Comments do not cause a machining center to do anything A comment contains a message if MSG appears after the left parenthesis and before any other printing characters Variants of MSG which include white space and lower case characters are allowed The rest of the characters before the right parenthesis are considered to be a message Messages should be displayed on the message display device Comments not containing messages need not be displayed there 120 5 10 Repeats A line may have any number of G words but two G words from same modal group may not appear on the same line A line may have zero to four M words Two M words from the same modal group may not appear on the same line For all other legal letters a line may have only one word beginning with that letter If a parameter setting of the same parameter is repeated on a line 423215 3 6 for example only the last setting will take effect It is silly but not illegal to set the same parameter twice on the same line If more than one comment appe
94. move the tool from the hole Example GO Z 5 X 2 G76 P0 05 2 1 1 075 J0 008 K0 045 Q29 5 L2 E0 045 5 14 41 G80 Cancel Motion Mode Including any Canned Cycle Program G80 to ensure no axis motion will occur It is an error if e axis words are programmed when G80 is active unless a modal group 0 code is programmed which uses axis words 132 5 14 42 Canned Cycles G80 G89 The canned cycles G81 through G89 have been implemented as described in this section Two examples are given with the description of G81 below All canned cycles are performed with respect to the currently selected plane Any of the three planes XY YZ ZX may be selected Throughout this section most of the descriptions assume the XY plane has been selected The behavior is always analogous if the YZ or XZ plane is selected Rotational axis words are allowed in canned cycles but it is better to omit them If rotational axis words are used the numbers must be the same as the current position numbers so that the rotational axes do not move All canned cycles use X Y R and Z numbers in the NC code These numbers are used to determine X Y R and Z positions The R usually meaning retract position is along the axis perpendicular to the currently selected plane Z axis for XY plane X axis for YZ plane Y axis for XZ plane Some canned cycles use additional arguments For canned cycles we will call a number sticky if when the same cycle is used
95. n can be installed and configured The installation process is largely automatic In most cases it s possible to accept default options Windows 7 will display a publisher verification request This is simply a Windows 7 feature It occurs when software from any publishers who are not part of the Microsoft verification process is installed Some computers may require additional components to be installed This is largely governed by the operating system and the installed software More recent Microsoft releases contain these elements as part of the operating system Older versions may not have them if software installed on the machine has not required their use Requirements DirectX 9c for NET Microsoft NET 3 5 SP1 Framework 3 2 1 Software installation Welcome to the CNC USB Controller Setup Wizard 4 The installer will quide you through the steps required to install CNC USB Controller on your computer WARNING This computer program is protected by copyright law and intemational treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil ar criminal penalties and will be prosecuted to the maximum extent possible under the law CNC USB Controller software is installed by execution of the CNCUSB Setup msi Microsoft installer package The CNC USB Controller Setup Wizard will launch Press Next to start installation or Cancel to close the wizard a
96. n might become invalid Speed display Shows current machine speed in units minute Jog Click hold on large arrows jogs until the mouse button is released Corner buttons allow diagonal or combined axis jogging Smaller arrows near the center of jog controls perform a single step move per click Jog step increment is defined in Settings or adjusted via a drop down on the arrow next to the current machine speed indicator Speed set Shows set speed value If enabled with check box then speed override is active Value can be entered of adjusted with slider below This value also sets jogging speed Note using speed override in not recommended method for changing speed If you need to run NC program on machine with different soeed then you should use menu command Program Set Speed WARNING If absolute position is changed automatic tool change and fixed tool sensor position might become invalid 51 3 3 2 State panel The State panel displays a range of information in respect of active parameters and settings Information has reference to current machine state and program simulation state Information displayed on the panel includes Units Plane Mode Speed Feed Traverse Flood Mist Spindle Axes Work Offset Tool Offset Absolute Tool Name Shape Diameter Tool Offset millimeters or inches XY YZ or ZX absolute or relative current speed
97. nd stop installation 42 jl CNC USB Controller Select Installation Folder The installer will install CNC USB Controller to the following folder To install in this folder click Next To install to a different folder enter it below ar click Browse Folder C Program USB Controller Install CNC USB Controller for yourself or for anyone who uses this computer amp Everyone Just me A destination folder is nominated C Program USB ControllerV is the default install location An alternate location can be selected by use of the Browse button Press Next to continue or Cancel to exit the setup wizard CNC USB Controller Confirm Installation The installer is ready to install USB Controller your computer Click Net to start the installation The setup wizard will request confirmation Press Next to start installation Back to adjust settings or Cancel to exit the setup wizard without installation 43 CNC USB Controller Installing CNC USB Controller CNC USB Controller is being installed Please wait Wait until installation is complete Driver installation might start during this step This is explained in next chapter 3 USB Controller Installation Complete CNC USB Controller has been successfully installed Click Close to exit Please use Windows Update to check for any criti
98. nected to provide a jog speed control GND Ground connections 33 2 4 7 Mk2 4 DB25 connector Pin 1 OUT 1 Pin 2 STEP 1 Pin 3 DIR 1 Pin 4 STEP 2 Pin 5 DIR 2 Pin 6 STEP 3 Pin 7 DIR 3 Pin 8 STEP 4 Pin 9 DIR 4 Pin 10 LIMIT 1 Pin 11 LIMIT 2 Pin 12 LIMIT 3 Pin 13 LIMIT 4 Pin 14 OUT 2 Pin 15 CTRL 1 Pin 16 MOTOR ENABLE Pin 17 OUT 7 Pins 18 25 GND 2 4 8 Mk2 4 USB connector The Mk2 4 USB CNC controller connects to computers via the USB port The port uses the USB 2 x standard 2 4 9 Mk2 4 Power terminal and Power options jumpers USB Power controller through USB port REG Power controller from 7 12 V recommended 9V on green screw terminal Polarity is not important EXT Power controller from 6 V on green screw terminal Polarity is not important 2 4 10 Mk2 4 LED indicators The user is provided with helpful feedback and live status information via on board LED indicators There are four indicators Power Lights when the controller is powered USB Up Lights when USB signal is good Status Blinks to indicate controller function is good 35 2 5 Adapter with screw terminals Motor Motor Connector 2 Connector 3 Motor Motor Connector 1 d 4 pu lul 111 111 bT E T LLL hi yi n LL qui HEY wae yi L M ELSE P LLL RE Adapter in use with 1 4 Axis USB CNC Controller
99. ngs Parameters tab Up to nine coordinate systems can be specified Each can use a unique origin location to suit specific applications or hardware 3 3 9 2 Top View Display G Code toolpath as viewed from top 3 3 9 3 Side View Display G Code toolpath as viewed from side 3 3 9 4 Front View Display G Code toolpath as viewed from front 3 3 9 5 Perspective View Display G Code toolpath using perspective view 3 3 9 6 Zoom In Zoom the display in for close view of smaller details 3 3 9 7 Zoom Out Zoom the display out for overview of a larger area 3 3 9 8 Zoom Tool Zoom in for a close view of the current tool position Origin Top View Side View Front View Perspective View Zoom In Zoom Out Zoom Tool Zoom Extents Center Tool Center View Change View Simulate Window Show Material F1 221 F2 222 223 F4 224 F5 225 F6 226 FT 227 FB 228 F9 231 F10 232 F11 233 F12 241 66 3 3 9 9 Zoom Extents Center and zoom display to view whole G Code toolpath 3 3 9 10 Center Tool Centers the program visualization on the current tool position Useful to find and follow the tool when simulating large NC programs or if cut extents move the tool outside the displayed area 3 3 9 11 Center View Centers program visualization based on NC program extents Useful to quickly reorient the view if Center Tool has been used and it s desirable to restore a
100. ns only once regardless of the value of L In addition at the beginning of the first cycle and each repeat the following one or two moves are made e 1 astraight traverse parallel to the XY plane to the given XY position e 2 a straight traverse of the Z axis only to the position if it is not already at the position If the XZ or YZ plane is active the preliminary and in between motions are analogous 5 14 43 G81 Canned Cycle Drilling The G81 cycle is intended for drilling Program G81 X Y Z A B C R L 1 Preliminary motion as described above 2 Move the Z axis only at the current feed rate to the Z position 3 Retract the Z axis at traverse rate to clear Z Example 1 Suppose the current position is 1 2 3 and the XY plane has been selected and the following line of NC code is interpreted G90 G81 G98 X4 Y5 21 5 R2 8 This calls for absolute distance mode G90 and OLD Z retract mode G98 and calls for the G81 drilling cycle to be performed once The X number and X position are 4 The Y number and Y position 134 are 5 The Z number and Z position are 1 5 The R number and clear Z are 2 8 Old Z is 3 The following moves take place 1 atraverse parallel to the XY plane to 4 5 3 2 atraverse parallel to the Z axis to 4 5 2 8 3 afeed parallel to the Z axis to 4 5 1 5 4 atraverse parallel to the Z axis to 4 5 3 Example 2 Suppose the current position is 1 2 3 and the XY plane has been sele
101. nt flood ON OFF 3 3 11 10 Spindle Toggle spindle ON OFF A sub menu provides spindle direction options and slider based speed control 3 3 11 11 Outputs Toggle controller outputs ON OFF using a sub menu Mk1 4 axis controllers can use three outputs configured as outputs 1 2 and 3 2 9 axis controllers can make use of all seven outputs Mk2 4 4 axis controllers use three outputs configured as outputs 1 2 and 7 3 3 11 12 GoTo Options below this item move the machine to a specified location Use Homing Sequence Apply the homing sequence established at Settings Axes3 when moving axes normal to allow Z axis to move first ensuring the tool is clear of any workpiece Zero Move X Y and Z axes to their zero position If any offset is checked on position panel it is applied Zero XY Move only X and Y axes to their zero position If any offset is checked on position panel it is applied Park1 Go to Park1 position defined Settings Axes2 73 Park2 Go to Park position defined Settings Axes2 G28 Go to G28 position set in Settings Parameters G30 Go to G30 position set in Settings Parameters User Opens the data entry dialog The desired location for up to 9 axes can be specified 3 3 11 13 Set Position Applies the current machine position to a named location selected from the sub menu Executing Set Position will change machine absolute positi
102. nutes For example if the F number is 2 0 the move should be completed in half a minute When the inverse time feed rate mode is active an F word must appear on every line which has a G1 G2 or G3 motion and an F word on a line that does not have G1 G2 or G3 is ignored Being in inverse time feed rate mode does not affect GO rapid traverse motions It is an error if inverse time feed rate mode is active and a line with G1 G2 or G3 explicitly or implicitly does not have an F word 5 14 59 G94 Units Per Minute Feed Rate Mode Three feed rate modes are recognized units per minute inverse time and units per revolution Program G94 to start the units per minute mode In units per minute feed rate mode an F word is interpreted to mean the controlled point should move at a certain number of inches per minute millimeters per minute or degrees per minute depending upon what length units are being used and which axis or axes are moving It is an error if e anew feed rate is not specified after switching to G94 695 5 14 60 G95 Units Per Revolution Feed Rate Mode Three feed rate modes are recognized units per minute inverse time and units per revolution Program G95 to start the units per revolution mode In units per revolution mode an F word is interpreted to mean the controlled point should move a certain number of inches per revolution or millimeters per revolution of the spindle depending on what length units are
103. on If absolute position is changed automatic tool change and fixed tool sensor position might become invalid Zero Sets the current machine position as the Zero point for all active axes Park1 Sets the current machine position as the Park1 location for all active axes Park2 Sets the current machine position as the Park2 location for all active axes G28 Sets the current machine position as the G28 location for all active axes G30 Sets the current machine position as the G30 location for all active axes User Opens the data entry dialog A position can be defined for up to 9 axes 3 3 11 14 Offset Sets the working offset based on current machine position or user defined parameters Zero Set working offset to Zero Current Set working offset to current position Current XY Set working offset to current position for X and Y axes only Current Z Set working offset to current position for Z axis only User Opens the data entry dialog A user value can be entered as working offset for all 9 axes 74 3 3 11 14 1 Offset From Tool Sensor Sets the working offset based on positions detected using the tool sensor Current X oet working offset to current position for the X axis only uses sensor size Current Y oet working offset to current position for the Y axis only uses sensor size Current Z oet working offset to current position for the Z axis only uses sensor height 3 3 11 14 2 Offset From Pro
104. on rates below anticipated maximums Emergency stop and limit switch hardware should be configured and functional before higher rate traverse or rapid moves are performed Settings shown in this section are examples It s the users responsibility to ensure safe and appropriate settings are applied to suit the controlled machine Mk2 9 axis controller settings are used in examples Most settings are applicable to other controllers If model specific settings are required this is noted in the text some settings relate to hardware These might be items like tool sensors jog keyboards MPG Pendants toolchangers and so forth If hardware is not available when software is configured it can be installed and configured separately It may be helpful to have hardware in place and operational before configuring related options This allows testing or adjustment to determine safe and suitable parameters Again for reasons of safety this is particularly the case with emergency stop and limit switch hardware 83 3 4 1 General The General tab is used to apply settings General related to measurement speed and G Code Display visualization amp Millimeters Machine type Rotary ABC Inches XY UV Distance 100 00 E Speed Display Resolution 8 0000 ium Display Segments 5 Traverse 2000 00 ali 3 4 1 1 Units _ veride Hardware DirectX oets the system of measurement units
105. on several lines of code in a row the number must be used the first time but is optional on the rest of the lines Sticky numbers keep their value on the rest of the lines if they are not explicitly programmed to be different The R number is always sticky In incremental distance mode when the XY plane is selected X Y and R numbers are treated as increments to the current position and Z as an increment from the Z axis position before the move involving Z takes place when the YZ or XZ plane is selected treatment of the axis words is analogous In absolute distance mode the X Y R and Z numbers are absolute positions in the current coordinate system The L number is optional and represents the number of repeats L 0 is not allowed If the repeat feature is used it is normally used in incremental distance mode so that the same sequence of motions is repeated in several equally spaced places along a straight line In absolute distance mode gt 1 means do the same cycle in the same place several times Omitting the L word is equivalent to specifying L 1 The L number is not sticky When L gt 1 in incremental mode with the XY plane selected the X and Y positions are determined by adding the given X and Y numbers either to the current X and Y positions on the first go around or to the X and Y positions at the end of the previous go around on the repetitions The R and Z positions do not change during the repeats The height of the r
106. only at the current feed rate to the Z position 3 Dwell for the P number of seconds 4 Retract the Z axis at traverse rate to clear Z 135 5 14 45 G83 Canned Cycle Peck Drilling The G83 cycle often called peck drilling is intended for deep drilling or milling with chip breaking The retracts in this cycle clear the hole of chips and cut off any long stringers which are common when drilling in aluminum This cycle takes a Q number which represents a delta increment along the Z axis Program G83 X Y Z A B C R L Q 1 Preliminary motion as described above 2 Move the Z axis only at the current feed rate downward by delta or to the Z position whichever is less deep Rapid back out to the clear z Rapid back down to the current hole bottom backed off a bit Repeat steps 1 2 and 3 until the Z position is reached at step 1 6 Retract the Z axis at traverse rate to clear Z It is an error if P the Q number is negative or zero 5 14 46 G84 Canned Cycle Right Hand Tapping The G84 cycle is intended for right hand tapping with a tap tool Program G84 X Y Z A B C R L 1 Preliminary motion as described above Start speed feed synchronization Move the Z axis only at the current feed rate to the Z position otop the spindle Start the spindle counterclockwise Retract the Z axis at the current feed rate to clear Z If speed feed synch was not on before the cycle started stop it otop the spindl
107. onnections 17 2 3 3 Mk2 JOG connector GND SHIFT JOG 1 JOG 2 JOG 3 JOG 4 JOG 5 JOG 6 JOG 7 JOG 8 owitched operation of JOG 1 8 controls manual jogging Pins 4 6 8 10 12 14 and 16 provide convenient Ground connections Jogging keyboards can use a SHIFT key allowing Mk2 controller users to jog additional axes or toggle the option of jog step mode SHIFT key function is defined in settings as is the step value for each key press A typical use might be as below JOG 1 JOG 2 JOG 3 JOG 4 JOG 5 JOG 6 JOG 7 JOG 8 SHIFT Jog Xaxis in positive direction Jog Xaxis in negative direction Jog Y axis in positive direction Jog Y axis in negative direction Jog Z axis in positive direction Jog Zaxis in negative direction Jog A axis in positive direction Jog axis in negative direction Toggles step jog mode or jogging for additional axes Users can create a safe simple low cost jog keyboard using only switches capacitors a non conductive enclosure and some cable Existing panel mounted switches can be easily adapted If users construct their own jogging keyboard it s recommended that a 100nF capacitor is connected across switch terminals 18 2 3 4 Mk2 LIMIT connector LIMIT 1 LIMIT 2 LIMIT 3 LIMIT 4 LIMIT 5 LIMIT 6 LIMIT 7 LIMIT 8 LIMIT 1 8 connects limit switches It s recommended that 100nF capacitor is connected directly across switch terminals
108. oolpath functions display panels for entry of Export Settings user parameters Description of functions is provided below Language Exit 3 3 8 1 Open Open new program Software will try to auto detect file format 3 3 8 2 Close Close currently open program 3 3 8 3 Recent Files Display a list of recently opened files Select the file for loading from a drop down list 57 3 3 8 4 Import G Code Import G Code program 3 3 8 5 Import DXF Import DXF file Sort Optimizes the generated path by sorting DXF elements Units DXF files have no embedded units Millimeters or inches units must be specified General Advanced General General Base Height Use Block Entities Use Enities Scale Used if DXF has entities in Block Yu CIE Spindle M3 sii mi 200 z ue spindle M Apply the specified scale factor Me Passes Down Spindle bx Insert Spindle on off G Codes Flood Shift Extents To Zero Insert Flood on off G Codes Copy XYZ gt UVW Mist Insert Mist on off G Codes Shift Extents To Zero Align toolpath s with the machine zero location Copy XYZ gt UVW Translate foam cutter code to suit 2nd tower Base Height Surface height value Tab Distance Distance between two tabs used for holding in place during cut Tab Size Siz
109. or the spindle RPM Output pin Pause If checked spindle ON OFF will pause the machine allowing manual control of spindle ON OFF Delay CW On Off Delay period allowing the spindle to spin up or stop using clockwise rotation Individual settings for spin up ON and stop OFF are assignable Delay CCW On Off Delay period allowing the spindle to spin up or stop using counter clockwise rotation Individual settings for spin up ON and stop OFF are assignable Use RC controller Generates RC servo or ESC compatible signal on the spindle speed pin Lo Hi Minimum Maximum values of RC servo speed range 3 4 6 2 Coolant M7 M8 M9 Output pin Flood Output pin assigned control of coolant flood ON OFF 8 Output pin Mist Output pin assigned control of coolant mist ON OFF 7 94 3 4 6 3 Pause Output pin If an output pin is assigned Pause generates a signal on the specified pin This can trigger an external device to perform a function On completion a signal to a controller input pin can resume NC program execution 3 4 6 4 Motor Enable Output pin If set an enable signal is sent to the assigned pin Mk1 controllers send the signal to OUT3 see Hardware section of manual Mk2 and Mk2 4 have dedicated ENABLE pins on MOTOR connectors On Exit Safety feature to send an E Stop signal on shutdown of the software 3 4 6 5 M62 M63 M64 M65 Output pin If enabled NC programs can use M62 M
110. ort License Log Check For Updates About 112 4 1 2 How to connect motor driver with optoisolated inputs COMMON CATHODE 45V Not connected Controller COMMON ANODE SVERT jumpermust 54 be connected el 1 bs LL DIR pin on adapter ENABLE GND Not connected Power supply GND A O A Stepper motor Driver Controller 113 4 1 3 How to connect and setup Output board Output board needs 12V power supply Mk2 and Mk2 4 controller Connect Mk2 controller with 10wire cable to OUTPUT connector Connect Mk2 4 controller with wires to terminals GND to 0 OUTPUT1 OUTPUT2 and OUTPUTT to S 1 2 and 3 S is for speed 0 10V 1 2 and 3 are relays Set output pins like this M4 M5 Spindle Output pin On Off Output pin Direction Output pin Speed Min 300 2 Max 300002 Pause Delay CW On of 006 CCW 0 0 4 Off 00 Use RC Controller Lo 400E Hi 1500 8 Coolant Output pin Flood M8 Output pin Mist M7 Motor Enable E Stop Output pin n Exit M62 M63 Pout Output pin M64 M65 Pout Qval Output pin Outputs Invert Output 1 Invert Qutput 2 Invert Output 3 Invert Output 4 Invert Output 5 Invert Output amp Invert Output 7 Invert Motor Enable x mp pm pm pm pmo 114 Mk1 controller
111. ough if it is within 0 0001 of an integer 5 6 Parameters A parameter value is the pound character followed by a real value The real value must evaluate to an integer between 1 and 5399 The integer is a parameter number and the value of the parameter value is whatever number is stored in the numbered parameter Parameters can be used as variables The character takes precedence over other operations so that for example 1 2 means number found by adding 2 to the value of parameter 1 not the value found in parameter 3 Of course 1 2 does mean the value found in parameter The character may be repeated for example 2 means the value of the parameter whose index is the integer value of parameter 2 A parameter setting is the following four items one after the other 1 a pound character 2 a real value which evaluates to an integer between 1 and 5399 3 an equal sign and 4 a real value For example 3 15 is a parameter setting meaning set parameter 3 to 15 A parameter setting does not take effect until after all parameter values on the same line have been found For example if parameter 3 has been previously set to 15 and the line 3 6 G1 x 3 is interpreted a straight move to a point where x equals 15 will occur and the value of parameter 3 will be 6 5 7 Expressions and Binary Operations An expression is a set of characters starting with a left bracket and ending with a balancing right bracke
112. out has been successfully prototyped tested and documented SDMISO Signal SDMOSI Signal SDSSEL Signal SDSCK Signal I2C CL Signal I2C DA Signal GND Ground 3 3V 3 3V supply GND Ground 5 5 0V supply 2 3 9 Mk2 POT connector 43 3V POT GND A potentiometer attached to this connector provides a manual jog speed control when using jogging keyboard connected to JOG connector 3 3V 3 3V power supply for use with potentiometers POT ok or 10k ohm logarithmic taper potentiometer can be connected to provide a jog speed control GND Ground connections 25 2 3 10 Mk2 USB connector Bi Status LED USB Up LED USB Conn LED USE Port Power Input Power Options The Mk2 USB CNC controller connects to computers via the USB port The port uses the USB 2 x standard 2 3 11 USB REG EXT 2 3 12 Mk2 Power terminal and Power options jumpers Power controller through USB port Power controller from 7 12 V recommended 9V on green screw terminal Polarity is not important Power controller from 6 V on green screw terminal Polarity is not important Mk2 LED indicators The user is provided with helpful feedback and live status information via on board LED indicators There are four indicators Power USB Conn USB Up Status Lights when the controller is powered Lights when controller is connected to a USB Port Lights when USB signal is good Blinks to in
113. ove to the tool change position for the operator to perform the change When appropriately configured in Settings tool changers perform the toolchange automatically 3 3 11 15 3 Tools Select Software cannot detect if a tool is mounted or which tool is mounted This option informs software of the actual tool status to initialize tool change procedures Tool change command is NOT sent Tool status is selected from the sub menu When a G Code program is executed tool changes can then call the correct tool 3 3 11 15 4 Tools Zero Tool Offset Sets tool offset to zero 3 3 11 15 5 Tools Measure Tool Offset Measure Tool offset using a fixed tool sensor The machine moves to the tool sensor and measures offset It auto returns to the initial position if Return is enabled in Settings Tool Sensor 3 3 11 15 6 Tools Measure Tool Offset Here Measures Tool offset using a movable tool sensor at the current location The movable tool sensor is placed by the operator and the machine measures offset 3 3 11 15 7 Tools Set Tool Offset User specified values are applied for tool offset Data is entered using the dialog that appears on use of the option 76 3 3 11 15 8 Tools Measure Tool Length Measure tool length and set absolute position using a fixed tool sensor The machine moves to the tool sensor and measures tool length 3 3 11 15 9 Tools Measure Tool Length Here Measure tool length and set absolute position at
114. ows 4T 3 2 4 Completing driver installation Windows 7 49 m 50 MEE 51 9 9 2 State PANS det Bodo 52 ANC EE EE o3 3 3 4 Graphical program visualization 54 OR ME 54 336 Mantualcdatainput MIDI panek nue eoe aono 54 99 7 TOODA e E T 55 Seil Na ENTRE TE of oaren 57 HOSO PE 57 9 90 19 gl don bie Mor p RSEN of UM brin rep NEA RM A ME 58 t 58 39 955 MPOT PETAR Chen 60 3 9 0 7 du uet e ule ut cu nte atop vato cu ei do d bap Duel cun un 60 9 9 0 9 IDOL GEOG NM CUM PI ED M P EPUM TU CM MEET 61 Seo pe EE 62 roe IMPON 63 S992 DOE AIO ee tate rap 64 MERC Solo MUIZ ot 65 9 9 9 19 EXPO TOOP 60696 roa ae ori ER EVE a oc o 65 3 020214 EXPO TOODA xaxa ute did PuxExFE MU RT ORE 65 3
115. pecified move is applied to the nominated axis The actual distance the axis moved is measured and entered Pressing Calculate advances to the final step Controller software performs the required calculation to arrive at a Steps per Unit setting for the nominated axis Pressing applies the setting and closes the panel Select axis to calibrate e X Set distance to move What distance would you like to move axis 100 000 Cancel Measure Measure actual distance What distance did axis move 100 000 Cancel Calculate Calibration results This is calculated steps unit for axis 480 000 Old value 480 000 Cancel 87 3 4 2 Axes 1 This tab is used to specify the number of Number of Axes axes in use on the controlled machine as well as axis names and other options 3 4 2 1 Axes Number of Axes The number of axes attached to the CNC machine R Resets all axis names to defaults Name Specifies the G Code name used for each axis Standard names X Y Z should be used If not some software features will not be available Function Assigns special functions for an axis 88 3 4 3 Axes 2 Steps Unit is most important setting Steps Unit 480 000 Reverse 3 4 3 1 Axes Invert Pulse Steps Unit Acceleration The number of steps the controller Initial speed must generate to move the machine T one unit mm or inch Acc
116. prox is supplied as standard Compact form and low voltage operation make the keyboard ideally suited to the creation of a jog pendant for use close by the machine Regular users of CNC machinery would consider this a mandatory feature for day to day use Keyboard buttons are dedicated to specific motor connectors The machine axes operated by each button is determined by users assignment of motor connectors For example where motor connector 1 controls a driver motor attached to the X axis jog buttons 1 and 2 will move the X axis If instead Motor connector 1 controls the Y axis jog buttons 1 and 2 would move the Y axis and so on 37 2 Output board 10V Calibration TEM 10V DU S Power Terminals allow use with E Mk 2 4 n 2 controllers a Mk 1 10V Select Jumper 1 Connector POT Mk 2 Connector The output board assists controlled switching of external devices such as spindles coolant pumps dust extractors and so forth It s a very easy way to add device switching All planet cnc com controllers can use the output board Screw terminal inputs allow this board to be used by almost any CNC controller Features e Optoisolation e 3x8 Amp 250V AC Relays e Outputs with Normally Open Closed option e 3 x Output status LED indicators e 1x12V power input 1x Power status LED indicator e 0 10V for Variable Frequency Drive speed control e 0 10 trimmer for VF
117. r evaluates to itself The following rules are used for explicit numbers In these rules a digit is a single character between 0 and 9 A number consists of an optional plus or minus sign followed by zero to many digits followed possibly by one decimal point followed by zero to many digits provided that there is at least one digit somewhere in the number There are two kinds of numbers integers and decimals An integer does not have a decimal point in it a decimal does Numbers may have any number of digits subject to the limitation on line length Only about seventeen significant figures will be retained however enough for all known applications 118 A non zero number with no sign as the first character is assumed to be positive Notice that initial before the decimal point and the first non zero digit and trailing after the decimal point and the last non zero digit zeros are allowed but not required A number written with initial or trailing zeros will have the same value when it is read as if the extra zeros were not there Numbers used for specific purposes in RS274 NGC are often restricted to some finite set of values or some to some range of values In many uses decimal numbers must be close to integers this includes the values of indexes for parameters and carousel slot numbers for example M codes and G codes multiplied by ten A decimal number which is supposed be close to an integer is considered close en
118. r supporting up to 4 axes The Mk2 4 controller is essentially a 4 axis version of the Mk2 controller supporting the same high pulse rate and advanced software functions It also provides DB25 and built in screw terminal connections USB PlanetCNC controllers provide a complete fully integrated software hardware solution Additional machine control software is NOT required The USB CNC Controller software is a dedicated application designed to fully exploit the features of the purpose built hardware It has many advanced features to assist day to day CNC machine operation MPG Pendant adapter with or without MPG Pendant Assists connection to Motor Drivers Output Board SDCard Adapter Adds Relays and VFD Run programs witnout PC Optional modules that add a range of functions to the USB CNC Controller series can be used Adapters simplifies connections to motor drivers output board adds 3 relays and 0 10V for VFD MPG pendant adapter adds connectivity to MPG pendants SD card adapter adds support for running programs without PC from SD card MPG pendant and SD Card adapters are only supported by the Mk2 9 Axis controller This approach reduces cost Users can purchase only the hardware options they need planet cnc com can provide an absolute minimum cost self build option of a bare Mk1 controller PCB with components list and diagrams 1 2 Features and specifications USB V2 x from PC L
119. ration depth Sort Sort holes to optimize the toolpath Mirror Mirrors program in XY Mode Toolpath calculation mode Isolation Use to mill electrical isolation toolpath Engrave Use to mill silkscreen None Use if you want just mark or drill Use Polygons Use Polygons in toolpath calculation Use Tracks Use Tracks in toolpath calculation Use Pads Use Pads in toolpath calculation Mark Pads Check if you want to make marks for manual drilling Drill Pads Check if you want to drill holes at pads Drill Depth Drill penetration depth Feed Speed Plunge Speed Safe Height Depth Tool Diameter Sort Miror Mode Use Polygons Use Tracks Use Pads Mark Fads Drill Pads Drill Depth 1200 00 10 0000 0 0000 Isolation Engrave None 2 9000 s s s amp 3 61 3 3 8 9 Import Image Import image file 411 px 402 px sd 58 00 mm 56 73 mm Size A 58 00 Y 5573 oets maximum XY dimensions of the generated toolpath Initial values are Mam z xim determined using pixel dimensions and the Diameter 2 90 image resolution Detail 1 00 Height Z Maximum Z dimension of the generated ced ee uid toolpath Os t Invert Invert Z values for positive or negative relief Diameter Diameter of tool that will be used This sets Y axis step value Detail Interpolation detail level This sets X axis step value Method Toolpath extraction can use
120. rd Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking an Your computer an the hardware installation an the Windows Update web site with your permission Head our privacy policy Can Windows connect to Windows Update ta search software CO Yes only Q Ye d every time connect a device nat this time Click Next to continue Driver installation will complete when the CNC USB Controller is connected to the USB Port Windows XP will detect controller hardware and the Found New Hardware Wizard will launch Use of Windows Update is not required Press Next to continue or Cancel to stop installation 47 Found New Hardware V izard This wizard helps you install software for USE Controller If your hardware came with an installation CD ZEA or floppy disk insert it now What do the wizard to Install the software automatically Recommended C Install fram list or specific locati Click Next to continue The new hardware wizard will present additional options Install the software automatically is the recommended option Press Next to continue or Cancel to stop installation Found New Hardware V izard Completing the Found New Hardware Wizard The wizard has finished installing the software For USE Controller Click Finish to close the
121. rdware At the same time the software remains user friendly Even those new to CNC machining can employ advanced functions with little difficulty Configuration options allow for maximum flexibility integration and customization Automatic tool changers are supported Tool sensor functions provide automatic tool length detection A movable tool sensor can be used as a multifunction positioning aid oimulation features are designed for fast verification of NC programs Simulation can run automatically under keyboard or mouse control or by selection of individual lines in an NC program Zoom pan or rotate of the preview does not interrupt simulation The software has useful G Code manipulation and transformation functions G Code can be bookmarked copied pasted and edited It can be shifted scaled mirrored and rotated Code re mapping for foam cutter applications is available There are many functions to assist creation of toolpaths A wide range of content can be directly imported or converted to NC program The G Code Wizard quickly creates pocketing and drill array toolpaths based on user specifications DXF layers can be managed within the software Tool paths can export to G Code DXF or CSV 41 3 2 Installation USB Controller software is compatible with Windows XP Vista or Windows 7 32 or 64 bit Installation is a two part process Driver installation is performed after which the main applicatio
122. re from backup 3 3 12 4 Export License Exports license file allowing software license to transfer to alternative computer hardware or to make backup 3 3 12 5 Log Software keeps a log of various system files and settings related to software compatibility and performance If problems are encountered this information can assist trouble shooting and problem solving 3 3 12 6 Check For Updates Checks for software updates An active internet connection is required CNC USB Software is regularly updated as features are advanced and refined It s of much benefit to check for updates on a regular basis 3 3 12 7 About Displays the software logo screen along with software and hardware version information As with log data this can be helpful if trouble shooting or problem solving 82 3 4 Settings Controller software configuration is adjusted using the File menu Settings item A tabbed panel will appear The panel allows setup of all software options and features Settings allow automation and integration of many features to provide advanced functions and simplify or speed up many common tasks Required options are dependent on user machinery ancillary hardware and application Its MOST IMPORTANT that software is appropriately configured before any attempt is made to control CNC machinery Failure to do so may result in serious injury or damage to machinery With unknown or untested machinery it s safer to keep initial moti
123. rst Thus the example is equivalent to 2 0 3 1 5 5 5 11 0 which simplifies to 1 0 0 5 which is 0 5 The logical operations and modulus are to be performed on any real numbers not just on integers The number zero is equivalent to logical false and any non zero number is equivalent to logical true 5 8 Unary Operation Value A unary operation value is either ATAN followed by one expression divided by another expression for example ATAN 2 1 3 or any other unary operation name followed by an expression for example SIN 90 The unary operations are ABS absolute value ACOS arc cosine ASIN arc sine ATAN arc tangent COS cosine EXP e raised to the given power FIX round down FUP round up LN natural logarithm ROUND round to the nearest whole number SIN sine SQRT square root and TAN tangent Arguments to unary operations which take angle measures COS SIN and TAN are in degrees Values returned by unary operations which return angle measures ACOS ASIN and ATAN are also in degrees The FIX operation rounds towards the left less positive or more negative on a number line so that FIX 2 8 22 and FIX 2 8 3 for example The FUP operation rounds towards the right more positive or less negative on a number line FUP 2 8 3 and FUP 2 8 2 for example 5 9 Comments and Messages Printable characters and white space inside parentheses is a comment A left parenthesis a
124. s 5 17 1 Square G01 YO G01 2 3 G01 Z3 G01 X 150 Y 150 G01 Z 3 G01 X150 Y 150 G01 X150 Y150 G01 X 150 Y150 G01 X 150 Y 150 G01 Z3 G01 XO YO M5 5 17 2 Circle G01 XO YO G01 Z 3 G01 Z3 G01 Y 150 G01 Z 3 G02 Y 150 10 J150 G01 Z3 G01 YO G01 Z 3 G01 Z3 M5 144 5 17 3 One side of a ball in cage G90 G21 1 50 width of box 2 2 tool radius 3 4 height of box 4 5 resolution in degrees 5 4 counter 6 1 2 2 actual radius of circle cutter radius radius G01 XO YO 0140 do 8 SIN 5 6 SIN 45 X and Y position 9 0 1 COS 5 6 Z position G1 X 8 Y 8 Z 9 G18 G02 X 0 8 Z 9 0 8 K 0O 9 6 G19 Y 0 8 Z 9 0 8 K 0 9 6 G18 X 8 Z 9 8 K O 9 6 G19 G02 Y 8 Z 9 J 8 K O 9 6 5 5 4 0140 while 8 LT 1 2 2 31 G1 Z1 XO YO 145 Table of Contents UAT OGUCT OMe Et 3 OVENI oh ee ne E ae ee eee 3 1 2 suited AA 5 121 1 4 axes USB CNC controller ooo Ere RETE RE exe E E Ne peu Um 6 122 MK2 S axes USB CNC controllef s diee ien err n Erden oS etae 6 123 MK24 4 axes USB ONG Controllo tds tuta pio 6 1 3 System eles eau RU 7 Z HE 8 ZN MAS
125. s CNC USB controller description sees 27 24 1 MK2Z A TOICCODDOGIOL Doku 28 24 2 deseas EIE epu eas tea 29 24 3 usce reds etant sabes 30 244 COMME CIO a auos Lee 31 245 MKZ AINPUT CONNEC IOR tarda abt e HER a aput 32 ZA WIKZIA POT GCOBLIGGUOD kt ix Eadem aide datu t EE 33 DAT MK2 4 DB25 connector hu 34 240 MKA OTT e 35 146 2 4 9 Mk2 4 Power terminal and Power options 35 2410 I MEK2 4 IDE assi nen ettet Usu sr uem obe e dtu or OPE ebur S bre bees 35 25 Adapter with screw terminals ss uda ET o S vna EP 36 2 0 JOGGING KEYDO ANC NR UU UU 37 2 E 38 20 Pendant Adapte a c o 39 29 SDSIdAdabplel incest uti ee 40 9 41 SN MEOS c bia 41 1 2 1519 TRE 42 S SOWIE MASE AVOID TUNE 42 o2 Dvd 45 3 2 3 Completing driver installation Wind
126. s USB CNC controller 100 kHz maximum step frequency 7 digital outputs 12 us minimum pulse width manual jog input keys for all axes limit keys for all axes 5 general inputs 8 control inputs for pendant or similar device SD card support for running g code without computer control external devices with 12 protocol Mk2 4 4 axes USB CNC controller 100 kHz maximum step frequency 3 digital outputs 12 us minimum pulse width manual jog input keys for all axes limit keys for all axes single input mode 4 inputs for tool sensor e stop 1 3 System Requirements Minimum system requirements 1 GHz or faster processor 512MB RAM 500 MB available hard disk space DirectX 9 graphics device with WDDM 1 0 or higher driver USB 2 0 port Framework 3 5 SP1 Recommended system requirements 2 GHz or faster processor 2 RAM 500 MB available hard disk space DirectX 9 graphics device with WDDM 1 0 or higher driver USB 2 0 port Framework 3 5 SP1 2 Hardware 2 1 Installation Installation of PlanetCNC CNC USB Controller requires a USB equipped PC or laptop along with motor drivers appropriate to the motors in use The USB CNC controller is compatible with the vast majority of motor drivers that use step direction signals Optional support hardware can be employed to customize installation to suit user requirement Use of a screw terminal adapter makes connection to the type of drive in the image much
127. s X Clears Edge X points from the points list Clear Points Clears Edge points from the points list Clear Points Clears Edge Y points from the points list Clear Points Clears Edge Y points from the points list Clear Points Clears all stored points from the points list 3 3 11 17 7 Transformation Capture amp Measure Points Load Points Loads a set of previously saved transformation matrix points data 3 3 11 17 8 Transformation Capture amp Measure Points Save Points Saves the active transformation matrix points data to file 79 3 3 11 17 9 Transformation Capture amp Measure Points Show Camera Show Camera opens camera dialog It s designed to display the view visible to a USB web cam mounted alongside the spindle looking down on the workpiece The large cross hair marker in the center of the view is used for precise targeting of points on the stock for measurement or capture purposes Available USB web cams are listed in a drop down in the center of the panel Depending on attached hardware options to use camera filters may also be shown CNC USB software provides adjustment so the basic web cam option is selected On selection of valid hardware the display updates to show the camera view Config becomes active giving access to further adjustment options Tool sensor use does not require sophisticated hardware Basic web cam har
128. s emergency stop Is Pause Triggering of switch hardware connected to Ext pin causes pause Trigger only Momentary button switch behavior If unchecked press or trigger ON and release OFF If checked the first press or trigger ON and the second press or trigger OFF 93 3 4 6 Outputs Outputs This tab specifies and directs output signals M5 spindle Motor Enable E Stop from the controller Settings will vary Output pin On Off 3 Output pin depending on controller hardware Output pin Direction On Bat Mk1 controllers have outputs 1 2 and 3 Output pin Speed 5 M62 M63 Pout SUME Output pin y Mk2 controllers have all 7 outputs Min 3005 Max 300007 Pa M64 M65 Gval Mk2 4 controllers have outputs 1 2 and 7 ape F Delay utput pin EN OF 005 Outputs CCW On 0 0 Off 0 0 Invert Output 1 3 4 6 1 Spindle 4 M5 Use RC Controller m Invert Output 3 Lo 400 44 Hi 15002 Output pin On Off Specifies the output used to control n 9 diens invest Ouiput 5 Output pin Flood IM spindle ON OFF __ _ Invert Output Output pin Mist M7 2 mv Output pin Direction 2 Pause Invert Motor Enable Sets the output pin that controls spindle direction M3 MA Output pin Speed Sets the output pin assigned to spindle speed control Min Max Minimum and maximum speeds f
129. s used when motion is specified in absolute distance mode using any of the nine coordinate systems those designated by G54 G59 3 Thus all nine coordinate systems are affected by G92 Being in incremental distance mode has no effect on the action of G92 Non zero offsets may be already be in effect when the G92 is called If this is the case the new value of each offset is A B where A is what the offset would be if the old offset were zero and B is the old offset For example after the previous example the X value of the current point is 7 If G92 x9 is then programmed the new X axis offset is 5 which is calculated by 7 9 3 5 14 55 G92 1 Cancel Offset Coordinate Systems and Set Parameters to Zero To reset axis offsets to zero program G92 1 or G92 2 G92 1 sets parameters 5211 to 5216 to zero 5 14 56 G92 2 Cancel Offset Coordinate Systems But Do Not Reset Parameters To reset axis offsets to zero program G92 1 or G92 2 G92 2 leaves parameters 5211 to 5216 values alone 5 14 57 G92 3 Apply Parameters to Offset Coordinate Systems To set the axis offset to the values saved in parameters 5211 to 5219 program G92 3 139 5 14 58 G93 Inverse Time Feed Rate Mode Three feed rate modes are recognized units per minute inverse time and units per revolution Program G93 to start the inverse time mode In inverse time feed rate mode an F word means the move should be completed in one divided by the F number mi
130. se the tool using a Move loaded lead in offset e Lock and Blow release tool and clear debris The machine then moves at Speed rate using Safe Height Z value to tool X tool change position and the load cycle repeats from Step 2 103 3 4 13 Tool Sensor Tool Sensor This tab configures use of an electronic sensor for use in automatic tool length detection material position detection or Location Move Offset Enable F transformations The tool sensor be used 12200 00090 j pp Y 561 0000 20 0000 Y 120 0000 in a multi function movable mode or fixed to the machine table as a dedicated tool a i 4000000 5 6000 1 6000 length sensor The sensor can be used with Oo qu Direction Retract all controller versions Connection is 15 0000 determined by the controller in use Sate Height RICE Count 100 0000 E 150000 3 Speed Mk1 controller users connect the tool sensor 800 00 to LIMIT pin 5 Z Retum v Mk2 and Mk2 4 controller users can use a dedicated sensor connection on INPUT pin 5 Enable Enables tool sensor 3 4 13 1 Tool Sensor Fixed Location X Y Absolute location of the tool sensor Automatic tool length procedures move the machine to this specified location Move X Y A lead in out offset move This is usually used if you want to move to sensor location from desired direction to avoid an
131. selected color or intensity data embedded within the image Red G Green B Blue H Hue S Saturation Luminance 1 62 3 3 8 10 Import Text The quick brown fox jumps A fast means to process true type font to over the lazy dog G Code Any TTF font on the system can be used even graphic fonts Font font size styling and layout options can be applied After setting text and styling options DXF import dialog will appe Microsoft Sans Serif Close Polygons 7 Cancel 63 3 3 8 11 File Cutter Tower Distance Standard gap Calibration X Foam Block Thickness Skin Thickness TE margin at root LE margin at root Proportional Height of weights Heat Core cutting Block cutting Wire diameter Base constant Foam constant Speed constant Import Airfoil Cutouts Tube spar 1 Dist from root LE Diameter Tube spar 2 Dist from root LE Diameter Wiring channel Dist from root LE Diameter Full spar Top cap Bottom cap Root width Root Tip width Tip Root depth Tip depth Root ag4 amp ct Dzr dat Chord 139 Washout 0 000 0 8503 Planform Length 243 840 Sweep 38 100 Cut Height 7 620 Dist from tower Dist from front Skin thickness LE lead n TEthickening Speeds Core Block speed Move speed File menu Cutter Foam Heat Kerf Cu
132. ses axis words appears on the line the activity of the group 1 G code is suspended for that line The axis word using G codes from group 0 are G10 G28 G30 and G92 5 14G Codes G codes of the RS274 NGC language are shown and described below 5 14 1 G00 Rapid Motion Linear Motion at Traverse Rate For rapid linear motion program GO X Y Z A B C where all the axis words are optional except that at least one must be used The GO is optional if the current motion mode is GO This will produce coordinated linear motion to the destination point at the current traverse rate or slower if the machine will not go that fast It is expected that cutting will not take place when a GO command is executing It is an error if e axis words are omitted If cutter radius compensation is active the motion will differ from the above 5 14 2 G01 Linear Feed Linear Motion at Feed Rate For linear motion at feed rate for cutting or not program G1 X Y Z A B C where all the axis words are optional except that at least one must be used The G1 is optional if the current motion mode is G1 This will produce coordinated linear motion to the destination point at the current feed rate or slower if the machine will not go that fast It is an error if e axis words are omitted If cutter radius compensation is active the motion will differ from the above 123 5 14 3 G02 Arc Helix Feed CW 5 14 4 G03 Arc Helix Feed
133. t In between the brackets are numbers parameter values mathematical operations and other expressions An expression may be evaluated to produce a number The expressions on a line are evaluated when the line is read before anything on the line is executed An example of an expression is 1 cos 0 3 4 0 2 Binary operations appear only inside expressions Nine binary operations are defined There are four basic mathematical operations addition subtraction multiplication and division There are three logical operations non exclusive or OR exclusive or XOR and logical and AND The eighth 119 operation is the modulus operation MOD The ninth operation is the power operation of raising the number on the left of the operation to the power on the right The binary operations are divided into three groups The first group is power The second group is multiplication division and modulus The third group is addition subtraction logical non exclusive or logical exclusive or and logical and If operations are strung together for example in the expression 2 0 3 1 5 5 5 11 0 operations in the first group are to be performed before operations in the second group and operations in the second group before operations in the third group If an expression contains more than one operation from the same group such as the first and in the example the operation on the left is performed fi
134. te Updates controller firmware with version embedded in software Verify Verifies firmware with the version embedded is current software release Reset Performs controller reset Same as pressing the controller hardware Reset button It is not possible do destroy or damage controller with firmware update If firmware update fails it is always possible to update it again 81 3 3 12 Help menu The help menu provides access to offline and internet assistance for CNC USB software Reference content related to supported G Code is also linked Google G Code Wiki G Code NIST R5274NGC Reference G Code EMC2 Reference ooftware license activation and management are also catered for along with information regarding start up update status and software version Activate License 3 3 12 1 Help Import License Launch PDF reader with this document loaded PDF reader software must be installed on the system or the document cannot be viewed Check For Updates About 3 3 12 2 Activate License Displays the license activation panel for entry of the software registration key When software is purchased a registration key matching controller hardware software is sent via email The registration key is copied from email and pasted into the large panel area 3 3 12 3 Import License Imports license file allowing licensed software to transfer to alternative computer hardware or to resto
135. ter G8 is default at power up 5 14 8 G10 L1 Set Tool Table G10 L1 P tool number R radius X offset Z offset Q orientation Program a G10 L1 to set a tool table entry from a program G10 L1 reloads the tool table It is an error if e cutter compensation is 5 14 9 G10 L2 Coordinate System Origin Setting You can set the offsets of the nine program coordinate systems using G10 L2 Pn n is the number of the coordinate system with values for the axes in terms of the absolute coordinate system To set the coordinate values for the origin of a coordinate system program G10 L2 P X Y Z A B C where the P number must evaluate to an integer in the range 1 to 9 corresponding to G54 to G59 3 and all axis words are optional The coordinates of the origin of the coordinate system specified by the P number are reset to the coordinate values given in terms of the absolute coordinate system Only those coordinates for which an axis word is included on the line will be reset It is an error if e the P number does not evaluate to an integer in the range 1 to 9 If origin offsets made by G92 or G92 3 were in effect before G10 is used they will continue to be in effect afterwards The coordinate system whose origin is set by a G10 command may be active or inactive at the time the G10 is executed 126 Example G10 L2 P1 x 3 5 y 17 2 sets the origin of the first coordinate system the one selected by G54 to a point where X
136. the current tool position Zoom display to the G Code program extents Activate Deactivate Coolant Mist Activate Deactivate Coolant Flood Activate Deactivate Spindle 99 Set Position Zero Go To Position Zero Go To Position ZeroXY Go To Position Park1 Go To Position Park2 Go To Position G28 Go To Position G30 Offset Zero Offset Current XY Offset Current Z Offset Measure Offset Z Zero all axes If any offset is checked it will be used Warning Set Position will change machine absolute position If absolute position is changed automatic tool change and fixed tool sensor position might become invalid Moves the machine to the zero position If any offset is checked it will be used Moves the machine X and Y axis to the zero position If any offset is checked it will be used Moves the machine to the absolute Park1 position defined in Settings Moves the machine to the absolute Park2 position defined in Settings Moves the machine to the absolute G28 position as specified in Settings Moves the machine to the absolute G30 position as specified in Settings Zero s the working offset Sets the current XY position as the XY working offset Sets the current Z position as Z working offset Measures Z working offset at the current location using a movable tool sensor Mk2 and Mk2 4 only Offset Measure Tool Offset Measures tool l
137. tion Rotation angle is specified in dialog Positive values rotate the toolpath in a clockwise direction Negative values cause anti clockwise rotation 3 3 10 7 Set Speed Set Speed provides alternate means to specify feed and traverse motion rates applied in machining the G Code program The panel will appear allowing entry of user parameters Pressing OK applies specified rates for feed and traverse moves Current G Code F word values are overridden This is preferred method for changing speed Use this and not speed override on main screen 70 3 3 10 8 Copy XYZ UVW G Code applied to the XYZ or 1st tower is duplicated modified to create code for the UVW or 2nd tower For use with foam cutters 3 3 10 9 XYZ lt gt UVW G Code applied to the 1 and 2nd towers is exchanged modified so that XYZ code becomes UVW code and vice verse For use with foam cutters Example Program is made to create left wing of plane By use of swap command existing program creates right wing of plane 3 3 10 10 Convert Arcs To Lines Converts Arc entities into segmented polylines The value specified at Setting Misc Interpolation determines line segment length 3 3 10 11 Convert All To Lines Converts all entities into segmented polylines The value specified at Setting Misc Interpolation determines line segment length 3 3 10 12 Edit G Code Opens a copy of the active NC program using the editor A temporary filename
138. tivate deactivate an ENABLE signal on motor connectors see Settings E Stop switch hardware for use with this connector can be NC Normally Closed or NO Normally Open Software settings allow an Invert option to be applied An inexpensive adapter to connect MPG pendant devices is available or an adapter can be supplied with MPG pendant pre wired ready for immediate use CTRL 1 E Stop CTRL 2 Distance switch CTRL 3 Distance switch CTRL 4 Axis switch CTRL 5 Axis switch CTRL 6 Encoder CTRL 7 Encoder CTRL 8 Additional switch 21 2 3 6 Mk2 INPUT connector INPUT 1 INPUT 2 INPUT 3 INPUT A INPUT 5 GND This connector will provide input for user assigned functions INPUT1 Pause INPUT2 Start INPUT3 Stop INPUT4 E Stop INPUT5 Tool sensor 22 2 3 7 Mk2 OUTPUT connector OUT 2 OUT 1 OUT 4 OUT 3 OUT 6 OUT 5 GND OUT 7 GND 5V This connector provides 7 digital outputs for control of external devices The optional Output board links to the Mk2 controller using this connector Output assignment is controlled in software OUT 1 7 Digital Output GND Ground GND Ground 5V 5V supply OUT1 and OUT2 are capable of generating PWM signal OUT7 is capable of generating UART signal 23 2 3 8 Mk2 EXT connector SDMIS SDMOSI SDSSEL SDSCK I2C CL I2C DA GND 3 3V GND 5V This connector allows use of SD Card and 12 protocol devices An inexpensive I2C LCD digital read
139. tons attached to the INPUT connector will allow CNC machinery to run proven NC programs without need of an attached PC Pin outs for this adapter correspond with Mk2 CNC USB controller EXT connector pins The adapter can not be used with Mk1 or Mk2 4 controllers 40 3 Software 3 1 Overview Offset M 31 0000 Y 31 0000 2 0 0000 A 0 0000 4 ee ds gt aS p b 4 CNC USB Controller General H _Stepper Stepper PC Software VS2008 CNCUSBController Samples pe File View Program Machine Help Debug 2 N2 G20 G90 N4 TOO03 MOG 7 N6 GO X0 00000 8 8 GO X1 96850 v1 N10 GO X1 97914 Y 10 2 GO Z 0 00001 11 N14 G1 X1 97914 Y 12 N16 51 X1 87952 Y 3 N18 X1 70122 Y 1 N20 X 1 45484 Y 1 N22 X1 27458 Y 1 24 X1 17161 Y 1 7 N26 X1 11736 Y 1 8 N28 X1 07572 Y 1 N30 X1 04642 Y 2 20 N32 X1 02840 Y 2 21 N34 X 1 02136 Y 2 22 N36 X1 02459 Y 2 23 N38 X1 03774 Y 2 24 N40 X1 06112 Y 2 25 N42 1 09594 Y 2 44 X1 14458 Y 2 27 N46 X1 19989 Y 2 28 48 X1 25777 Y 2 29 N50 X1 33204 Y 2 30 N52 X1 40755 Y 2 31 N54 X1 47735 Y 2 32 N56 X1 55858 Y 2 33 N58 X1 63410 Y 2 34 N60 X1 70961 Y 2 77315 CNC USB Controller software is designed to fully exploit the advanced features of controller ha
140. touts Wiring Full Spar Root Tip Planform Speeds Side Toolpath Load and save airfoil files Foam cutting machine parameters Foam block parameters Wire heater parameters Wire parameters Tube spar 1 Tube spar parameters for the first spar Tube spar 2 Tube spar parameters for the second spar Parameters to cut out a channel for wires Full spar parameters Root airfoil and it s parameters Tip airfoil and its parameters Wing planform parameters Cutting speeds for each phase Left or Right wing Selected phases will be used in toolpath generation Tip ag47ct 02r dat Chord 85 725 Washout 0 000 1 3857 Left Toolpaths 1 Mign wire 2 Cut block at TE and LE 3 Cut block skin 4 Align wire 5 Align block 6 Cut core 64 3 3 8 12 G Code Wizard Various wizards for different tasks 3 3 8 13 Export Toolpath To G code Export toolpath to G code file 3 3 8 14 Export Toolpath to DXF Export toolpath to DXF file Created file also contains traverse moves at safe height 3 3 8 15 Export Toolpath to CSV Export toolpath to CSV file Created list of points contains toolpath points 3 3 8 16 Export Toolpath to RAW Export toolpath to RAW file RAW files are used with SD card 3 3 8 17 Settings Display settings dialog where you configure software to suit hardware requirements A separate chapter describes settings dialog 3 3 8 18 Import Settings Import a Sett
141. ts Limit Switch Limit Li Limit Soft Limits Homing Enable Sequence Speed Direction Set Position Go 1000 00 120 00 0 00 Retum Distance 5 0000 Soft limits are NOT available if using the Mk1 controller 3 4 4 2 Homing Enable Enables use of the automatic homing procedure Sequence 0 00 0 00 The order in which axes are homed It s normal practice to first home Z axis to ensure the tool is clear of work prior to homing moves of other axes Speed opeed of the machine during homing A low homing speed is advised Machine axes will stop without deceleration when a limit switch is triggered Direction Establishes the direction of motion applied in homing moves negative or positive direction Set Position Establishes the position of Home limit switches with reference to machine working envelope Go To Establishes a location the machine will traverse to after homing Traverse speed is used Return Distance When limit switch is triggered the machine will move back by the distance specified releasing the triggered switch 90 Example A machine has two X axis limit switches exactly 500mm apart To give tolerance of 10mm on each side the working area is set as Limit 0 and Limit 480 The X axis has absolute value range of 10 mm to 490 mm 500 mm Homing in the positive X direction Direction the machine trig
142. ture that can be user configured to operate under manual and or computer control Ground or common connections 28 2 4 2 Mk2 4 JOG connector GND SHIFT JOG 1 JOG 2 JOG 3 JOG 4 JOG 5 JOG 6 JOG 7 JOG 8 owitched operation of JOG 1 8 controls manual jogging Pins 4 6 8 10 12 14 and 16 provide convenient Ground connections owitches are connected between LIMIT pin and GND pin Jogging keyboards can use a SHIFT key allowing Mk2 4 controller users to jog step mode SHIFT key function is defined in settings as is the step value for each key press A typical use might be as below JOG 1 JOG 2 JOG 3 JOG 4 JOG 5 JOG 6 JOG 7 JOG 8 SHIFT Jog Xaxis in positive direction Jog Xaxis in negative direction Jog Y axis in positive direction Jog Y axis in negative direction Jog Z axis in positive direction Jog 2 axis in negative direction Jog A axis in positive direction Jog A axis in negative direction Step jog mode Users can create a safe simple low cost jog keyboard using only switches capacitors a non conductive enclosure and some cable Existing panel mounted switches can be easily adapted If users construct their own jogging keyboard it s recommended that a 100nF capacitor is connected across switch terminals 29 2 4 3 Mk2 4 OUTPUT connector OUT 7 OUT 2 OUT 1 GND 5 O0000u This connector provides 3 digital outputs for control of external d
143. ve Move the Z axis only at the current feed rate to the Z position Dwell for the P number of seconds otop the spindle turning Stop the program so the operator can retract the spindle manually Restart the spindle in the direction it was going c 5 14 51 G89 Canned Cycle Boring Dwell Feed Out The G89 cycle is intended for boring This cycle uses a P number where P specifies the number of seconds to dwell program G89 X Y Z A B C R L P 1 Preliminary motion as described above 2 Move the Z axis only at the current feed rate to the Z position 3 Dwell for the P number of seconds 4 Retract the Z axis at the current feed rate to clear Z 5 14 52 G90 Absolute Distance Mode Interpretation of RS274 NGC code can be in one of two distance modes absolute or incremental To go into absolute distance mode program G90 In absolute distance mode axis numbers X Y Z A B C usually represent positions in terms of the currently active coordinate system 5 14 53 G91 Incremental Distance Mode Interpretation of RS274 NGC code can be in one of two distance modes absolute or incremental To go into incremental distance mode program G91 In incremental distance mode axis numbers X Y Z A B C usually represent increments from the current values of the numbers and J numbers always represent increments regardless of the distance mode setting K numbers represent increments in all but one usage se
144. wer from the USB controller STEP Provides a STEP signal of minimum 12 us pulse width to the motor driver DIR Provides DIR or DIRECTION signal to the motor driver ENABLE Provides an ENABLE signal for motor drivers When the ENABLE signal is lost due to output command E Stop or limit switch activation motor drivers will deactivate A dedicated E Stop attached to the CTRL or INPUT connector can control the signal It can also be operated by limit switch activation software command or on shutdown of the control software This arrangement provides a useful safety feature that can be user configured to operate under manual and or computer control GND Ground or common connections 16 2 3 2 Mk2 MOTOR 5 9 connector STEP 5 DIR 5 STEP 6 DIR 6 STEP 7 DIR 7 STEP 8 DIR 8 STEP 9 DIR 9 GND ENABLE GND 5 GND 5V This connector controls up to 5 motor drivers It can also provide an ENABLE signal to drivers that can take advantage of these feature STEP 5 9 Provides a STEP signal of minimum 12 us pulse width for up to 5 motor drivers DIR 5 9 Provides DIR or DIRECTION signal for up to 5 motor drivers ENABLE Provides an ENABLE signal to motor drivers The signal can be applied to all axes When the ENABLE signal is lost due to output command E Stop or limit switch activation motor drivers sharing the signal will deactivate 5V 5V power Motor drivers can take power from the USB controller GND Ground or common c
145. y obstacles Set Position Z Actual Z position of the tool sensor This known position enables tool length calculation Direction The direction up down the 2 axis will be moved when the machine reaches Location XY Safe Height Safe Z value used for traverse to Location XY Speed opeed applied in move to touch sensor Traverse speed is used for other moves Return If enabled the machine will auto return to the initial location 104 3 4 13 2 Tool Sensor Movable Offset X Y Sensor offset Sometimes the sensor is mounted at an offset from tool center This is usually the case with a USB camera sensor Size Total distance from tool center to stock when sensor is triggered Example If the tool sensor is a simple piece of PCB of thickness 1 6mm and tool radius is 4mm 8mm diameter Size value 1 6 4 5 6mm Height If the tool sensor is a simple piece of PCB of thickness 1 6mm Height 1 6mm Retract Additional distance that machine moves back after touching sensor Distance The distance between measured points when the tool sensor is used for edge measuring for use with transformation features Count The number of measured points used for edge measuring 105 3 4 14 Materials Materials Simulations can employ a database of user 1 Unknown Number defined materials to represent stock in the p visualization display Shaded or wireframe 2 Wood representation is av
Download Pdf Manuals
Related Search
Related Contents
Sharp PN-R903 Quick Guide INSTALLATION AND OPERATING INSTRUCTIONS Thank you for AMADO CARDENES - SHARP Modelo XE-A137 Server HP ProLiant ML150 Guida all`uso e alla 株式会ネ士フィ リ ップスエレク トロニクスジャパン AEDコールセンター BN-Special T207M, T208M, T207M/NP and T208M/BL IP Telephone User Guide Copyright © All rights reserved.
Failed to retrieve file