Home

USBCNC manual

image

Contents

1. 09 52 02 Info 09 52 04 Info 09 52 04 Action Ready for operation Job started Please load tool 1 0000001 TiM6 0000003 G0Z3 000 GOXO OOOYO 000516000M3 GOX66 584Y0 280Z3 000 G1Z 0 866F1200 0 X66 246Y0 085Z 0 697 X66 133Y0 020Z 0 672 Z3 000 GOX65 232Y0 019 G1Z 0 586F1200 0 4 X65 401Y0 117Z 0 617 X65 795Y0 345Z 0 624 s lt 15079 gt gt gt p i RESET lt gt LOAD REDRAW Fi F2 F3 mistop MCA TCA W Arc F G28 AUTO Y Fast RT Graph Fast Rendering Haag Bal BlockDel Y Sim F10 100 G30 The tool is already in so we press F4 again the program will continue and our machine is working We see the tool path being drawn real time on the screen If you check the G28 or G30 checkbox then the machine will return to its G28 or G30 position when the job is done You can specify those positions in the variables tab 04 December 2015 Release 4 02 68 EDINGCNC Manual 2 2 5 4 MAPPING X Y G CODE TO CYLINDER ON A AxIS This is useful if you have a 4th axis and want to mill on the outside of a cylinder as if it was the X Y plane You must have setup the A axis as 4THMILL This is possible with a normal XY G Code file EDINGCNC will perform the mapping for you Some calibration needs to be done to make this work It is done on the new coordinates page The location of the A axis rotation point needs to
2. Y 0 047 Machine Work X 0 000 Feed Speed G M Code Time F 0 60 100 S 0 0 100 G17 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T1 0000001 0000002 0000003 0000004 U0U000 gt 0000006 0000007 0000008 0000009 0000010 TiM6 G17 G0Z3 000 GOXO 000YO 000516000M3 ADbD 354YU 25UZ 3 UU G1Z 0 866F1200 0 X66 246Y0 0852 0 697 X66 133Y0 0202 0 672 Z3 000 GOX65 232Y0 019 G1Z 0 586F1200 0 X65 401Y0 117Z 0 617 X65 795Y0 345Z 0 624 j a F10 lt 15079 gt gt gt i mistop Single AUTO MCA Mm BlockDel TCA Mi Y Sim Arc F G28 Y Fast RT Graph 100 G30 Fast Rendering The yellow rectangle shows the first place where the collision is discovered We see here clearly that a part of the tool path is outside the machine area a message is given showing the line number L5 in this case where the collision occurred The easiest way to shift now is to jog to the place where you want to have the origin the ctual place of the work coordinate system origin is shown as the cyan lines for X and Y 04 December 2015 Release 4 02 65 Manual H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap o CNC V4 02 28A 1600 SIMULATION Operate Coordinates Program Tools Variables IO Service Util Setup Help _ EStop Ml IOG
3. na al 04 December 2015 Release 4 02 EDINGCNG Operating mode Automatic selector switch manual start m mode Without detec nasaz Gi tion of shorts across contacts With detection of shorts across contacts M R Si 3 Monitored start Monitored start rising edge falling edge Infin in inf S ES inde in inde id Sh Manual Automatic start with start up test g2 S We use the AUX1 output of the CPU to reset the safety relay and connect this output to the AUX 1 output of the CPU The CNC600 has 24V outputs and can directly be connected to S34 CPU5B has open collector outputs and cannot be directly connected here a small 24V relay is needed The contacts of the relay are connected like this Configuration of the safety relay is done in the settings file cnc ini These are the parameters which are located under section SAFETY safetyRelayPresent O Set to 1 if safety relay present systemReadyOutPortID O Standard system ready port or use 1 9 for AUX port 1 9 SafetyRelayResetOutPortID O 1 9 AUX1 AUX9 safetyRelayResetDelayMs 500 safetyRelayPulseLengthMs 250 Now the sequence to switch on is as follows Make sure the ESTOPs are not pressed Press the MACHON button in the UI The software will first switch on the systemReadyPortID note that this port switches a relay that is part of the Safety chain then wait 500ms and then generates a 250ms pulse on
4. 0000017 User functions F1 F11 in user 1 S With F2 F4 the X Z axes can be homed individually With F8 and the button beside the Feed Speed window the home sequence can be started to home all axes in a sequence Fil is the same as the button besides the 100 feedOverride display HOME What happens is that a few subroutines are called The subroutines are in the macro cnc file in your EDINGCNC installation folder They look like this Homing per axis Sub home_x 04 December 2015 Release 4 02 89 EDINGCNC Manual home x Endsub Sub home_y home y Endsub Sub home_z home z Endsub Home all axes uncomment or comment the axes you want sub home_all gosub home_z gosub home_x gosub home_y endsub A good reader has seen that the order of homing is defined by the home_all subroutine and can be customized to your own needs 2 10 1 Manual homing the machine Homing is the first thing you always do after switching on the machine I recommend making a habit of it Suppose your machine limits are X 300 mm and 300 mm Y 200 mm and 200 mm Z 100 mm and O 0 is the bottom surface of the bed Set the Home velocity to O for all axes that have no EOS switch Mark a point somewhere on the machine that you want to use as home reference point let s say X 200 0mm which is 100 0mm from the left edge and Y 150 which is 50 0 mm from the lower edge For Z w
5. 12 5 1 a traverse parallel to the XY plane to 13 17 4 8 2 a feed parallel to the Z axis to 13 17 4 2 3 a traverse parallel to the Z axis to 13 17 4 8 3 6 20 3 G82 CYCLE The G82 cycle is intended for drilling Program G82 X Y Z A 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 traverse rate to clear Z 3 6 20 4 G83 CYCLE 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 R L Q Preliminary motion as described above 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 Retract the Z axis at traverse rate to clear Z N e PUUE A It is an error if e the Q number is negative or zero 3 6 20 5 G73 CYCLE The G73 cycle often called peck drilling is intended for deep drilling or milling with chip breaking The retracts in this cycle clear the hole o
6. L 5 Preliminary motion as described above 6 Move the Z axis only at the current feed rate per revolution to the Z position So assume the spindle is running M3 S600 Then and F value of F1 will give A feed of 600 minute Feed starts synchronized with spindle pulse allowing to tap the same hole again 7 When Z position reached reverse spindle M4 Waits until spindle ramp up and new measurement of spindle speed 8 Retract the Z axis at the current feed rate to clear Z 3 6 20 8 G85 CYCLE 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 Preliminary motion as described above Move the Z axis only at the current feed rate to the Z position Retract the Z axis at the current feed rate to clear Z 3 6 20 9 G86 CYCLE The G86 cycle is intended for boring This cycle uses a P number for the number of seconds to dwell Program G86 X Y Z A B C R L P Preliminary motion as described above Move the Z axis only at the current feed rate to the Z position Dwell for the P number of seconds Stop 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 the spindle is not turning before this cycle is executed 04 December 2015 Release 4 02 146 EDINGCNC Manual 3 6 20 10 G8
7. Manual 79 EDINGCNC Manual 2 5 PROGRAM PAGE DXF AND HPGL IMPORT Operate Coordinates Program Tools Variables 10 Setup Help lt T LOAD DRILL ENGRAVE POCKET OFFSET Engrave m 1 E E Select Participating DXF Layer Y Pen 1 Safe Z 3 000 Start Z 0 000 Final Z 1 000 Z Increment 1 000 FeedRate 400 000 PlungeRate 100 000 SpindleSpeed 10000 000 Set DXF Origin Show Y Arrows A 2 i SpindleDirection CW CCW dR Y Boundary LaserMode J Offset MR pocket Open ends 1R Points ToolNumber Connect Tolerance 0 00100000 Calculation Accuracy 0 00000100 Close Path s jii Load Aso WA 11 27 06 11 27 06 Save G Code 11 27 29 11 27 29 4 EDINGCNC uses a build in CAD CAM library for these advanced import functions You can load a file and then perform one of these operations Loads a DXF or HPGL file Select engraving this is milling over the lines from the drawing Drilling draw points in the DXF file to use this Select profiling this is for milling out objects and taking the tool diameter into account This is for pocketing to mill out the complete object these options may not be available After loading a DXF file all layers will be visible You can unselect layers at the right side such that you see only the part that you want to use You also can change the
8. e pwmCompensationOn 1 1 to switch compensation ON O to switch OFF e pwmCompensationFileName Spindle O pwmCompTable txt name of the file with the correction table when you switch on the compensation and the compensation table does not exist one is created as example for you it is only an example to show the syntax You need to adopt it for your machine This is an example of a correction table Speed PWM calibration table for spindle O This table contains 15 correction points Speed PWM Percentage 0 00 0 00 720 00 8 00 1146 00 10 00 3468 00 20 00 5832 00 30 00 6000 00 31 00 8280 00 40 00 10740 00 50 00 13260 00 60 00 15780 00 70 00 18000 00 79 00 18120 00 80 00 21060 00 90 00 24000 00 100 00 The number on the left side is the Spindle Speed and on the right side the required PWM value 0 100 You can see the PWM value in the IO screen and you can make it also visible at the main screen instead of the programmed speed The setting is under USERINTERFACE O programmed speed 1 PWM value 2 analogIn1 3 analogIn2 4 analogIn3 e showInProgSpeed 1 e showInProgSpeedAnaMulFactor 1 0000 Feed Speed Gim Code Tid F 0 60 100 s 12000 55 0 100 04 December 2015 Release 4 02 78 EDINGCNC As you can see you can also choose to show an analogue input with a multiplication factor this can be used when the spindle has a power used signal 04 December 2015 Release 4 02
9. 3 6 20 1 PRELIMINARY AND IN BETWEEN MOTION At the very beginning of the execution of any of the canned cycles with the XY plane 04 December 2015 Release 4 02 143 EDINGCNC Manual selected if the current Z position is below the R position the Z axis is traversed to the R position This happens 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 1 a straight traverse parallel to the XY plane to the given XY position 2 a Straight traverse of the Z axis only to the R position if it is not already at the R position If the XZ or YZ plane is active the preliminary and in between motions are analogous 3 6 20 2 G81 CYCLE 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 Suppose the current position is 1 2 and 3 and the XY plane has been selected and the following line of NC code is interpreted G90 G81 G98 X4 Y5 Z1 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 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 mo
10. M1 M2 M30 M60 stopping group 5 54 M55 M56 M64 M65 M66 AUX and general purpose I O group 6 M6 tool change group 7 M3 M4 M5 spindle turning group 8 M7 M8 M9 coolant special case M7 and M8 may be active at the same time group 9 M48 M49 M50 M51 M52 enable disable feed and speed override switches group 10 M90 M91 M92 M95 M97 select standard or alternate spindle or touch probe or camera offset M90 standard Enable THC M20 M21 THC ON THC OFF Torch height control A axis clamp M26 M27 Clamp on clamp off 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 gt 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 04 December 2015 Release 4 02 117 EDINGCNC Manual 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 O 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
11. T a y ve 6 va With the keys you move the axes we call this jogging Using the keys alone you have low speed 10 Using the keys in combination with the CTRL key you get 50 speed You get 100 speed in combination with the SHIFT key 04 December 2015 Release 4 02 26 EDINGCNC Manual You can set the axes position by clicking the axis position display And you can also move the axes by holding the CTRL key and clicking with the left mouse button on the position display 04 December 2015 Release 4 02 27 EDINGCNC Manual 2 1 1 Setup Page s Before the system is actually used we have to setup the system to accommodate the machine we do that in the setup page s There a two main setup pages CNC V4 02 19 CPUSA 4D 1 kan Operate Coordinates Program Tools Variables IO Service Util Connection to CPU 172 22 2 100 y Max step freq 50000 000 Password INCH y Language English v MM Motor setup SlaveMode Steps AppUnit Positive limit Negative limit Vel AU S Acc AU S 2 Home Vel Dir Home Position Backlash 78 6556 4200 000 5 000 400 0 150 0 0 0 0 000 98 3171 1900 000 5 000 400 0 150 0 0 0 0 000 524 2880 0 000 520 000 200 0 0 0 0 000 99 9809 130 000 7 000 30 0 10 0 0 0 0 000 100 0000 0 000 0 000 200 0 400 0 0 0 0 000 100 0000 0 000 0 000 200 0 400 0 0 0 0 000 Trajectory Setup Toolchange Area Collision Homing and E Stop LAF angle 3
12. but a little deeper in Z E g you want to run the program 0 1 mm deeper select jog step 0 1 and check shift coordinate system Now press de arrow down button to move Z 0 1 mm down Notice that the axis moves down but that the position remains the same When you run your engraving program again the engraving will be 0 1 mm deeper into the material This option is also very handy during turning Your program has run and you measure the work piece and see its diameter is still a bit too big So now use the X button to compensate the diameter Run the program again and your work piece diameter will be correct The amount of shift is shown at the right side To reset the value to 0 which has no influence on the active offset nor machine position uncheck and then check shift coordinate system 2 2 4 9 USER MENU 0000 0000 Fl F2 e F1 Reset e F2 Zero the Z coordinate using a flexible tool setter positioned on top of the material see ZERO TOOL MACRO chapter e F3 measure the tool length and put the length in the tool table using a fixed tool setter see TOOL MEASUREMENT MACRO chapter e F4 F11 user function user_3 user_10 user defined functions in macro cnc e F12 return to main menu 04 December 2015 Release 4 02 Manual 63 EDINGCNC Manual 2 2 5 Operate page tasks 2 2 5 1 STARTUP When you just started the application you have to press reset F1 This will enable the drives
13. cnc zip en verstuur df Edit with Notepad d Scannen met Microsoft Security Essentials Y WinMerge Pin to Taskbar Pin to Start Menu Restore previous versions Send to Cut Copy Create shortcut Delete Rename Release 4 02 22 EDINGCNG Then you must tell the software which settings file to use This can be done by editing this line in the TAB Shortcut CNC4 02 TURN Target type Application Target location CNC4 02 X8BNCNCA 04 scnc ene tuming ini C Program Files amp 6 CNC4 G2 None Change this line C Program Files x86 CNC4 02 cnc exe add turning ini at the end C Program Files x86 CNC4 02 cnc exe Now the software will use turning ini to store your settings Without the turning ini the software uses default file name cnc ini to store the parameters 04 December 2015 Release 4 02 Manual 23 EDINGCNC Manual 2 The user interface General info There are several views Operate Program Tools Variables Setup and Help Using control tab you can tab through them It is important that EDINGCNC is started started as administrator On windows 7 this is not automatically done like in XP Click on the right mouse button and select Run As administrator You can also set this in the ICON properties compatibility When you start EDINGCNC for the first time you will get the Terms Guarantee page click the language you read the text Then click agree if y
14. code goes to pause Feed hold spindle off This can only be configured for CPU5B Feed in mm s to be applied when the safety input is active and when the machine is not homed and homing is mandatory is set Intended use is for a door switch 2 1 11 Spindle and PWM setup MinS MaxsS Ramp up Time StopOnPause zUpOnPause autoStartAfterPause zUpDistance approachFeed RPMSensor MistIsSpindleDirection IsStepperMotor 04 December 2015 The lowest possible speed for you spindle If a command for a lower S values is used then this minimum value is applied The speed of your PWM controlled spindle when the PWM Signal is at 100 The software waits this time between switching on the spindle and starting the further machining Stop spindle when pause is activated Z goes automatically up when pause is activated When start is pressed the X Y axes automatically reposition to the pause position the spindle is started then the Z goes down with approach feed and the program continues Hom much the Z goes up when when pause is activated and zUpOnPause is active Software will protect against going up beyond the Z limit The feed used for Z down when autoStartAfterPause is on and the start button is pressed Check if you have connected a spindle speed sensor to the Sync input of the CPU The sensor should give 1 pulse revolution minimum pulse width 0 5ms Special for CPU5A use mist outpu
15. menu see the example below With OpenGL activated in the setup real time pan rotate and zoom is possible with the mouse also pan left mouse button rotate left mouse button control zoom right mouse button 04 December 2015 Release 4 02 61 EDINGCNC Manual 2 2 4 7 JOG MENU on em fen AN Ga mos tet e Continuous RESETHi4cont gt 4 001 40 014 0 194 1 gt gt ES ES v hd v v v 0 001 10 100 1500 0 JogFeed F1 F2 F4 F5 F6 F7 F9 F10 F11 F12 F8 F1 Reset F2 jog mode continuous F3 jog mode step 0 0001 Only visible in INCH mode G20 F4 jog mode step 0 001 F5 jog mode step 0 01 F6 jog mode step 0 1 F7 jog mode step 1 F8 jog mode step user value F9 jog mode hand wheel mpg X1 F10 jog mode hand wheel mpg X10 F11 jog mode hand wheel mpg X100 F12 return to main menu 2 2 4 8 JOG PAD Jog Pac on Cont ei cont A A A ES Jog by mouse F12 return to main menu The function is similar to the jog menu but it has some extra functionality with jog step Shift Coordinate System 0 01 dl PO dl al al 5 0 cont A Ad DEARG EEEL 2 es MS ee NE 04 December 2015 Release 4 02 62 EDINGCNG When Shift Coordinate System is checked jog step functions as normal the axes move one step at a time The work position however remains the same This is accomplished by modifying the active G92 offset It is useful when e g during engraving you want to run the G Code program again
16. 000 10 21 44 Info Kin version TRIVIAL BUILD IN 1 0 10 21 44 Info CPU State OPERATIONAL ETH 10 21 44 Info Welcome Press Reset F 1 to enable drives 4 il b E _ M O _ _ U The G68 rotation can be reset with the reset button under G68 Rotation This is the same as entering G69 in MDI The G54 G59 3 offsets can be set by entering values and pressing enter The G54 G59 3 X Y values can be defined as zero at current machine position by pressing the button This works similar to G92 offset The MDI equivalent for setting G55 offsets is G10 L20 P2 XO YO G92 is normally used for zeroing the machine at work piece coordinates you can reset all offsets here to zero The G28 and G30 positions can be defined at current location by pressing the associated button 04 December 2015 Release 4 02 85 EDINGCNC Manual 2 7 IO PAGE T CNC V4 02 RC1 CPUSB SIMULATION CAProgram Files x86 CNC4 02 macro cnc Soe Operate Coordinates Program Tools Variables 10 Service Uti Setup Help CPU EDINGCNC RLY8 GPIO CARD 1 Present OEsTOP1 F O AUX1 IN 101 O ESTOP2 a aux2 IN 102 Opcerr in E AUX3 IN a 103 O PROBE IN AUX4 IN F 104 sync IN E O AUXS IN a 105 O RUN IN O AUX6 IN F 106 O PAUSE a F 107 Fi 103 10 18 02 Info Kin version TRIVIAL BUILD IN 1 0 10 18 02 Info CPU State SIMU
17. 0000 Positive limit Negative imit Use Only Home X for all axes InterpolationTime 0 0050 0 000 0 000 o fifoTime 0 2500 2 Disable 1 Normally dosed 0 Normally open 0 000 0 000 GO Feed Fact 1 00 HomelnputSenselevel 0 0 000 0 000 GO Acc Factor 1 00 EStopInputSenseleveli 0 FeedOverridelnput Set to current Set to current EStopInputSenseLevel2 2 AE ExtErrinputSenseLevel 0 FeedHoldInput Z Down Tool Length 0 000 enableZCollisionGuard T FEEDHOLD INPUT OFF Auto detect polarity Tangential Knife timeline A fezapangel 30 tenimifezapdat 5 000 Safety Input tanknife blend angle 0 0 tanknife blend dist 1 000 SafeFeed 10 0 SAFETY INP SPEEDHOLD Kinematics Setup 15 43 52 Warning XYZ 15 43 52 Warning Please HOME the Machine 2 1 2 UI and Connection Connection to CPU If you have 1 board connected to your PC leave the setting at AUTO the software will find the board automatically Otherwise choose the here the CPU you want to work with For CPU s with USB you see the COMx ports here in case of a CPU5 with Ethernet you will see the IP Address here Ethernet If you have a CPU with Ethernet check the Ethernet checkbox Max Step Frequency The maximum step frequency that the CPU will generate For motor drives it is needed to lower the maximum frequency In case the drive is unable to handle the high step frequency or low step pulse width Some of the digital drives from Leadshin
18. 0000020 Sub user_1 18 51 09 MotInitialize motion cpp 3556 Info 0 Kin version EDINGCNC 4AX A CILINDER V1 00 0000021 msg user_1 Zero Z G92 usir 18 51 09 MotInitialize motion cpp 3729 Info 0 CPUState SIMULATION A 0000022 Start probe move slow 18 51 09 MotInitialize motion cpp 3754 Info 0 Welcome you can move the axes by arrow keys 0000023 30 m 0000024 g38 2 z 200 A LL a a e e O a H First we set the location of the A rotation point We move by jogging or MDI to the center point of rotation of the A axis only Z and Y are important here Press button 1 Set to current position Done center is set Next we set the outside radius of the work piece There are 2 possibilities to do this 1 Just type the radius if you know it and press Set Radius Or we second possibility we move the Z up and touch the outside of the material with the tool bit and press 2 Calibrate Radius Calibration is done First we need to be sure that our Y axis is at the correct position before we switch on the Y gt A mapping We need to do this now because when the mapping is ON Y can no longer be moved as Y is now mapped to A You can press Move Y to rotation point the do the movement The mapping can be switched on now Then we can load a standard G Code file with XYZ coordinates Below we see how it looks in the graphic 04 December 2015 Release 4 02 69 EDINGCNG Y to A mapping OFF Manual a CNC V4 02 28A 1600 SIMUL
19. 1 0 always A 5211 5216 IA A A 5370 Reserved for rotation coordinate system 8 G92 offset X C bi 5398 5399 Return value for dlgmsg 1 OK 1 Cancel Return value for M55 M56 5401 5499 5501 5599 5601 5699 Tool z offset Length Tool 1 Tool 99 Tool diameter Tool 1 Tool 99 Tool x offset for Turning Tool 1 Tool 99 04 December 2015 Release 4 02 08 EDINGCNC Manual Parameter number 5701 5799 Tool orientation for Turning Tool 1 Tool 99 Currently supported only Tool O Tool 99 ON 5801 5899 Tool X Delta due to Wear 5901 5999 Tool Z Delta due to Wear 04 December 2015 Release 4 02 109 EDINGCNC Manual 3 2 TOOL DATA Tool ID zOffset xOffset For Diameter orientation 3 2 1 1 TOOL ORIENTATION FOR LATHES When the G18 plane X Z is selected special LATHE tool radius compensation can be used G41 G42 Depending on the tool orientation and tool radius an extra offset is applied The blue crosses show the radius center of the tool The green crosses show the controlled point depending on the tool orientation For orientation 9 there is no offset compensation For orientation 2 the compensation in X is tool radius in Z also tool radius 04 December 2015 Release 4 02 110 3 3 COORDINATE SYSTEMS In the RS274 NGC language view a machining center has an absolute coordinate system and nine program coordinate systems You can
20. 2 6 3 MOG ells POR E euita couse eas sas easan cont ease netane N 84 2 6 4 Automatic user defined Tool change ATC cccccssseccccssseccccsensececcscnsececsecuseeccsseasesecssagseeeeseess 84 2 6 5 Ms a carta aeaatidias names ntitee eee 85 27 AOR AGC AA A A oda 86 ZO SEV CEe PAGS dis 87 2 9 Util Page Chipload and Feed Speed ccsscceccsosscesccscceccecccsscecceccceccesccsccescesccscceccescecees 88 2 10 homing and coordinate SYSTCIMS cececcecececcccscececcecccsceccececsceccececsceccecececececcecscecescese 89 ZAG Manualhomi g the Maceta ENE 90 2 10 2 Automatic homing the machine and HomelsEStoOpP ccccocccccnncnnncnncnnnnnnnnnnnnnnnnnnnnnnnnannnnnnanononnnos 91 2103 VanOemiaxeS NONDE estais 92 2 10 4 Work versus Machine coordinate system and ZeroOing ooccccccccnnccnncnnnnnnnnnnnanonnnnnnnnnnannnnnnanininnnos 94 2 11 SO PUNUNG aiii 95 2 12 Keyboard ORCOS A E taeda couse 98 2 13 ZOTO LOLA O E eueetseaeerse 100 2 14 TOO measurement IVIGCIO cir iii IAS AR AA an 101 3 Inputs the RS274 NGC Language ssssssosesosescssesssssssesosesoseeosesosssssseosseossesosssosesoseeosssosssosssessesosesssssoss 105 3 1 Syster Parameters VAridbles cceccocscsccecccesceccccscescecccscceccecccscceccecccecceccessceccescoscsecs 106 32 O o noc iccai acs ciscdans causceusadse A 110 5 26 TooOnentacon toria tes ardid rada 110 33 C o ordinate Systems 1 a 111 SA Format Of a LNE essin ea a a aa vids eeedawtens 112 3 4 1
21. 31 09 45 58 Info RENDERING 3 It contains 09 45 59 Info Size X66 631 Y49 967 Z5 959 3 subroutine change tool this 3 subroutine home_x home_z ld j lt 15079 gt gt gt mistop Si ingle pa mb EJ e 1 AUTO MCA E T BlockDel J LOAD REDRAW START EDIT GOTO E a E Arc F ene G28 Y Fast RT Graph F6 F7 F9 100 G30 Fast Rendering 04 December 2015 Release 4 02 64 EDINGCNG Manual Using the mouse ctrl left mouse you can rotate the tool path and see it 3D Using the left mouse you can PAN Using the right mouse you can ZOOM It can be that while loading you get a collision error this means that the tool path does not fit on the machine because the work zero point is not at a correct position he Cian Light blue colored line s indicate the Work Zero point Jog to the left and set zero X further to the left using the button besides the X readout is the easiest way to do this a CNC V4 02 28A 1600 SIMULATION Operate Coordinates Program Tools Variables 10 Setup Help H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap D x EStop IOGuard GPIO Probe Home x Home y Home z Home a Machine limit violation X161 5965 0 09 48 34 Info 09 48 34 Stop L5 Machine limit violation X161 5965 zz Render ooog
22. 5 make entry move to point A N0040 G2 X3 5 Y2 J 1 5 cut along arc at top NOO50 G1 Y 1 cut along right side NOO60 G2 X2 Y 2 5 I 1 5 cut along arc at bottom right N0070 G1 X 2 cut along bottom side NOO80 G2 X 2 9 YO 2 J1 5 cut along arc at bottom left NOO90 G1 X1 1 Y3 2 cut along third side NO100 G2 X2 Y3 5 10 9 J 1 2 cut along arc at top of tool path NO110 G40 turn compensation off 04 December 2015 Release 4 02 187 EDINGCNC Manual Figure A 4 Cutter radius compensation entry moves C4 1 5 5 B 1 5 4 z A 2 3 5 programmed path 0 actual path Cutter radius compensation is turned on after the first pre entry move and before the second pre entry move including G41 on the same line as the second pre entry move turns compensation on before the move is made In the code above line NOO10 is the first pre entry move line N0020 turns compensation on and makes the second pre entry move and line NOO30 makes the entry move 04 December 2015 Release 4 02 188 EDINGCNC Manual 5 4 PROGRAMMING ERRORS AND LIMITATIONS The Interpreter will issue the following error messages involving cutter radius compensation In addition to these there are several bug messages related to cutter compensation but they should never occur Cannot change axis offsets with cutter radius comp Cannot change units with cutter radius comp Cannot probe with cutter radius comp on Cannot turn cutter radius comp
23. A 1 or 2 the nominal tool path for example the tool path on the left side of Figure A 1 The nominal tool path is the path that would be used if the tool were exactly the intended size The Interpreter will handle both cases without being told which one it is The two cases are very similar but different enough that they are described in separate sections see below 04 December 2015 Release 4 02 179 EDINGCNC Manual Figure A 1 Triterpreter does it this way NOT this way neh YEN a N Da Cutter Z axis motion may take place while the contour is being followed in the XY plane Portions of the contour may be skipped by retracting the Z axis above the part following the contour to the next point at which machining Should be done and re extending the Z axis These skip motions may be performed at feed rate G1 or at traverse rate GO The Z motion will not interfere with the XY path following The sample NC code in this appendix does not include moving the Z axis In actual programs include Z axis motion wherever you want it Rotational axis motions A B and C axes are allowed with cutter radius compensation but using them would be very unusual Inverse time feed rate G93 or units per minute feed rate G94 may be used with cutter radius compensation Under G94 the feed rate will apply to the actual path of the cutter tip not to the programmed contour 5 1 1 Data for Cutter Radius Compensatio
24. AAE 44 21 18 Load Ruh AutomaticallYiociinai ai 45 LLE AO eo ds 47 Pee Camera Seu tilo oloneias 48 te EPUO a lia 49 Laza UA A iS tans 50 2 1 22 1 POWEFING ENG salero tios 50 2 1 22 2 Input contacts of the Safety relay ccocooooccnnnnononnnnnnnnanonnnnnonoconnnonanonononnnnonnnnnnanonnnonnnoos 50 2 1 22 3 Output contacts or NE SAlety Teld S renra nn 51 2 1 22 4 SWiteninecon the Satety Tela altas 51 2 2 Operate Page this is where the machine is Operated for milling o oooooromoomo o 53 La Operate page IntrOdUCUOI seere an a a 53 22d Reset DUO dd 54 La EsCape BUON ds 54 2 2 4 TS MEUS odas 55 ZA MA Ma AAA 55 ALAZ HOME MA adds 55 AZA LOCO IMC A aa 59 Pee AONE ee a a E A E erneteceuay couse 55 04 December 2015 Release 4 02 EDINGCNC Manual LLAS TOMENU ss 61 ARAG A e O a A A OR 61 A i caren N T cage T E T TET T TEO N TOE T TONO 62 LZA JO PIAR a a a a 62 ZZ ser MEN add 63 A soo ONE taske o ll 64 LL AS 64 LAI ON A A as 64 0 A er o Es glo TUN os A y wanaceueesatenta i 64 2 2 5 4 Mapping X Y G code to cylinder On A AXIS ccccccccccccnnnnnnonnnnnnnnnnnnnonononononononononononononnnnnnnncnanonos 69 229 9 Miling n even SUITES ia 71 23 Near PITCH COMPCHSGTION iaa 77 2 4 Speed PWM compensation os ias 78 2 5 Program Page DXF and HPGL IMpOrt ccccccccccscecscscscscececcccccecececscececececececscecscecscecaces 80 26 TOOS PAJE Oo 83 2 6 1 MAII E ires AN 83 2 6 2 TOCNE eir en al E TA 84
25. EDINGCNG Manual 2 1 4 Homing and ESTOP setup Home Vel Dir Home Position Homing velocity a negative number reverses the homing direction When the velocity is set to 0 the axis is homed manually see the homing and coordinate systems chapter Machine position at the moment the home switch activated This determines the machine coordinates It is not really relevant where the machine zero point lies it should only match with the MIN MAX position Homing sensors should be setup such that they remain active until the mechanical end of the machine The space from home sensor activation to mechanical end is required to ramp down the movement Machine Mechanical Range Home Sensor behavior good Home Sensor behavior WRONG Use only home X for all axes Check this option if you have all home sensors wired to one input HomeSensorIsEStop The home sensors can also be used as limit switch which generate an E Stop when activated When this function is required the sensors Should be mounted outside the normal machine area Check this option if the home sensors work as EStop when activated This option will work after homing is complete The reason is that otherwise homing itself will generate an E Stop HomelInputSenseLevel 04 December 2015 Defines HomeSensor input behavior O low active normally open switch 1 high active normally closed switch set the level of your end of stroke switches thes
26. Ethernet connection on the PC Add a 2nd network card needed Connect the CPU using a 100 MBit UTP Cross cable Then setup the Ethernet adapter Go to the windows network settings the network adapter with No network access is one for the CPU Manual if 04 December 2015 Release 4 02 15 EDINGCNC Manual e e a All Control Panel Items Network and Sharing Center y File Edit View Tools Help Control Panel H i gt View your basic network information and set up Change adapter settings connections Change advanced sharing D a A l wi see full map gt lt 2 settings a USBCNC PC Multiple networks Internet This computer View your active networks Connect or disconnect Access type Internet Netwerk 4 HomeGroup Joined El Home network Connections Y LAN verbinding 2 Access type No network Onbekend netwerk access Public network Connections Y LAN verbinding 4 Change your networking settings u Set up a new connection or network Set up a wireless broadband dial up ad hoc or VPN connection or set up a router or access point ke Connect to a network Connect or reconnect to a wireless wired dial up or VPN network connection Choose homegroup and sharing options Access files and printers located on other network computers or change sharing settings See also HomeGroup Troubleshoot problems Internet Options Diagnose and repair network problems or get troubleshooting
27. Example a check with error that we want to See alwayS ccccooccccccocnnnnnncnnnnnnnnnonanononnnnnnonanonos 177 4 4 2 Example a check with error showing only when running ccccccccnnccnccncnnncnnnnnnonnnnnnonononcnnnnnnnnos 177 5 Cutter Radius COMMEMSAtION iia as 178 51 Introduction AA A E 179 SLI Data for Cutter Radius Compensation seresa r a E a meas esaseeets 180 5 2 Programming InstructiOnS sseeseesoescescoesoescoccoescesocesoesoocooeecescoescesocesoesoceooescoesseeeoee 181 OLE Turning Cutter Radius COMPENSATION ON oocccccnccnnccnccnnnnnnonnnnnnnnnnnnnnnnnnnonnnnnnnnnnnnnnnnnannnnnnaninonnnos 181 De Turning Cutter Radius Compensation Dira 181 ia o A 181 5 2 4 WS CVO FD NUMDE usa ri iio 181 5 2 5 Material Edge Contour is 181 5 2 6 Programie ENUY MOVES iia da ia 182 ALLE General MEtIO sra ii oa 182 ALL Simple Method rnii 184 5 3 Nominal POU CONTO UF ino icesveenssesdcdssevnrvevsnwsderidessscavsesoies sddeesnensesedess doen seausdeidess seeevexs 186 5 4 Programming Errors and Limitations ccececcccccccccccccecccccccecscscscecscecececcccccecececececececs 189 55 EXTENSION TO DOTA cor T 192 04 December 2015 Release 4 02 EDINGCNC Manual 5 6 Hardware installation osa 195 57 ROTO rece ada 198 04 December 2015 Release 4 02 EDINGCNC Manual 1 Introduction This manual describes the usage of the CNC control system Most hardware details can be found in the hardware documentation on the Eding CNC do
28. F4 spindle direction left right F5 flood coolant on off F6 mist coolant on off F7 aux1 output on off F9 Speed F10 Speed F12 back to main menu F6 Ev F1 reset F5 switch between 2D X Y plane and 3D iso metric view F6 zoom fit F7 zoom out F8 zoom in F9 zoom machine F10 clear F11 redraw re render whole program through interpreter I O o ae F12 2 2 4 6 GRAPHIC MENU PAN Arrows PageUp PageDown 2 ROTATE Ctrl Graph CLEAR Mireoraw Fast RT Graph Zoom In Fast Render F9 F8 F10 Fil F12 The graph view shows a grid of 50mm in mm mode or 2 Inch in inch mode projected on the machine bed X Y surface For a representative view it is important that the axes limits are correctly filled in and that the machine is homed manually or automatic The current work coordinate system origin is shown as a cyan colored cross in the x y plane When you press the preview update button a preview is shown of the loaded G Code program The preview is created by running the entire g code file through the interpreter So when interpreter errors occur it shows in the log window and in the operate view the program list box shows the wrong line in red color Note that there can be inaccuracy in what the display shows this is there because of performance and memory usage limitation reasons Zooming rotate pan 2D 3D view and other possibilities are found in the graph sub
29. G Code file 04 December 2015 Release 4 02 136 EDINGCNC Manual exists of small segments e g 0 08 mm that with an acceleration of 120 a feed can be reached of 180 mm minute at most The Q and P parameter perform the same function as explained with G64 at the previous page Look Ahead feed To explain this I will compare a running CNC machine again with driving a race car The road maximum velocity signs have to be obeyed and you have to drive your car exactly over the white line in the middle of the road You will try to reach the maximum allowed velocity where possible When you see a curve coming up ahead you will brake so that you will not drift off the road You will try to look ahead as far as you can see and you take care that you can stop in time if the road suddenly stops When you would maintain your speed in sharp curves you will drift off the road resulting possibly into a car accident When the road has many short curves then you will not be able to reach the desired speed The more PS you have in the car the higher speed you will reach because you can accelerate faster I think this is a good comparison with a CNC machine the same issues apply A machine cannot suddenly change velocity to reach a velocity the motors must accelerate first for a certain time to reach the velocity LAF behaves like the ideal racecar driver it will reach the highest possible velocity without violating the maximum motor accelerat
30. G76 G76 P Z I J R K Q H E L P Pitch Z driveline endpoint I Outside thread diameter always positive J First cut is J beyond I always positive R Depth regression use 1 0 for constant cutting depths or leave parameter away K Full thread depth beyond thread peak always positive Q Compound slide angle typical 30 H Additional spring passes at full depth use O for none E Taper distance along drive line L Taper place none enter exit both Create a thread from z 20 to z 10 outside diameter 15 inside diameter 14 10 passes GO X20 Z20 G76 P1 0 Z10 115 JO 1 K1 0 It is an error if The active plane is not the ZX plane Other axis words such as X or Y are specified The R degression value is less than 1 0 All the required words are not specified P J K or H is negative E is greater than half the drive line length The drive line is a safe line outside the thread material The drive line goes from the initial location to the Z value specified with G76 The Z extent of the thread is the same as the drive line The thread pitch or distance per revolution is given by the P value The thread peak is given by the I value which is an offset from the drive line Negative I values indicate external threads and positive I values indicate internal threads Generally the material has been turned to this size before the G76 cycle 04 December 2015 Release 4 02 139
31. M104 S Set extruder temperature M104 S50 sets temperature to 50 degree Celsius M106 S Work piece cooling FAN ON optionally with S 0 255 for 0 100 PWM M107 Work piece FAN off M109 S Set extruder temperature and wait until reached M143 S Maximum Hot end temperature to prevent overheating M140 S Bed temperature M143 S Set max extruder temperature M190 S Set Bed temperature and wait until reached All other un useful or unimplemented special M functions are ignored 04 December 2015 Release 4 02 97 EDINGCNG 2 12 KEYBOARD SHORTCUTS Besides the already explained keys for jogging etc there are a few extra these are special for pendant builders A Jog mode up jog mode down Reset Speed Speed AA A NA Control Alt S Speed override 100 Control Alt F Feed override 100 04 December 2015 Release 4 02 Manual 98 EDINGCNC 04 December 2015 Release 4 02 Manual 99 EDINGCNC Manual 2 13ZERO TOOL MACRO User button 1 contains Zero tool tip example Sub user_1 msg user_1 Zero Z G92 using toolsetter Start probe move slow f30 g38 2 z 100 Move back to touch point gO z 5063 Set position the measuring device is 43mm in height adapt for your measuring device G92 243 move 5 mm above measuring device g91 incremental distance mode gO z5 g90 absolute distance mode m30 Endsub The idea is to use a flexible position tool setter and put it on top
32. MDI M97 Q1 Now when calibrated you can use M97 to make camera offsets active Tip Use M97 P1 to position the camera at the tooltip position Use M90 P1 to activate and move the main spindle to the work position In the GUI you can also select this by pressing control F2 in the graphic menu Just try and you will see it Release 4 02 48 EDINGCNC Manual 2 1 21 CPUOPT CPU and Optional functions can be activated here e Enable the new AVX2 IO board Enable the new RLY8 IO Board Enable Plasma Torch Height Control Enable the 4th axis on a CPU3A Enable GPIO Board Type AVX2 Y CPU is activated Enable GPIO Board Type RLY8 Enable T Enable Plasma THC axis 4 Eding CNC Put your name here Send this code to Eding CNC Enter the activationn code here These are the steps to follow In the dialog check e g the enable axis 4 checkbox enter tour name and press get request code Enable GPIO Board Type AVX2 CPU is activated Enable GPIO Board Type RLY8 Enable Plasma THC V Enable axis 4 Eding CNC Put your name here Get Request Code Send this code to Eding CNC RCv01_50_EO71C550FASEBF 11E071C550FAS5EBF 11D57BB2C292F 146AFBFD92041 1BA56288E98AEF48B04A4849_Eding_CNC Enter the activationn code here Send the request code to the supplier Copy and paste it into an email and send it to your EDINGCNC supplier To do this double click the code press ctrl c in your e mail press control
33. Milling PCB s is one example 04 December 2015 Release 4 02 71 EDINGCNC Manual The Coordinates TAB will contain the new functionality a CNC V4 02 RC1 1600 SIMULATION W work trunk sw bin_debug macro cnc E Coordinates Program Tools Variables 10 Service util _ Setup Help Calibrate A axis rotation point radius Z Height Compensation O 100 100 l 1 Set to current position Reset Calibration 0 R E m 000000 EETEE EEE EA EEE AAA EEE Sd 3 This is file macro cnc version aa ly gt a It is automatically loaded Customize this file yourself 11 It contains subroutine change_tool this subroutine home_x home_z subroutine home_all called subroutine user_1 user_11 user_1 contains an example oi user_2 contains an example oi User functions F1 F11 in user 1 Zero tool tip example 18 51 09 MotCheckI2CGPIOPresenamotion cpp 1771 IO BOARD DETECTED ID 3 addr 01 hwID 50 a Sub user_1 18 51 09 MotInitialize motion cpp 3556 Kin version EDINGCNC 4AX A CILINDER V1 00 msg user_1 Zero Z G92 usir 18 51 09 MotInitialize motion cpp 3729 CPU State SIMULATION 0000022 Start probe move slow 18 51 09 MotInitialize motion cpp 3754 Welcome you can move the axes by arrow keys 0000023 nae vr g 2 Z Start measurement will popup an interpreter dialog for the automatics measurement using a toch probe It is explaned on next pa
34. PWM output 1 3 PWM1 PWM3 Output 04 December 2015 Release 4 02 153 EDINGCNC Manual xOffset 0 0000 yOffset 0 0000 zOffset 0 0000 SPINDLE_ 3 Mounted Probe M95 xOffset 0 0000 yOffset 0 0000 zOffset 0 0000 onOffOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 SPINDLE_4 Mounted camera M97 xOffset 0 0000 yOffset 0 0000 zOffset 0 0000 onOffOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 The x y z Offset parameter for the SPINDLE_1 and SPINDLE_2 SPINDLE_3 and SPINDLE_4 configuration are offsets with respect to SPINDLE_0 Every spindle has its own parameters including 10 ports for switching on off and controlling the speed 3 7 3 Tool Change M6 To change a tool in the spindle from the tool currently in the spindle to the tool most recently selected using a T word see Section 3 7 3 program M6 When the tool change is complete e The spindle will be stopped e The tool that was selected by a T word on the same line or on any line after the previous tool change will be in the spindle The T number is an integer giving the changer slot of the tool not its id e If the selected tool was not in the spindle before the tool change the tool that was in the spindle if there was one will be in its changer slot e The coordinate axes will be stopped in the same absolute position they were in before the tool change but the spindle may be re oriented e No other
35. TENE V401640 USECNCSU TOTE Y Operate Coordinates Program Tools Variables 10 Setup Help Machine Work x 0 500 Y 0 500 x 550 0 y 755 0 Y Start Offset 4 x 0 0 cua Feed Speed G M Code Time F 0 800 100 S 0 O 100 X1 145Y112 1127 1 498 X1 349Y112 2297 1 473 74 000 G0X0 236Y 112 279 1G1Z7 1 512F1200 0 Done Delta s gt XD 469 882 YD 712 321 ZD 6 864 X0 033Y112 162Z 1 494 i 24 000 19 09 58 Info RENDERING G0Z4 000 119 10 06 Warning READY Gox0 000Y0 000 19 10 06 Info Done range gt X 50 861 520 743 Y 54 975 767 296 Z 4 751 2 113 31371M30 A LE 19 10 06 Info Done Delta s gt XD 469 882 YD 712 321 ZD 6 864 EEE EEE AAA laf i dl lt lt lt gt gt gt ingle 5 N AUTO B RESET lt gt e lt P D ES F ae fers pa Si ll Load Mireoraw il START EDIT GOTO B p od Arc F G28 FastRT Graph F3 F4 FS F6 F7 F9 F10 F12 y Fi F2 F11 100 G30 Fast Rendering Recommended is to create the g code file for the product such that XO YO is at the lower left side If you like to start not at the beginning use the goto line function and apply the NX NY values Happy production with Nesting 04 December 2015 Release 4 02 60 EDINGCNC Manual 2 2 4 5 IO MENU RESET J RY DRIVERS L M8 M7 AU Fi F2 F3 F4 FS F6 Ef Aua F1 Reset F2 drivers on off F3 spindle on off
36. To set the feed rate program F The application of the feed rate is as described in Section 2 1 2 5 unless inverse time feed rate mode is in effect in which case the feed rate is as described in Section 3 6 23 3 8 2 Set Spindle Speed S To set the speed in revolutions per minute rpm of the spindle program SG 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 SO the spindle will not turn if that is done The CPU s that support PWM output will have its PWM value set conform the requested spindle speed if the spindle is turned on It is an error if e the S number is negative 3 8 3 Select Tool T To 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 see Section 3 7 3 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 a 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 e a
37. and then do a regular GO Another possibility to move quickly to the home positions is using g28 In the variable window set G28 home positions to the same value as the home positions in the set up window Now you have to type only g28 to go to the home position 2 10 2 Automatic homing the machine and HomelsEstop The machine needs a homing sensor or switch for each axis connected the its home input on the CPU board The homing switch is placed at a small distance of the mechanical end of the machine This distance is needed to ramp down the velocity after the switch is activated The sensor should be mounted such that it remains active until the mechanical limit of the machine For automatic homing the home velocity needs to be set to another value than zero use an equal or lower speed than the axis maximum speed The axis should start to move in the direction where your homing switch is mounted when it is needed to reverse the direction add a minus sign to the homing velocity Setup the HomeInputSenseLevel correctly When the home input led s on the IO screen are grey when the input is not activated put a 1 here when the led s are yellow when the switch is not activated put a 0 This depends whether you have used normally open or normally closed switch I recommend normally closed switches here Use the homing sub menu to home your axes 1st Move The machine first moves until the switch activates then ramps down and stops 2
38. 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 3 4 5 Item Repeats A line may have any number of G words but two G words from the 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 04 December 2015 Release 4 02 115 EDINGCNC Manual If a parameter setting of the same parameter is repeated on a line 3 15 F3 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 appears 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 3 4 6 Item order The three types of item whose order may vary on a line as given at 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
39. at WORK X0 YO maxZ and Min Z are also WORK coordinates The measurement data itself is in motor coordinates so after the measurement you can freely zero anywhere else on the work piece This is the subroutine to be added in the standard macro cnc for this purpose If you have a self modified macro cnc you can copy from default_macro cnc to your own macro cnc Subs zheng rra CE EN AA AMAT ATA TA probe scanning routine for eneven surface milling scanning Starts at x 0 y 0 if 4100 0 4100 10 nx 4101 5 Pay 4102 40 max z 4103 10 min z 4104 1 0 step size 4105 100 probing feed endif LLO 0 pACTUEaAL nx 111 0 Actual ny L12 0 Missed measurements counter 113 0 Number of points added 114 1 70 odd x row 1 even xrow Dialog dlgmsg gridMeas nx 4100 ny 4101 maxZ 4102 minZ 4103 gridSize 4104 Feed 4105 04 December 2015 Release 4 02 EDINGCNG if 5398 1 user pressed OK Move to startpoint gO z 4102 to upper Z g0 x0 y0 o start point ZACINIT grLidSize nx ny ZHCINIT 4104 4100 4101 111 0 Actual ny value while 111 lt 4101 if 114 1 even x row go from 0 to nx 110 0 start nx while 110 lt 4100 AGO p GOTO y measure g0 z 4102 to upper Z gO x 110 4104 y 111 4104 to new scan point qss z Fi 4105 2144103 probe down until touch Add point to internal table if probe has touched LE 5067
40. be set and also the radius of the work piece needs to be set first m CNC V4 02 RC1 1600 SIMULATION SSS _ debug macro cnc gt gt X Operate Coordinates Program Tools Variables 10 Service Util Setup Help Calibrate e e ii A axis rotation point radius Z Height Compensation ar 1 Set to current position Reset Calibration Sit Aa cae 100 Measurement Load Measurement Load Measurement G17 G40 G21 G90 GM G54 G49 G99 G64P0 1 G97 G50 GO TO Check Measurement emen Move to start position ZHeightComp ON 0000001 ESTEEEEE EEE EA AAA EA AAA EA EA EEE AAA EEE EEE E 2 Calibrate Radius f 0000002 This is file macro cnc version Show in DRO 0000003 It is automatically loaded 0000004 Customize this file yourself ii Teach in 0000005 It contains user_2 contains an example oi 0000006 subroutine change_tool this 0000007 subroutine home_x home_z Open Teach AddPoint 0000008 subroutine home_all called 0000009 subroutine user_1 user_11 0000010 user_1 contains an example oi You may also add frequently us 0000013 0000014 EXE EEE EEE EEE EEE AAA 0000015 0000016 0000017 User functions Fi Fil in user 1 0000018 0000019 Zero tool tip example 18 51 09 MotCheckI2CGPIOPresenamotion cpp 1771 Info 0 IO BOARD DETECTED ID 3 addr 01 hwID 50 1
41. changes will be made For example coolant will continue to flow during the tool change unless it has been turned off by an M9 The tool change may include axis motion while it is in progress It is OK but not useful to program a change to the tool already in the spindle It is OK if there is no tool in the selected slot in that case the spindle will be empty after the tool change If slot zero was last selected there will definitely be no tool in the spindle after a tool change The tool change command will call the change_tool subroutine inside macro cnc You can adapt the behavior for your own needs in this function e g e Perform automatic tool length measurement e Perform tool change with an automatic tool changer For a nonfunctional example of how to implement automatic tool change for a 16 tool changer see the contents of the default macro cnc file at the end of this document It checks whether current tool is already in the spindle It check 04 December 2015 Release 4 02 154 EDINGCNC Manual that the tool number is in range of 1 4 Then it first drops current tool and picks the new tool 3 7 4 Coolant Control M7 M8 M9 To turn mist coolant on program M7 To turn flood coolant on program M8 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 04 December 2015 Release 4 02 155 EDINGCNC Manual 3 7 5 Feed Speed Override Control M48 M5
42. contained therein JOBFILE A job is the text file G code that will be executed by the interpreter Graphical User Interface Pulse Width Modulation F CNC specific language to control the movements and IO of a milling machine Look Ahead Feed advanced motion algorithm that ensures minimal machining time 04 December 2015 Release 4 02 12 EDINGCNC Manual 1 3 MINIMUM PC REQUIREMENTS 1 4 GHz Atom Pentium duo core recommended for Ethernet 1024 MB RAM for XP 4G for Windows 7 8 Windows XP or Windows 7 8 32 or 64 bit Minimum Screen resolution 1024 x 768 Graphic card with Open GL support is preferred USB 2 connection Ethernet connection for Ethernet CPU s Intel LOOMbit Ethernet card for Ethernet CPU s Windows XP and Windows 7 and Windows is proven to work fine with EdingCNC Windows Vista is not 04 December 2015 Release 4 02 13 EDINGCNC Manual 1 4 INSTALLATION OF EDINGCNC Download the installation executable from the website download page Click on it to install the software Follow the screens On Windows 7 click with the right mouse button start as administrator For setup of the hardware check the hardware technical flyers for your CPU type They are on the download page of the website 1 4 1 USB During installation be sure to check Install USB drivers Ez Setup USBCNC4Beta x Completing the USBCNC4Beta Setup Wizard Setup has finished installing USBCNC4Beta on your comput
43. contour a simpler method of making an entry is available See Figure A 3 First pick a convex corner There is only one corner in Figure A 3 It is at A and it is convex Decide which way you want to go along the contour from A In our example we are keeping the tool to the left of the remaining material and going clockwise Extend the side to be cut DA in the figure to divide the area outside the material near A into two regions DA extended is the dotted line AC on the figure Make a pre entry move to anywhere in the region on the same side of DC as the remaining material point B on the figure and not so close to the remaining material that the tool is cutting into it Anywhere in the diagonally shaded area of the figure or above or to the left of that area is OK If the tool is already in region no pre entry move is needed Write a line of NC code to move to B if necessary Then write a line of NC code for a straight entry move that turns compensation on and goes to point A If B is at 1 5 4 the two lines of code for the pre entry and entry moves would be NOO10 Gi X1 5 Y4 move to B N0020 G41 Gi X3 Y3 turn compensation on and make entry move to A These two lines would be followed by four lines identical to lines NOO50 to NO080 from Table A 1 but the end of the program would be different since the shape of remaining material is different It would be OK for B to be on line AC In fact B could be placed on the extension
44. drawn on the 04 December 2015 Release 4 02 190 EDINGCNC Manual figure from the current point to the programmed point is the hypotenuse of a right triangle having the destination point at the corner with the right angle Figure A 6 First cutter radius compensation move Straight curren pant destination cart of toa be Second consrud this ine te determine the destination port First construct hs line If the first move after cutter radius compensation has been turned on is an arc the arc which is generated is derived from an auxiliary arc which has its center at the programmed center point passes through the programmed end point and is tangent to the cutter at its current location If the auxiliary arc cannot be constructed an error is signaled The generated arc moves the tool so that it stays tangent to the auxiliary arc throughout the move This is shown in Figure A 7 Figure A 7 First cutter radius compensation move Arc programmed computed center point destination point of tool tip programmed end point current point Second construct this arc which is the path taken ae construct this auxiliary arc Figure A 7 shows the conceptual approach for finding the arc The actual computations differ between the center format arc and the radius format arc see Section 3 6 3 After the entry moves of cutter radius compensation the Interpreter keeps the tool tangent to the programmed path on the appropria
45. 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 To reset axis offsets to zero program G92 1 or G92 2 G92 1 sets parameters 5211 to 5216 to zero whereas G92 2 leaves their current values alone To set the axis offset values to the values given in parameters 5211 to 5216 program G92 3 You can set axis offsets in one program and use the same offsets in another program Program G92 in the first program This will set parameters 5211 to 5216 Do not use G92 1 in the remainder of the first program The parameter values will be saved when the first program exits and restored when the second one starts up Use G92 3 near the beginning of the second program That will restore the offsets saved in the first program If other programs are to run between the program that sets the offsets and the one that restores them 04 December 2015 Release 4 02 149 EDINGCNC Manual make a copy of the parameter file written by the first program and use it as the parameter file for the second program 3 6 23 Set Feed Rate Mode G93 G94 G95 Three feed rate modes are recognized depending on selected mode the Feed of the axes is calculated differently e G93 inverse time a move is completed in 1 F minutes For example if F 6 the move is completed in 10 seconds When G93 is active the F must be specified on every line containing G1 G3
46. 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 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 04 December 2015 Release 4 02 142 EDINGCNC Manual 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 L 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 eit
47. graph screen and also for preventing damage to your machine by running beyond the machine limits The process to match the machine position with the software is called homing Homing can be done either manually or automatic if end of stroke switches are mounted This tutorial describes homing Here are the homing buttons F2 from the main menu a CNC V4 02 RC1 CPUSB SIMULATION C Program Files x86 CNC4 02 macro cnc Operate Coordinates Program Tools Variables 10 _ Service Uti__ Setup Help Feed Speed G M Code Time 0 100 100 0 O 100 EStop Mi G17 G40 G21 G90 GM G54 G49 G99 G64P0 1 G97 G50 GO TO GPIO Ml 0000001 Probe E 0000002 This is file macro cnc version Her 0000003 It 1s automati cal ly loaded 0000004 Customize this file yourself 11 Home y Wm 0000005 It contains Home z E 0000006 subroutine change_tool this subroutine home_x home_z subroutine home_all called 13 subroutine user_1 user_11 0000010 user_1 contains an example oi user_2 contains an example oi Welcome you can move the axes by arrow keys 10 18 02 Info Kin version TRIVIAL BUILD IN 1 0 a 0000013 You may also add frequently us 10 18 02 Info CPU State SIMULATION 0000014 EXE EEE EEE EEE AAA AAA 10 18 02 Action New configuration file created pronta 10 18 02 Info Welcome you can move the axes by arrow keys
48. 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 04 December 2015 Release 4 02 122 EDINGCNC Manual Here is an example of a radius format command to mill an arc G17 G2 x 10 y 15 r202Z5 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 X 10 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 3 6 3 2 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 e 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 being used or 0 002 millimeter if millimeters are being used When the XY plane is selected program G2 X Y Z A I 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 I and J are th
49. lt gt ES fers pa Sim Mi Load Hireoraw Pl START GOTO ll a ArcF G28 FastRT Graph F1 F9 F10 F11 F12 100 E G30 Fast Rendering Material size set the material size in X and Y it is shown in the graph Start offset set an offset for starting play with it and you will see what it does Pitch the distances in X Y of the products Number Specify the number of products Max EDINGCNC will determine the max number of products Apply Apply the current setting to the program Cancel Cancel nesting back to only one product The Nest button F11 can be pressed to show hide the nesting dialog Nesting internally uses coordinate system offset G59 3 the coordinate system offsets may not be used in the program otherwise nesting will not work so no G54 G59 3 allowed in the program G92 is allowed but if changed must be set back to the original value at the end of the program The program must end with M30 otherwise nesting will not work Use M60 instead of M30 when the spindle should not stop between the work pieces The values above can also be set in the G Code file like so mMx 200 Material size X my 200 Material size Y 04 December 2015 Release 4 02 59 EDINGCNC Manual dx 200 the delta X or pitch X dy 200 the delta Y or pitch Y ox 200 the offset X oy 200 the offset Y After pressing the Apply button the nesting is applied to the program and shown
50. not support User Account Control Never notify After the install you will have the program ICON on your desktop Do not start it yet read further 04 December 2015 Release 4 02 20 EDINGCNC Manual KON CNC4 01 e Right click the mouse on the EdingCNC Icon and then select run as Administrator on Windows 7 8 CNC4 01 Properties Ff you have problems with this program and it worked corecti on an eanier version of Windows select the compatibility mode that E Run this program in compatibility mode for Windows XP Service Pack 3 Settings E Run in 256 colors E Run in 640 x 480 screen resolution Disable visual themes E Disable desktop composition Disable display scaling on high DP settings Privilege Level Run this program as an administrator Change settings for all users You can now start the software 04 December 2015 Release 4 02 EDINGCNG Manual 1 4 4 Profiles If you have different setups ws a ONCE TURN CNC4 02 MILL If you have e g a milling machine and a turning machine controlled from the same computer you can make a copy of the software ICON and then rename one to CNC4 02 TURN and the other CNC4 02 TURN Now right click de ICON and select properties 04 December 2015 Troubleshoot compatibility Open file location TortoiseSVN By Run as administrator Pak hier uit Pak uit naar cnc Toevoegen aan cnc zip Comprimeer naar
51. of the workpiece Start this function and when done the Z coordinate is set to O at the surface of the workpiece The feed is set slow F30 A probe move G38 2 is started towards Z when the tool setter is touched the position is stored and the movement is stopped The machine moves exactly to the touch point G92 is used with a Z value that specifies the height of you tool setter 43 mm in this case Change to match your tool setter An incremental movement is started 5 mm upwards so you can remove the tool setter The machine goes back to absolute mode and is done 04 December 2015 Release 4 02 100 EDINGCNC Manual 2 14 TOOL MEASUREMENT MACRO Under user menu button 2 you ll see this Tool length measurement example Sub user_2 goSub m_tool See sub m_tool Endsub The user 2 button calls subroutine m_tool This subroutine needs a few values that are stored 4996 Z coordinate at tool change safe height 4997 X coordinate for tool change 4998 Y coordinate for tool change 4999 Z coordinate at tool length equals zero or calibration tool height Tool 99 is used as reference tool and should have filled in its tool length before you start This tool length can be O if you use the tool chuck itself instead of a calibration tool The values 4996 4999 are to be determined once This can be done using the calibrate_tool_setter function below Make sure the machine is homed before you start this This routine calibr
52. only with the XY plane active All the figures in this appendix therefore show projections on the XY plane Where the adjacent sides of remaining material meet at a corner there are two common ways to handle the tool path The tool may pass in an arc around the corner or the tool path may continue straight in the direction it was going along the first side until it reaches a point where it changes direction to go straight along the second side Figure A 1 shows these two types of path On Figure A 1 e Uncut material is shaded in the figures Note that the inner triangles have the same shape with both tool paths e The white areas are the areas cleared by the tool e The lines in the center of the white areas represent the path of the tip of a cutting tool e The tool is the cross hatched circles Both paths will clear away material near the shaded triangle and leave the Shaded triangle uncut When the Interpreter performs cutter radius compensation the tool path is rounded at the corners as shown on the left in Figure A 1 In the method on the right the one not used the tool does not stay in contact with the shaded triangle at sharp corners and more material than necessary is removed There are also two alternatives for the path that is programmed in NC code during cutter radius compensation The programmed path may be either 1 the edge of the material to remain uncut for example the edge of the inner triangle on the left of Figure
53. or G3 e G94 units per minute this is the normal mode for milling F means units per minute in millimeter mode mm minute in INCH mode inch minute e G95 Units per revolution here the F word is the number of units that should be cut per spindle revolution So the feed of the axes is depending on the rotation speed of the spindle G95 F2 means cut 2mm every spindle revolution so when S 500 the feed for XZ would be FEED F S 2 500 1000 3 6 24 Spindle Control Mode G96 G97 Two spindle control modes are possible depending on the mode the spindle speed is calculated differently e G96 Only for Lathe select constant surface speed S is now specified as in mm mode G21 or Feet per minute in inch mode G20 This means that the spindle speed is adapted automatically when the Radius changes Suppose you program G96 S150 in millimeter mode the spindle speed is calculated by RPM S 2 PI X X is the radius So your X zero must be where the diameter is zero Example Your actual X position is 100 100 millimeter 0 1 meter you program G96 S150 D1000 this would result in a spindle RPM of 150 e PI 0 1 238 7 rev min e G97 is normal RPM mode S specifies the RPM 3 6 25 Set Canned Cycle Return Level G98 and G99 When the spindle retracts during canned cycles there is a choice of how far it retracts 1 retract perpendicular to the selected plane to the position indicated by the R word or 2 retr
54. parameter settings and comments Any input not explicitly allowed is illegal and will cause the Interpreter to signal an error Spaces and tabs are allowed anywhere on a line of code and do not change 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 gO x 0 1234 y7 for example Blank lines are allowed in the input They are to be ignored Input is case insensitive 3 4 1 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 3 4 2 Word A word is a letter other than N followed by a real value Words may begin with any of the letters shown in Table 3 2 The table includes N for completeness even though as defined above line numbers are not words Several letters I J K L P and R may have different meanings in different contexts letter meaning D Tool radius compensation number Z Z Z lt Fo Feedrte S H Tool length offset index 0 K Z axis offset for arcs Z offset in G87 canned cycle M miscellaneous function see Table 3 6 lt Po dwell time in can
55. performs M100 the subroutine will be called Also parameters in the form M100 S100 is possible In the subroutine the parameter can be accessed using 19 1 26 accesses parameter A Z S is number 19 in the alphabet This creates further possibilities It is possible to override existing M functions as well Suppose you want additional function for M3 which is spindle on standard If you spindle has an output speed reached you can wait for it like this sub m3 msg My customazed ims m3 s 19 The real m3 inside sub routine this m3 will execute the real m3 m56 Pl L2 Q60 Wait max 1 minute for input 1 to become low endsub When you are inside your m3 subroutine and perform an m3 then the Subroutine is not called but the default m3 is called in stead 04 December 2015 Release 4 02 159 EDINGCNC Manual There are some limitations on using the M Function override e There must be nothing else on the G code line as the M Function e g N2000 M3 S1000 is OK N2000 M3 M8 G1X100 is MOMOK e The user parameters 1 26 will be used as parameter and will be overwritten when M Function subroutines are used Take this into account and do not use 1 26 in your program if you use this functionality Variable 1 26 match with the letter of the alphabet 1 will get the value of parameter A 26 will get the value of parameter Z 04 December 2015 Release 4 02 160 EDINGCNC Manual 3 8 OTHER INPUT CODES 3 8 1 Set Feed Rate F
56. position 1 setup on variable page move to park position 2 setup on variable page Lathe motion synchronized to spindle straight probe cancel cutter radius compensation start cutter radius compensation left start cutter radius compensation right tool length offset plus tool X offset for lathe cancel tool length offset motion in machine coordinate system use preset work coordinate system 1 use preset work coordinate system 2 use preset work coordinate system 3 use preset work coordinate system 4 use preset work coordinate system 5 use preset work coordinate system 6 use preset work coordinate system 7 use preset work coordinate system 8 use preset work coordinate system 9 set path control mode exact path set path control mode exact stop set path control mode continuous XY rotation Lathe threading cancel motion mode including any canned cycle canned cycle drilling canned cycle drilling with dwell canned cycle peck drilling canned cycle right hand tapping canned cycle boring no dwell feed out canned cycle boring spindle stop rapid out canned cycle back boring canned cycle boring spindle stop manual out canned cycle boring dwell feed out absolute distance mode incremental distance mode offset coordinate systems and set parameters cancel offset coordinate systems and set parameters to zero 04 December 2015 Release 4 02 120 EDINGCNC Manual G92 2 cancel offset coordinate systems b
57. position is calculated end set for the X 3 Home A exactly the same but now the A Home sensor used and the A position is set When done A is no longer a slave because the position is different with X Next command will make de master slave coupling again 04 December 2015 Release 4 02 92 EDINGCNC Manual 4 At this point both master and slave have a correct known position but probably different It can be equalized by moving the slave axis to the position of the A axis This is done by command MoveSlaveToMaster A The slave will move to the same position as the master The bridge is set straight and we are done If the bridge is not straight adjust the home positions in the setup 04 December 2015 Release 4 02 93 EDINGCNC Manual 2 10 4 Work versus Machine coordinate system and zeroing The machine coordinate system does not change however we want to be able to do the milling of our part anywhere we want on the machine We will normally use the work coordinate system we can shift it anywhere we want This can be done with several G Codes which are explained in chapter 3 it can also be done using the preset button on the operator screen we ll see this in a minute Suppose our g code file containing the work piece is created with an origin of X 0 Y 0 Z 0 This is because you have drawn your part in a CAD program beginning from these coordinates and then converted to G Code Now you have put your raw material
58. radius compensation is turned on the gouging message is given when the line of NC code which gives the point is reached In this situation the tool is already cutting into material it should not cut More details are given in Section A 6 A 1 5 Tool Radius Index Too Big 15 If a D word is programmed that is larger than the number of tool carousel Slots this error message is given In the SAI the number of slots is 68 A 1 6 Two G Codes Used from Same Modal Group 17 This is a generic message used for many sets of G codes As applied to cutter radius compensation it means that more than one of G40 G41 and G42 appears on a line of NC code This is not allowed A 2 First Move into Cutter Compensation The algorithm used for the first move after cutter radius compensation is turned on when the first move is a straight line is to draw a straight line from the programmed destination point which is tangent to a circle whose center is at the current point and whose radius is the radius of the tool The destination point of the tool tip is then found as the center of a circle of the same radius tangent to the tangent line at the destination point If the programmed point is inside the initial cross section of the tool the circle on the left an error is signaled The concept of the algorithm is shown in Figure A 6 The function that locates the destination point actually takes a computational shortcut based on the fact that the line not
59. 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 3 15 3 6 has been interpreted the value of parameter 3 will be 6 If the order is reversed to 3 6 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 g40 g1 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 g1 3 15 940 foo for the five items 3 4 7 Commands and Machine 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 lin
60. small segment lengths this is in practice tolerable and will speed up the cutting process a lot Be aware however that the knife direction is not exactly in the cutting direction and my break if the angle is too large The tangential knife is switched on and configured by interpreter commands These commands can be typed in MDI part of the G Code or hooked under the user buttons in macro cnc Switch tan knife on or off Tan knife must first be configured in the setup Tanknife off Tanknife on map tan knife to B or C or both axis output Tanknife b Tanknife c Tanknife bc Especially for BEND tangential knife Tanknife lo lt lo position gt Define the low Z value in work coordinates this is the deepest point in the groove Tanknife hi lt hi position gt Define the high Z position in work coordinates usually is 1 5mm above the material Tanknife bend 1 1 define the direction to which the knife is bend for a 45 degree knife Tanknife rw lt nr of turns gt knife will be rotated back after nr of turns anti windup of wires These parameters are saved and used next time with Tanknife on command For usage of tangential knife that is bend 45 degree do calibration of the hi and lo position first Then switch the knife on by tanknife bend 1 or 1 depending on the side to which it is bend Set the C position to O when the sharp edge is pointing straight to the X direction 04 December 2015 Release 4 02
61. somewhere on the machine probably not at coordinates X 0 Y 0 Z 0 By the way I prefer to define the upper surface of the material as Z 0 such that a negative Z value goes into the material Just move to the zero point of the work piece and there press the zero buttons in the operate screen besides the position display For the advanced users The zeroing can also be done using a measuring probe connected to the probe input An example is provided in the standard macro cnc file Under user_1 you find automatic zeroing Under user_2 you find interactive tool length measurement If you want to do it a more advanced way look at G55 G59 3 and also at the G92 variants When homing and zeroing is performed the milling can start When the program is loaded go to the graphics screen Alt g and press update preview you will now see exactly where the part is going to be milled at the surface of you machine bed Now press the F4 key or the run button to start milling go to the graphic screen and switch real time graph on to see what the machine is doing That s all for this tutorial happy milling 04 December 2015 Release 4 02 94 EDINGCNG 2 113D PRINTING In the setup you can select is3DPrinter at interpreter settings This changes the A Axis into an E axis for Extruder The operate screen looks slightly different Manual a a CNC V4 01 37B CPU5B 6D 1 09HE Operate Coordinates Program Tools variab
62. the safetyResetOutPortID Finally the software waits again 500 ms and now checks id the ESTOP input has switched Of yes all is OK and the machine is ON Next press the RESET button this will switch on the amplifier enable 04 December 2015 Release 4 02 52 EDINGCNC Manual 2 2 OPERATE PAGE THIS IS WHERE THE MACHINE IS OPERATED FOR MILLING This is the operate page in menu Auto m CNC V4 02 RC1 1600 SIMULATION H FotoGravures AngelaJoli PhotoVCarve 3mm tap Operate Coordinates Program Tools variables 10 Service util Setup Help G M Code Time 0 100 100 0 0 100 G17 G40 G21 G90 GM G54 G49 G99 G64P0 1 G97 G50 GO TO G1Z 1 469F1200 0 XO 739Y111 877Z 1 467 Ej a a a O O X1 145Y112 1127 1 498 X1 349Y112 2292Z 1 473 Z4 000 GOXO 236Y112 279 Size X149 882 Y112 321 Z6 864 G1Z 1 512F1200 0 X0 033Y112 1627 1 494 18 57 45 StartRender MainFrm cpp 8218 Info 2 RENDERING 74 000 18 57 47 UpdateRender COpenGLView cpp 933 Info 2 Size X149 882 Y112 321 26 6 GO0Z4 000 4 j gt ES a ler AUTO LOAD REDRAW START EDIT GOTO ho ArcF F1 F2 F3 F4 F5 F6 F7 F9 F10 F11 F12 100 E 2 2 1 Operate page introduction From this screen all machine operation like jogging running a job etc can be executed The Operate screen is designed such that it is mouse mouse less and touch screen fr
63. v Your supplier will send you a activation code Copy and paste this into the activation code area then press activate 04 December 2015 Release 4 02 49 EDINGCNC Manual 2 1 22 Using a safety relay E 29 a i fee a5 Ex g i 24 34 42 PNOZ S4 Safety of the machine should be independent of the CNC software The purpose of the safety relay is to check safety inputs like ESTOP buttons and possibly door switches or fences and allow to switch ON only if everything is safe If a ESTOP button is pressed or some other way the safety chain is violated the safety relay switches off the dangerous power in the machine For a milling machine this is the spindle and the servo stepper motors 2 1 22 1 POWERING THE SAFETY RELAY A1 A2 is connected to our 24V supply the same supply as we use for the CPU card This power is switched on when the electronic cabinet is switched on 2 1 22 2 INPUT CONTACTS OF THE SAFETY RELAY The relay has input contacts 11 S12 and S21 S22 to which all ESTOP buttons and door and fence switches are connected We use ESTOP buttons with 2 contact like this E STOP with detection of shorts across contacts In this chain of safety contacts the contacts of an extra relay is added this relay is switched on when the CNC CPU is ready system ready Ideally this system Ready should be derived from the CPU Watchdog signal So that the system will switch off if 04 December 2015 Release 4 02 50
64. was going before Move the Z axis only at the given feed rate upward to the position indicated by K 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 I 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 N e P TEE When programming this cycle the I 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 I and J 04 December 2015 Release 4 02 147 EDINGCNC Manual Figure 3 1 G87 Cycle bool ne we ale hole A y i y DLE a coumterbore E m 6 h ha 9 10 The tight subfieures are labelled with the steps toen the descrigtion above 3 6 20 11 G88 CYCLE 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 R L P Preliminary motion as described above Move the Z axis only at the current feed rate to the Z position Dwell for the P number of seconds Stop the spindle turning Stop the program so the op
65. 0 milled with F 2000 This is done with P values from 0 1 to 1 you can see the impact This gives the best compromise between accuracy and smooth motion The optional P parameter Only with G64 controls the max amount of rounding 04 December 2015 Release 4 02 135 EDINGCNC Manual The optional Q parameter activates an embedded line simplification algorithm which tries to combine short lines and make one longer line The optional Q parameter gives the tolerance used in the algorithm The R parameter is the look ahead feed angle when subsequent lines arcs have an angle together less than this value the trajectory generator will accelerate through over these segments and this way optimizes the production time With RO LAF is switched off this may be required when milling Elastic materials A lower but more constant cutting speed will be achieved The new F parameter defines the value of the Accel Decel filter placed behind LAF LAF with high R values Angle can cause acceleration spikes because LAF will travel through corners without stopping The F parameter filters the trajectory generated by LAF and takes care the acceleration is never violated F1 will give a RAMP time that matches with the max velocity max acceleration from the setup and so F1 and maximum speed will lead to the max max acceleration that is allowed Smaller F values filter less This can be used if the milling velocity is less than the max velocity of the machin
66. 00 000 4 im Ww a p 3 ed gt gt gt lt _ 483 gt 04 December 2015 Release 4 02 25 EDINGCNC Manual When homing is done you are free to move the axes by the JOG Keys the position display numbers have become white indicating that homing was performed m CNC V4 02 RC1 1600 SIMULATION H FotoGravures AngelaJoli PhotoVCarve 3mm tap aes Operate Coordinates Program Tools Variables 10 Service Util Setup Help Feed Speed G M Code Time EStop E F 0 100 100 a S 0 O 100 Probe E G17 G40 G21 G90 GM G54 G49 G99 G64P0 1 G97 G50 GO TO Home x F Home y 4 Home z HJ 0000002 G17 Home a 0000003 GOZ4 000 0000004 GOXO OOOYO 00051 6000M3 0000005 GOX149 837Y0 50524 000 home complete 0000006 0000007 0000008 G1Z 0 344F1200 0 X149 024Y0 036Z 0 365 24 000 19 09 10 Home intocodecmd cpp 1003 Info 3 Home Y a 0000009 GOX147 911Y0 O86 19 09 10 Home intgcodecmd cpp 1003 Info 3 Home X 0000010 GiZ 0 356F1200 0 19 09 10 Home intgcodecmd cpp 1003 Info 3 HomeA A 0000011 X148 318Y0 3212 0 399 19 09 10 Msg intdefcmd cpp 33 Info 0 home complete 0000012 X148 327Y0 6732 0 368 hd 000001 3 X149 334Y0 907Z 0 366 p lt lt 31867 gt gt gt 4 mW Fi F2 F3 4 FS Fil F12 These are the arrow keys on your keyboard if il
67. 021 1005 probe X side of hole N300 1041 1031 5061 2 0 find very good X value of hole center N310 1024 1031 5061 2 1004 find hole diameter in X direction N320 1034 1014 1024 2 0 find average hole diameter N330 1035 1024 1014 find difference in hole diameters N340 GO X 1041 Y 1022 back to center of hole N350 M2 that s all folks 3 6 11 Cutter Radius Compensation G40 G41 G41 1 G42 G42 1 To turn cutter radius compensation off program G40 It is OK to turn compensation off when it is already off 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 the XY plane is not active or for turning the ZX plane is not active e cutter radius com
68. 1 ZHCADDPOINT mec ax 7110 1 ny 7111 11 added 113 113 1 else ZHAHCADDPOINT msg nx 110 1 ny 111 1 not added 112 112 1 endif 110 F110 1 pnext nz endwhile 114 0 else podea x row GO from nx Tto 0 FLIO 4100 1 start nx while 110 gt 1 GO up GOTO xy Measure GO alp ce upper zZ gO x 110 4104 y 111 4104 to new scan point g38 2 FE 4105 z 4105 probe down until touch Add point to internal table if probe has touched if 5067 1 ZLHCADDPOINT msg nx 110 1 ny 111 1 added 113 113 1 else ZHCADDPOINT msg nx ello Vl ny Flite not added Ll2 112 1 endif F110 7110 1 znezt nz endwhile flee ale endif Fl11 111 1 next ny endwhile GA alpa LOZ CO tipper Z Save measured table As zherghatcomp Tables ext msg Done 113 points added 112 not added else user pressed cancel in dialog msg Operation canceled endif endsub Milling un even cylinders with y gt a mapping on also works In that case the measurement must be done using with y gt a mapping on Manual 04 December 2015 Release 4 02 75 EDINGCNC Manual The compensation works only in the measured range So of the mapping is measured between 0 360 degrees for A it will not compensate for e g 370 degrees The Z height compensation interpreter commands For your own use if you want to customize the working
69. 1 18 Info Job started A 01 18 Warning jog to toolchange safe height when done press run E In my Case th is is 18 04 34 Warning insert calibrationtool 16 length 0 jog just above tool setter when done press run completely up sali This calibrates the safe height 5 Do what the messages Says 18 04 34 Info Job started 18 04 34 Warning insert calibrationtool 16 length 0 jog just above tool setter when done press run if you have one or 18 08 53 Info Job started i just leave the tool 18 08 53 Info Probe start state is 1 waiting for 0 chuck empty Papi E The machine will move down to touch the tool setter The measured tool chuck height is stored into 4999 When done jogging Then the Z is moved up to safe height Probe start state 1s 1 waiting for 0 4 04 December 2015 Release 4 02 102 EDINGCNC Manual This calibrates the XY position of the tool setter device 08 53 Info Job started 53 Info Probe start state is 1 waiting for 0 43 Info calibration done safe height 267 15 x 30 6625 y 67 125 chuck height 55 3094 243 Info Job Finished Calibration DONE We need to do this only once You need to do this again if you have changed something that influences the calibrated data When all calibrated the user button F2 can be used to measure the tool length Make sure the correct tool is loaded before you start The machin
70. 3 M48 Enable feed and speed override M49 Disable feed and speed override M50 P Set feed Override to given P value if P value is less than zero feed override is disabled and the value remains as is M51 P Set speed Override to given P value if P value is less than zero speed override is switched off M52 lt P1 gt Enable feed Override by analog input M52 PO disable feed Override by analog input P1 is optional M53 lt P1 gt Enable feed Hold input M53 PO disable feed Hold input P1 is optional To enable the speed and feed override switches program M48 To disable both switches program M49 3 7 6 IO M Functions 3 7 7 Standard CNC IO M3 M9 M80 M87 To control the outputs these functions have been added besides the standard M Functions Standard according to NIST M3 PWM according S value TOOLDIR on M4 PWM according S value TOOLDIR off M5 PWM off TOOLDIR off M7 Mist on M8 Flood on M9 Mist Flood off Additional to support the features of the EDINGCNC CPU s M80 drive enable on M81 drive enable off M84F00LDIR on no longer supported M85FOOLDIR off No longer supported M86PVW M according S vatue No longer supported use M54 instead M87 PWM eff No longer supported used M54 instead 3 7 8 General purpose IO of CPU5B M54 M55 and M56 M54 Px Set output x M54 Pi set AUX1 out to 1 M54 Ex Qy Set PWM output x to promille value y 0 lt y lt 1000 M54 E2 Q500 Set PWM2 to 50 P
71. 37 EDINGCNC Manual KNIFE C 90 KNIFE C 90 Z High position a oo Boo Donn a 10 00 2 0 500 10 00 al Z Low position It is clear that with the bend knife during a z move the XY axes should move as well with same distance as Z in the direction such that the sharp side of the knife moves under 45 degrees into the material The user will program Z moves the interpreter will rotate the knife C axis into the correct XY direction Then kinematics will add the XY correction depending on the Z position The correction direction is the C axis angle or 90 degrees depending to which side the knife is bend The correction amount in XY is the same as the height from the deepest point in the groove to the height where the knife is bend So if we define the tan knife low position as the deepest pointing the groove then the compensation distance can be calculated as CD Z current Z low knife height The low position is where the XY correction is zero This is the Z position at the bottom of the V groove The high position is where the compensation starts when coming from above This should be at the surface of the material or little above 04 December 2015 Release 4 02 38 EDINGCNC Manual 2 1 10 Safety Door open Input setup Safety Input Selection Safety Feed Select one of the AUX inputs to act as safety input when active only low speeds are possible and the running g
72. 397 0 this indicates normal running mode 5397 1 during the render mode EXAMPLE of dlg msg For this example we created a subroutine associated with user_3 button in the UI Example of dlgmsg WW TT th Mm il Wt Ul tr 23 0 0 0 0 0 0 0 0 0 0 0 0 11 12 alonso will pop wo a dha log mecano aumen ONE song from ce program files x86 rene 200 WaialogPrctures directory dlgmsg edingene UJA Wu L TEYU 2 AS 3 Wip 4 WIT W 5 UU JEW 6 MEU 7 Wie 8 Wow 9 wg 10 TREU Li TL 12 if 5398 1 msg OK I W D D WISN S U fe Al SiE A oS MO 4 w e T N E7 oS aS W e O 9 10 10 11 411 12 412 else msg CANCEL 1 41 2 2 3 3 4 4 5 5 FO H 6 7 7 8 8 9 9 Me O 100 E EE E IAE 1 endif Endsub The dialog looks like this 04 December 2015 Release 4 02 167 EDINGCNC Manual Of Automat Coordinates cam _ werizeuge variablen 1 0 _ Enstelungen rufe _ Interpreter Dialog edingenc a 0 b 0 c0 04 December 2015 Release 4 02 168 EDINGCNC Manual 4 2 4 4 LOGFILE LoGMsG Log anything to a file first create a new file or open the file using LogFile then write to the file using LogMsg LogFile lt fileName gt lt 1 append O o0pen new gt LogMsg your message Example LogFile text txt 1 LogMsg Hi the current position of X is 5001 Now check the contents of file text txt 4 2 4 5 TCAGUARD ON OFF Switches on or o
73. 4 Move Then the direction reverses and ramps down when the switch releases At the moment of the release of the switch the position is captured and used to set your machine position correctly 04 December 2015 Release 4 02 91 EDINGCNC Manual 2 10 3 Tandem axes homing Tandem axes one main axis has 2 motors the correct SlaveMode is set here For this mode the slave and master must each have a homing sensor Visible Port SlaveMode SLAVEX E F ROT C W 6 TAN KNIFE Also modify the macro cnc because this contains the homing sequence in this example A is slave of X Sub home_x homeTandem X Endsub And home_a contains nothing Sub home_a Endsub For tandem axes these special interpreter commands also exist use them for testing the sequence if you need this is what homeTandem is doing in separate steps Use them in MDI for testing and understanding 1 PrepareTandemHome X Both slave and master are moved towards the home sensor The axes stop when both axes are on the sensor When one axis reaches the home sensor first this one is stopped and the other moves further This movement is done when both axes have reached the sensor 2 Home X home the X the slave will just follow The X home sensor is used Because the X is already are on the sensor the move will be towards the machining area off the sensor The position is latched at the moment the sensor de activates Then the movement stops and then the correct
74. 5 rewind job e F6 start editor e FZ start a job somewhere given a line number e g after a tool breakage e F9 Feed Override e F10 Feed Override e F11 Show Nesting options e F12 back to main menu G28 Perform G28 when the program finishes G30 Perform G30 when the program finishes ArcF Reduce Feed for large Arc s Single Activate single step mode when F4 Start is pressed only 1 line of the job file is executed BlockDel When active all lines with in front will not be executed MiStop Optional stop M1 when an M1 is encountered in the g code the program will halt if this check is on Sim Simulation mode FastRtGraph The Realtime graph will not consume memory use it when running long programs several hours or more This function is also automatically activated when the file size of the job is bigger than LongFileModeCriterion in the setup Fast Rendering Also for very long programs only the outlines rectangle of the part are drawn This is also automatically activated when the files size is longer than SuperLongFileModeCriterion 04 December 2015 Release 4 02 56 EDINGCNG Manual F7 set start line will give next popup dialog SEARCH LineNumber 20 Store Line Get Line x 197 000 E 10 000 z 1 000 100 If you have stopped while Paused the line number will show the current line of the job This happens also when you have pressed reset when paused Not that re
75. 6 10 3 EXIME A E E EO 128 3 6 11 Cutter Radius Compensation G40 G41 G41 1 G42 G42 1 oonnncnnnccnncnocnncnnncnnonaconnnnaconenanonnnns 129 3 6 11 1 Example code TOM milling iaa ai 130 3 6 11 2 EXamiple code Tortu NIDE norn a a 131 3 6 12 Tool Length Offsets G43 G43 H G43 1 and G49 ooooccnnnnnnnccnnnccnnncnnncnonaconnnonanonononnnacnnnnonaninoss 133 30 13 Scale 650 65 beore ee ES rR ee 133 3614 Move MAbsol te Coordinates G5 mre EEES a Na 134 3 6 15 Select Coordinate System G54 to G59 3 oooonnnncccncccnnnnononnnnnnnnnnnnnnnnnncnnnnnnnncnnnnnnnncnnnnnnnnnnnnnnnanenoss 134 3 6 16 Set Path Control Mode G61 aid GG4 ia 135 36 17 Coordinate System rotation OS ir is 139 Sole Threading lathe 67D dl atta 139 36 19 CancellModal Motion S SU una a an i 142 30 20 Canned Cycles GS 10 Oia desa ide 142 3 6 20 1 Preliminary and In Between MotiON ccccocccccnccnnccnncnnnnncnnnnnnonnnnnnnnnnnnnnnonnnnnnnnnnnnonnnnnnonanenos 143 3 6 20 2 Sn ie caanantuateeaabes 144 3 6 20 3 Gra veleta 145 3 6 20 4 CGS CN O II A o 145 3 6 20 5 ERE a Erena A e a earsansteedbatint 145 3 6 20 6 GA A o CR PO O E COC ro A 146 3 6 20 7 A A A o nen E acco spate 146 3 6 20 8 GES cara a taa esata 146 3 6 20 9 A ee nee er A een Te eee oe ee eee ween 146 3620 10 G87 Gy iaa 147 36201 IGSS E cen iaa 148 0 2012 GS ce atrasado 148 36 21 Set Distance Mode GI0 and Gli ii 148 3 6 22 Coordinate System Offsets G92 G92 1 G92 2 G92 B ocooo
76. 7 CYCLE The G87 cycle is intended for back boring Program G87 X Y Z A R L I J K The situation as shown in Figure 3 1 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 I and J numbers to indicate the position for inserting and removing the tool I 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 in incremental distance mode Preliminary motion as described above Move at traverse rate parallel to the XY plane to the point indicated by I 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
77. ATION Home x Wj Home y Home z Home a Wj 09 52 04 Info Job started i A 9 52 04 AC Dlease load Operate Coordinates Program Tools Variables 10 f EStop W IOGuard Wi GPIO m Probe E Ready for operation Service Util Setup Help Tr pa TI N n QI T D TT F7 H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap cl 64 330 Y 0 018 z 33 000 A 0 000 Feed Speed G M Code Time 0000004 0000005 0000006 0000007 0000008 0000009 0000010 0000011 0000012 0000013 0000001 0000003 G0Z3 000 GOXO 000Y0 000516000M3 GOX66 584Y0 280Z3 000 G1Z 0 866F1200 0 X66 246Y0 085Z 0 697 X66 133Y0 020Z 0 672 Z3 000 GOX65 232Y0 019 G1Z 0 586F1200 0 X65 401Y0 117Z 0 617 X65 795Y0 345Z 0 624 b T pa O T pa ba mistop Single AUTO MCA E BlockDel TCA EM Sim Pj ArcF G28 Fast RT Graph F12 100 G30 Fast Rendering Y to A mapping ON a CNC V4 02 28A 1600 SIMULATION Operate Coordinates Program Tools EStop E IOGuard Mi GPIO EM Probe 1 Home x m Home y W Home z Wj Home a W 10 07 28 Info RENDERING A E 10 08 13 Info G53 GO Y 62 0000 m Variables IO 10 07 30 Info Size X66 631 Y89 524 2123 082 10 08 24 Info Size X66 631 Y89 524 Z123 082 Service Util
78. Code file With this it is possible to define your own tool change especially useful when you have an automatic tool changer You can put moves and I O actions there as well as automatic tool length measurement using the probe with G38 2 The tool change area can be guarded for collision if it is defined the rendering process will detect eventual collisions and report it So a normal workpiece program is not allowed to go through the Tool change Area The tool change itself is allowed to go to this area Therefor the change_tool subroutine contains the statement TCAGuard off at the beginning and TCAGuard on at the end 04 December 2015 Release 4 02 170 EDINGCNC Manual 4 3 1 Tool change example http www youtube com watch v _kpOSAeR K The grey marked code below is already prepared for you in the standard macro cnc file This change_tool subroutine is automatically called when the interpreter encounters e g m6 t1 If automatic tool change in the setup is switched on 7 bias Sexamp le shows ow eo Makes youu Own rool pehanger woul lt as made tor 6 tools and a simple KRESS Tool changer First current tool is dropped then the new tool is picked There is a check whether selected tool is already in the spindle Also a Check chat the cool is witha iG There is a picktool subroutine for each tool and a droptool subroutine for each tool These routines need to be modified to fit your machine and tool changer silo l
79. DINGCNC Manual 3 6 10 3 EXAMPLE CODE As a usable example the code for finding the center and diameter of a circular hole is shown in Table 3 5 For this code to yield accurate results the probe shank must be well aligned with the Z axis the cross section of the probe tip at its widest point must be very circular and the probe tip radius i e the radius of the circular cross section must be known precisely If the probe tip radius is known only approximately but the other conditions hold the location of the hole center will still be accurate but the hole diameter will not In Table 3 5 an entry of the form lt description of number gt is meant to be replaced by an actual number that matches the description of number After this section of code has executed the X value of the center will be in parameter 1041 the Y value of the center in parameter 1022 and the diameter in parameter 1034 In addition the diameter parallel to the X axis will be in parameter 1024 the diameter parallel to the Y axis in parameter 1014 and the difference an indicator of circularity in parameter 1035 The probe tip will be in the hole at the XY center of the hole The example does not include a tool change to put a probe in the spindle Add the tool change code at the beginning if needed Table 3 5 Code to Probe Hole NO10 probe to find center and diameter of circular hole NO20 This program will not run as given here You have to NO30 insert
80. EDINGCNC Manual The initial cut depth is given by the J value The first threading cut will be J beyond the thread peak position J is positive even when I is negative The full thread depth is given by the K value The final threading cut will be K beyond the thread peak position K is positive even when I is negative The depth degression is given by the R value R1 0 selects constant depth on successive threading passes R2 0 selects constant area Values between 1 0 and 2 0 select decreasing depth and 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 The compound slide angle Q 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 The number of spring passes is given by the H value 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 gives a distance along the drive line used for the taper E0 2 will give a taper for the first last 0 2 length units along the thread L is used to specify which ends of the thread get the t
81. EDINGCNC Manual the connection with the CPU is lost or the software hangs The iCNC600 CPU s have a system ready output for CPU5B this ouyput is defined in the cnc ini file with OOO 2 1 22 3 OUTPUT CONTACTS OF THE SAFETY RELAIS The relay has output contacts 13 14 23 24 33 34 to switch ON OFF power of safety related equipment These output contacts are not intended to switch heavy loads so they are used to drive external power relays that switch on the power for the spindle and drives Addition The machine guidelines require not 1 relay but 2 in series to switch this power This is because a relay can mall function 2 relays in series are safer OUTPUT contact 13 14 will switch ON the SPINDLE POWER using 2 external power relays Our frequency converter has a special enable input to which we connect the 13 14 output OUTPUT contact 23 24 will switch ON the power supply for the motors using 2 external power relays in series We use a the same standard DIN rail relay 2x OUTPUT contact 33 34 will be connected to thea Example of a DIN rail power relay 024 4000 e AZ 276 lt RA 0 ES t f 2 1 22 4 SWITCHING ON THE SAFETY RELAY If everything is safe the relay can be switched on via a special RESET input This reset input can be a physical button or software operated We want it to be software operated using the MACHINE ON button in the UI We set the relay mode to operate at a positive edge on the S34 input
82. ERENOMDO aoaaa a E E eee 112 3 4 2 NOT IP UU n o ao anastasia wae eansaise Gane eaneoe gE EaeEE ane UAR GARDE 112 SAE INUNDA ee ee ee 113 SA 2 2 Parametr VW ae a eraua sheets O A euecenwnes 113 3 4 2 3 Expressions and Binary OPeratiONs ses ssc sicscscccessscccvsescccssdeneassssnadus oovesceveeseenewbvescduydendoesseveesvens 114 3424 Upay Operation Valle id 114 3 4 3 AS e E o EE T AT 115 3 4 4 COMMENTS ane Messages iia i A a 115 04 December 2015 Release 4 02 EDINGCNC Manual 3 4 5 O unset cacicame lu A E terete 115 3 4 6 WENT OE a anaes a A a 116 3 4 7 Commands anda Machine MOOS csrisaaia nasa 116 35 MORA GIO o sea Aik oe OO 117 36 EOAOS ai A A A A A E 119 3 0 4 Rapid Linear Motion GO iii tia liada 119 3 6 2 UinearMotomatrtrecd Rate Ghia 121 3 0 3 ao Ml Rates Gere A O Oe A 122 Gak Rad s FORMAL A Csee E 122 O2 CENE FONALAT C oee O E O ase rennesuss 123 3 6 4 Dell A leia 124 3 6 5 Set Coordinate System Data Gli cami mica O 124 3 6 6 Plane Selection G17 G18 ANd G19 oocccncnnnnccnnccnnccnnancnnccnnaconoronnononoronnrcnnononaronrcnnaconaronarennnonns 124 3 6 7 length Units 620 G2L atid G70 G7 Lia iia 124 3 6 8 Returni to Home 623 and OSO alos 125 3 6 9 G33 G33 1 Spindle Synchronized Motion occcccnccnncnoccnnnnocnncnnnonnnnnconnonaronononcnnonaronnnnnrononanonnnns 126 30 10 StalentProbe 6338 Zie A O N O ees E 127 3 6 10 1 TReStralent Prope Commmand anan a E lido 127 3 6 10 2 Using the Straient Probe Com Madina 127 3
83. F Program M60 instead of M30 if the spindle and coolants should remain ON this is usefully with nesting 3 7 2 Spindle Head Control M3 M4 M5 M90 M97 To start the spindle turning clockwise at the currently programmed speed program M3 To start the spindle turning counterclockwise at the currently programmed speed program M4 To stop the spindle from turning program M5 It is OK to use M3 or M4 if the spindle speed is set to zero If this is done or if the speed override switch is enabled and set to zero the spindle will not start turning If later the spindle speed is set above zero or the override switch is 04 December 2015 Release 4 02 152 EDINGCNC Manual turned up the spindle will start turning It is OK to use M3 or M4 when the spindle is already turning or to use M5 when the spindle is already stopped If there are more than one spindles in your machine or of you have a mounted touch probe on th Z slide or a camera you can select the offset IO you want e M90 standard spindle M91 alternate 2 spindle M92 alternate 3 spindle M95 touch probe M97 Camera Each spindle is connected to different set of outputs and has different parameters Alternate spindle 1 and 2 may have defined offsets for x y z Because this option is rarely used by customers you have to perform the settings yourself by editing the cnc ini file There are 5 sets of parameters for each spindle configuration For the 2nd 3 4th and 5 sp
84. For linear motion to a point expressed in absolute coordinates program G1 G53 X Y Z A or use GO instead of G1 where all the axis words are optional except that at least one must be used The GO or Gl 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 machine will not go that fast It is an error if e G53 is used without GO or G1 being active e G53 is used while cutter radius compensation is on 3 6 15 Select Coordinate System G54 to G59 3 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 04 December 2015 Release 4 02 134 EDINGCNC Manual 3 6 16 Set Path Control Mode G61 and G64 Ideally one would like to have constant speed during the work and maximum accuracy This ideal is physically not possible similar as driving a racecar on curvy roads is not possible with constant velocity It is simply to understand that it i
85. G THE STRAIGHT PROBE COMMAND Using the straight probe command if the probe shank is kept nominally parallel to the Z axis i e any rotational axes are at zero and the tool length offset for the probe is used so that the controlled point is at the end of the tip of the probe e without additional knowledge about the probe the parallelism of a face of a part to the XY plane may for example be found e if the probe tip radius is known approximately the parallelism of a face of a part to the YZ or XZ plane may for example be found e if the shank of the probe is known to be well aligned with the Z axis and the probe tip radius is known approximately the center of a circular hole may for example be found e if the shank of the probe is known to be well aligned with the Z axis and the probe tip radius is known precisely more uses may be made of the straight probe command such as finding the diameter of a circular hole If the straightness of the probe shank cannot be adjusted to high accuracy it is desirable to know the effective radii of the probe tip in at least the X X Y and Y directions These quantities can be stored in parameters either by being included in the parameter file or by being set in an RS274 NGC program Using the probe with rotational axes not set to zero is also feasible Doing so is more complex than when rotational axes are at zero and we do not deal with it here 04 December 2015 Release 4 02 127 E
86. I are the PID parameters KP The output power is linear wit KP temperature difference set point actual By using the KP alone and leaver the KSD and KI zero you can tune the behavior of the system to keep the temperature stable within a small band The temperature should be reached in time If you get temperature overshoot or oscillation your KP is too high KD differential the output power is linear with the derivative of the difference it looks at changes in temperature and compensates for that It is not used often but can obtain a more accurate control KI is to compensate last differences between set point and actual that cannot be obtained with KP KD Max Integrator power is the max power addition that the integrator function can deliver Temp reached window when the difference between the set point and actual temperature is less than this value the temperature is considered reached 04 December 2015 Release 4 02 96 EDINGCNC Manual Max power is the total maximum power that the system will give to its PWM output Max temp is a safety value when this temperature is reached the power is switched off Standby temp is activate when the system is put in standby mode Temp Reached turns green when reached PID on off switch the PID control system OFF On Off when checked you can directly control to test the actual power from 1 100 Standby activates the standby temperature M1 All heating and Fans off
87. INGCNC Manual 3 6 10 Straight Probe G38 2 3 6 10 1 THE STRAIGHT PROBE COMMAND Program G38 2 X Y Z A to perform a straight probe operation The rotational axis words are allowed 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 The linear axis words are optional except that at least one of them must be used The tool in the spindle must be a probe It is an error if e the current point is less than 0 254 millimeter or 0 01 inch from the pro grammed point e G38 2 is used in inverse time feed rate mode e any rotational axis is commanded to move e no X Y or Z axis word is used In response to this command the machine moves the controlled point which should be at the end of the probe tip in a straight line at the current feed rate toward the programmed point If the probe trips the probe is retracted slightly from the trip point at the end of command execution If the probe does not trip even after overshooting the programmed point slightly an error is signaled After successful probing parameters 5061 to 5066 will be set to the program coordinates of the location of the controlled point at the time the probe tripped The variables 5051 to 5056 will contain the machine coordinates Useful for measuring tools in absolute machine positions G53 G38 2 will move in machine coordinates 3 6 10 2 USIN
88. KE 7 Toolpath Jr A x s 50 h Calculation Accuracy 0 00000100 Close Path s Load Also V 11 29 21 Info Enter Note The offset and pocket calculation might not always work this is usually because of small errors in the drawing like lines over each other or not connecting lines Experimenting with the Calculation Accuracy might help Also check correction of your drawing may help The engraving function is robust and will always work 04 December 2015 Release 4 02 EDINGCNC Manual 2 6 TOOLS PAGE 2 6 1 Milling E CNC V4 02 28A CPUSA 4D 1 11 E __CAProgram Files x86 CNC4 0 gron Operate Coordinates Program Tools Variables 10 Service Util Setup Help Machine Work ZDelta Diameter Description 0 0000 NOTOOL 0 0000 3 0 0000 0 0000 2 0000 Y 0 000 0 0000 0 0000 4 0000 0 0000 0 0000 5 0000 0 0000 0 0000 7 0000 0 0000 0 0000 8 0000 0 0000 0 0000 9 0000 0 0000 0 0000 10 0000 Feed Speed G M Code Time 0 0000 0 0000 _ 11 0000 0 0000 0 0000 12 0000 F 0 60 100 0 0000 0 0000 13 0000 5 0 O 100 0 0000 0 0000 14 0000 oon Donn Bb UU MN na O a o JT KB G17 G40 G21 G90 GM G54 G43 G99 G64P0 1 G97 G50 GO T1 0 0000 0 0000 15 0000 p un 0 0000 0 0000 16 0000 0000480 Remove comments if you want add11 0000481 when reset button was pressed in 0 0000 0 0000 0 0000 0000482 sub user_reset 0 0000 0 0000 0 0000 0000483
89. LATION 10 18 02 Action New configuration file ceated 10 18 02 Info Welcome you can move the axes by arrow keys 4 uli At this page you can monitor and set the I O signals for CPU and IO extension board if attached You can see that the GPIO extension board signals can be given a more meaningful name to your application The internal GPIO AUX can be controlled by M54 M55 M56 e g M54 P1 switches output AUX1 on and M55 P1 switches output AUX1 off The external GPIO can be controlled also by M54 M55 M56 e g M54 P101 switches output 1 of card 1 on These M Codes are further explained in the M Codes chapter of this document 04 December 2015 Release 4 02 86 EDINGCNC Manual 2 8 SERVICE PAGE a CNC V4 02 RC1 CPUSB SIMULATION C Program Files ES o El rel Operate Coordinates Program Tools variables 10 Service uti Setup Help Service status Machine working status Job time service Hours 9 00 Job time Total Hours P 00 Job distance service Meters 0 000 Job distance total Meters 0 000 Number of jobs done service 0 Number of jobs done total 0 Reset Service parameters Service time Interval Hours 9 000 Service distance interval Meters 0 000 Save Changes 10 18 02 Info Kin version TRIVIAL BUILD IN 1 0 10 18 02 Info CPU State SIMULATION 10 18 02 Action New configuration file created 10 18 02 Info Welcome you can move the axes b
90. Manual EDINGCNG Vio 100015 Pates UTT e Ji as gt z t 7 y LIITT T Moo OR i age CTO y CNCBV PC Based CNC Control User Manual EdingCNC Software Document Release 4 02 04 December 2015 Release 4 02 EDINGCNC Manual Published by Bert Eding Eindhoven The Netherlands Title Eding CNC user Manual Software Author Bert Eding Date Friday 04 December 2015 Document History Version Date Author Comment 2006 03 10 Bert Eding Start with new history for V4 02 support for Linear Delta systems 4 02 00 19 12 2014 Inputs which generate ESTOP now 4 02 00 19 12 2014 A Max long file mode value increased 4 02 00 19 12 2014 from 25000 to 100000 4 02 00 19 12 2014 iCNC600 CPU support added GO acceleration and velocity factor added DO Beso 2 macro files speed override control added 4 02 00 19 12 2014 4 02 00 19 12 2014 Exec interpreter function allows to start external programs from the interpreter G64 P R Q F The new PATH CONTROL functions here allow very FAST and constant speed foam milling Firmware changes are latched ESTOP signals and use MACHINE ON virtual output that starts the watchdog 4 02 00 19 12 2015 4 02 00 19 12 2015 signal system ready for iCNC600 board 4 02 01 09 01 2015 Added shortcuts ctrl alt s and ctrl alt f see shortcut table 04 December 2015 Release 4 02 4 02 00 19 12 2014 AAN a 4 02 00 19 12 2014 User def
91. NGCNC Manual An additional TAB 3D printer shows further controls of the temperature and FAN of the 3D printer a CNC V4 01 37B CPUSB 6D 1 09HE d schaats koffer slijpmachine TVE Program for EdingCNC_skatecase program_03 03 2014_second_test CNC Operate Coordinates Program Tools Variables 10 3DPrinter Service Setup Help Extruder Heat Bed Work piece cooler fan ThermisterT able bxtruderVoltTempTable bd ThermisterTable heatBedVoltTempT able bd B Power 0 KP 228 KP 2 00 KD 0 00 KD 0 KI 0 KI 0 Max integrator power 43 Max integrator power Temp reached window gt Temp reached window gt Max Power Max Power Max Temp Max Temp Standby Temp Standby Temp Save Parameters Save Parameters Temp actual 730 4 Temp reached Temp actual 3 0 Temp reached PID On Oft PID On Oft a T int 50 On Of On Of Temp setpoint 50 A E ActualPower 0 00 Standby ActualPower 0 00 Standby 13 14 52 Home intgcodecmd cpp 980 Info Home A 13 14 52 Home intacodecmd cpp 980 Info Home B 13 14 52 Home intgcodecmd cpp 980 Info Home C 13 14 52 Msg intdefcmd cpp 33 Info home complete 4 ii There are 2 equal parts for Extruder and Heat bed control and a slide to adjust the cooler Fan for the work piece The temperature is read from analog inputs of the CPU and the Heat and Fan power is controlled by PWM outputs The temperature is controlled by a PID controller in software KP KD and K
92. O Acc Factor With this you can apply a factor for the acceleration used at GO this allows different acceleration for GO positioning G1 G2 G3 milling FeedOverride input You can select UI UI amp Hand wheel Default or analogue input 1 3 on the CPU with analog input you can use a potentiometer to control the feed override recommended potentiometer value is 4K7 When UI and hand wheel is selected you can control the Feed Override using the F and F buttons and the Hand wheel to control the feed Override from 0 300 Note that the machine will not go faster than the maximum velocities of the motors allow FeedHold input Here you can select a digital input from the CPU that sets the Feed Override to zero immediately when activated When released the Feed Override will go back to the value before This function may be used by EDM machines to stop the feed when there is a short circuit detection of the electrode 2 1 7 Kinematic Setup Trivial kinematics It is not needed for normal Cartesian machines leave the Trivial 1 1 kinematics checked Please contact Eding CNC if you have a special machine or robot with non Cartesian axes 2 1 8 Tool change Area setup XYZ Limits By setting the limits here to a value different from zero the TCA Tool Change Area guard will be activated Using the values here you define an area on the machine which is restricted to tool change A normal work piece program is not allowed to e
93. O G code that uses 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 04 December 2015 Release 4 02 118 EDINGCNC Manual 3 6 G CODES G codes of the RS274 NGC language are shown in Table 3 4 and described in this Section The descriptions contain command prototypes set in bold type In the command prototypes three dots stand for a real value As described earlier a real value may be 1 an explicit number 4 for example 2 an expression 2 2 for example 3 a parameter value 88 for example or 4 a unary function value acos 0 for example In most cases if axis words any or all Of X Y Z A B C are given they specify a destination point Axis numbers are in the currently active coordinate system unless explicitly described as being in the absolute coordinate system Where axis words are optional any omitted axes will have their current value Any items in the command prototypes not explicitly described as optional are required It is an error if a required item is omitted In the prototypes the values following letters are often given as explicit numbers Unless stated otherwise the explicit numbers can be real values For example G10 L2 could equally well be written G 2 5 L 1 1 If the value of parameter 100 were 2 G10 L 100 would also mean the same Using real values whic
94. O gi z 20 g40 g3 x30 z 30 10 kO m30 g40 04 December 2015 Release 4 02 131 EDINGCNC po m0 04 December 2015 Release 4 02 Manual 132 EDINGCNC Manual 3 6 12 Tool Length Offsets G43 G43 H G43 1 and G49 A To use the tool offset of the tool in the spindle use G43 This assures that always the tool length of the tool in spindle is compensated B To use a tool length offset from the tool table program G43 H where the H number is the desired index in the tool table H 1 99 C To use dynamic tool compensation not from the tool table use G43 1 I K where I gives the tool X offset turning and K gives the tool Z offset for turning and milling O To have no tool length offset compensation program G49 5401 5499 is the tool length of tool 1 99 5501 5599 is the tool diameter of tool 1 99 5601 5699 is the tool xoffset width for turning offset The variables can be modified runtime in the G Code file if needed to compensate for tool wear 3 6 13 Scaling G50 G51 G50 scaling off UNIFORM Scaling G51 P I J P is scaling factor NON UNIFORM Scaling X Y different only applicable when NO Arcs G51 X Y I J X is scaling factor for X coordinates Y is scaling factor for Y coordinates I is X coordinate scaling point J is Y coordinate scaling point O 04 December 2015 Release 4 02 133 EDINGCNC Manual 3 6 14 Move in Absolute Coordinates G53
95. Request timed out Request timed out Request timed out Ping statistics for 1 72 22 2 108 Packets Sent 4 Received BM Lost 4 166 loss gt D C Users Bert gt _ OM AAA If you have this check you cable and your network settings again Also check that the yellow led on the CPU is flashing at approximately 1Hz 04 December 2015 Release 4 02 19 EDINGCNC Manual 1 4 3 Set admin mode Eding CNC software needs real time priority on Windows to control your machine correctly This only allowed with Admin rights so make sure the user has Admin Rights these screens are from Windows 7 they are similar on Windows 8 d File Edit View Tools Help Control Panel Home Make changes to your user account Manage your credentials Change your password Create a password reset disk Link online IDs Remove your password Change your picture oe ay Change your account name Configure advanced user Change your account type profile properties Change my environment x fe Manage another account variables See also Parental Controls And switch off UAC User Account Control Settings i als a Tell me more a User ad ae settings Always notify Never notify me when Programs try to install software or make changes to my computer I make changes to Windows settings oo Mot recommended Choose this only rf you need to use programs that are not certified for Windows 7 because they do
96. S 2 000r E26 M54P1 G4P1 G53G01245f100 MS Seal G53G0Z100 endsub PLC COOL subroucineg Sub PLEKTOOLO msg Wiese oligo cool 0 M55P3 5015 1 endsub Sub PickTooli mesg YPieking tool 1 M5 G53G0Z100 ey SOD Sys 00X173 00 M54P3 G4P01 ESSEX e206 VS look 270 G53G02Z50 M54P1 G4P01 G5 36012232000 120 G4P0 5 M55P1 G53G01Z60F120 G53G0X825Z100 MESS pools oll endsub Sub PickTool2 04 December 2015 pa uje Move Open Wait Move Move Move AUX1 Wait Move AUX1 Manual 110 is and machinebed is zero just before drop place EOOlStation I seconds arto drop place down fast but not fully to the endposition down the last mm slower ON air pressure toolchange 1 second up slowly to move free from toolstation off tool dropped p Furcher up and done with dropping tool pa u Move Open Wait Move Move Move AUX1 Wait Move AUX1 110 is and machinebed is zero just before drop place toolstation 1 seconds into drop place down fast but not fully to the endposi tion down the last mm slower ON air pressure toolchange 1 second up slowly to move free from toolstation off tool drepped Further up and done with dropping tool pa up Move TORE Wait Move Move Move AUX1 Wait Move AUX1 110 is and machinebed is zero just before drop place too lstarion 1 seconds Lito drop place Gown test but not sul to Ene endpos ition do
97. Setup Help OO 04 December 2015 T ya TI N n QI TI La Tr H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap Joint Machine Work Feed Speed G M Code Time 617 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T1 0014585 XO 485Y49 9332 2 868 0014586 X0 542Y49 9662 2 891 0014587 Z3 000 0014588 GOZ3 000 0014589 GOXO OOOYO 000 0014592 This is file macro cnc version 0014593 It is automatically loaded 0014594 Customize this file yourself 11 0014595 It contains 0014596 subroutine change_tool this i 0014597 subroutine home_x home_z lt lt gt gt gt gt A mistop Single AUTO MCA Mi BlockDel M po TCA Mi Sim y StL tJ ArcF G28 Fast RT Graph F9 F10 F11 F12 o G30 Fast Rendering Release 4 02 7 70 EDINGCNC Manual 2 2 5 5 MILLING UN EVEN SURFACES Intended use The compensation is intended for relative small compensation with natural smooth behavior The compensation profile is directly added to the motion of the Z axis The acceleration profile therefore is determined by the shape of the compensation If the compensation is not continuous then depending of the quantity of it and the speed in which the moves are done this may lead to position loss with open loop stepper motor systems or position following error with closed loop systems
98. T number larger than the number of slots in the carousel is used On some machines the carousel will move when a T word is programmed at the same time machining is occurring On such machines programming the T word several lines before a tool change will save time A common programming practice for such machines is to put the T word for the next tool to be used on the line after a tool change This maximizes the time available for the carousel to move 04 December 2015 Release 4 02 161 EDINGCNC Manual 3 9 ORDER OF EXECUTION The order of execution of items on a line is critical to safe and effective machine operation Items are executed in the order shown in Table 3 7 if they occur on the same line Table 3 7 Order of execution 14 cutter length compensation on or off G43 G49 15 coordinate system selection G54 G55 G56 G57 G58 G59 G59 1 G59 2 G59 3 16 set path control mode G61 G61 1 G64 8 coolant on or off M7 M8 M9 19 home G28 G30 or change coordinate system data G10 or set axis offsets G92 G92 1 G92 2 G94 20 perform motion GO to G3 G80 to G89 as modified possibly by G53 21 stop MO M1 M2 M30 M60 04 December 2015 Release 4 02 162 EDINGCNC Manual 4 Language extensions To provide additional flexibility I created some extensions in the language that allow for programming 04 December 2015 Release 4 02 163 EDINGONC 4 1 FLOW CONTROL You can use the following f
99. WM M55 Px 04 December 2015 Release 4 02 156 EDINGCNC Manual Clear output x M55 P1 set AUX1 out to 0 M56 Px Read input x result stored on 5399 M56 P3 Read AUX in 3 If 5399 1 Msg AUX3 0N Else Msg AUX3 OFF endif M56 Px Ly Qy Read digital input and specify wait mode result stored in 5399 Px x is input number LO do not wait L1 Wait for High L2 Wait for Low Qy y is timeout M56 P3 L2 Q30 Read AUX in 3 If 5399 1 Errmsg Timeout while waiting for AUX3 becoming low Else Msg AUX3 is off Endif 04 December 2015 Release 4 02 157 EDINGCNC Manual M56 Ex Read analogue input result stored in 5399 Ex x is input number M56 E3 Msg analog value is 5399 Read other inputs using M56 M56 Px Home Inputs x 51 56 X C Probe Input x 61 Sync Input x 62 HWA Input x 63 HWB Input x 64 ESTOP1 x 65 ESTOP2 x 66 EXTERR x 67 Example read home input of X axis M56 P51 If 5399 1 Msg HOMEX ON Else Msg HOMEX OFF endif Optional IOCARD If the new I2C GPIO CARD is used the IO number P or E is specified as follows 103 means card 1 port 3 208 means card 2 port 8 3 7 9 A axis clamping M26 M27 The A axis is often used to rotate the work piece on the machine and then do milling on that side of the work piece To be sure the work piece is fixed at its place an axis clamp Brake can be used for A M26 P1 enables th
100. Wood Soft Wood MDF Soft Plastic Hard Plastic Aluminium 3 mm 0 08 0 13 0 10 0 15 0 10 0 18 0 10 0 15 0 15 0 20 0 05 0 10 6 mm 0 23 0 28 0 28 0 33 0 33 0 41 0 20 0 30 0 25 0 30 0 08 0 15 10 mm 0 38 0 46 0 43 0 51 0 51 0 58 0 20 0 30 0 25 0 30 0 10 0 20 12 mm 0 48 0 53 0 53 0 58 0 64 0 69 0 25 0 36 0 30 0 41 0 20 0 25 IO BOARD DETECTED ID 1 addr 01 hwID 50 hwVer 1 prot 1 SWVER 1 1 IO BOARD DETECTED ID 2 addr 01 hwID 50 hwVer 1 prot 1 SWVER 1 1 IO BOARD DETECTED ID 3 addr 01 hwID 50 hwVer 1 prot 1 SWVER 1 1 Ready for operation mW This page allows to calculate the right Feed Speed for milling Chip load is the quantity of material that is removed by one teeth of the milling tool This is the most important parameter for calculating the feed given a Speed 04 December 2015 Release 4 02 88 EDINGCNC Manual 2 10 HOMING AND COORDINATE SYSTEMS As I am like most people and don t want to read a comprehensive manual but start right away So I have written this little tutorial it explains how to home the machine and use the coordinate systems in a simple way This part is very important to read you will have better experience with the machine if you use the coordinate systems the right way When your machine is switched on all axes can be at any position these positions are unknown by the software The software however needs to know the position to show a correct graphic in the
101. ZHCINIT lt grid size in mm gt lt number of points in X gt lt number of points in Y gt This is the first command required before starting a measurement it will reserve the correct amount of memory to store the measured points Using G38 2 will do the actual measurement ZHCADDPOINT will add the last measured point to the data ZHCS lt fileName gt will store the data to a file ZHCL lt fileName gt will load the data from a file ZHC ON OFF will switch the compensation on 5051 contains 1 if ZHC is ON and O if OFF This can be used for run time checks if the compensation is on In case of tool change you will probably want to switch it off and switch it back ON after the tool change 04 December 2015 Release 4 02 76 EDINGCNC Manual 2 3 LINEAR PITCH COMPENSATION This is a way to improve the accuracy of the machine when the linear displacements are not exactly correct E g cheap rolled ball bearing spindles may have an inaccuracy of several 0 1 mm at a meter length Also the pitch may vary a bit depending on the position This compensation feature allows to correct this The compensation can be switched on by manually editing the cnc ini file contains all settings Under each joint settings JOINT_0 is the first usually your X axis you find 2 settings e pitchCompensationOn 1 1 to switch compensation ON O to switch OFF e pitchCompensationFileName Joint X pitchCompTable txt name of the file with the correct
102. a convex corner on the contour a simpler method is available using zero or one pre entry move and one entry move The general method which will work in all situations is described first We assume here that the programmer knows what the contour is already and has the job of adding entry moves A 1 1 1 GENERAL METHOD The general method includes programming two pre entry moves and one entry move See Figure A 2 The shaded area is the remaining material It has no corners so the simple method cannot be used The dotted line is the programmed path The solid line is the actual path of the tool tip Both paths go clockwise around the remaining material A cutter one unit in diameter is shown part way around the path The black dots mark points at the beginning or end of programmed or actual moves The figure shows the second pre entry move but not the first since the beginning point of the first pre entry move could be anywhere 04 December 2015 Release 4 02 182 EDINGCNC Manual Figure A 2 Cutting radius compensation entry moves for material edge contour C115 Bila AG programmed path actual path First pick a point A on the contour where it is convenient to attach an entry arc Specify an arc outside the contour which begins at a point B and ends at A tangent to the contour and going in the same direction as it is planned to go around the contour The radius of the arc should be larger than half the
103. a real calculation of time would take too much time therefore these parameters CorrectionFactor Correction factor for the time calculations you can change this if you see that your type of jobs require a correction RestimateRunTime When checked you will see the remaining estimated time of job based on the average speed measured and the total distance to go 2 1 17 Hand wheel Setup Cnt Rev The number of counts of the hand wheel for one revolution usually 400 for most CNC hand wheels Count Shows the actual Hand wheel count value try to turn the hand wheel and see it change V Percentage of velocity from selected axis this is the maximum velocity the axis will move when using the hand wheel A Percentage of acceleration from selected axis this is the maximum acceleration the axis will move when using the hand wheel X1 X100 Vel Mode In velocity mode the most important is that the movement stops immediately when the rotation of the hand wheel stops The position of the hand wheel will not be maintained if velocity mode is on The position of the handheld is maintained if velocity mode is off This also means that the axis may not immediately stop if the hand wheel rotation stops When turning beyond the limits of the axis you have to turn back the hand wheel the same amount before the axis starts moving again My own experience is that it works best to use velocity mode at X100 only Jus play with it to experien
104. able Voltage SWITCH n CPU5B IN3 X0 1 470R 1K PIN8 PIN10 GND 2 1 18 Load Run Automatically watchFileChanged If checked EDINGCNC will watch the loaded g code file for changes 04 December 2015 on disk if EDINGCNC is not running When it is changed e g by an editor or because it is saved by a CAM software then EDINGCNC will ask you to reload the file Release 4 02 45 EDINGCNG Manual A Reload job O ae load automatically If this is checked the file is automatically loaded when it changes run automatically fileName 04 December 2015 on disk no dialog will appear If this is checked and also the load automatically check then the file will be loaded and immediately start running when changed on disk This is the name of the file that EDINGCNC watches at startup So if EDINGCNC is started and this file time date changes on disk it will be loaded If manually another g code file is loaded then USNCNC will watch that one Release 4 02 46 EDINGCNC Manual 2 1 19 Probing Setup StoreProbePoints The touch points are stored in a file when this is checked This is used for digitizing Use Home input 4 If checked home input 4 is used instead of the standard probe input File The file name for storing the touch points The file is opened at the first probe touch en closed when a M30 command is encountered usually at the end of the G Code program M95 Using a probe which is
105. act 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 To use option 1 program G99 To use option 2 program G98 Remember that the R word has different meanings in absolute distance mode and incremental distance mode 04 December 2015 Release 4 02 150 EDINGCNC Manual 3 7 INPUT M CODES M codes of the RS274 NGC language are shown in Table 3 6 Table 3 6 M Codes program stop optional program stop program end turn spindle clockwise turn spindle counterclockwise stop spindle turning tool change mist coolant on flood coolant on mist and flood coolant off Plasma Torch Height Control ON Plasma Torch Height Control OFF M23 Q Set Plasma THC set point value program end spindle and coolants off and rewind enable speed and feed overrides disable speed and feed overrides program stop use this with nesting instead of M60 so that the spindle coolants remain on during transition from one to the next run set general purpose output for CPU5B clear general purpose output for CPU5B read general purpose input for CPU5B Drive enable ON Drive enable OFF Standard Head spindle Alternate Head 2 spindle Alternate Head 3 spindle Alternate Head Probe Alternate Head Camera Note that a head may as well be e g a tangential knife configuration Spe
106. active or inactive at the time the G10 is executed 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 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 G10 L20 P X Y Z A Set coordinate system given by P number relative to actual machine position Working is similar to G92 Jog to any position then apply e g G10 L20 P1 XO YO to set G54 coordinate system zero point at current machine position 3 6 6 Plane Selection G17 G18 and G19 Program G17 to select the XY plane G18 to select the XZ plane or G19 to select the YZ plane 3 6 7 Length Units G20 G21 and G70 G71 Program G20 to use inches for length units Program G21 to use millimeters 04 December 2015 Release 4 02 124 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 G70 G71 is added for CAM software compatibility 3 6 8 Return to Home G28 and G30 Two home positions are defined by parameters 5161 5166 for G28 and parameters 5181 5186 for G30 The parameter values are in terms of the absolute coordinate sys
107. 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 3 4 3 Parameter Setting 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 3 4 4 Comments and Messages Printable characters and white space inside parentheses is a comment A left parenthesis always 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 s 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
108. ant to EdingCNC users or parts that are not supported are left out Manual 04 December 2015 Release 4 02 EDINGCNC Manual Table of contents TaDle OF CONTENTS ici in 5 1 INTOdUCHOM incaico 10 LL Context GNG SCODE reesei NAE ia 11 1 2 Definitions acronyms and ADDreviAtiONns ccsccccereccccccsceccccecsceccccecsceccccecsceccccecscecescecs 12 1 3 Minim m PC FEGUITCINCNES A A a aaa 13 1 4 Installation of EDINGCNC sesoesesoeoesosoesosoesoscesosossosoesesoesesosoesosoesosoesosoesosoesosoesosoesoso 14 1 4 1 US Besun a aa a aa a r a a aa a talecd easee teats 14 1 4 2 o Eiin a O T E E E A E E 15 1 4 3 Ser O Oi aa a a A 20 1 4 4 Profiles Ifyou have dlterents clado 22 2 Th user interface meer eee ee oreo nese orien Sas 24 A ANa SetuP Page Sasan aa E r a A tecnuausacdounceacutes 28 LL Usain CONNEC ra aaa 28 2 1 3 MOLO Sc iaa 29 2 1 4 Homing did ESTOPA e a re ih od es ah bales De iuon 31 2 1 5 Baca SN es passes Slate eae ced eee ain ee ee 32 2 1 6 EA FSC UU sd dnd 33 Fe 4 Kien Seur aa 36 2 1 8 TOO CHANGES Ala SetUD A A AA A A AA SARA 36 2 19 MAME SHEA KING Secos aia 36 2 1 10 2Satety Door open inputs teta daa 39 204 Spindle and PWM SetiD EE ie iaa 39 EEE US CUDASS a ca 41 BELES AO CUD aa aa eatateneaennenca vacates a anatase a ionnners apamioues 42 AL Interpreter SOUT GS aoaaa E E a eiewacawaseteei ne eneeueees 42 ZLio TMamiclientsetUD cintia 43 TL JOBDTIIMeEstimatO Nara 44 ALI Hand WNCCS CUD O Po N oi O E
109. aper Program LO for no taper the default L1 for entry taper L2 for exit taper or L3 for both entry and exit tapers 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 is 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 sample program g76 ngc shows the use of the G76 canned cycle and can be previewed and executed on any machine using the sim lathe ini configuration 04 December 2015 Release 4 02 140 EDINGCNC Manual i Initial Point Tool Motions Thread Dimensions Figure G76 canned cycle 04 December 2015 Release 4 02 141 EDINGCNC Manual This is how it works 1 Before the start the spindle rate is measured 2 The feed for de z axis is calculated F pitch spindleRate 3 The CPU programmed such that a movement is started on the spindle pulse 4 The movement is calculated and send to the CPU 5 Th
110. ates the safe height the XY position the exact height of the tool setter The positions are stored into persistent variables 4996 4999 The positions are used by subroutine m_tool that is under user button 2 Your action Machine message 1 0pen MDI and type close mdi check correct calibration tool nr dat Home Y Home A Job started 17 53 41 Warning dose mdi check correct calibration tool nr 16 data in tool table 4 TT Start the calibration procedure 04 December 2015 Release 4 02 101 EDINGCNC Manual 2 Close the MDI window using F6 5 47 Info Home A ae Info Job started Go to the tools tab and 17 53 Warning dose mdi check correct calibration tool nr 16 data in tool table check the tool length ee AA of tool 99 For me it is O because I use the tool chuck without calibration tool tool 99 is used as calibration tool set length correctly normally this would be zero or if the calibration tool has a defined length set that length 3 The program is still j to toolchange safe height when done press run j ns d e su b rou ti ne Warning dose mdi check correct calibration tool nr 16 data in tool table iS Info Tooltable saved calibrate_tool_sette Info Jobstarted 18 Warning jog to toolchange safe height when done press run r Calibration length is set correctly in tool table 4 Do what the insert calibrationtool 16 length 0 jog just above messa g e sa YS 32 0
111. carcion 5015 1 toolchange succes endsub Sul PLOECkTOOLS msg BA NEO OS M5 Be sure that spindle is off G53G0z100 Z up where zero is machinebed and 110 is top G53G0X825 00Y243 00 Move before pick place M54P3 Open too lstation G4P01 Wait 1 second GS3G1X86 7s lov 2432 156220 Move into drop place E53G0Z50 Move down fast but not fully to the end M54P1 AUXI ON for opening colletr clame G4P1 wait 1 second 653601223 0007120 Move down last mm down slower to pick up toolholder G4P01 Wait 1 second M55P1 ZAVO O OEKE ESSG IZ 6020 Move slowly up to pick up tool and move free ESSGUXS 252 000 Further up and done witg dropping M55P3 OUTI ort closes tooletation 5015 1 toolchange succes endsub Sub PieckTOoOlLA meg Packing cool 4 M5 Be sure that spindle is off G53G60z100 Z up where zero is machinebed and 110 is top ES 3GUXS Zo 007427 3 00 Move before pick place M54P3 Open too llstarion G4P01 Wait 1 second ESSE o 0264278 156F220 Move into drop place g53G02Z50 Move down fast but not fully to the end M54P1 AUX1 ON for opening collet clamp G4P1 wait 1 second G53601223 0007120 Move down last mm down slower to pick up toolholder G4P0 5 Wait 1 second MS pAUXL off COOL picked ESC WI METEO Move slowly up to pick up tool and move free G5360X8254100 Further up and done witg dropping M55P3 OUTS oft closes toolstation 5015 1 toolchange succes endsub Sub PilekTools5 meg YPrieking t
112. ce the behavior and make your own choice AxSelInput Specify analogue input to be used for axis selection A multi switch with 5 1K resistors can be used to make this See hardware specification CPU_5B_FLYER_TECH PDF it is on the download page of the website This option is only applicable to CPU5B The max analog input value is 1023 and this corresponds with 3 3 Volt INPUT VALUE VOLTS AXIS ENGINES lt 0 32V 0 00 120 220 0 38 0 71 0 55 290 390 0 94 1 26 1 10 gt 970 1 gt 313 3 30 j6 04 December 2015 Release 4 02 44 EDINGCNC MulSelInput Manual You can achieve this by putting 6 identical resistors in series and a rotation switch Example made for OFF XYZ axis 3V3 CPU5B IN3 Select C PIN7 PIN9 470R 1K Select B 470R 1K Select A 470R 1K A Select Z CPU5B IN3 470R 1K PIN 1 or Select Y PIN 3 or Q PIN 5 o 470R 1K Variable Voltage ROTARY SELECTION Select X SWITCH O CPU5B IN3 O Select Nothing 470R 1K PIN8 PIN10 GND Specify analogue input to be used for multiplication factor selection X0 1 x1 x10 x100 This option is only Applicable to CPU5B INPUT VOLTS MUL FACTOR lt 0 32 0 00 291 391 0 94 1 26 1 10 632 732 2 04 2 36 2 20 gt 2 9 3 30 You can achieve this by putting 3 identical resistors in series and a rotation switch 3V3 CPU5B IN3 PIN7 PIN9 A X100 CPU5B IN3 470R 1K PIN 1 or X10 PIN 3 or O PIN 5 ROTARY O SELECTION 470R 1K Vari
113. cials for 3D printing M104 S Set extruder temperature M104 S50 sets temperature to 50 degree Celsius M106 S Work piece cooling FAN ON optionally with S 0 255 for 0 100 PWM M107 Work piece FAN off M109 S Set extruder temperature and wait until reached M143 S Maximum Hot end temperature to prevent overheating M140 S Bed temperature 04 December 2015 Release 4 02 151 EDINGCNC Manual M190 Wait for bed temperature reached target 3 7 1 Program Stopping and Ending MO Mi M2 M30 M60 To halt a running program temporarily program MO If a program is stopped by an MO pressing the cycle start button will restart the program at the following line so the program will continue To optionally halt a program when the stopM1 check in the user interface is checked program M1 program M30 for next effects Selected plane is set to CANON_PLANE_XY like G17 Distance mode is set to MODE_ABSOLUTE like G90 Feed rate mode is set to UNITS_PER_MINUTE like G94 Feed and speed overrides are set to ON like M48 Cutter compensation is turned off like G40 The spindle is stopped like M5 The current motion mode is set to G_1 like G1 Coolants are turned off like M9 Note that the coordinate system are no longer reset I modified this behavior because I have broken a lot of bits due to this so I modified it e Program is re winded to the first line ready for next start e All 3D printer heating OF
114. d with a block delete sign in front This makes it easy to debug tool comp programs The program is loaded with block delete on this is the blue curve Then the program is run with block delete off resulting in the yellow curve It is clear to see what the entry move does Release 4 02 Manual 130 EDINGCNC Manual gi x20 g3 x10 y80 r10 gl y20 g40 gO z3 m30 3 6 11 2 EXAMPLE CODE FOR TURNING The movement starts at the right upper corner The blue line is the programmed contour The yellow is the contour with tool radius compensation G41 The first G1 line is the tool comp entry move You can get this figure by putting a character in front of the G41 G40 codes The load the program with block delete on and execute it with block delete off With block delete on the tool comp is skipped Diameter programming Radius programming Use R word for Arcs Use R word for arc s gO x 20 z20 gO x 10 z20 g41 1d5 g41 1 d5 g1 x 20 z10 g1 x 10 z10 g3 x0 zO r10 g3 x0 zO r10 gl x20 gl x10 g2 x40 z 10 r10 g2 x20 z 10 r10 g1 z 20 g1 z 20 g3 x60 z 30 r10 g3 x30 z 30 r10 g40 g40 m30 m30 Diameter programming Radius programming Use I K programming for arc s Use I K programming for gO x 20 z20 arc s g41 1 d5 gO x 10 z20 gi x 20 z10 g41 1 d5 g3 x0 zO i10 kO gi x 10 z10 gi x20 g3 x0 z0 10 kO g2 x40 z 10 0 k 10 gi x10 gi z 20 g2 x20 z 10 0 k 10 g3 x60 z 30 i10 k
115. diameter given in the tool table Then extend a line tangent to the arc from B to some point C located so that the line BC is more than one tool radius long After the construction is finished the code is written in the reverse order from the construction The NC code is Shown in Table A 1 the first three lines are the entry moves just described Table A 1 NC program for figure A 2 NOO10 G1 X1 Y5 make first pre entry move to C N0020 G41 G1 Y4 turn compensation on and make second pre entry move to point B NO030 G3 X2 Y3 I1 make entry move to point A N0040 G2 X3 Y2 J 1 cut along arc at top NOO50 G1 Y 1 cut along right side NOO60 G2 X2 Y 2 1 1 cut along arc at bottom right NOO70 G1 X 2 cut along bottom side NOO80 G2 X 2 6 Y 0 2 J1 cut along arc at bottom left NOO90 G1 X1 4 Y2 8 cut along third side NO100 G2 X2 Y3 10 6 J 0 8 cut along arc at top of tool path NO110 G40 turn compensation off Cutter radius compensation is turned on after the first pre entry move and before the second pre entry move including G41 on the same line as the second pre entry move turns compensation on before the move is made In the code above line NO010 is the first pre entry move line N0020 04 December 2015 Release 4 02 183 EDINGCNC Manual turns compensation on and makes the second pre entry move and line NOO30 makes the entry move A 1 1 2 SIMPLE METHOD If there is a convex sticking out not in corner somewhere on the
116. e Time 0 60 100 0 O 100 G17 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T1 Ol 0014585 X0 485Y49 933Z 2 868 0014586 X0 542Y49 966Z 2 891 0014587 Z3 000 0014588 GOZ3 000 0014589 GOXO 000YO 000 z z z 0014592 This is file macro cnc version 09 50 53 Info RENDERING 0014593 It is automatically loaded 09 50 54 Info Size X66 631 Y49 967 25 959 0014594 Customize this file yourself ii 0014595 It contains 0014596 subroutine change_tool this i 0014597 subroutine home_x home_z lt lt _ lt DW gt gt gt a mistop i N aii lt EN ES D ES F I F y AUTO mca Eel RESET K l oo M Ml Loan ir reg TART EDIT ff GoTo i ooNx si ME mes Fi F2 F4 FS F6 F7 F9 F10 F11 Fiz 10 S E c30 Ej 5 O E LJ E Aa 4 r Now we can press run F4 to run the program 04 December 2015 Release 4 02 67 EDINGCNG Manual We have no automatic tool changer so the program stops when a tool change is encountered asking us to put in the tool a CNC V4 02 28A 1600 SIMULATION H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap X Operate Coordinates Program Tools variables 10 Service util Setup Help o G Gees Feed Speed l G M Code Time O 1200 100 S 0 16000 100 G17 G40 G21 G90 GM G54 G43 G99 G64P0 1 G97 G50 GO T1
117. e Example Max velocity in the setup is 200 and used milling velocity is F6000 100 mm s Then FO 5 is safe to use So now you can do this G64 R100 F1 and you will not get acceleration spikes but very smooth an fast movement The price to pay is corner rounding which is depending on the max acceleration of the machine the higher the max acceleration the less corner rounding A good application example is with milling rubber or similar flexible material the milling speed must be constant otherwise more material is removed in the corners due to the lower speed and the flexibility of the rubber The F1 in combination with R100 will give constant and high speed for good milling Surface quality of the rubber To make a move from stand still we need to accelerate then have a certain cruising speed and after decelerate Short moves typically never reach the requested velocity the accelerate and then at half the distance the decelerate This table shows the ramp up ramp down distance Velociy Feed Accel Distance 48 2880 120 19 20 30 1800 120 7 50 25 1500 120 5 21 15 900 120 1 88 12 720 120 1 20 10 600 120 0 83 9 540 120 0 68 8 480 120 0 53 7 420 120 0 41 6 360 120 0 30 5 300 120 0 21 4 240 120 0 13 3 180 120 0 08 If your machine has higher accelerations which requires bigger motors and light construction also higher milling velocities are possible The values given here are for a moderate hobby machine This illustrates that when the
118. e are used for homing the machine First check that the home sensors or switches are working activate them and look at the home LED s at the lower left side of the main Operate screen If you see it working take care that the machine axes are at the working area so that none of the sensors are activated Look at GUI LEDs Release 4 02 31 EDINGCNC Manual Home x P Home y H Home z H Home a E EStopInputSenseLevell Defines EStop input behavior O low active NO switch CPU5 series NC switch iCNC600 1 high active NC switch CPU5 series NO switch iCNC600 2 OFF not used EStopInputSenseLevel2 CPU5B only Defines EStop input behavior for second EStop input O low active normally open switch 1 high active normally closed switch 2 OFF not used ExtErrInputSenseLevel CPU5B and iCNC600 ONLY Defines External Error input behavior CPU5B only O low active e stop NO switch CPU5B NC switch iCNC600 1 high active e stop NC switch CPU5B NC switch iCNC600 2 OFF not used 3 low active smooth stop 4 high active smooth stop With smooth stop the axes speed is ramped down this means that there is no position loss ExtErrInputSenseLevel via Sync input CPU5A ONLY CPU5A do not have an ExtErr input but applications that do need this function can use the Sync input with limited functionality Defines External Error input behavior CPU5A only 3 low active smooth stop 4 high active smooth sto
119. e cannot handle 125Khz step rate they need a setting of 90Khz or lower 04 December 2015 Release 4 02 28 EDINGCNG Language setup Password INCH MM 2 1 3 Motor Visible Port Mode Steps AppUnit 04 December 2015 Manual Speaks for itself After it is set save the changes then close EDINGCNC and restart so that everything will be in the correct language The translations are in 2 files cncgui lang txt and cncserver lang txt if you find translation mistakes you can correct this here Please send the corrected file to Eding CNC the corrections will then be incorporated into new versions You can protect the setup parameters from being modified by unauthorized persons by using a password Leave empty if no password is desired Machine setup is in inch mode Machine setup is in mm mode setup Check if the axis should be visible in the GUI Map axis to a physical output port of the CPU If an axis is mapped and not visible it can still be used in the interpreter Select mode for rotation axes slave or special function e ROT default axis behaves as a normal rotation axis e SLAVE X SLAVE Y or SLAVE Z axis is slave of X or Y or Z axes for Gantry machines with two independent Tandem motors on the main axes See also the Homing chapter for details on Slave axes e FOAM CUT for A Axis if used as a Foam cutter with 4 linear axes X is the left horizontal axis Y is the left vertical axi
120. e clamp and the optional P1 specifies the output that controls the brake P1 means AUX 1 See also M54 M27 P1 disables the clamp and the optional P1 here specifies the output controlling the brake When M26 is active the software does not accept movements g code and jogging an error message will appear that the A axis is clamped 04 December 2015 Release 4 02 158 EDINGCNC Manual 3 7 10 Torch height control M20 M21 M20 THC off M21 THC on 3 7 11 M Functions for 3D printing M1 All heating and Fans off M104 S Set extruder temperature M104 S50 sets temperature to 50 degree Celsius M106 S Work piece cooling FAN ON optionally with S 0 100 for 0 100 PWM M107 Work piece FAN off M109 S Set extruder temperature and wait until reached M143 S Maximum Hot end temperature to prevent overheating M140 S Bed temperature M143 S Set max extruder temperature M190 S Set Bed temperature and wait until reached M100 P Change a axis resolution on the fly by a factor factor 1 is standard 1 01 is 1 more 0 99 is 1 less 3 7 12 M Function override and user m functions The system allows M functions in the range of M1 M999 This means there are many un used m functions The user can create his own M Function by creating a subroutine for it in the macro cnc or usermacro cnc file e g sulo mioo Do your stuff here MECO MOO M54 pl switch on AUX output 1 end sub So if the g code file
121. e down fast but not fully to the endposition G5 360432 000RITZ0 Move down the last mm slower MOMIRA AUX1 ON air pressure toolchange G4P1 Wait 1 second 6536012457100 Move up slowly to move free from toolstation MS El AUX1 off tool dropped G53G0Z100 Further up and done with dropping tool endsub Sub Drop Tools so pico O 4 M5 G53G02100 pA up 110 is and machinebed is zero G53G0X825 00Y243 00 Move just before drop place M54P3 Open toolstation G4P01 Wait 1 seconds GS26G1 X86 2G v24 370568220 Move into drop place G53G02Z60 Move down fast but not fully to the endposition 6539601252 0007120 Move down the last mm slower M54P1 AUX1 ON air pressure toolchange G4P1 Wait 1 second 653601245F 100 Move up slowly to move free from toolstation Maan FAUX ofr rool dropped G53G02Z100 Further up and done with dropping tool endsub Sub DropTool4 meg Dropping cool 4 M5 04 December 2015 Release 4 02 173 EDINGCNG G53G02Z100 EG536G0K S25 00278 00 M54P3 G4P01 G53G1xX36 720262173 1567220 g53G02Z60 dos CUA 000F120 M54P1 G4P1 G53G01Z45F100 M55P1 G53G02Z100 endsub Sub Drop loos mesg Dropping cool 5 M5 ESSG OZ 100 ESS CUM Z2 SiS 00 M54P3 G4P01 ES SEI Gee O iss aol 220 G55 GUAGE duo Clas 000F120 M54P1 G4P1 ESSGUUZA SE TOO MSSE 6536027100 endsub Sub ree leosks msg Dropping cool 6 M5 G53G0Z100 G53G0X825 00Y348 00 M54P3 G4P01 G53G1X866 850Y348 156F220 5360260 ques GUIA
122. e if one or more axis words are available on the line unless an explicit command is given on that next line using the axis words or cancelling motion Non modal codes have effect only on the lines on which they occur For example G4 dwell is non modal 04 December 2015 Release 4 02 116 EDINGCNC Manual 3 5 MODAL 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 are Shown in Table 3 3 Table 3 3 Modal Groups The modal groups for G codes are group 1 GO G1 G2 G3 G38 2 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 motion group 2 G17 G18 G19 plane selection group 3 G90 G91 distance mode group 5 G93 G94 feed rate mode group 6 G20 G21 units group 7 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 G59 3 coordinate system selection group 13 G61 G61 1 G64 path control mode group 14 G68 G69 XY plane rotation The modal groups for M codes are group 4 MO
123. e inputs becomes 1 we want a smooth stop So compare bits are 1 Action is 3 ESTOP card_1_rule_3_text Water pressure low card_1_ rule _3_inputParticipantBits 2 card_1_rule_3_inputCompareBits 2 card_1_rule_3_action 3 What also can be specified is the name of the IO in or output for the GUI It is also done directly in the cnc ini GPIO_NAMES gp_output_101_name Oil pump on gp_output_102_ name Water pump on gp_output_103_name Touch Probe down gp_output_104 name Touch Probe up gp_output_105_ name Vacuum 1 gp_output_106_ name Vacuum 2 gp_output_107_name Vacuum 3 gp_output_108 name Vacuum 4 gp_input_101_ name Vacuum pressure low gp_input_102 name No water pressure gp_input_103_ name gp_input_104 name Oil pressure 1 low 04 December 2015 Release 4 02 193 EDINGCNC gp_input_105_name gp_input_106_name gp_input_107_name gp_input_108_name These are the 10 s for card 1 the 10 s for card 2 have numbers 201 etc instead of 101 card 3 has numbers 301 etc If a name is not filled in the GUI will show the number 04 December 2015 Oil pressure 2 low Release 4 02 Manual 194 EDINGCNC Manual 5 6 HARDWARE INSTALLATION TIPS Building a reliable CNC system is not just making the right connections EMC plays an important role here We have several components that generate a lot of EMC noise the drivers the power supplies if they are switched mode
124. e movement is started when the spindle pulse passes 6 Before the treading starts the spindle rate is measured averaged and the feed is calculated from this Not that the inside and outside thread diameter are determined by the start position the position before G76 and the I K parameters 3 6 19 Cancel Modal Motion G80 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 O G code is programmed which uses axis words 3 6 20 Canned Cycles G81 to 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 and 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
125. e moves to safe height The dialog is shown enter tool dimensions tool number J 5016 approx toollength 0 5017 tool diameter 0 5018 for tool number The machine moves to the correct X Y tool length and diameter The machine moves 10 mm above the tool setter So make sure the approx tool length above is OK The machine does the move towards the tool setter Then calculates and stores the values Then machine moves Z to safe height Tool Length measurement Complete 04 December 2015 Release 4 02 103 EDINGCNC Manual Sub calibrate_tool_setter warnmsg close MDI check correct calibration tool nr 99 data in tool table warnmsg jog to toolchange safe height when done press RUN 4996 5073 Store toolchange safe height machine coordinates warnmsg insert calibrationtool 99 length 5499 jog just above tool setter when done press RUN store x y in non volatile parameters 4000 4999 4997 5071 machine pos X 4998 5072 machine pos Y Determine minimum toochuck height and store into 4999 g38 2 g91 z 20 f30 4999 5053 5499 probepos Z calibration tool length toolchuck height g90 gO g53 z 4996 msg calibration done safe height 4996 X 4997 Y 4998 Chuck height 4999 endSub sub m_tool Check if toolsetter is calibrated if 4996 0 and 4997 0 and 4998 0 and 4999 0 errmsg calibrate toolsetter first open mdi enter gosub calibrate_tool_setter else
126. e offsets from the current location in the X and Y directions respectively of the center of the circle I and J are optional except that at least one of the two must be used It is an error if e IandJ are both omitted When the XZ plane is selected program G2 X Y Z A I K or use G3 instead of G2 The axis words are all optional except that at least one of X and Z must be used I and K are the offsets from the current location in the X and Z directions respectively of the center of the circle I and K are optional except that at least one of the two must be used It is an error if e Iand K 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 Jand K are both omitted Here is an example of a center format command to mill an arc G17 G2 x10 y16 3 j4 z9 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 X 10 Y 16 and Z 9 with its center offset in the X direction by 3 units from the current X location and offset in the Y direction by 4 units from the current Y loca
127. e take to bottom of the bed at Z 0 mm This position x 250 Y 150 Z 0 is entered in the Home Position values in the set up screen this need to be done once Using the arrow keys jog the X Y axes to the marked position on the bed and move the Z completely up to the surface of the machine When the machine is at the position press the Home button in the Home submenu F2 F7 for X C Be sure that you have set the home velocities of the axes to zero otherwise the axes will start to move Now click the buttons X Y Z and A if you have an A axis That is all the axes are now homed and the software now knows the machine position As a side effect now also the software limit switches are enabled which protect you from jogging further than the machine can go Also the Software limit guard is on that will stop a running program when going beyond the limits 04 December 2015 Release 4 02 90 EDINGCNC Manual You may also have noticed that the position mode is set to machine this is because homing directly affects the machine coordinate system From this point the machine coordinate system is not changed any more it stays as is HINT Move your machine always back to the home position if you are done with the machine You don t have to move manually to this point next time when you switch back on the machine You can do a fast move in machine coordinates like this g53 gO x0 yO 20 or first undo the preset preset dialog undo preset
128. ed on the same line as tool motion cutter compensation will be turned on or off before the motion is made To make the motion come first the motion must be programmed on a separate previous line of code 5 2 4 Use of D Number Programming a D word with G41 or G42 is optional If a D number is programmed it must be a non negative integer It represents the slot number of the tool whose radius half the diameter given in the tool table will be used or it may be zero which is not a slot number If it is zero the value of the radius will also be zero Any slot in the tool table may be selected The D number does not have to be the same as the slot number of the tool in the spindle although it is rarely useful for it not to be If a D number is not programmed the slot number of the tool in the spindle will be used as the D number 5 2 5 Material Edge Contour When the contour is the edge of the material the outline of the edge is described in the NC program 04 December 2015 Release 4 02 181 EDINGCNC Manual For a material edge contour the value for the diameter in the tool table is the actual value of the diameter of the tool The value in the table must be positive The NC code for a material edge contour is the same regardless of the actual or intended diameter of the tool 5 2 6 Programming Entry Moves In general two pre entry moves and one entry move are needed to begin compensation correctly However if there is
129. eececeuecceseuecessuecessucessegecesseaesetees 159 3 7 12 M Function override and user M fUNCTIONS ccccssesecccceesscccccaessececcaeeseceeseeseseesseaaeeessuaeeeeeees 159 38 HOLMER INDUL Codes no e 161 3 8 1 SEU Feed O O E fe a E ee ie 161 3 02 A NS A RP te rene En PRD eee ROR oi NE a ONC Mr tay a re Rete nr ee 161 3 0 0 Selec A A e O e UE audiaeatedaaveacsiasannieddasiaieuiiseat a 161 3 9 Order OF EXC CUTON iii aaa 162 4 Language extensions inicia ii ii is 163 AL FIOWCONTO crie RE dois 164 4 2 supported operations On expressiOnS sessescesoesossoscescescoescesocsossoscoesoesoesoesoesoesosoeeoe 165 4 2 1 UNA OPENS dd a 165 4 2 2 Dinary OD STATIONS ai lcd 165 4 2 3 A y lt 2 10 1 aera ere er ete oe ona eon Rene ee eee nee cee ee cr eee 166 4 2 4 Special interpreter commands non G Code iii AA A AA 166 ALAL EAS a la 166 A242 TOPS DONNA aos 166 42A DEME AAA a 166 ALTA MOBFNe LOS WISE ita dead 169 AZAS TCAGUAO ONO licita did 169 ADAG NICAGUArda lon lO aran 169 AZAT HomelsEstop OM Oo 169 4 2 4 8 Exec lt external Program gt lt parameter gt lt Timeout IN MS gt occcooccnnnnocnncnnncnnonaronnnnacononnnonos 169 4 3 Macro file and automatic tool CHANGE cccececcccscercccccsceccccccscsceccececsceccececscecescecscecess 170 4 3 1 TOO Chanee EXIME npase 171 4 3 2 USER RESE burma 176 4 4 Run behavior during simulation and render ccececcccscercccccscsccccccccsceccccecsceccccecscecess 177 4 4 1
130. ees The code that performs this is put in a subroutine which can be called as many times as needed in the main program 4 24 Special interpreter commands non G Code Messages Msg Hello there the value of 1 1 and the value of 2 2 4 2 4 1 ERRMSG Same as Msg but this one generates an error 4 2 4 2 STORE POSITION SP lt filename gt 0 or 1 This command stores the actual position in given file name The extra parameter O means create the file 1 means add to existing file If only file name is given the position is added to existing file 4 2 4 3 DLGMSG Gives a dialog message for an interactive g code program 04 December 2015 Release 4 02 166 EDINGCNC Manual DIgMsg lt dialog message gt lt pariName gt lt pariParNumber gt lt parl12Name gt lt par12ParNumber gt Example DIgMsg Give parameters pari 100 par2 101 The dialog woll have an OK and a Cancel button When the user selects OK variable 5398 is set to 1 and the program automatically continues When the user selects CANCEL variable 5398 is set to 1 program continues Just try and you will see what this is about if lt dialog message gt png picture exist it will be show During render mode when the program is loaded and parsed to show in the graphics the dialogs will not appear logically in that case 5398 is set to 1 indicating OK So you must give your variables a good predefined value that works You can also use if 5
131. elease 4 02 198
132. er The application may be launched by selecting the installed Icons Click Finish to exit Setup Install USB drivers View the ReleaseNotes txt file After installation reboot the PC when it is rebooted connect the CPU after 10 60 seconds you will see that windows has found an EDINGCNC COM port if you are using and USB based CPU board You can check that the USB driver is correctly installed in windows device manager press Windows start button gt my computer click with right mouse button and select properties Select Device Manager 04 December 2015 Release 4 02 14 EDINGCNG x ao EN d AT File Action View Help 9 m u mle a y USBCNC PC gt 1 Computer gt y Disk drives gt AE Display adapters gt 3 DVD CD ROM drives gt 5 Human Interface Devices gt 4g IDE ATA ATAPI controllers g IEEE 1394 Bus host controllers gt 2 Imaging devices gt ED Keyboards gt JA Mice and other pointing devices gt Monitors gt 4 Network adapters gt EB Portable Devices a 7 Ports COM amp LPT gt UU Processors gt Software Security Token gt Sound video and game controllers gt lt gt Storage controllers gt gill System devices b 4g Universal Image Mounter b gt a Universal Serial Bus controllers If you see this the USB driver is correctly installed The COM17 number may be different on your system 1 4 2 Ethernet For Ethernet you need a free
133. erator can retract the spindle manually Restart the spindle in the direction it was going he 3 6 20 12 G89 CYCLE 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 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 3 6 21 Set Distance Mode G90 and G91 To make the current point have the coordinates you want without motion program G92 X 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 To go into incremental distance mode program G91 In incremental distance mode axis numbers X Y Z A B C usually represent a distance from the current values of the numbers 04 December 2015 Release 4 02 148 EDINGCNC Manual I and J numbers always represent increments regardless of the distance mode 3 6 22 Coordinate System Offsets G92 G92 1 G92 2 G92 3 To make the current point have the coordinates you want without motion program G92 X Y Z A where the axis words contain the axis numbers you want All axis words a
134. every sub menu F2 to home menu F3 to zero menu F4 to auto menu F6 manual data input ctrl f6 works always too for MDI F7 machine I O functions for spindle and coolants F8 graphic manipulation functions F9 jog with keyboard or hand wheel mode F10 jog pad for jogging by mouse or touch screen F11 user menu 2 2 4 2 HOME MENU 000 ogg Fi F2 F3 F4 F6 EN FS F10 Fil F12 Fi reset F2 F7 Home X Home C F8 Home all axes F10 go to g28 park position F11 go to g30 park position e F12 return to main menu For homing setup see homing and coordinate systems chapter 2 2 4 3 ZERO MENU RESET de oe 4 Zero soda Fl F2 F3 F4 F5 F8 F9 F12 F1 Reset F2 F7 zero x zero c F8 zero all F9 measure rotation and apply G68 R F12 back to main menu F9 measure rotation is a feature that makes life easy It automatically corrects your work piece clamp for rotation This means that you no longer have to spend time to setup your clamp material very accurately EDINGCNC will automatically correct for you 2 2 4 4 AUTO MENU A ab A A LOAD REDRAW S FE F2 F3 04 December 2015 Release 4 02 55 7 Single D Y Ny AUTO mistop F BlockDel EDIT GOTO D gt EE S Y sim a oe Y Fast RT Graph FS F6 F7 F9 F10 F11 F12 100 E 630 Fast Render EDINGONC Manual e Fi Reset e F2 Load G Code file e F3 redraw re render whole program through g code interpreter e F4 run pause e F
135. f 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 G73 X Y Z A 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 back out but only with increment Q this is the difference with G83 above 4 Rapid back down to the current hole bottom backed off a bit 5 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 04 December 2015 Release 4 02 145 EDINGCNC Manual It is an error if e the Q number is negative or zero 3 6 20 6 G84 CYCLE The G84 cycle is intended for right hand tapping Program G84 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 per revolution to the Z position So assume the spindle is running M3 S600 Then and F value of F1 will give A feed of 600 minute Feed starts synchronized with spindle pulse allowing to tap the same hole again 3 When Z position reached reverse spindle M4 Waits until spindle ramp up and new measurement of spindle speed 4 Retract the Z axis at the current feed rate to clear Z 3 6 20 7 G74 CYCLE The G74 cycle is intended for left hand tapping Program G74 X Y Z A B C R
136. f you switch on the spindle with M3 the spindle speed will be set to 100 rev minute 60 300 0 0 Pressing control v will give GM Code G80 G17 G40 G21 G90 G94 G54 G49 G99 G64 G96 G69 M5 M9 T1 READY This shows the actual G code and M code status as well as the actual tool number and the machine state READY RUNNING etc control v again gives Tijd ACTUAL 00 TOTAL aaa Here you see the actual running time of a job and also the estimated TOTAL time 2 2 2 Reset Button F1 This button has to be used after starting the software to enable the drives The amplifiers are switched on when pressing the reset button Try this you can feel at the motor shaft if the amplifier is on if you can still turn the motor by hand you probably need to reverse the amplifier enable polarity in the setup But the reset button does more e Enable the amplifier e Recover from Error after you get one e Stop a running program 2 2 3 Escape Button This button pauses the current job execution if running This is just there for convenience not for safety emergency stop For safety use a real E STOP button 04 December 2015 Release 4 02 54 EDINGCNC Manual 2 2 4 The menu s 2 2 4 1 MAIN MENU The Main menu looks like this and has a user selectable logo at the right E e A A RESET gt y M en oc el S gt Eding y RAZA AUTO MDI MACHINE Vv y CNC pen Fi F2 Eas F4 F6 F7 F8 F9 F10 Fil F1 reset this key comes back un
137. ff the tool change area guard This is used during the rendering process where the job file is checked for collisions with the machine area and tool change area 4 2 4 6 MCAGUARD ON OFF Switches on or off the machine area guard no collisions will be given This is used during the rendering process where the job file is checked for collisions with the machine area and tool change area 4 2 4 7 HomelsEstoP ON OFF This allows to control the homelIsEstop feature When on a EStop is generated when one of the home sensors activate 4 2 4 8 EXEC lt EXTERNAL PROGRAM gt lt PARAMETER gt lt TIMEOUT IN Ms gt This allows to execute an external program within the interpreter and wait until finished The return code of the program is returned in 5399 Example Exec notepad exe hallo txt 60000 This executes notepad exe and waits 1 minute for it to finish An error is generated if it does not finish within given time The maximum time is 10 minutes 04 December 2015 Release 4 02 169 EDINGCNC Manual 4 3 MACRO FILE AND AUTOMATIC TOOL CHANGE Whenever a G Code file is loaded also the file macro cnc is loaded In this file you may put your frequently used subroutines these can be invoked by the G Code file through GOSUB subroutineName The file contains default one special subroutine called change_tool this function is called automatically when a M6 Tx command Tool change is encountered in the G
138. fic Light Auxin3 v watchFileChanged Camera On j v AuxIn4 V y OpenGL Graphics V Red NONE saab F load automatically 7 Camera Flip openGLMaxLimes 1000 Yellow NONE v Auxin v run automatically Camera mirror openGl PenSize 50 00 Green NONE v 10 18 02 Info Kin version TRIVIAL BUILD IN 1 0 a 10 18 02 Info CPU State SIMULATION 10 18 02 Action New configuration file created 10 18 02 Info Welcome you can move the axes by arrow keys 4 mI p 2 1 12 UI setup items Invert JogKeys Inverts the movement of the keyboard keys for moving bed machines the bed moves in the direction you press the arrow IsTurningMachine Check if your machine is a Lathe this effects mainly the 3D display which shows the X Z plane for turning Also the jog keys operate differently Futher the working plane is set to G18 X Z ShowStartupScreen When checked the startup screen is shown when EDINGCNC starts HomingMandatory When checked running a job and mdi is not allowed before the machine is homed Also the jog speed is limited to 5 speed This feature prevents damage to your machine because when the machine isn t homed the limit guards are not working So I advise to leave this item checked always SimpleZeroing If checked the zero buttons beside the position display will simply set the work position to zero If this item is not checked a dialog will be shown in which you can set the position Default it sho
139. fixed on the machine In this case the probe tip will have an offset For this you can use the M90 M97 function With this it is possible to select an offset for Spindle 1 M90 Spindle 2 M91 spindle 3 M92 probe M95 or camera M97 The offset can be calibrated as follows il Se 04 December 2015 Take care that M90 is active 1 spindle if not execute m90 in MDI Mark a point on your machine bed and accurately move the tool tip to this point Zero the axes X Y Z at this position Now move the probe tip exactly to this position Execute in MDI M95 Q1 Release 4 02 47 EDINGCNC Manual 2 1 20 Camera Setup Cameralndex Use O if you have only one camera use 1 if you have 2 Cameras and want to use the 2 one CameraOn Select Camera if used CameraFlip Flip image vertically Camera mirror Mirror camera image horizontally Rotation Rotate Camera image Degrees Camera offset calibration if you have mounted the camera on the machine the camera will show a different position as the position of the tool tip The difference is Camera offset The steps to calibrate this offset are 1 co 04 December 2015 Take care that M90 is active 1 spindle if not execute m90 in MDI Mark a point on your machine bed and accurately move the tool tip to this point Tip drill hole at that point Zero the axes X Y Z at this position Now move the camera exactly to this position Execute in
140. foTime 0 25 seconds This means that the FIFO can hold 50 motion segments Why are these parameters adjustable 1 For some applications it is desirable to have a lower interpolation time e g if you have a machine with very high acceleration a lower InterpolationTime may give smoother acceleration The minimum interpolation time is 0 0025 second 2 For some applications it is desirable to have lower FifoTime e g Plasma THC it will give more dynamic to the THC control if the FifoTime is lower Release 4 02 34 EDINGCNC 04 December 2015 Manual FIFO UNDERRUN ERROR If this happens then this indicates that the PC is too slow to keep the FIFO full Possible causes are e PC too slow o The processor is too slow recommended minimum is 1 3 GHz duo core processor 2G RAM for 32bit Windows 4G RAM for 64 bit Windows If you execute large 3D g code files gt 10 Million lines 4G RAM or more is recommended o Too little memory in the PC can be checked in task manager there must always be Physical memory available if the system starts swapping to disk because the memory is all used changes on FIFO UNDERRUN is high o PC has switched to energy saving mode and has become slow So always adjust the energy saving settings such that there is maximum performance always o Because you suddenly get an automatic Windows Update so always switch off automatic Update and perform updates manually when you want o Because vi
141. gO g53 z 4996 move to safe z dlgmsg enter tool dimensions tool number 5016 approx tool length 5017 tool diameter 5018 if 5398 1 user pressed OK if 5016 lt 1 OR 5016 gt 15 ErrMsg Tool must be in range of O 15 endif move to toolsetter coordinates g00 g53 x 4997 y 4998 move to 10mm above chuck height approx tool length 10 g00 g53 z 4999 10 5017 measure tool length and pull 5mm back up g38 2 991 z 20 f30 g90 back to safe height gO g53 z 4996 Store tool length diameter in tool table 5400 5016 5053 4999 5500 5016 5018 F 5600 5016 O Tool X offset is O msg tool length measured 5400 5016 stored at tool 5016 endif endif endsub 04 December 2015 Release 4 02 104 3 Input the RS274 NGC Language This chapter describes the input language RS274 NGC 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 X3 is a valid line of code with two words G1 is a command meaning move in a straight line at the
142. ge Move to start position will move X and Y to the first measured position there where the compensation is zero Save measurement Will open a file save dialog and allows to save the mesurement data Load measurement Shows a file open dialog to load existing measurement data Check measurement Wil show some statics of the measured data the max and minimum correction values and at which place they are ZheightComp ON Wil switch the compensation ON OFF It will be shown in the position read out the compensation value is shown above the normal work position of Z Now you can do normal XY engraving and while the Z is compensated using the measurement values 04 December 2015 Release 4 02 72 EDINGCNC 04 December 2015 Release 4 02 Manual 73 EDINGCNC Manual Starting the measurement Interpreter Dialog mesm gridmeas nx 4100 o PA grid size maxz 40 4102 minz 10 4103 ny gridsize 1 4104 o le o o o feed 100 4105 o o D o o o o o o o b o o o o a NX You specify the number of measurement in X and Y The height to which the probe should move to when going to the next point The minimum Z value to which the probe should move to during the measurement G38 2 The size of the grid distance between the measuring points And the feed for the down movement during G38 2 All other moves use GO for highest speed The measurement starts
143. h are not explicit numbers as just shown in the examples is rarely useful If L is written in a prototype the will often be referred to as the L number Similarly the in H may be called the H number and so on for any other letter 3 6 1 Rapid Linear Motion GO For rapid linear motion program GO X Y Z A 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 All axis words are omitted If cutter radius compensation is active the motion will differ from the above see Appendix A If G53 is programmed on the same line the motion will also differ 04 December 2015 Release 4 02 119 EDINGCNC Manual Table 3 4 G Codes G Code Meaning GO G57 G58 G59 G59 1 G59 2 G59 3 G61 G61 1 G64 G68 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G90 G91 G92 G92 1 rapid positioning linear interpolation circular helical interpolation clockwise circular helical interpolation counterclockwise dwell coordinate system origin setting XY plane selection XZ plane selection YZ plane selection inch system selection millimeter system selection move to park
144. her 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 retract 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_Z or otherwise to the R position See Section 3 6 20 It is an error if e X Y and Z words are all missing during a canned cycle a P number is required and a negative P number is used an L number is used that does not evaluate to a positive integer rotational axis motion is used during a canned cycle inverse time feed rate is active during a canned cycle 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 Z number is missing and the same canned cycle was not already active e the R number is less than the 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
145. hine you can press Reset F1 this enables your drives Then you are asked to home the axes 04 December 2015 Release 4 02 EDINGCNC Manual Drives enabled please HOME the Machine When you see this you can use the home menu or the button besides the Feed Speed readout Buttons you need often like this one is always nearby Homing is very important after homing the position inside the software does match with the physical machine So only then the software will allow movements correctly and a aa before the limits of the machine without collision against the machine limits Home can be done individually or in a sequence for all axes using these buttons a CNC V4 02 28A CPU5SA 4D 1 11 E C Program Files x86 CNC4 02 macro cnce a Operate Coordinates Program Tools_ Variables 10 Service uti_ Setup Help _ Feed Speed GM Code Time EStop m 0 60 100 IOGuard mi 0 O 100 Probe E G17 G40 G21 G90 GM G54 G43 G99 G64P0 1 G97 G50 GO T1 Home x Ej Home y H 0000482 sub user_reset Home z F 0000483 msg Ready for operation Home a 0000484 endsub 0000485 user macro 0000486 Ces 0000488 msg hi from user macro 0000489 endsub Size X2000000 000 Y2000000 000 Z2000000 000 10 16 22 Info G92X0 0000 o al 10 16 23 Info G92Y0 0000 10 16 25 Info G92Z0 0000 10 16 28 Info Size X2000000 000 Y2000000 000 220000
146. iendly In the middle we see the graphics showing the tool path Blue Red when loaded and rendered Yellow Green when actually running So it shows the tool path real time At the left side there are buttons for common used IO e Spindle on off Flood Mist Coolant on off and AUX on off e g for the machine light MACHINE ON Button Below Home C led This one has a few colors with different meaning Grey means machine is off drives switched off Yellow Flash amplifiers must be enabled homing must be performed Yellow waiting for operator action Green machine running Red error or estop Flash when E Stop still active O O O O The right part of the screen shows the axes positions when homing you use the machine coordinates and for all other operations the work coordinates 04 December 2015 Release 4 02 53 EDINGCNC Manual The buttons beside the axes positions are for zeroing the work position on the background a G92 command is executed to perform this The zero buttons can also be found in the zero submenu especially for people who do not like using the mouse at the machine below the machine positions we see the general status window You can select FS Feed Speed GMT G Code M Code Tool and T time estimation for running job There is a shortcut key ctrl v to change the selection here Feed Speed You see the actual value set value and percentage If you do a Gl in this example the feed will be 60 I
147. ill understand the meaning of this window after reading the G Code interpreter functions and extended programming with variables E CNC V4 02 28A CPUSA 4D 1 11 E C Program Files x86 CNC4 02 macro cne o N CO x m es a Operate Coordinates Program Tools Variables 19 Service Uti Setup Help Probe Trigger Position Tool Coordinate system offset G92 Offset G28 Home G30 Home Probe 0 5067 1 G54 G10L2P1 v Probe 1 5068 x 0 000 5001 1 5008 ac x 0 000 5221 x 0 000 5217 x 0 000 5161 x 50 000 5181 0 000 eck y 0 000 5002 R 0 500 5009 1 5220 Y 9 000 5222 Y 0 000 5212 Y 0 000 5162 Y 110 000 5182 0 000 5062 2 10 000 5003 L 10 000 5010 z 0 000 5223 z 0 000 5213 z 0 000 5163 z 0 000 5183 z 0 000 5063 A 0 000 5004 i A 0 000 5224 A 0 000 5214 A 0 000 5164 A 0 000 5184 A 0 000 5064 G68 Rotation B 0 000 5005 B 9 000 5225 B 0 000 5215 B 0 000 5165 B 9 000 5185 c 90 000 5006 c 0 000 5226 C 90 000 5216 c 0 000 5166 C 90 000 5186 c 9 000 5066 Set to current Set to current Set to current lt a ae Show Machine Status Run Load File With no Rendering for debugging 0 Variable watch 1 2 3 4 5 6 7 8 9 Watch 0 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 Wath 10 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 Watch 4000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 0 000 Watch 5390 0 000 0 000 0 000 0 000 24000 00 24000 00 24000 00 0 000 0 000 0
148. inable M Functions and re definable M functions added you can me your own M3 with this EDINGCNG Bi O i 4 02 12 28 03 2015 ____ 4 02 14 30 03 2015 4 02 19 16 05 2015 4 02 20 20 05 2015 Manual New shortcuts to navigate directly to the F Key menu s see keyboards shortcuts table 4 02 25 02 07 2015 Minor text corrections 4 02 26 08 07 2015 A 4 02 27 13 07 2015 IN 4 02 28 04 09 2015 NN 4 02 33 17 10 2015 E 4 02 37 1 12 2015 Small text improvements Copyright Eding CNC Holding B V Added variables to contain G68 rotation and G51 scaling see system parameters variables table Tool Wear changed to Delta so ZDelta and XDelta This is conform Siemens CNC Note that the signa of Delta is the opposite from Wear ZDelta negative will mill deeper as ZDelta O So a negative number indicates the tool Length is shorter Home tandem textual update Screens that show green Home LEDs updated home LEDs are only YELLOW Added section in chapter Run behavior during simulation and render that explains how to make macro cnc code work correctly in simulation and render mode All rights reserved Reproduction in whole or in part prohibited without the prior written consent of the copyright owner 04 December 2015 Release 4 02 EDINGCNC ACKNOWLEDGEMENTS The G Code part of this user manual has been derived from the full report of the RS274 NGC language Parts that are less relev
149. indle configuration you can set the axis offsets with respect to the ind spindle Note that the 4 and 4 spindle configuration is used for a touch probe and camera Example system 1 Spindle 2 tan knife and possible 3 oscillating tan knife 4 Touch probe 5 Camera Because this function is used only by a few customers it is left out of the setup in the GUI The settings have to be added manually in the cnc ini settings file SPINDLE_0 spindleRampUpTime 1 00 spindleNmax 24000 00 spindleNmin 1000 00 spindleUseRPMSensor O onOffOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 directionOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 2 MIST COOLANT Output pwmOutputPortID 1 0 Standard PWM output 1 3 PWM1 PWM3 Output SPINDLE_1 spindleRampUpTime 1 00 spindleNmax 24000 00 spindleNmin 1000 00 spindleUseRPMSensor O onOffOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 directionOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 2 MIST COOLANT Output pwmOutputPortID 1 0 Standard PWM output 1 3 PWM1 PWM3 Output xOffset 0 0000 yOffset 0 0000 zOffset 0 0000 SPINDLE_2 spindleRampUpTime 1 00 spindleNmax 24000 00 spindleNmin 1000 00 spindleUseRPMSensor O onOffOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 directionOutputPortID O 0 Standard tool output 1 9 AUX1 AUX9 2 MIST COOLANT Output pwmOutputPortID 1 0 Standard
150. information Windows Firewall Click on the adapter with no network access here LAN verbinding 4 here the text in your PC may be different 04 December 2015 Release 4 02 16 EDINGCNG PE an verbinding 4 Stas A IPv4 Connectivity IPv6 Connectivity Media State Duration Speed No network access No network access Enabled 1 day 00 44 33 100 0 Mbps 2 Intel R PRO 100 PCl adapter This connection uses the following items C Ok Client for Microsoft Networks C 2005 Packet Scheduler O i File and Printer Sharing for Microsoft Networks C 4 Intemet Protocol Version 6 TCP IPv6 al A C 4 Link Layer Topology Discovery Mapper 1 0 Driver C Link Layer Topology Discovery Responder Uninstall Description Transmission Control Protocol Intemet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Switch on only TCP IP V4 and 04 December 2015 uncheck the rest Release 4 02 Manual 17 EDINGCNG Now press properties of the TCP IP settings Internet Protocol Version 4 T CPARNS Properties General Manual A PB You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IP address ERE ZZ 2 101 Subne
151. ins In Cabinet E a AAA AAA AAA 1 t 1 t t 1 i MAINS FILTER t t U TL LL mese aan i Drive i t t t 1 t t 1 MOTOR POWER t A Keep Step Dir Enable se Near Cabinet CPU POWER Edge SOL O STATE RELAY SPI DLE ENS SENSOR POWER I gt gt Steel or ALU Cabinet KS A s N m 710 0 0 Of b oo dm ld 0 6 Om mm amma 9 6 dim e e e mm manna 0 6 ome 6 O Oj a 1d O Ob Motor Connectors Spindle 23 U Home Sensors USB or ETHERNET Here a picture of my own system it contains various EMC problem makers like 2 Switched mode power supplies and a frequency inverter for a HF spindle Check the routing of the Motor and drive supply wires Also there a 4 stepper motor drives working at 75 Volt motor currents 4 2 Amp 04 December 2015 Release 4 02 196 EDINGCNC Manual 04 December 2015 Release 4 02 197 EDINGCNC Manual 5 7 REFERENCES Albus Allen Bradley EIA Fanuc Kramerl Kramer2 Kramers Kramer4 K amp T NCMS Proctor 04 December 2015 Albus James S et al NIST Support to the Next Generation Controller Program 1991 Final Technical Report NISTIR 4888 National Institute of Standards and Technology Gaithersburg MD July 1992 Allen Bradley RS274 NGC for the Low End Controller First Draft Allen Bradley August 1992 Electronic Industries Association EIA Standard EIA 274 D Inte
152. ion table when you switch on the compensation and the compensation table does not exist one is created as example for you it is only an example to show the syntax You need to adopt it for your machine This is an example of a correction table Pitch correction table for axis X This table contains 6 correction points machine position calibrated Position 0 0000 0 0000 50 0000 50 01000 200 0000 200 02000 300 0000 300 03000 400 0000 400 04000 500 0000 500 05000 The left value is the position of the machine The right value is the calibrated position that you have obtained by measuring it You can make the compensation value visible by checking Show in DRO on the coordinates window You will see this in the DRO O 010 3 074 The small number above the position shows the actual compensation value 04 December 2015 Release 4 02 77 EDINGCNC Manual 2 4 SPEED PWM COMPENSATION The speed for a spindle is controlled by the PWM output The PWM is converted to an analogue signal which is fed to the VFD Variable frequency drive There are often non linearity s involved This cause that the programmed speed and the real speed does not match correctly This software feature allows to compensate this The compensation can be switched on by manually editing the cnc ini file contains all settings Under each spindle settings SPINDLE_0 is the first usually your main spindle M90 axis you find 2 settings
153. ional axes turn at a constant rate so that the rotational motion starts and finishes when the XYZ motion starts and finishes Lines of this sort are hardly ever programmed If cutter radius compensation is active the motion will differ from what is described here See Appendix A 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 3 6 3 1 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 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 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
154. ions There is one additional problem while running CNC programs some programs consists of short line pieces When the line pieces connect tangentially are in line then LAF will accelerate through over the lines reaching the maximum allowed speed Without LAF the speed would not be reached 04 December 2015 Release 4 02 137 The angle to which LAF considers the segments in line is a setup parameter The theoretical ideal value would be very small so that no acceleration value occurs More practical values are in the range of 1 to 4 degrees the experience learns that most machines can handle acceleration spikes up to a certain limit The value can be set up to 180 degrees in this case you must know what you are doing it can be useful during e g foam cutting wing profiles Be aware however that if the curve contains real sharp angles that step pulse loss may be the result when using large minimum LAF angles In practice we have seen that milling times of complex 3D work pieces can be done in 50 of the time compared to competitors who do not have LAF With G64 R the LAF angle can be changed in the g code file see explanation of G64 and G61 04 December 2015 Release 4 02 EDINGCNC Manual 138 EDINGCNC Manual 3 6 17 Coordinate system rotation G68 G68 R X Y R Rotation angle in degrees positive is counter clockwise negative is clockwise X Y Rotation point in current coordinate system 3 6 18 Threading Lathe
155. is reo Switch off guard for tool change area collision OACI Switch off spindle m5 Use 5015 to indicate succesfull toolchange 5015 0 Tool change not performed if 5011 5008 msg Tool already in spindle endif check tool in spindle and exit sub EE s0ll lt gt 5008 oO gt 6 1 7 Olle cool changer Supports 6 cooles 1 6 errmsg Please select a tool from 1 to 6 else Drop current tool If 5008 0 Cosub DropTool0 endif If 5008 1 COSub Drop lo o ll endif If 5008 2 GOSUL Dejalo dL endif If 5008 3 Ea sul Diao jp Roots endif If 5008 4 GoSub DropTool4 endif If 5008 5 Gosub Droplools endif 04 December 2015 Release 4 02 171 EDINGCNG If 5008 6 COS ubico le ome endif PLE new tool if 5011 0 GoSub PickTool0 endif ie F501 1 Gosub PuckTook endif if 5011 2 GoSub PickTool2 endif if 5011 3 GoSub PickTool3 endif if 5011 4 GoSub PickTool4 endif if 5011 5 Gosub Prekrooiss endif if 5011 6 GoSub PickTool6 endif endif endif ic 75015 1 msg Tool 5008 Replaced by tool 5011 Tool length compensation G43 switched on mot 5011 LIE else errmsg tool change failed endif Switch on guara 75011 lt gt 0 G43 Use tool length compensation endif TCAGuard on EndSub 04 December 2015 for tool change area colli
156. les 10 3DPrinter Service Setup Help WP Cooler FAN Extruder 730 4 m 50 0 HE Feed Speed GM Code Time O 100 100 S 0 0 100 G17 G40 G21 G90 GM G54 G49 G99 G64P0 1 G97 G50 GO TO 3 This is file macro cnc version 3 It is automatically loaded Customize this file yourself ii home complete 3 It contains subroutine change_tool this EStop Ml 13 14 52 Home intacodecmd cpp 980 Info 3 Home A A subroutine home_x home_z 13 14 52 Home intgcodecmd cpp 980 Info 3 Home B subroutine home_all called y 3 0 Probe Mi 13 14 52 Home intgcodecmd cpp 980 Info Home C 3 subroutine user_1 user_11 13 14 52 Msg intdefcmd cpp 33 Info user_1 contains an example ol home complet 4 114 lt L 486 gt gt gt Single AAA p z Ny AUTO BlockDel RESET gt e lt D D ES F Ui Bo 6 Si M Load Miarcoraw Il START EDIT GOTO p OO 7 rcF F3 F4 FS F6 F7 F9 F10 F11 Fa 00 EE G28 Fast RT Graph Fi F2 G30 Fast Rendering On the left side you see controls for the 3D printer WP Cooler fan Controls the speed of the cooler fan that is cooling the work piece For Extruder and Bed temperature you see the temperature setting and the actual temperature The temperature setting can be modified on the fly 04 December 2015 Release 4 02 user_2 contains an example ol 95 EDI
157. low control commands in a job IF x ELSE ENDIF constructs to define x dependent execution WHILE x ENDWHILE constructs to define x dependent repeated execution SUB lt name gt ENDSUB constructs to define a subroutine GOSUB lt name gt construct to call a subroutine 04 December 2015 Release 4 02 Manual 164 EDINGCNC 4 2 SUPPORTED OPERATIONS ON EXPRESSIONS 4 2 1 abs acos asin atan y Lx COS exp fix fup int In round sin sqrt tan not 4 2 2 unary operations absolute value arc cosine arc sine arc tangent cosine e raised to round down round integer part natural log of round sine Square root tangent logical not binary operations divided by modulo power times logic and logic exclusive or minus logic nonexclusive or plus greater then greater than or equal less then less than or equal is equal not equal bitwise and bitwise exclusive or bitwise nonexclusive or shift left shift right See also B 2 for examples on expressions 04 December 2015 Release 4 02 Manual 165 EDINGCNC Manual 4 2 3 An example sub do_circle_holes 1 0 gO z1 x0 yO while 1 lt gt 360 2 10 sin 1 3 10 cos 1 gO x 3 y 2 gl z 1 gl zl 1 1 30 if 1 360 msg Done else msg processing at angle 1 endif endwhile endsub gosub do_circle_holes m30 This example drills holes at a circle with a radius of 10 each 30 degr
158. msg Ready for operation 0000484 endsub 0 0000 0 0000 0 0000 0000485 user macro 0000486 VULNERAR 7 lt gt Save Changes 0000488 msg hi from user macro 0000489 endsub 10 16 22 Info G92 X0 0000 10 16 23 Info G92 Y0 0000 10 16 25 Info G92 20 0000 10 16 28 Info Size X2000000 000 Y2000000 000 Z2000000 000 Hi p j D 0 N 0 4 In this view you can define 99 tools with a Z Offset length ZDelta Delta due to Wear in Z length diameter and description The tool information is used when you use the tool radius and or tool length compensation functions of the G Code interpreter commands G40 G43 See chapter 3 6 and further 04 December 2015 Release 4 02 83 EDINGCNC Manual 2 6 2 Turning a CNC V4 02 28A CPU5A 4D 1 11 E CAProgram Files x86 CNC4 02 macro cne N EA xX Operate Coordinates Program Tools Variables 10 Service Util Setup Help Machine Work Diameter Orientation Description 0 0 0000 0 0000 0 0000 0 0000 0 0000 2 NOTOOL 1 10 0000 0 0000 0 0000 0 0000 1 0000 9 Tool number 1 2 0 0000 0 0000 0 0000 0 0000 2 0000 9 Tool number 2 4 0 0000 0 0000 0 0000 0 0000 4 0000 9 Tool number 4 5 0 0000 0 0000 0 0000 0 0000 5 0000 9 Tool number 5 6 0 0000 0 0000 0 0000 0 0000 6 0000 9 Tool number 6 e 7 0 0000 0 0000 0 0000 0 0000 7 0000 9 Tool number 7 a 0 0000 0 0000 0 0000 0 0000 8 0000 9 Tool number 8 Feed S
159. n The Interpreter world model keeps three data items for cutter radius compensation the setting itself right left or off program_x and program_y The last two represent the X and Y positions which are given in the NC code while compensation is on When compensation is off these both are set to a very small number 10 20 whose symbolic value is unknown The Interpreter world model uses the data items current_x and current_y to represent the position of the center of the tool tip in the currently active coordinate system at all times 04 December 2015 Release 4 02 180 EDINGCNG Manual 5 2 PROGRAMMING INSTRUCTIONS 5 2 1 Turning Cutter Radius Compensation On To start cutter radius compensation keeping the tool to the left of the contour program G41 D The D word is optional see Use of D Number just below To start cutter radius compensation keeping the tool to the right of the contour program G42 D In Figure A 1 for example if G41 were programmed the tool would move clockwise around the triangle so that the tool is always to the left of the triangle when facing in the direction of travel If G42 were programmed the tool would stay right of the triangle and move counter clockwise around the triangle 5 2 2 Turning Cutter Radius Compensation Off To stop cutter radius compensation program G40 It is OK to turn compensation off when it is already off 5 2 3 Sequencing If G40 G41 or G42 is programm
160. n 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 enough if it is within 0 0001 of an integer 3 4 2 2 PARAMETER VALUE 04 December 2015 Release 4 02 EDINGCNC Manual 113 EDINGCNC Manual 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 The character takes precedence over other operations so that for example 1 2 means the 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 3 The character may be repeated for example 2 means the
161. nd 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 first 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 3 4 2 4 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 04 December 2015 Release 4 02 114 EDINGCNC Manual 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 2
162. ne called user_reset can be added to macro cnc This allows to perform extra reset actions e g set reset IO using M54 M55 Example of user reset this one toggles AUX1 for resetting servo drives Remove comments if you want additional reset actions when reset button was pressed in UI cello user reset m54 pl g4 p0 1 mSS P1 msg Ready for operation endsub 04 December 2015 Release 4 02 176 EDINGCNC Manual 4 4 RUN BEHAVIOR DURING SIMULATION AND RENDER Simulation is the software mode when there is no hardware connected Render is performed during loading of a g code file the file is run by the interpreter while generating output for the graphic During this no actions to the machine are applied no motion and no IO only checks if the g code is valid and stay s within the machine limits If there is advanced macro programming e g because the machine has automatic tool change there it is important to take into account that in simulation and render mode no machine actions take place 4 4 1 Example a check with error that we want to see always Suppose we have a machine with a 6 tool automatic tool changer A check is programmed hat generates an error if a g code file is loaded that tries to change tool to a number that we do not have rl ErrMsg Please select a tool in range 1 6 Else Code to perform the tool change ENCA E It is logic that we want this ErrMsg line to be executed always when running b
163. ned cycles dwell time with G4 key used with G10 04 December 2015 Release 4 02 112 7 i L A f lt i Letter Meaning Q feed increment in G83 canned cycle SSCSC CS S S R arc radius clear_z distance in canned oyde Y axis of machine Z axis of machine A axis of machine B axis of machine C axis of machine 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 number evaluates to itself 3 4 2 1 NUMBER The following rules are used for explicit numbers In these rules a digit is a single character between 0 and 9 e A number consists of 1 an optional plus or minus sign followed by 2 zero to many digits followed possibly by 3 one decimal point followed by 4 zero to many digits provided that there is at least one digit somewhere in the number e There are two kinds of numbers integers and decimals An integer does not have a decimal point in it a decimal does e 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 e A non zero number with no sig
164. nnnnnonccnnonoconnonocononanonnonaronnnnaronananonnnns 149 3 6 23 Set Feed Rate Mode 693 694 695 a ido 150 3 6 24 Spindle Control Mode G96 G97 eseseesesseseesereressrresrrresrrressreessreessreessreessreossreessreesseeessreesseeesse 150 3 6 25 Set Canned Cycle Return Level G98 and G99 cccccsssssccsonesecccssscncnssscccussescussscnensssceeusresees 150 3 7 Input M COGCS eiii iii AAA di 151 SAL Program Stopping and Ending MO M1 M2 M30 M6O occcoccccnnccncnccncnccncnncononcononcononaccnnnnononos 152 3 7 2 Spindle Head Control M3 M4 M5 M90 M97 cccccccccccccscssseeesssececeeceeccsssseseeseueeeeseseeeeseeeeess 152 i a Pe TOO Cham Gers G agea A A on Ouiwedweauiaceieduavedest 154 3 7 4 Coolant Controls MZ MS Mc ciedad 155 Jia Feed Speed Override Control M48 M53 occccoccnnonoccnccnncnnonaconnonacononononnnnnconnonarononanonnonaronnonanons 156 04 December 2015 Release 4 02 EDINGCNC Manual 3 7 0 ONNE O A ar me ter ee enon arn ae re 156 G A OF Standard CNC IO M3 M9 M80 M87 ccccccssssssseccccecceeeseeccceeeeeeeseeccceeseeuenseeceeeeeeeaaneeeeeeeeeas 156 IIB General purpose lO of CPU5B M54 M55 and M56 cooccccnnnccncnnccnnonoconnnnncononanonnonaronnnnncnnonanononos 156 3 79 Aaxisclampine M26 M27 caia AA A A AA a 158 3740 lt TorehnelientcontrolMZ2O M2 Ise conc bsdvaduiacoandcanabadued a E aauarenGsdielwus O 159 3 7 11 M Functions for 3D printing ccccccesscccceseccccesececeseccceececs
165. nter this area You can also not jog in this area or move to this area by MDI If you need to be in this are issue command TCAGuard off To re enable the protection i Z DownToolLength For machine configurations where the tool chuck does not touch the machine bed when the machine is at its lowest Z position Here you specify the tool length of the tool that fits when Z is at its lowest position This information is important for collision guarding 2 1 9 Tangential knife setup TanKnife Angle Tangential Knife is a rotation motor the C Axis around Z Tangential Knife works 04 December 2015 Release 4 02 36 EDINGCNC Manual with normal G1 G2 G3 without tool radius compensation G41 G42 The knife is rotated automatically in the direction of the X Y move This parameter determines the angle which 2 lines Arcs can make without lifting the Z If the angle is greater as this value the Z will move up GO rotate the knife GO then move down again G1 If the angle is lower the rotation will take place without moving Z up TanKnife Z up distance Specifies the distance to lift up Z when detected angle is greater than Tan Knife Angle TanKnife blend angle and blend distance When subsequent lines have an angle with current line which is less than the blend angle and when the subsequent line or arc length is less than specified length the knife is not rotated before the move but during the move For small angles in combination with
166. numbers in place of lt description of number gt NO40 Delete lines NO20 NO30 and NO40 when you do that NO50 GO Z lt Z value of retracted position gt F lt feed rate gt NO60 1001 lt nominal X value of hole center gt NO70 1002 lt nominal Y value of hole center gt NO80 1003 lt some Z value inside the hole gt NO90 1004 lt probe tip radius gt N100 1005 lt nominal hole diameter gt 2 0 1004 N110 GO X 1001 Y 1002 move above nominal hole center N120 GO 241003 move into hole to be cautious substitute G1 for GO here N130 G38 2 X 1001 1005 probe X side of hole N140 1011 5061 save results N150 GO X 1001 Y 1002 back to center of hole N160 G38 2 X 1001 1005 probe X side of hole N170 1021 1011 5061 2 0 find pretty good X value of hole center N180 GO X 1021 Y 1002 back to center of hole N190 G38 2 Y 1002 1005 probe Y side of hole N200 1012 5062 save results N210 GO X 1021 Y 1002 back to center of hole N220 G38 2 Y 1002 1005 probe Y side of hole N230 1022 1012 5062 2 0 find very good Y value of hole center 04 December 2015 Release 4 02 128 EDINGCNC Manual N240 1014 1012 5062 2 1004 find hole diameter in Y direction N250 GO X 1021 Y 1022 back to center of hole N260 G38 2 X 1021 1005 probe X side of hole N270 1031 5061 save results N280 GO X 1021 Y 1022 back to center of hole N290 G38 2 X 1
167. o S S S IS ESOO E Next you specify the compare value if the guard should trigger when an input becomes ON 1 specify a 1 for that input for OFF specify a zero Next the action can be specified 04 December 2015 Release 4 02 192 EDINGCNC Manual 0 nothing 1 warning 2 smooth stop with ramp down 3 quick stop immediately no ramp down this may give position loss This ts how it looks in the cnc ini for 1 rule there are max 8 rules for the RLY8 card GPIO_RULES Give warning message when Oil pressure 1 or 2 is low Input 4 0000 1000 input 5 0001 0000 together 0001 1000 So the value for participant bits is 8 16 24 When one of the inputs becomes 1 we want a warning message So compare bits are also 24 Action is 1 warning card_1_rule_1 text Warning Oil is pressure low card_1 rule 1 inputParticipantBits 24 card_1_rule_ 1 inputCompareBits 24 card_1_rule_1 action 1 Give smooth stop when Vacuum is to low Input 1 0000 0001 So the value for participant bits is 1 When one of the inputs becomes 1 we want a smooth stop So compare bits are 1 Action is 2 smooth stop card_1 rule _2 text Warning Vacuum is pressure low card_1 rule 2 inputParticipantBits 1 card_1_rule_2 inputCompareBits 1 card_1_rule_2 action 2 Give ESTOP when the water pressure is low Input 2 0000 0010 So the value for participant bits is 2 When one of th
168. o Z G92 usir 10 21 44 Info Welcome Press Reset F1 to enable drives 0000022 Start probe move slow 0000023 f30 0000024 g38 2 z 200 E Ca gt gt lt lt lt n E As you can see there are additional parameters for turning X Offset X Delta and Orientation 2 6 3 Tool change A tool change is performed in G Code by M6 Tx where Tx is the new tool number Tool number O means no tool Normally the program is stopped on a tool change with a user message to change the tool pressing run again will continue the program If you don t want the program to stop check AutoToolChange in the automatic menu bar This setting is saved when you press save INI file in the setup screen 2 6 4 Automatic user defined Tool change ATC When you want to define you own tool change cycle you can edit the file macro cnc in the EDINGCNC directory When an M6 Tx is encountered this is translated to a GOSUB of subroutine change_tool in the macro cnc file This subroutine then calls further subroutines drop_tool_x and pick_tool_x if you have a tool changer you can add extra movements to the right tool position and control I O for actually changing the tool 04 December 2015 Release 4 02 84 EDINGCNC Manual 2 6 5 The variable Page This page shows the standard variables used by the G Code interpreter It also contains 4 watches to show your own variables if you are going to use the extended programming features You w
169. on does not limit the Shapes which can be cut but it does require that the programmer specify the actual shape to be cut or path to be followed not an approximation In this respect the NIST RS274 NGC Interpreter differs from interpreters used with many other controllers which often allow these errors silently and either gouge the part or round the corner concave corner concave arc too small tool does not fit tool does not fit 04 December 2015 Release 4 02 189 EDINGCNC Manual Figure A 5 Two cutter radius compensation errors In both examples the line represents a contour and the circle represents the cross section of a tool following the contour using cutter radius compensation tangent to one side of the path A 1 3 Cannot Turn Cutter Radius Comp on When On 5 If cutter radius compensation has already been turned on it cannot be turned on again It must be turned off first then it can be turned on again It is not necessary to move the cutter between turning compensation off and back on but the move after turning it back on will be treated as a first move as described below It is not possible to change from one cutter radius index to another while compensation is on because of the combined effect of rules 5 and 12 It is also not possible to switch compensation from one side to another while compensation is on A 1 4 Cutter Gouging 11 If the tool is already covering up the next XY destination point when cutter
170. on out of xy plane Cannot turn cutter radius comp on when on Cannot use g28 or g30 with cutter radius comp Cannot use g53 with cutter radius comp Cannot use xz plane with cutter radius comp Cannot use yz plane with cutter radius comp 10 Concave corner with cutter radius comp 11 Cutter gouging with cutter radius comp 12 D word with no g41 or g42 13 Multiple d words on one line 14 Negative d word tool radius index used 15 Tool radius index too big 16 Tool radius not less than arc radius with comp 17 Two g codes used from same modal group et E Most of these are self explanatory For those that require explanation an explanation is given below Changing a tool while cutter radius compensation is on is not treated as an error although it is unlikely this would be done intentionally The radius used when cutter radius compensation was first turned on will continue to be used until compensation is turned off even though a new tool is actually being used A 1 2 Concave Corner and Tool Radius Too Big 10 and 16 When cutter radius compensation is on it must be physically possible for a circle whose radius is the half the diameter given in the tool table to be tangent to the contour at all points of the contour In particular the Interpreter treats concave corners and concave arcs into which the circle will not fit as errors since the circle cannot be kept tangent to the contour in these situations See Figure A 5 This error detecti
171. ool 5 M5 Be sure that spindle is off G53G60z100 pA up where zero is machinebed and 110 is top ESSE INS IES 00 Move before pick place M54P3 Open tcoolstation G4P01 Wait 1 second GS2GIUXS6G ro iS loo O Move into drop place E53G0Z60 Move down fast but not fully to the end M54P1 AUX1 ON for opening collet clamp G4P1 wait 1 second 6539601223 0007120 Move down last mm down slower to pick up toolholder G4P0 5 Wait 1 second M55P1 pAUXL Off COOL picked ESSGUWIZAS0 iO Move slowly up to pick up tool and move free CSS GUS 4 L100 Further up and done witg dropping M55P3 QUES or Closes toolstatton 5015 1 toolchange succes 04 December 2015 Release 4 02 175 EDINGCNC Manual endsub Sub Puckiloo IG meg 4 eave no ll M5 M5 Be sure that spindle is off G53G60z100 Z up where zero is machinebed and 110 is top G53G0XK825 00Y348 00 Move before pick place M54P3 Open toolstation G4P01 Wait 1 second ES3GLXS866 8901348 156220 Move into drop place ga3G0Z60 Move down fast but not fully to the end M54P1 AUX1 ON for opening collet clamp G4P1 wait 1 second Gos EAS 0007120 Move down last mm down slower to pick up toolholder G4P0 5 Wait 1 second M55P1 AUXI off COOL preked G53G012760F120 Move slowly up to pick up tool and move free 653960xX6254100 Further up and done witg dropping M55P3 QUES ort closes toolstablon 5015 1 toolchange succes endsub 4 3 2 USER Reset A subrouti
172. origin of the drawing by pressing the appropriate 04 December 2015 Release 4 02 80 EDINGCNC Manual button under the layer selection list box The positions of the buttons give the positions of the origin So e g when you press the upper right button then the most upper right position of the drawing will become x 0 y 0 when milling The DXF import supports Lines Arcs Circles Poly lines with arcs Points for drilling The workflow of using these features is 1 Load drawing 2 Select the correct layers 3 Apply origin offset if wanted 4 Set correct parameters 5 Calculate tool path 6 Save tool path and optionally immediately load it for milling Parameters involved When moving from one region to another the machine goes to this height Z value where the tool touches the material to be machined Z value specifying the milling depth lowest Z value Final Z must be lower than Start Z This specifies the step size when machining in passes Increment Milling feed F in mm min Plunge rate Feed F that the Z moves down into the material also mm min Spindle S value for spindle speed CW CCW Spindle direction M3 M4 Tool This is only used for the M6 tool change command number Tool Diameter of the tool for the offset and pocketing Diameter calculations Outside inside clockwise counterclockwise operation Finish Material that is left for the finishing pass when allowance pocketing This finishing
173. ou agree The operate page is shown This is the main screen to do all machine operation s from Running a program and fast jogging is only possible after the machine is correctly homed so this must be setup first The reason is that collision prevention is not active when the machine isn t homed so damage to the machine may happen when homing is not performed Program window Operate is shown All machine operation are performed from this TAB CNC V4 02 03A 1600 SIMULAT COX Service Util Setup Help Z 90 646 Feed Speed GM Code Tijd F O 100 100 S 0 0 100 G17 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T5 o SeeEeke Rasa z Toolchanger COSIGN Maat voor Ready for operation This is file macro cnc 3 It is automatically loaded 0 Customize this file yourself 0 It contains 17 24 37 MotCheckI2CGPIOPresenamotion cpp 1441 Info 0 IO BOARD DETECTED ID 3 3 subroutime change_tool this 0 IO BOARD DETECTED ID 1 17 24 37 MotCheckI2CGPIOPresenamotion cpp 1441 IO BOARD DETECTED ID 2 17 24 37 MotCheckI2CGPIOPresenamotion cpp 1441 Info 17 24 38 Reset enccommand cpp 1528 Info Ready for operation subroutime home_x home_z subroutine home_all called 2 4 TT lt lt lt ES A de lt a AUTO mor Tar y CNC Y Fi F2 F3 F4 FS F6 F7 F9 F10 F11 F12 F8 If all settings for your mac
174. outside the part of any straight side of the part B could be placed on EF extended to the right but not to the left for going clockwise for example If DA were an arc not a straight line the two lines of code above would still be suitable In this case the dotted line extending DA should be tangent to DA at A Figure A 3 Simpler cutter radius compensation entry move for material edge contour 04 December 2015 Release 4 02 184 EDINGCNC Manual Figure A 3 Simpler compensation entry move C AG3 3 programmed path actual path 4 j Cutter 04 December 2015 Release 4 02 EDINGCNC Manual 5 3 NOMINAL PATH CONTOUR When the contour is a nominal path contour the path a tool with exactly the intended diameter would take the tool path is described in the NC program It is expected that except for during the entry moves the path is intended to create some part geometry The path may be generated manually or by a post processor considering the part geometry which is intended to be made For the Interpreter to work the tool path must be such that the tool stays in contact with the edge of the part geometry as shown on the left side of Figure A 1 If a path of the sort shown on the right of Figure A 1 is used in which the tool does not stay in contact with the part geometry all the time the Interpreter will not be able to compensate properly when undersized tools are used A nominal path contour has no corners
175. p With smooth stop the axes speed is ramped down this means that there is no position loss 2 1 5 Backlash setup Backlash Set the amount of backlash for each axis that the software should compensate Experiment with velocities and acceleration the backlash compensation demands more from acceleration your motors than without backlash compensation Do not try to compensate more than 0 1 millimeters If there is more backlash try to reduce it mechanically first 04 December 2015 Release 4 02 32 EDINGCNC Manual 2 1 6 LAF setup LAF minimum angle Look Ahead Feed calculations Motion segments g1 g2 g3 that are connected with a smaller angle as specified in min angle will accelerate through which will give higher speeds especially with programs consisting of small motion segments This is a unique feature which you don t find easily on low cost CNC controllers Be carefully with the min angle setting because this cause acceleration spikes it depends on your machine and the speed up till what extend this is possible I suggest performing tests with en check whether you get step pulse loss A value of 0 1 3 degrees is generally safe Segments that are really tangential connected will move fast that way An example of what I use When using CorelDraw a circle is drawn of 100mm in diameter and exported as HPGL CorelDraw generates small line segments of approximately 6 degrees Now I have set the min angle to 6 this give
176. pass is at full depth for getting a clean edge Step oversize for pocketing this value should be lower 04 December 2015 Release 4 02 81 EDINGCNC Manual thanthe tool diameter O Z gt Z S switched off when moving from one region to another bridges from falling out and get damaged when profiling distance that all bridges have equal distance Z between startZ and finalZ BridgeWidth The width of a bridge A A When the parameters are set press calculate tool path it will be visualized on the screen Here an example of profiling with bridges k CNC V4 01 B40 USBCNC 34 1 07 E_ Y FotoGravures AngelaJoli PhotoVCarve 3mm taj j Operate Coordinates Program Tools Variables IO Setup Help lt gt Ea LOAD DRILL ENGRAVE POCKET OFFSET Offset Cut out x 30 y 000 Select Participating DXF Layer 0 y inside Start Z 0 000 ae Y outside Safe Z 3 000 Final Z 1 000 Z Increment 1 000 FeedRate 400 000 PlungeRate 100 000 SpindleSpeed 10000 000 Set DXF Origin Show fi oe Arrows SpindleDirection 0 CW CCW um UR LaserMode Y Boundary A Y Offset ToolNumber 1 P r zali aR J Pocket ToolDiameter 2 000 ba Af Open ends 1M 1R Points Method Outside CCW w MakeBridges V Connect Tolerance 9 00100000 BridgeDistance 30 000 BridgeFinalZ 2 000 BridgeWidth 2 000 Calculate
177. pecify c program files notepad notepad exe The advantage of notepad is that the editor jumps to the actual G Code line immediately very handy when programming G Code The name of the directory where the GUI icons are located nu means not used If you want to change the Icons on the buttons you can make first a copy of the entire icons and name that directory to mylcons Make your changes an place the directory name in this field Check to use OpenGL graphics This allows smooth panning zooming and rotation using the mouse Left mouse key Pan Right mouse key Zoom Control Left mouse key Rotate Set PEN size shown in graphic size is in millimeter 2 1 13 IO setup Invert IO Check if you want to invert the output 2 1 14 Interpreter settings 04 December 2015 Release 4 02 42 EDINGCNG Manual DiameterProgramming Check if you want diameter programming for turning all X axis values are interpreted as diameter The effect is that all movements in the X axis are divided by 2 AbsoluteCenterCoords If Checked the I J K value is interpreted as absolute value Incremental is used mostly LongFileModeCriterion Specify a number of Kbytes here When the loaded job file is larger the UI switches to long file mode The program listbox changes and the graphics will show only outlines when a program is loaded This is al needed to preserve memory and speed for large files In this mode the file itself i
178. peed G M Code Time g 0 0000 0 0000 0 0000 0 0000 9 0000 9 Tool number 9 10 0 100 0 0000 0 0000 0 0000 0 0000 10 0000 9 Tool ber 10 10 ool number S 0 100 11 9 0000 0 0000 0 0000 0 0000 11 0000 9 Tool number 11 12 0 0000 0 0000 0 0000 0 0000 12 0000 9 Tool number 12 ERES bill AA 13 0 0000 0 0000 0 0000 0 0000 13 0000 9 Tool number 13 UVUUDUL 14 0 0000 0 0000 0 0000 0 0000 14 0000 9 Tool number 14 0000002 This is file macro cnc version 0000003 It is automatically loaded 15 0 0000 0 0000 0 0000 0 0000 15 0000 9 Tool number 15 0000004 Customize this file yourself it 16 0 0000 0 0000 0 0000 0 0000 16 0000 9 Tool number 16 0000005 It contains ON 0000006 subroutine change_tool this i 17 0 0000 0 0000 0 0000 0 0000 17 0000 9 Tool number 17 0000007 subroutine home_x e_z 0000008 subroutine home_all called ig 0 0000 0 0000 0 0000 0 0000 18 0000 9 Tool number 18 0000009 subroutine user_1 user_11 19 0 0000 0 0000 0 0000 0 0000 19 0000 9 Tool number 19 0000010 user_1 contains an example oi 0000011 user_2 contains an example oi 0000012 ra gt Save Changes 0000013 You may also add frequently us 0000014 EXE EEE EEE EEE eee eee AAA 0000015 0000016 0000017 User functions F1 F11 in user 1 0000018 0000019 Zero tool tip example 10 21 44 Info Kin version TRIVIAL BUILD IN 1 0 0000020 Sub user_1 10 21 44 Info CPU State OPERATIONAL ETH 0000021 msg user_1 Zer
179. pensation is commanded to turn on when it is already on The behavior of the machining center when cutter radius compensation is on is described in Appendix A With G41 1 D is the same as G41 D except now the D number is not a tool number but a tool diameter With G42 1 D is the same as G42 D except now the D number is not a tool number but a tool diameter 04 December 2015 Release 4 02 129 EDINGCNG 3 6 11 1 gO z3 gO x 15 y15 f500 g42 1 D6 gl x 5 1 g2 xO y10 r5 cutter comp entry move 2 gi z 3 plunge down g3 x10 yO r10 gi x70 g3 x80 y10 r10 gi y90 g3 x70 y100 r10 gi x10 g3 x0 y90 r10 gi x0 y10 940 gO z3 gO x30 y30 g41 1 d6 gi x20 g3 x10 y20 r10 gl z 3 g3 x20 y10 r10 gl x60 g3 x70 y20 r10 gi y80 g3 x60 y90 r10 cutter comp entry move 04 December 2015 EXAMPLE CODE FOR MILLING This example mills out a rectangular object from the outside and inside On the outside we use G42 tool radius compensation right and for the inside G41 tool radius compensation left is used For both contours a tool radius compensation entry move IS programmed consisting of a line which must be longer than the tool radius used and a circle of which also the radius is bigger than the tool By the way all arc radii should be bigger than the tool radius If you have inside corners there should be always an arc so that the tool fits The G42 G41 and G40 codes are programme
180. 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 G 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 RS274 NGC language has two commands M2 or M30 either of which ends a program 04 December 2015 Release 4 02 EDINGCNC Manual 105 EDINGCNC Manual 3 1 SYSTEM PARAMETERS V ARIABLES In the RS274 NGC language view a machining center maintains an array of 5999 numerical parameters They can be accessed by 1 5999 The specific parameters with dedicated function are listed in the table below Other parameters in range of 1 5999 are free to use in your G Code program A simple example of usage 1 100 assign the value 100 to variable 1 GO 1 use 1 to move to 100 Parameters with specific meaning are listed in this table below Parameter number A Used for parameters when overriding m functions pa I N OY When in the g code there is e g M999 X100 S1000 And you have in your macro cnc Sub m999 msg this is my M999 X 24 S 19 End sub Inside the subroutine the given X and S parameters are at 24 and 19 1 26 A Z parameter value Values are negative 1e10 if not provided with m999 in this example POS X C interpreter position wo
181. rchangeable Variable Block Data Format for Positioning Contouring and Contouring Positioning Numerically Controlled Machines Electronic Industries Association Washington DC February 1979 Fanuc Ltd Fanuc System 9 Model A Operators Manual Pub B 52364E 03 Fanuc Ltd 1981 Kramer Thomas R Proctor Frederick M Michaloski John L The NIST RS274 NGC Interpreter Version 1 NISTIR 5416 National Institute of Standards and Technology Gaithersburg MD April 1994 Kramer Thomas R Proctor Frederick M The NIST RS274KT Interpreter NISTIR 5738 National Institute of Standards and Technology Gaithersburg MD October 1995 Kramer Thomas R Proctor Frederick M The NIST RS274 NGC Interpreter Version 2 NISTIR 5739 National Institute of Standards and Technology Gaithersburg MD October 1995 Kramer Thomas R Proctor Frederick M The NIST RS274 VGER Interpreter NISTIR 5754 National Institute of Standards and Technology Gaithersburg MD November 1995 Kearney and Trecker Co Part Programming and Operating Manual KT CNC Control Type C Pub 687D Kearney and Trecker Corp 1980 National Center for Manufacturing Sciences The Next Generation Controller Part Programming Functional Specification RS 274 NGC Draft NCMS August 1994 Proctor Frederick M Kramer Thomas R Michaloski John L Canonical Machining Commands NISTIR 5970 National Institute of Standards and Technology Gaithersburg MD January 1997 R
182. re 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 the 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 X 4 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 always 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 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
183. rk position AN 5008 Actual TOOL 5009 5010 5011 5012 5013 5014 04 December 2015 Release 4 02 5001 5006 EDINGCNC Parameter number Used in tool change sub routine Probe position X C in machine coordinates 5061 5066 Probe position X C in work coordinates 5067 1 if probe is triggered after G38 2 O otherwise 5068 Actual Probe value 5069 Hand wheel counter 5071 5076 POS X C interpreter position without offsets Machine position Probe position X C in joint coordinates 9015 5050 9051 5056 Z S 5 c w 5081 5086 5101 5106 5111 5116 5121 5126 RCA CTO 9141 5143 5150 MCA NEG LIMIT X C MCA POS LIMIT X C HOME X C TCA NEG LIMIT X Z TCA POS LIMIT X Z Active kin type 1 Trivial 2 4_AX_ACYLINDER Y gt A mapping 3 Virtual C 4 17 System reserved 30 Custom 1 Cus ZHC is active 9151 5152 1 Spindle is ON O Spindle OFF G28 home X C G30 home X C 9161 5166 9181 5186 5190 9191 9192 5193 5194 5195 5196 65200 65204 65205 G68 Rotation Method O OFF 1 ON G68 G51 Rotation point X G68 G51 Rotation point Y G68 G51 Rotation point Z G68 Rotation angle XY G68 Rotation angle YZ Not Yet in use G68 Rotation angle XZ Not yet in use G51 Scaling O OFF 1 ON G51 Scaling factor X G51 Scaling factor Y AH 00 cor O 3 EH N 04 December 2015 Release 4 02 EDINGCNC Manual Parameter number G5206 G51 Scaling factor Z
184. rus checkers become active making the system slow So always turn off anti virus check when running the CNC controller e USB communication too slow or EMI disturbance that corrupts the communication Take care that your cabinet is wired according EMC rules you can find some tips at the end of this manual If the USB chipset is slow you could solve it by using a PCI USB add on card If this is not possible you need another PC e Ethernet communication too slow This could happen if the settings are not 100 equal to what is described in the setup E g for the used adapter card only the TCPIP protocol must be on and all others must be OFF There must be a 1 1 connection from Controller Board to the PC using a CROSS CAT5E cable So you cannot connect the CPU as part of your home network it must be on a separate network adapter Theoretically also Ethernet may suffer from EMI disturbances due to bad unshielded cabling In practice Ethernet is very robust to this Anyway always make the wiring with the EMC rules in mind See hardware tips at the end of the manual There is also this experience heavy browsing on internet while doing CNC may cause FIFO UNDERRUN error especially on Windows XP Windows 7 and Windows 8 area lot better than Windows XP with this Release 4 02 35 EDINGCNC Manual GO Feed Factor With this you can apply a factor for the feed used at GO this allows different feeds for GO positioning G1 G2 G3 milling G
185. s A is the right horizontal axis and Z is the right vertical axis Feed calculation are based on the X Y or A Z combination which ever makes the biggest distance e 4h MILL if used in 4 axes milling Feed calculations are optimized such that the tooltip gets the correct speed relative to the material e Tangential Knife this option is available for the C Axis only The Knife will rotate in the movement direction of X Y See also trajectory setup e 2nd Z for machines with 2 Z axes where the A axis is used as the 2nd Z Fill in number of steps per millimeter for millimeter mode or number of steps per inch for inch mode For rotary axes the unit is always steps per degree Fillina the motor direction Example Suppose your driver is set to 1600 steps revolution 1 8 micro step and you have coupled the motor directly to a spindle with 5mm pitch The number to be filled in here 1600 5 320 If the movement direction is wrong change it to 320 Release 4 02 29 EDINGONC Positive limit Negative limit Vel Acc 04 December 2015 Manual Maximum machine position Minimum machine position Maximum axis velocity all velocities whether jogging GO G1 G2 G3 are limited to this value Maximum acceleration When this value is set equal to the Vel parameter it will take 1 second to reach the max velocity When the value is 2x the Vel parameter the max velocity is reached in 0 5 second Release 4 02 30
186. s needed to brake in the curves and accelerate on the straight roads If you would do the same speed in the curves as on the straight road the car will fly out of the curve and get an accident With a CNC machine it is the same constant speed and accuracy together are physically not possible It would require infinite acceleration to go without ramping down from one direction to another So a compromise has to be made There are various options to choose the optimum between accuracy and constant speed G61 puts the machining center into exact path mode In G61 the motion velocity between motion segments goes to zero the end position in corners is exactly reached use this if you require maximum accuracy When a work piece consists of many small lines this gives a quite vibrating machine because of the continuous acceleration deceleration stop behavior More practical is to use G64 see below G64 P Q R F for continuous velocity mode In G64 subsequent moves are blended when previous move starts to decelerate and reaches a velocity such that the specified accuracy isn t violated the next move starts to accelerate the two motions are added The result is smooth motion with highest constant speed The corners however are rounded The P value specifies the distance reached to the corner while blending The next move is blended with current such that the tool path remains no more than P from the corner The figure below is a rectangle of 10x1
187. s still executed from memory and allows complex G Code constructs While If then else sub routines SuperLongFileModeCriterion Macro Filename Specify a number of KBytes here where super long file mode starts This number should be equal or bigger as LongFileModeCriterion For very long files from 20MByte and UP to 4G this mode is required It also puts the GUI in the same mode as with LongFileMode but as extra the file itself is no longer executed from memory The means that complex G Code constructs are no longer possible These type of files contain only straight forward g code without while endwhile if then else and subroutines The tool changes are still executed from the macro cnc file so full automatic tool change is still available Files with up to 100 000 000 lines of G Code have been tested with this Name of the macro file it can be changed the default is macro cnc User Macro Filename Name of the macro file it can be changed the default is macro cnc 2 1 15 Traffic light setup Red Yellow Green 04 December 2015 Specify output for RED color Specify output for YELLOW color Specify output for GREEN color CPUBB is required to view all colors because other CPU s do not have enough amount of outputs Release 4 02 43 EDINGCNC Manual 2 1 16 JobTimeEstimation During the Render phase after loading the job the job time is estimated But this is just a quick estimation because
188. s the possibility to mill the circle with a speed of F6000 while without LAF the speed would be approx F1300 on my machine InterpolationTime and FifoTime 04 December 2015 Every motion command is chopped up in small motion segments with a time of InterpolationTime in the setup The segments are send to the controller CPU which has a buffer FIFO that holds the motion segments The step pulse generator takes the motion segments one by one and generates stepper motor pulses from that The number of the segments in the FIFO is depending on the FifoTime specified in the setup Release 4 02 33 EDINGCNG 04 December 2015 Manual This part runs on the PC side GUI CNC EXE CNCAPI DLL CNCServer exe gt aa Ethernet or USB One motion segment time Interpolation time elements FifoTime InterpolationTime FIFO STEP PULSE GENERATOR Controller CARD CPU The FIFO makes it possible to perform smooth motion without hiccups on a non real time operating system like Windows Because what happens is that sometimes Windows does things for itself stopping the execution of CNCSERVER EXE for short times This is no problem as long as the FIFO does not run empty If the windows hiccup is longer than the FifoTime The default value for InterpolationTime 0 005 seconds The default Fi
189. 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 You can select one of the nine systems by using G54 G55 G56 G57 G58 G59 G59 1 G59 2 or G59 3 It is not possible to select the absolute coordinate system directly 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 cancelled with G92 1 or G92 2 You can make straight moves in the absolute machine coordinate system by using G53 with either GO or Gl Data for coordinate systems is stored in parameters see the previous section During initialization the coordinate system is selected that is specified by parameter 5220 A value of 1 means the first coordinate system the one G54 activates a value of 2 means the second coordinate system the one G55 activates and so on It is an error for the value of parameter 5220 to be anything but a whole number between one and nine The g code are described in detail in section 3 6 04 December 2015 Release 4 02 EDINGCNC Manual 111 EDINGCNC Manual 3 4 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 e An optional line number e Any number of words
190. set when pause is needed when you need to do e g a tool change During Pause only jog movements are allowed You can store and retrieve the stored line number using the Store Get Stored buttons Press search to run the interpreter in Search mode up to the given line number The graphic shows the search When you press the RUN button F4 after a search or pause the following popup dialog may appear It appears only if any axis is not at the correct position or the spindle or coolants are not correct it allows you to synchronize the actual situation with the required situation The Z gt gt gt button will start move Z completely up The M6 T1 button shows the tool according to the interpreter This button is not visible at a start after Pause only at start after search if the color is green the current tool matches the tool from the search status If the color is red the tool doesn t match and you can start a tool change by pressing the button The Axis button show the position according to the interpreter on the searched line green is match red is no match press the button to move the axis to the correct position you can do this for all axes If any axis isn t synchronized it will be done automatically when the start button is pressed The M8 M7 On buttons allow to switch on the Coolants The S button switches the spindle On with correct S value from the Search status F Plunge rate is the feed rate for the mo
191. showInProgSpeed Release 4 02 40 EDINGCNG Setup Page 2 press gt button on first setup page to get here Manual r gt A CNC V4 02 RC1 CPUSB SIMULATION _C Program Files x86 CNC4 02 macro cnc Lo x Operate Coordinates Program Tools Variables 10 Service util Setup Help UI Interpreter Invert IO Handwheel P ee ee ee Tool cntjrev 400 Save Changes invert Jog Keys Y IsTurningMachine Flood E m Invert Jog Keys Z IsTurningMachineBackX Mist Count 0 Probing ShowGraphButtons Y Aap Emile v 50 Store Probe Points IsPlasmaMachine Tool Dir ShowStartupScreen V E 70 beep Is3DPrinter tep Pulse A Homing Mandatory V Pause Y X1 Vel Mode 7 Use Home input 4 f j j SimpleZeroing Y ant la X10 Vel Mode Guard Unexpected Probe Trigger A hi pweM3 X100 Vel Mode Y re RestoreWindowPosition superLongFileModeCriterion E File digi ze cnc AuxOutl AxSelInput NONE ShowM7 KByte 25000 ShowM8 7 CPU 5 Options i JobTimeEstimation spe MulSelInput NONE ShowAUX1 V rected 1 600 as CPU OF keyboard time out 1 00 Snag reEstimateRunTime i Favorite Editor T AuxQut7 E Load Run Automatically Camera notepad exe MacroFileName Macro cnc AuncOuts file name to load Cameralndex AuxOut9 IconDirectory icons_sorotec UserMacroFileName User_macro cnc Auxin1 Y a 0 ma i Auxin2 Y LogoFileName _ logosiEding Traf
192. sion Release 4 02 Manual 172 EDINGCNC Manual The code below is also inside file macro cnc for each tool there is a DropTool sub routine and a Pick tool sun routine DropTool makes the movements and IO for putting the tool from spindle in the tool holder PickTool makes the movements and I O to pick the tool from the tool holder and put it in the spindle Drop tool subroutines these put the tool in spindle in the tool holder sub Drop lool msg YDropping cool 0 Tool 0 is no tool so we just open yhe tool station here for PickTool which comes next M54P3 Open toolstation QUTPUT AUKS G4P1 Wait 1 seconds endsub Sub Dro plo il meg Dropping cool 1 M5 G53G02100 Z up 110 is and machinebed is zero GhsG0xKs 2520011722 06 Move just before drop place M54P3 Open toolstation G4P1 Wait 1 seconds ESSE ao ISSO Move into drop place g53G02Z60 Move down fast but not fully to the endposition G55601252 000F120 Move down the last mm slower M54P1 AUX1 ON air pressure toolchange G4P1 Wait 1 second CSS GUA aie 100 Move up slowly to move free from toolstation MS ard FAUX Orr COOL dropped G53G02Z100 Further up and done with dropping tool endsub Sub DropTtool2 meg Dropping cool 2 M5 G53G02100 pA up 110 is and machinebed is zero G53G0X825 00Y208 00 Move just before drop place M54P3 Open too lstat ion G4P01 Wait 1 seconds GS2GIUXS67 22007208 15607220 Move into drop place g53G0260 Mov
193. so the simple method just described will not work For a nominal path contour the value for the cutter diameter in the tool table will be a small positive number if the selected tool is slightly oversized and will be a small negative number if the tool is slightly undersized If a cutter diameter value is negative the Interpreter compensates on the other side of the contour from the one programmed and uses the absolute value of the given diameter If the actual tool is the correct size the value in the table should be zero Suppose for example the diameter of the cutter currently in the spindle is 0 97 and the diameter assumed in generating the tool path was 1 0 Then the value in the tool table for the diameter for this tool should be 0 03 The nominal tool path needs to be programmed so that it will work with the largest and smallest tools expected to be actually used We will call the difference between the radius of the largest expected tool and the intended radius of the tool the maximum radius difference This is usually a small number The method includes programming two pre entry moves and one entry moves See Figure A 4 The shaded area is the remaining material The dashed line is the programmed tool path The solid line is the actual path of the tool tip Both paths go clockwise around the remaining material The actual path is to the right of the programmed path even though G41 was programmed because the diameter value is nega
194. supplies the VFD if we have a HF spindle The CPU and the communication to the PC especially USB is very sensitive for EMC and may stop functioning when we make spaghetti wiring and no good functional Earth So the routing of the cabling must be done in a right way Very important is making a good EMC functional Earth using a star point GND To prevent this miss function due to EMC the EDINGCNC CPU should be build in correctly according these general EMC rules e Mount all electronics in a metal cabinet or on a metal plate in a plastic cabinet e Use a mains filter e Create a central GND point near the filter and connect the PE Protective Earth as well as the GND from all power supplies to this point e Route motor cables nicely along the cabinet edge as far as possible away from the CPU This way the cables noise radiation can flow away to the cabinet e Use shielded cables for the motor connections both inside the cabinet and outside the cabinet Connect the shield at one side to the central ground point leave the other side un connected e Use a professional USB2 cable double shielded with ferrites like this ee e Keep all GND cables especially short and use thick flexible cable e If not possible to keep it short then connect it to the metal GND plate 04 December 2015 Release 4 02 195 EDINGCNC Manual Schematic drawing of a possible good layout in the cabinet Keep Cables Motor Power Motor Qut Near Ma
195. t for spindle direction if you need it CPU5A has no separate spindle direction output that is why Step Direction pulses will be generated if set instead of PWM A Stepper motor or Servo Spindle can be connected to the PWM TOOL DIR output when selected Release 4 02 39 EDINGCNC SmoothStep CountsPerRev SpeedOverrideInput SpeedHoldInput SpindleReadyPortID showInProgSpeed Manual Only in combination with IsStepperMotor when checked the ramp up profile is smoother than when not checked however when checked PWM2 PWM3 on the CPU5B cannot be used as separate PWM output anymore Provide the number of steps revolution here if IsStepperMotor is checked Specify UI or analogue input for controlling the speed CPU5B Specify digital input for speed hold when activated spindle speed goes to zero When release spindle restarts Some applications need this functionality User definable input which indicates that the spindle has reached it speed It is currently only available by editing the cnc ini file This setting is under USERINTERFACE in the cnc ini file It can have these values 0 Show programmed speed Default 1 Show PWM value 2 Show analog in 1 3 Show analog in 2 4 Show analog in 3 hese options are convenient if the spindle has an analog output for power measurement showInProgSpeedAnaMulFactor 04 December 2015 Multiplcation factor for the analog value for option 2 4 with
196. t mask 255 255 255 O Default gateway Use the following DNS server addresses Preferred DNS server Alternate DNS server Validate settings upon exit Advanced Cancel The PC LAN adapter gets IP Address 172 22 2 101 The EDINGCNC CPU network is setup for 172 22 2 100 Press OK now you can test if the network is working click the Windows Start button select all programs gt accessories gt command prompt In the command prompt enter ping 172 22 2 100 when connection OK you should see EN Administrator Command Prom Microsoft Windows Version 6 1 7661 1 Copyright tc 2669 Microsoft Corporation C Users Bert gt ping 172 22 2 100 Pinging 172 22 2 100 with 32 bytes of data Reply from 172 22 2 1 6 bytes 32 time lt ims Reply from 172 22 2 166 bytes 32 time lt ims Reply from 172 22 2 166 bytes 32 time lt ims Reply from 172 22 2 100 bytes 32 time lt ims Ping statistics for 172 22 2 100 Packets Sent 4 Received Approximate round trip times Minimum ms Maximum 4 Lost ms Average C Users Bert gt All rights reserved TTL 166 TTL 166 TTL 166 TTL 166 z loss in milli seconds Ams 04 December 2015 Release 4 02 18 EDINGCNC Manual When connection Failed you will see EN Administrator Command Promp C Users Bert gt ping 172 22 2 108 Pinging 172 22 2 188 with 32 bytes of data Request timed out
197. te side If a convex corner is on the path an arc is inserted to go around the corner The radius of the arc is half the diameter given in the tool table When cutter radius compensation is turned off no special exit move takes place The next move is what it would have been if cutter radius compensation had never been turned on and the previous move had placed the tool at its current position 04 December 2015 Release 4 02 191 EDINGCNC Manual 5 5 EXTENSION IO BOARD The extension I O board is not so often used so all related settings are to be set directly in the cnc ini file Special for GPIO card settings If you have an additional General purpose IO board such as the RLY8 board with 8 output relays and 8 opto isolated inputs there are extra options currently only available by editing the cnc ini file This is the file soring all the parameters of the machine The CPIO card can guard the inputs and an action can be coupled when a guard triggers There is a text that is displayed by the GUI when a guard triggers You specify which inputs must be guards this is given by a bit mask 1 means only input 1 3 means input 1 and input 2 This table apply s for input 0 3 the total table would be 255 lines long Participant bits Participant bits Input 8 Input 1 Input 8 Input 1 0000 0000 o 0100 0000 17 64 0000 0010 12 2 J o y o 0000 0100 13 4 Example 14 amp 15 E 0000 1000 14 8 00001000 o
198. tem but are in unspecified length units To return to home position by way of the programmed position program G28 X Y Z A 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 04 December 2015 Release 4 02 EDINGCNC Manual 125 3 6 9 G33 G33 1 Spindle Synchronized Motion For spindle synchronized motion in one direction program G33 X Y Z K where K gives the distance moved in XYZ for each revolution of the spindle For G33 the software performs this 1 Start a synchronized move with spindle with K feed per revolution Assumed is that the spindle already runs M3 2 Done For G33 1 the software performs 1 Start a synchronized move with spindle with K feed per revolution Assumed is that the spindle is running M3 Wait until this motion is done Reverse spindle direction Move back to original position where we were before the G33 1 Done O All the axis words are optional except that at least one must be used It is an error if e all axis words are omitted e the spindle is not turning when this command is executed e the requested linear motion exceeds machine velocity limits due to the spindle speed 04 December 2015 Release 4 02 EDINGCNC Manual 126 ED
199. the machine on button left will be green flashing this means the machine is ready but must be homed first 2 2 5 2 HOMING Homing is the next step to perform this can be done via main gt f2 There you can do individual axis homing or home all axes art once For homing setup see homing and coordinate systems chapter All axes home at once can also be done using ctrl h or the home all button beside the status Feed Speed Gm Code Tid 60 300 0 0 2 2 5 3 LOAD AND RUN A G CODE FILE After homing we a ready to run a program we have to load a g code file for doing that From the main menu press F4 Auto then F2 load g code file Go to the cnc jobs directory and load demo cnc The file is fully parsed through the g code interpreter and the tool path is shown in the graphic window a CNC V4 02 28A 1600 SIMULATION E A vs gen TAE PS Operate Coordinates Program Tools Variables 10 Service uti Setup Help Feed Speed G m Code Time F 0 60 100 S 0 0 100 G17 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T1 D eee X0 485Y49 9332 2 868 XO 542Y49 966Z 2 891 Z3 000 G0Z3 000 GOXO 000YO 000 Size X66 631 Y49 967 275 959 E i 3 This is file macro cnc version 09 45 58 Info Loading done 3 It is automatically loaded 09 45 58 Info 326 8 Kilobyte Customize this file yourself
200. tion If the current location has X 7 Y 7 at the outset the center will be at X 10 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 04 December 2015 Release 4 02 123 EDINGCNC Manual 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 3 6 4 Dwell G4 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 3 6 5 Set Coordinate System Data G10 To set the coordinate values for the origin of a coordinate system program G10 L2 P X Y Z A 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
201. tive On the figure the distance between the two paths is larger than would normally be expected The 1 inch diameter tool is shown part way around the path The black dots mark points at the beginning or end of programmed moves The corresponding points on the actual path have not been marked The actual path will have a very small additional arc near point B unless the tool diameter is exactly the size intended The figure shows the second pre entry move but not the first since the beginning point of the first pre entry move could be anywhere First pick a point A on the contour where it is convenient to attach an entry arc Specify an arc outside the contour which begins at a point B and ends at A tangent to the contour and going in the same direction as it is planned to go around the contour The radius of the arc should be larger than the maximum radius difference Then extend a line tangent to 04 December 2015 Release 4 02 186 EDINGCNC Manual the arc from B to some point C located so that the length of line BC is more than the maximum radius difference After the construction is finished the code is written in the reverse order from the construction The NC code is shown in Table A 2 the first three lines are the entry moves just described Table A 2 NC program for Figure A 4 NO010 G1 X1 5 Y5 make first pre entry move to C N0020 G41 G1 Y4 turn compensation on and make second pre entry move to point B NOO30 G3 X2 Y3 5 10
202. uard GPIO Probe Home x Home y Home z CON u MN um Home a L5 Machine limit violation X161 5965 Go E Go EZ Feed Speed G M Code Time F 0 60 100 S 0 0 100 G17 G40 G21 G90 GM G54 G42 G99 G64P0 1 G97 G50 GO T1 T1iM6 G17 G0Z3 000 GOXO OOOYO 000516000M3 G1Z 0 866F1200 0 X66 246Y0 0852 0 697 X66 133Y0 0202 0 672 09 48 34 Info RENDERING 0000009 Z3 000 09 48 34 Stop L5 Machine limit violation X161 5965 0000010 GOX65 232Y0 019 0000011 G1Z 0 586F1200 0 0000012 X65 401Y0 117Z 0 617 0000013 X65 795Y0 345Z 0 624 gt ji y lt lt lt 15079 gt gt gt i mistop Single Ny AUTO MCA m BlockDel 3 DO Nx pa TCA m Y Sim A START EDIT GOTO D 2 gt Fo Arc F G28 Y Fast RT Graph F4 FS F6 F7 F9 F10 Fil F12 100 7 G30 Fast Rendering Render We see that the tool path the size of the tool path 04 December 2015 Release 4 02 fits without collision and we see the d elta s in X Y Z which is 66 EDINGCNC Manual F3 is also possible from here this redraws and zooms to fit a CNC V4 02 28A 1600 SIMULATION H FotoGravures AngelaJoli OpeningDemo PhotoVCarve_angelina 67x50 3mm tap Operate Coordinates Program Tools Variables IO Service Util Setup Help G M Cod
203. ut also in simulation mode and when loading the file 4 4 2 Example a check with error showing only when running SUIS fee e ate presio MoO pO o O ON errmsg Error No Air pressure else msg Air Presure OK endif endsub This check on air pressure will not work correctly while loading a g code file or while the system is in simulation mode because no actual inputs are read SUPRE NEO att rest L Giadky O recen rancios iia akon O cline A MAA ON errmsg Error No Air pressure else msg Air Presure OK endif endif endsub Here we see the modification to make the on the air pressure sensor input 5 simulation and render proof the check is only performed when we are not in render or simulation mode only an extra if statement that checks 5380 1 when simulation mode and 5397 1 when rendering is added 04 December 2015 Release 4 02 177 EDINGCNC Manual 5 Cutter Radius Compensation This appendix discusses cutter radius compensation It is intended for NC programmers and machine operators See chapter 5 for additional information on cutter radius compensation 04 December 2015 Release 4 02 178 EDINGCNC Manual 5 1 INTRODUCTION The cutter radius compensation capabilities of the Interpreter enable the programmer to specify that a cutter should travel to the right or left of an open or closed contour in the XY plane composed of arcs of circles and straight line segments Cutter radius compensation is performed
204. ut do not reset parameters G92 3 apply parameters to offset coordinate systems G93 inverse time feed rate mode G94 units per minute feed rate mode G98 initial level return in canned cycles G99 R point level return in canned cycles 3 6 2 Linear Motion at Feed Rate Gi For linear motion at feed rate for cutting or not program G1 X Y Z A where all the axis words are optional except that at least one must be used 04 December 2015 Release 4 02 EDINGCNC Manual The Gl 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 All axis words are omitted If cutter radius compensation is active the motion will differ from the above see Appendix A If G53 is programmed on the same line the motion will also differ 3 6 3 Arc at Feed Rate G2 and G3 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 If a line of RS274 NGC code makes an arc and includes rotational axis motion the rotat
205. value of the parameter whose index is the integer value of parameter 2 3 4 2 3 EXPRESSIONS AND BINARY OPERATIONS An expression is a set of characters starting with a left bracket and ending with a balancing right bracket 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 acos 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 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 a
206. vement towards the work piece you can change this to a good value you want As last the Run button this will start a G1 with F towards the search positions then restore the Feed to the search feed and start machining from there This way you are able to easily start half way in a g code program 04 December 2015 Release 4 02 57 EDINGCNC Manual For advance users of pause start there are other options in the cnc ini under SAFETY 04 December 2015 Release 4 02 58 EDINGCNC Manual Fii Nesting Nesting is a feature that allows to produce a product multiple times in X Y ROWS Nesting is reachable if the machine is in READY state you can always press RESET to get it in ready state if it isn t la CNC V4 01 B40 USBC C 34107 E I Y Operate Coordinates Program Tools Variables 10 Setup Help Material Size x 550 0 x 0 500 Y 0 500 y 755 0 Start Offset cua Feed Speed G M Code Time F 0 800 100 S 0 O 100 X1 145Y112 1127 1 498 X1 349Y112 2297 1 473 74 000 G0X0 236Y112 279 G1Z 1 512F1200 0 READY X0 033Y112 162Z 1 494 l Zz4 000 19 07 01 Info RENDERING 2 G0Z4 000 119 07 01 Info Done range gt X 50 861 200 743 Y 54 975 167 296 Z 4 751 2 113 1GOX0 000Y0 000 19 07 01 Info Done Delta s gt XD 149 882 YD 112 321 ZD 6 864 M30 19 07 01 Warning READY PAO oo oi cio ici iok ok E EK m lt gt gt gt ingle a R Ny AUTO BlockDel RESET lt gt
207. ves take place 1 a traverse parallel to the XY plane to 4 5 3 2 a traverse parallel to the Z axis to 4 5 2 8 3 a feed parallel to the Z axis to 4 5 1 5 4 a traverse parallel to the Z axis to 4 5 3 Example Suppose the current position is 1 2 and 3 and the XY plane has been selected and the following line of NC code is interpreted G91 G81 G98 X4 Y5 Z 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 a traverse parallel to the XY plane to 5 7 4 8 2 a feed parallel to the Z axis to 5 7 4 2 3 a traverse parallel to the Z axis to 5 7 4 8 04 December 2015 Release 4 02 144 EDINGCNC Manual The second repeat consists of 3 moves The X position is reset to 9 5 4 and the Y position to 12 7 5 1 atraverse parallel to the XY plane to 9 12 4 8 2 a feed parallel to the Z axis to 9 12 4 2 3 a traverse 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
208. wn the last mm slower ON air pressure toolchange 1 second up slowly to move free from toolstation Or COOL drepped Further up and done witha dropping tool Tool QUES 0 is nothing just close the tool station off closes toolstation toolchange succes Be sure that spindle is off pa u Move Open Wait Move Move AUX1 walt Move Wait AUX1 Move where zero is machinebed and 110 is top before pick place toolstataon 1 second NEON EC place down fast but not fully to the end ON for opening collet clamp 1 second down last mm down slower to pick up toolholder l second Off tool picked slowly up to pick up tool and move free Hurucher up and done with dropping OVIS Off Gloses tcoolstatcilon toolchange succes Release 4 02 174 EDINGCNC Manual msg YPieking tool 2 M5 Be sure that spindle is off G53G0z100 Z up where zero is machinebed and 110 is top ESSEUXSZ 3 007 203200 Move before pick place M54P3 Open Ltoolstatrion G4P01 Wait 1 second GhsGIxXso7 200N 208 1S6F2270 Move into drop place g53G0Z50 Move down fast but not fully to the end M54P1 AUX1 ON for opening collet clamp G4P1 wait 1 second 6539601223 0007120 Move down last mm down slower to pick up toolholder G4P0 5 Wait 1 second M55P1 PAUMI OFE TOOL picked 6536012607120 Move slowly up to pick up tool and move free 65360X62 54100 Further up and done with dropping M55P3 OUTS Orr EClOses coolsr
209. wnload page 04 December 2015 Release 4 02 10 EDINGCNC Manual 1 1 CONTEXT AND SCOPE This section describes the context hardware and software of a EDINGCNC controlled Machine 1 Operator 2 PC connected via USB or Ethernet to electronic cabinet which contains the EDINGCNC CPU The PC runs the EDINGCNC Control Software 3 Electronics cabinet with power supplies drives and Eding CNC CPU inside 4 EDINGCNC CPU 5 CNC Machine The connection from CPU to the PC is USB or Ethernet depending on the CPU model The CPU delivers STEP Direction signals to the power stage of each motor drive the motor connections of the drive go to the motors inside the machine Other connections like home sensor switches go directly from CPU to the machine For detailed info on all IO signals see the info in the technical flyers of the CPU available on the download page The Scope of the EDINGCNC product is the EDINGCNC software on the PC and the EDINGCNC CPU 04 December 2015 Release 4 02 11 EDINGCNC Manual 1 2 DEFINITIONS ACRONYMS AND ABBREVIATIONS Computerized Numerical Control oie core aaron Central Processor Unit a PCB board with a Processor on it Drawing Exchange Format is a CAD data file format developed by Autodesk FIFO First In First Out Buffer HPGL Hewlet Packard Graphical Language GUI UI Graphical User Interface INTERPRETER A software function that is able to read a text file and execute the commands
210. ws a value which is tool radius of the current tool This is handy when zeroing from the lower left corner with the endmill against the material 41 04 December 2015 Release 4 02 EDINGCNC AutoToolChange ShowMaximized ShowM7 ShowM8 ShowAUX1 KeyboardTimeout ShutDownOn Fatal Favorite Editor IconDirectory OpenGL OpenGLPenSize Manual If checked the running job will not stop when a toolchange is encountered Use this when you have a ATC or if you simply always have the tool already in GUI will start maximized taking the whole screen Show or hide M7 button Show or hide M8 button Show or hide AUX1 button Time out is used while jogging This feature is introduced because of the use of Bluetooth keyboards It could happen that jog start is pressed but never released jog stop because to keyboard is no longer in reach The timeout will automatically jog stop of needed The default value of 1s is OK for most PC s I do not recommend to set it lower because you may get unwanted time outs REMARK More ShowXXX options are available under USERINTERFACE in the configuration file cnc ini If checked software will shutdown automatically when a fatal error such as disconnected CPU occurs This may be used when the electrical power is switched of and connection to the CPU gets lost Specify your favorite editor here I recommend notepad it is freely downloadable at internet E g for notepad s
211. y arrow keys 4 we p At this page shows how much your machine is operated and if it needs service You can see Service status Job time service It shows the number of hours the machine has performed jobs Job distance The distance the machine has milled in meters Number of jobs done service The number of jobs done These values can be reset to zero when the machine gets service with the reset button Machine working status Job time total It shows the number of hours the machine has performed jobs Job distance total The distance the machine has milled in meters Number of jobs done total The number of jobs done These values cannot be reset it shows the total usage of the machine Service parameters Service Time interval The time interval for the service the software will give a message when this is passed at the end of a job Service distance interval The traveled distance for service Also here the software will give a message to indicate the machine needs service 04 December 2015 Release 4 02 87 EDINGCNC Manual 2 9 UTIL PAGE CHIPLOAD AND FEED SPEED PO AAA amp CNC V4 02 RC1 1600 SIMULATION CiProgram Files x86 1CNC4 02mpgcro cnc Operate Coordinates Program Tools Variables 10 Service Ut Setup Help Feed Speed Calculator Milling ChiploadPerTeeth mm 0 1 nan Nr of Flutes Feed mm min Speed RPM 10000 Typical chip loads Tool Diameter Hard

Download Pdf Manuals

image

Related Search

Related Contents

Nokia 6300 2" 91g Silver  User`s Guide  TH-P50/46/42G2、P46/42S2(簡単ガイド) (7.57 MB/PDF)  Ohlins CANNONDALE FG 9910 User's Manual    遺伝子組換えキット  10 - Floridamusicco.com  Manual del Usuario  Bixolon SRP-500  

Copyright © All rights reserved.
Failed to retrieve file