Machsupport Forum
Third party software and hardware support forums. => Galil => Topic started by: bubba on March 16, 2014, 12:34:40 AM
-
Hi guys,
Does anybody know what the ports and pins numbers are for steppers ?
I have Mach3 and the correct plugin up and running. Mach sees the controller.
I have controller connected and verified it is wired correct using a Different computer with Camsoft like software.
I get 0 axis movement with Mach and do not remember how to test axis movement in Smart Term.
I will start reading the manual for Smart Term, but was hoping for some help.
Thanks,
Joe
-
Pins 2- 9 are output pins IIRC. On my phone in jury duty at the moment.
What are you referring to "Smart Term"?
-
Joe,
A simple move in the Smart Term terminal will be
DPA=0 'define 0
ACA=3000 'Set accel
DCA=3000 'Set decel
PAA=10000 ' Position Absolute to 10000
BGA ' Start motion.
The step and direction signals are not use on the Galil. A position is sent to the Galil plugin from Mach and the Galil sould do all of the step/dir stuff to the motor drivers.
Steve
-
Thanks Steve,
So does that mean that you leave all of the pins and ports defined as 0 ie do not define them?
-
Yes, do not define the set and dir pins. Put them all at port 0.
Steve
-
Hey Steve,
Do we still have to select (Put the check marks on the axis used and check the Dir low and Step low boxes if needed.
I found out that my main problem was the firmware on this card was custom and was fast firm and will not work with steppers.
I have updated the firnware, but not sure I have found the best one yet.
I can make moves in terminal now. Thanks for the sample code!!!!!
I made a few MDI moves within Mach then exited Mach. After that every time I enter Mach and hit reset I get
Galil Error:4 operand error
And for some reason now I have to enter the SH motor on command in terminal before entering the code you gave me or I get the error message
:?20 Begin not valid with motor off.
there is not a jumper on the MO on the card, so I am a little baffled why this is happening.
Thanks so much for your help!!!! At least I am finally making progress.
Joe