On 1/14/26 07:39, Viesturs Lācis wrote:
svētd., 2026. g. 11. janv., plkst. 00:12 — lietotājs gene heskett
(<[email protected]>) rakstīja:
Considering that most of that style SSR's trigger on less than 5 mills,
I might put a 100 ohm R in the - line from your board.
Thank you Gene! Did this (added 100 ohm resistor) and the SSR works!
Now I have a question about motion.spindle-on pin on version 2.7 -
that HAL pin does not turn on from M03 command in g-code or MDI
although Axis GUI in Manual tab will have spindle forward button
pressed. But actually pressing that button (or hitting F9 on keyboard)
does turn on the motion.spindle-on pin. It makes me think that I am
missing some connection or parameter in HAL file, but I could not find
anything in docs. According to this page, IMHO it should be
sufficient:https://linuxcnc.org/docs/2.7/html/examples/spindle.html
That page seems to cover it, but Its been yonks since I last ran a 2.7
distro.
And since there's several ways to do this or that, I hesitate to guess what
might be missing from your config. In the case of the lathe I'm using a vfd
driven by a mesa spinx1, there is a similar function in the 7i76d I use for
the rebuilt 6040 which now have a REAL VFD but the motor in the go704
is PMDC, I'm seriously over driving as its a 90 volt, 9,7 amp 1hp motor
I've been hitting with 126 volts, and current limited to 18 amps in a
PWM-Servo driver that Jon Elson makes. 12 years later it is still on the
OEM brushes. Max spindle speed was 2200 OOTB, 3000 now.
So I'd pick the method you are using from that link, and print those
pages that describe your setup and put a check mark on the printout
for every hal pin related, and when you've found all the stuff in the
hal file, the line w/o the checkmark might be the error.
You've been doing this stuff as long or longer than I so at risk of carrying
coal to Newcastle, I will comment a bit as a reminder.
hal files can get messy when trying to get the threads all in the proper
addf
order AND for logic you can follow easily. The addf order is /very/
important.
Every addf stage must be ordered so an input signal falls straight thru
those
blocks of logic in the same loop invocation with the output result
falling out
in the same millisecond.
I've even had to do a rockhopper printout as it traces all that, but
that isn't
anywhere near my definition of fun. It can be a helpful tool.
gedit can and will screw you over royally, so I use geany, or even nano -p
which has never failed me. gedit makes your code look like scrambled
eggs about once in 150 edits. I've been blowing it away and have for at
least a decade now.
I will appreciate any suggestions of what have I overlooked.
Viesturs
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Don't poison our oceans, interdict drugs at the src.
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users