Solved!

I was using *spindle.M.speed−cmd−rps *to drive my stepgen and VFD and this
pin sets to the maximum speed when in G96. I'm now using
*spindle.M.speed−out−rps
*and it works perfectly. But that makes me question the naming on these
pins. Aren't all the CMD tagged pins supposed to be used to feed PWM,
Stepgens, etc?

El jue., 30 abr. 2020 a las 13:36, Leonardo Marsaglia (<
[email protected]>) escribió:

> Just to be super clear. I'm sending the spindle speed cmd velocity to a
> step generator in velocity mode. Could this be the source of the problem?
> Or does LCNC internally set the speed of the spindle based on the X
> diameter?
>
> El jue., 30 abr. 2020 a las 12:57, Leonardo Marsaglia (<
> [email protected]>) escribió:
>
>> Is the X axis (hal pin) position correct and in the machine base units?
>>
>>
>>  Here's a picture https://imgur.com/uFjq7s0 (doesn't read to well but I
>> think it's fine to understand the numbers) that may answer this. I'm
>> getting negative values on those pins depending on my offsets but from what
>> I've could find about G96 it always uses the active offset value for the X
>> axis.
>>
>> What I would like to know is. Does G96 only work when lathe mode is on?
>> Does it automatically recognise the X axis? Because I don't know if I have
>> some problems with the axis declarations on the INI and HAL files but I'm
>> just guessing.
>>
>> El jue., 30 abr. 2020 a las 12:52, Leonardo Marsaglia (<
>> [email protected]>) escribió:
>>
>>> Is the X axis (hal pin) position correct and in the machine base units?
>>>
>>>
>>> I'm attaching a picture (doesn't read to well but I think it's fine to
>>> understand the numbers) that may answer this. I'm getting negative values
>>> on those pins depending on my offsets but from what I've could find about
>>> G96 it always uses the active offset value for the X axis.
>>>
>>> What I would like to know is. Does G96 only work when lathe mode is on?
>>> Does it automatically recognise the X axis? Because I don't know if I have
>>> some problems with the axis declarations on the INI and HAL files but I'm
>>> just guessing.
>>>
>>>
>>> El jue., 30 abr. 2020 a las 12:30, andy pugh (<[email protected]>)
>>> escribió:
>>>
>>>> On Thu, 30 Apr 2020 at 15:52, Leonardo Marsaglia <[email protected]
>>>> >
>>>> wrote:
>>>>
>>>> Working in G54 with the tool selected and G43 I get positive diameter.
>>>> The
>>>> > only negative values are in machine coordinates but G96 it's not
>>>> supossed
>>>> > to use that value right?
>>>>
>>>>
>>>> No. And despite what the docs say I don't think G96 uses
>>>> spindle.M.speed in
>>>> either. That is only used for feed-per-rev (and even then using position
>>>> would make more sense, unless you had to use a spindle tachometer)
>>>>
>>>> Is the X axis (hal pin) position correct and in the machine base units?
>>>>
>>>> --
>>>> atp
>>>> "A motorcycle is a bicycle with a pandemonium attachment and is designed
>>>> for the especial use of mechanical geniuses, daredevils and lunatics."
>>>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>>>
>>>> _______________________________________________
>>>> Emc-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>>
>>>

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to