On 09/04/2016 08:53 AM, Andy Pugh wrote:
>
>
>> On 4 Sep 2016, at 18:21, Kirk Wallace <[email protected]> wrote:
>>
>> E is the distance along the Z axis that is the width of an
>> end taper
>
> I have used E for spindle number.
> I wonder if I could use N?
>
> I realise that N is used for line numbers, but Linuxcnc ignores them.
> Maybe N as s parameter to other commands could be brought in to use? It would
> involve treating N differently depending on where in the block it is.
>
> Not standard G code, but then I am not aware that the is a standard
> miltispindle G-code.
Have you given L some thought? The first two digits could be spindle
number, the second two the end taper flag?
> // L - Indicator for which options are needed
> int flags = 0;
> if(block->l_flag) {
> CHKS((block->l_number < 0 || block->l_number > 9999),
> (_("In G76, if L is used it must be: 0 = no taper, 1 = entry, 2 =
> exit, 3 = both or 1xx for spindle 1 or ...")));
> flags = block->l_number;
> }
> int entry_taper = flags & 1;
> int exit_taper = flags & 2;
> int spindle_number_1 = flags & 100;
How do you invoke the spindle call?
--
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/
------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers