I switch CamBam into 'UseVisualStyles' to get nicer graphics.
So if anyone has a machine with GRBL v1.1 sitting around and could do some tests on it... I would be really gratefull.
... my 3D printer can be used to test ? (Melzi Ardentissimo motherboard)
Quote from: dh42... my 3D printer can be used to test ? (Melzi Ardentissimo motherboard)
AFAICS that board runs Marlin, not GRBL.
Grtzz,
Karst
Ah OK, so I can't test ..
I'm tempted to buy something GRBL-driven, just to test this module. IIRC, I think SparkFun has some little GRBL robotics devices.
@david
I guess you liked it ?
With the arduino and simulation it could be adapted to work as a mini SCADA system.
P.S. Did anybody ever find the 'Subtract' function for Surfaces ? The 'Join' exists and I used it extensively
Karst,
For those that don't have 3d cad what you have done would be huge. Three things missing that I see. Extrude Polygon, especially with taper. Revolve to create a round shape from a polygon. Difference so you can subtract the solid from another solid to create a cavity.
public class Shape : Surface
{
public static void AddExtraTypes()
{
CADFile.ExtraTypes.Add(typeof(Cylinder));
CADFile.ExtraTypes.Add(typeof(Rod));
CADFile.ExtraTypes.Add(typeof(Disc));
CADFile.ExtraTypes.Add(typeof(Sphere));
}
[XmlAttribute(AttributeName = "type", Namespace = "http://www.w3.org/2001/XMLSchema-instance")]
public virtual string TypeName
{
get { return GetType().Name; }
set { }
}
}
[Serializable]
[XmlRoot("cylinder")]
public class Cylinder : Shape
{
...
...
...
}
[Serializable]
[XmlRoot("surface")]
public class Cylinder : Surface
{
...
...
...
}
... it looks like you do not have Grbl v 1.1f on the Arduino. GRBLMachine does not work with Grbl versions below 1.1...
**** Connected to COM170 @ 115200 baud ****
Grbl 1.1e ['$' for help]
>G21F100:ok
>>> $$
$0=10
$1=25
$2=0
$3=6
$4=0
$5=0
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=0
$24=25.000
$25=500.000
$26=250
$27=1.000
$30=1000
$31=70
$32=0
$100=400.000
$101=400.000
$102=400.000
$110=3000.000
$111=5000.000
$112=4000.000
$120=100.000
$121=100.000
$122=200.000
$130=132.000
$131=93.000
$132=35.000
ok
...Once again, thanks for your help. And thank you for the work you have put in on this plugin for CamBam...
...If I can get it to work, I may abandon Mach3. Mach3 has worked well for me but hardware/software technology has moved away from the serial port and dedicated (real time) information being sent from the 'PC'...
Hi,
Thnx for the compliment ! 8)
... aside from the Axis parameters and dome direction bits, it is still default as Grbl v1.1 comes out of the box.
Grtzz,
Karst
'CamBam.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\CamBam plus 1.0\CamBam.exe'. Module was built without symbols.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\CamBam.CAD.dll'. Module was built without symbols.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\CamBam.Geom.dll'. Module was built without symbols.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CADExtras.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CamBam.CAD.Solids.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CamBamLathe.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CamBamPlus_Toolkit.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CamBamPrintV3200.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CAMToolbarAddins.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\cb2cm.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\CutViewer.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\DigitizePlugin.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\ExcellonIO.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\GRBLMachinePlugin.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\HeightMapPlugin.dll'. Module was built without symbols.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\PluginManagerRegister.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\RadiusPlugin.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\Slotter.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\TapMate.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\trochomops.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\ViewToolbarAddins.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\plugins\Zoom.dll'. Cannot find or open the PDB file.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Program Files\CamBam plus 1.0\OpenTK.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.DllNotFoundException' occurred in OpenTK.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Symbols loaded.
The thread 0x1450 has exited with code 259 (0x103).
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Symbols loaded.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll'. Symbols loaded.
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'Microsoft.GeneratedCode'.
'CamBam.exe' (CLR v4.0.30319: CamBam.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'. Symbols loaded.
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Management.dll
The thread 0x148c has exited with code 259 (0x103).
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Management.dll
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CamBam.exe
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CamBam.exe
Additional information: The executable program that this service is configured to run in does not implement the service. (Exception from HRESULT: 0x8007043B)
The program '[4760] CamBam.exe' has exited with code 0 (0x0).
The program '[4760] CamBam.exe: Program Trace' has exited with code 0 (0x0).
Existe-t-il une version française de ce plugin ?
Both 'home' and the tool-change position are programmable in the post. 'Simple changes, too!
Lloyd
So I haven’t used G41,G42 since using CamBam. Its also strictly 2D so it is getting less and less important all the time.
Beermkr (BTW a man after my own heart!),
Give me the link to the PP you're using, and I'll take a look at it. I'm too busy (or lazy) to search for it myself.
Lloyd
$J= - Run jogging motion Executing a jog requires a specific command structure, as described below:
$J= to indicate the jog. It works like a normal G1 command.
Feed rate is only interpreted in G94 units per minute. A prior G93 state is ignored during jog.
Required words:
XYZ: One or more axis words with target value.
F - Feed rate value. NOTE: Each jog requires this value and is not treated as modal.
Optional words: Jog executes based on current G20/G21 and G90/G91 g-code parser state. If one of the following
optional words is passed, that state is overridden for one command only.
G20 or G21 - Inch and millimeter mode
G90 or G91 - Absolute and incremental distances
G53 - Move in machine coordinates
Example: G21 and G90 are active modal states prior to jogging. These are sequential commands.
$J=X10.0 Y-1.5 will move to X=10.0mm and Y=-1.5mm in work coordinate frame (WPos).
$J=G91 G20 X0.5 will move +0.5 inches (12.7mm) to X=22.7mm (WPos). Note that G91 and G20 are only applied to this jog command.
$J=G53 Y5.0 will move the machine to Y=5.0mm in the machine coordinate frame (MPos).
If the work coordinate offset for the y-axis is 2.0mm, then Y is 3.0mm in (WPos).
Example, after homing ( top right and up) I jog to (-300,-200,-50) and display machine position (see mpos.jpg attached). I then set the work origin by hitting the set WCS (0,0,0) button and change the display to WCS.
I'd expect to see (0,0,0) but I still get (-300,-200,-50) see wpos.jpg.
A note about backlash compensation in general, it's better to fix the lash problem itself
rather than rely on electronic compensation as backlash comp can only do so much and you will
experience some chatter if you are milling harder materials.
Anyway good luck and have fun.