Re: [Emc-users] G33.1 error then g-code file parsed

2023-06-28 Thread John Dammeyer
So this morning I whipped up a small g-code program to test the tapping.  I
started a fresh LinuxCNC so that most of the parameters were default.
Did  a HOME command and then moved to the logical home position with a G0 X0
Y0 G0 Z0.
Then loaded this program.

G17 G20 G40 G90
G1 X0 Y0 F20
G1 Z0
S200 M3
G33.1 Z-0.7 K0.05 I3.0
g0 Z0.5
M5
M2
%

The program loaded without errors.
What's interesting is that this time although the knee went back down at 3x
the speed after tapping the end result was a "Joint 2 following error"
Remove the I3.0 and the following error does not happen.  Works with I1.5
but not I2.0.

Not sure why that is.  It worked the other day, even from the MDI entry with
I3.0.  And now it also generates the following error from the MDI.

I'm going to guess either the machine is cold and a bit stiff or there were
some other parameters the other day set that prevented the fault.
In either case, I do not get a fault loading the program.

John


-Original Message-
From: Nicklas SB Karlsson [mailto:n...@nksb.eu] 
Sent: June 28, 2023 6:30 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] G33.1 error then g-code file parsed

Have used the latest origin/master not more than a few weeks old but 
have not checked against older version. Will do this sooner or later, 
hopefully within a week.


Den 2023-06-26 kl. 07:29, skrev John Dammeyer:
> OK.
> I'll try that for you.
> I'm wondering if perhaps spindle acceleration time or some other HAL
> parameter gets flagged with an incorrect error message.   I've done power
> tapping from .ngc files without issue but I've not used the 'I' parameter.
> John
>
> -Original Message-
> From: Nicklas SB Karlsson [mailto:n...@nksb.eu]
> Sent: June 25, 2023 10:09 PM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] G33.1 error then g-code file parsed
>
> Run from MDI then there is no error message for me either. Put the same
> rows in a .ngc file adding M2 and bottom there is an interpreter error
> message then loading the file and display not updated. Looking at bottom
> the program is however actually loaded and seems to work OK.
>
>
> Nicklas Karlsson
>
>
> Den 2023-06-26 kl. 01:26, skrev John Dammeyer:
>> I ran the following commands from the MDI without issue from AXIS 2.8.1
> with
>> MESA 7i92H controlling an AC Servo motor (step/dir) for the spindle.
>> G1 X0 Y0 F20
>> G1 Z0
>> S200 M3
>> G33.1 Z-0.7 K0.05 I3.0
>> M5
>>
>> Interesting watching the spindle RPM indicator, and you can hear it too
of
>> course.
>> Goes down to tap the 0.05" pitch (20TPI thread) at 200RPM
>> Reverses and goes up at 600 RPM.
>> Without the I3.0 it goes up at 200 RPM.
>>
>> John
>>
>>
>> -Original Message-
>> From: Nicklas SB Karlsson [mailto:n...@nksb.eu]
>> Sent: June 25, 2023 9:07 AM
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] G33.1 error then g-code file parsed
>>
>> There is positioning move XYZ in real program but happened to remove
>> them then I should make a small test case.
>>
>> Adding positioning move to test case make no difference. Linuxcnc report
>> a file interpretation error and do not update display but program seems
>> to work supposed to.
>>
>> Nicklas Karlsson
>>
>>
>> Den 2023-06-23 kl. 16:20, skrev Chris Radek:
>>> I would add positioning moves (positioning all of XYZ) before the
>>> G33.1 because otherwise the tapped hole can be anywhere - the
>>> program is indeterminate.  This sure might mess up any attempt by
>>> your GUI to check the program or generate a preview.
>>>
>>> Chris
>>>
>>> On Wed, Jun 14, 2023 at 09:14:20PM +0200, Nicklas SB Karlsson wrote:
 I put the lines below into a file:

 ?? M3 S100
 ?? G33.1 Z-30.474 K0.8 I3.000
 ?? M5
 ?? M2

 Then I read into Linuxcnc I get error message:

 ?? parse_file interp_error

 Removing the line with G33.1 then no error message so it is something
 with this row. Program do however execute as expected with G33.1 line
 even though there is an error message so no real problem. Also execute
 without an error message if run manually in MDI mode. Use origin/master
 last commit Mon May 8 16:10:03 2023 +0200
 404aa407f136ce91a3e6bf911c7bda54011a74e9 Anybody else had similar
>> problem?
 Nicklas Karlsson



 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> htt

Re: [Emc-users] G33.1 error then g-code file parsed

2023-06-28 Thread Nicklas SB Karlsson
Have used the latest origin/master not more than a few weeks old but 
have not checked against older version. Will do this sooner or later, 
hopefully within a week.



Den 2023-06-26 kl. 07:29, skrev John Dammeyer:

OK.
I'll try that for you.
I'm wondering if perhaps spindle acceleration time or some other HAL
parameter gets flagged with an incorrect error message.   I've done power
tapping from .ngc files without issue but I've not used the 'I' parameter.
John

-Original Message-
From: Nicklas SB Karlsson [mailto:n...@nksb.eu]
Sent: June 25, 2023 10:09 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] G33.1 error then g-code file parsed

Run from MDI then there is no error message for me either. Put the same
rows in a .ngc file adding M2 and bottom there is an interpreter error
message then loading the file and display not updated. Looking at bottom
the program is however actually loaded and seems to work OK.


Nicklas Karlsson


Den 2023-06-26 kl. 01:26, skrev John Dammeyer:

I ran the following commands from the MDI without issue from AXIS 2.8.1

with

MESA 7i92H controlling an AC Servo motor (step/dir) for the spindle.
G1 X0 Y0 F20
G1 Z0
S200 M3
G33.1 Z-0.7 K0.05 I3.0
M5

Interesting watching the spindle RPM indicator, and you can hear it too of
course.
Goes down to tap the 0.05" pitch (20TPI thread) at 200RPM
Reverses and goes up at 600 RPM.
Without the I3.0 it goes up at 200 RPM.

John


-Original Message-
From: Nicklas SB Karlsson [mailto:n...@nksb.eu]
Sent: June 25, 2023 9:07 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] G33.1 error then g-code file parsed

There is positioning move XYZ in real program but happened to remove
them then I should make a small test case.

Adding positioning move to test case make no difference. Linuxcnc report
a file interpretation error and do not update display but program seems
to work supposed to.

Nicklas Karlsson


Den 2023-06-23 kl. 16:20, skrev Chris Radek:

I would add positioning moves (positioning all of XYZ) before the
G33.1 because otherwise the tapped hole can be anywhere - the
program is indeterminate.  This sure might mess up any attempt by
your GUI to check the program or generate a preview.

Chris

On Wed, Jun 14, 2023 at 09:14:20PM +0200, Nicklas SB Karlsson wrote:

I put the lines below into a file:

?? M3 S100
?? G33.1 Z-30.474 K0.8 I3.000
?? M5
?? M2

Then I read into Linuxcnc I get error message:

?? parse_file interp_error

Removing the line with G33.1 then no error message so it is something
with this row. Program do however execute as expected with G33.1 line
even though there is an error message so no real problem. Also execute
without an error message if run manually in MDI mode. Use origin/master
last commit Mon May 8 16:10:03 2023 +0200
404aa407f136ce91a3e6bf911c7bda54011a74e9 Anybody else had similar

problem?

Nicklas Karlsson



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users