Ncam Facing subroutine bug
- freemoore
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 10
06 Feb 2019 12:47 #125800
by freemoore
Ncam Facing subroutine bug was created by freemoore
Hi. Thanks, as always, for NCAM, I use it all the time and it's brilliant.
Not sure if this is the right place for a bug report but: the Facing subroutine will allow me to choose bidirectional or unidirectional when the Axis setting is X Axis, and unidirectional only if it's on Y Axis. If I try to set Y Axis, Bidirectional, I get 'gcode error in ncam.ngc Near line 168 of .../scripts/ncam.ngc: Parameter is readonly' - any way to fix this?
All the best
Andy
Not sure if this is the right place for a bug report but: the Facing subroutine will allow me to choose bidirectional or unidirectional when the Axis setting is X Axis, and unidirectional only if it's on Y Axis. If I try to set Y Axis, Bidirectional, I get 'gcode error in ncam.ngc Near line 168 of .../scripts/ncam.ngc: Parameter is readonly' - any way to fix this?
All the best
Andy
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
06 Feb 2019 15:42 #125815
by FernV
Replied by FernV on topic Ncam Facing subroutine bug
Hi Andy,
Are you using linuxcnc as root ?
Fern
Are you using linuxcnc as root ?
Fern
Please Log in or Create an account to join the conversation.
- freemoore
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 10
06 Feb 2019 16:28 #125821
by freemoore
Replied by freemoore on topic Ncam Facing subroutine bug
I don't think so; launching from the desktop icon rather than using sudo from a terminal so I guess I'm not root.
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
11 Feb 2019 18:44 #126212
by FernV
Replied by FernV on topic Ncam Facing subroutine bug
I do not think the problem is in NativeCAM but something with your setup...
When was it installed ? Have you had other issues ?
Fern
When was it installed ? Have you had other issues ?
Fern
Please Log in or Create an account to join the conversation.
- annuello
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
13 Mar 2019 10:31 #128499
by annuello
Replied by annuello on topic Ncam Facing subroutine bug
Hi Fern,
I've installed NativeCAM earlier this week. Thank you for your wonderful work and videos.
I've observed an additional Surface Finishing (Facing) use-case which will cause Axis to lock up, requiring a "kill -9 <procId>" to terminate Axis.
Scenario: I have an initial Workpiece (Raw Material) and End Mill Change in the NativeCAM tree. My intent is to create a "decking" pass to clean up the top stock surface, using a single Z-height depth of cut. I add a Facing (Surface Finishing) operation.
To recreate the lockup in the Facing operation:
CutStart = Surface
CutDownTo = -1
StepDown = -1
LastCut = -1
The bug: Axis locks up when CutDownTo and LastCut have the same value. The lockup only occurs when using NativeCAM within Axis. No lockup observed when running NativeCAM in stand-alone mode.
Through trial and error I believe I should set LastCut to 0 to achieve my desired single Z-height depth of cut. However, I'm sure no one wants Axis/NativeCAM to lock up, even with bad user data.
NativeCAM v0.1.14b
LinuxCNC v2.7.14
Debian Wheezy
Yours,
Annuello.
I've installed NativeCAM earlier this week. Thank you for your wonderful work and videos.
I've observed an additional Surface Finishing (Facing) use-case which will cause Axis to lock up, requiring a "kill -9 <procId>" to terminate Axis.
Scenario: I have an initial Workpiece (Raw Material) and End Mill Change in the NativeCAM tree. My intent is to create a "decking" pass to clean up the top stock surface, using a single Z-height depth of cut. I add a Facing (Surface Finishing) operation.
To recreate the lockup in the Facing operation:
CutStart = Surface
CutDownTo = -1
StepDown = -1
LastCut = -1
The bug: Axis locks up when CutDownTo and LastCut have the same value. The lockup only occurs when using NativeCAM within Axis. No lockup observed when running NativeCAM in stand-alone mode.
Through trial and error I believe I should set LastCut to 0 to achieve my desired single Z-height depth of cut. However, I'm sure no one wants Axis/NativeCAM to lock up, even with bad user data.
NativeCAM v0.1.14b
LinuxCNC v2.7.14
Debian Wheezy
Yours,
Annuello.
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
13 Mar 2019 13:35 #128513
by FernV
Replied by FernV on topic Ncam Facing subroutine bug
Thanks Annuello,
I will address this
Fern
I will address this
Fern
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4868
14 Mar 2019 14:00 #128584
by andypugh
Replied by andypugh on topic Ncam Facing subroutine bug
This sounds like an infinite loop with an increment of zero.
(So what is actually locking up is the graphical preview, though the real code would also run for ever)
(So what is actually locking up is the graphical preview, though the real code would also run for ever)
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds