User Tools

Site Tools


mycnc:mycnc_setup_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mycnc:mycnc_setup_examples [2020/05/14 11:48] ivanmycnc:mycnc_setup_examples [2021/11/17 16:07] ivan
Line 35: Line 35:
  
 Max Speed is set in units/second (mm/s or inch/s), depending on what units you have chosen in your G-codes settings.  Max Speed is set in units/second (mm/s or inch/s), depending on what units you have chosen in your G-codes settings. 
 +
 +  * //NOTE: Overspeed acts in a manner  similar to CPU overclocking. Motion acceleration is increased together with motion speed when the overspeed is increased. Since toolpath planner does not have access to "Overspeed" value, a significant increase in Overspeed value up from 100% may cause issues, especially for analog servo control. Overspeed should be limited to 100% if you need to be sure the machine does not exceed "Max Speed".//
  
 7. Set the Backlash in units (mm/inch) for each axis. Backlash is the value that allows for some unexpected play in the machine due to clearance or looseness of mechanical parts. When the controller sends a movement command to the motor, the motor may turn briefly before any actual axis movement begins. That turn is defined as backlash, and can be accounted for in this setting. 7. Set the Backlash in units (mm/inch) for each axis. Backlash is the value that allows for some unexpected play in the machine due to clearance or looseness of mechanical parts. When the controller sends a movement command to the motor, the motor may turn briefly before any actual axis movement begins. That turn is defined as backlash, and can be accounted for in this setting.
Line 57: Line 59:
  
 === How to set up a Lathe/Turning machine === === How to set up a Lathe/Turning machine ===
 +
 +[[quickstart:mycnc-quick-start:lathe_setup|Lathe/Turning Set up tips]]
 +
  
 1. Select Basic profile as "Lathe" in **Cfg** - **Preferences** - **Common** dialog 1. Select Basic profile as "Lathe" in **Cfg** - **Preferences** - **Common** dialog
Line 393: Line 398:
  
  
 +=== Setting up a 2-motor X+Y X-Y 3D-printer===
 +
 +A 3D printer shown below is an example of a setup which utilized the X+Y and X-Y axis configuration in Settings -> Config -> Axes/Motors:
 +
 +http://forum.pv-automation.com/download/file.php?id=1135&t=1
 +http://forum.pv-automation.com/download/file.php?id=1134&t=1
 +
 +=== Setting up a waterjet system === 
 +
 +Certain CAM software packages can automatically insert necessary waterjet M-codes at some desired distance from the corners to properly accelerate and decelerate the machine. These M-codes are M64/M65, as well as M164/M165 - the first two turn a specified output on/off on the fly without stopping (using the special FlyCut license that we provide), while M164/M165 are reserved for controlling the PWM output. 
 +
 +Some profiles within myCNC software (such as X1366P) contain a Software PLC procedure (WATERJET_SLOWSPEED) that works by monitoring the state of the output that the above codes toggle on and off:
 +
 +<code C> main()  
 +{
 + a0=gvarget(7184)&(1<<10); 
 +do{ 
 +a1=gvarget(7184)&(1<<10);
 +if (a0!=a1) 
 +{  
 + a0=a1; 
 + if (a0==0) //normal speed   
 +  {   
 +   gvarset(9379,0);
 +  }else //slow speed 
 +  {     
 +    gvarset(9379,1);   
 +  }; 
 +};    
 +}while(1);       
 +};   
 +</code>
 +
 +The above software PLC monitors the state of the desired output and switches the state of the global variable #9379. Writing "1" to this global variable results in a timer being started in the myCNC system, allowing the software, with the help of "Overspeed %" value, to smoothly reduce/increase the speed while passing a corner.
 +
 +As mentioned before, this functionality requires a FlyCut license, which is available to purchase on request. 
  
mycnc/mycnc_setup_examples.txt · Last modified: 2024/01/30 12:09 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki