Comments (4)
I dont know anything about your particular problem. but this fork seems to be dead. Look at the fork at github.com/chamnit for a more recent version. The probability that someone will help you is higher;)
from grbl.
To do active low, all you need to do is set the stepper mask in the EEPROM settings. To do this, flash grbl to your Arduino, connect to it through a terminal interface. '$' shows the EEPROM settings. The mask correlates to the config.h pins: so pins 1/2 are serial rx/tx and are ignored, 3/4/5 is the stepper XYZ pulse active high/low mask, and 6/7/8 is the stepper XYZ direction mask. Just set the mask with the integer number of the binary mask.
from grbl.
So if I am understanding you correctly, Since pins 0,1 are tx,rx, and I want XYZ step set to active low (000) and XYZ direction either set to 000 or 111. That would create a mask of 11100000 or 00000000. Would that be correct?
My servo controller is calling for pins for step, direction, stepper enable and of course gnd. By setting the mask to either of the above two masks and not being able to have a pin for each enable axis. When I send a jog (pulse) on the X asis my motor turns on and does not stop until I send a jog (pulse) in the opposite direction. I cannot get the servo to operate off of a single pulse, I am sending the following gcode: "G91\nG20\nG00 X" + speed + " Y0.000 Z0.000\n
Thanks
Joe
Is my mask correct and do you know why my servo motors turn on and do not turn off unless I send an opposite jog (pulse)
from grbl.
You're correct about how to set the mask, but the mask is there to set the correct orientation of your machine coordinate system. Traditionally the positive directions are X-right, Y-away, Z-up. If this is flipped, you use the mask to flip them. Also, I think there is a misunderstanding what the G00 command does. It move to a position not a speed. If you use G00 X10, it'll move 10mm (unless in inch mode) to the right. If it's G00 X-10, it'll move 20mm to the left to the X-10 position. To set speed, use the G01 with the F command, which will set feed rate. So move back to the origin from X-10 at a feedrate of 100mm/min, you would type G01 X0 F100. Hope that helps.
from grbl.
Related Issues (20)
- GRBL 1.1F ERROR WHILE PROCESSING RESPONSE (EMERGENCY HELP) HOT 1
- CO2 laser best and budget friendly controllers
- grbl 1.1h spindle with relay shield ( Buzzing Relay) HOT 3
- Error correction/checksum HOT 5
- GRBL return to origin
- Laser marking machine solution discussion by grbl
- Pen up/down is not working wit bachin draw software HOT 1
- Bachin draw software servo problem HOT 1
- Self-squaring with CNC Shiel 3.0
- How to disconnect the GRBL serial connection after the stepper motor has completed its entire operation HOT 1
- homing issue on my cnc 3018 pro using ugs HOT 4
- H-Bridge adaption for GRBL
- Different ports for Step and dir pins of each stepper motor
- Move generated path in same time
- Grbl sets up correctly but HOT 1
- I encountered a problem with $$ command HOT 3
- grbl 'crashes' HOT 13
- GRBL homing problem when using the homing cycle in G-code after G1/G0 commands HOT 2
- How do I use variable spindle speed when Z axis limit switch is in use? HOT 5
- The site being 'moved' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl.