![cambam pocket start point cambam pocket start point](http://www.cambam.info/doc/fr/images/29_tuto_pocket/poche_7.png)
all machines and manufacturers use different command structures and have different bed sizes and mechanics so a postprocessor is written to be the interface between CAM and your machine.
![cambam pocket start point cambam pocket start point](https://visualeagle.com/landing-pages/Download-Minecraft-Pocket-Edition-Free/images/uploads/Hand-Phone.png)
(CAD draws pretty pictures, CAM turns it into machine speak)ĬAM creates your tool paths from a list of machine operations MOPs these paths are turned into gcode by the postprocessor. Ie i use a CAM program called Cambam which has a grbl postprocessor for my machine. What CAM program are you using and what postprocessor is it using. There are a couple of other modal functions, home position, G54-G58 work coordinates, tool height and tool change location and lets not forget machine coordinates which you will never mess with as it is the refference of all other coordinates on your machine.
#CAMBAM POCKET START POINT CODE#
Normal machine practice would be to sent Feed, speed and direction command on a single line of code F200 S1000 M3, you would mill the section of the part then M5 to stop the spindle ie direction zero/off to start milling again M3 The speed and feed are still set in modal memory. If S1000 is sent to the machine controller then the spindle speed is modal so turning it on and off with M3(or M4) and off with M5 you dont need to send a spindle speed command again (unless you want to change speed obviously) So if you send G1 then you dont need to tell the machine on every line that is is making G1 moves, when you need to rapid G0 then you send G0 and it replaces the G1 modal and becomes the persistant command. Spindle speed, feedrate and G* moves are all modal ie it stays constant until its changed in value Ok the word i was looking for is Modal - when a command is persistant. Let me know if there's any more info you need Running GRBL 1.1f (flashed with LaserGRBL if that matters) and Lightburn for gcode (the same thing happens with any host though). It shows $32=1 (see bottom of post for $$ output) Am I using the wrong pin? I can't find any useful documentation about the shield.
![cambam pocket start point cambam pocket start point](http://www.cambam.info/doc/plus/images/basics/nema23-4.png)
I have the TTL pin of this laser wired to the spindle direction pin of the shield from this kit. Adding M3 to my end gcode does make it turn off at the end of a task. After it finishes a task it just sits there with the laser on and burns a hole. The problem with this is that all my prints have lines through them as the laser moves and doesn't shut off. M3 followed by any S value is the only command that will shut the laser off. M4S0 does not turn it off, nor does any other command I've tried. M4 S# turns on my laser, as I would expect it to. I've hit a bit of a roadblock with my build.