G0 A-45
??
The stepper will turn a horizontal Ellis Divider- 40:1
8 divisions or 45deg
The Gcode Ive written
G0 G90 G20
A45 F200
M30
222.222 is written in Motor Tuning-A axis-Steps per
Lets say after drilling #3 hole and I need to go back to #1 position,
What code is needed to make the stepper turn back, CCW, to #1 position ?
This is my first attempt at Cnc and Mach3.
All is wired up on my bench.
PS
Stop switch
Gecko 540
Keling 23/382oz-1.8° /200 Steps Per Rev
Mach3
Similar Threads:
G0 A-45
??
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
G90 is absolute, wouldn't it be A0?
G91 -45 if relative?
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Ive typed G90 A0 and G91 -45 in MDI, the stepper still goes CW. but the ref counter 4 goes to 0 (zero)
Sounds like the step is working, but the dir signal is not changing?
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
In Ports/Pins- Motor Output
A-enabled, Step pin 8, Dir pin 9, Dir Low ckd, Step Low ckd,
Step port 1, Dir port 1.
Is this relative?
May have to monitor the status of the pin, either at the PP or at the drive and see if it changes with direction?
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
There are a couple checkboxes in General config that mat need to be changed. Something about rollover (don't have Mach on this PC)
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Under Ports/Pins>Motor Outputs>A axis, I changed Step Low Active to Disabled and it worked.
Dont understand why it does this.
G0 A45 CW
G0 A-45 CCW
I have cheat sheets w/ all G and M codes.
and by modal groups.
But is there any reference for definitions in understandable terms?