Lcnc 2.8 lathe. error after G10 L2 P0 R180
- joekline9
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 81
- Thank you received: 14
07 Jan 2021 20:54 #194414
by joekline9
Lcnc 2.8 lathe. error after G10 L2 P0 R180 was created by joekline9
Just converted a lathe from Lcnc 2.7 to Debian 10 buster linuxcnc 2.8.1.
after G10 L2 P0 R180 (rotate around Z for rear tool) the next X move gives error:
Linear move on line n would exceed Y's positive limit. / invalid parameters in linear command.
Axis displays as it should but I cant move X.
I can get same error in MDI:
G10 L2 P0 R180
G0 X1
after G10 L2 P0 R180 (rotate around Z for rear tool) the next X move gives error:
Linear move on line n would exceed Y's positive limit. / invalid parameters in linear command.
Axis displays as it should but I cant move X.
I can get same error in MDI:
G10 L2 P0 R180
G0 X1
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
08 Jan 2021 11:49 #194479
by cmorley
Replied by cmorley on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
I don't think rotating around Z on a lathe was a use case anyone thought of.
I'm sure it's not tested for.
I'm sure it's not tested for.
Please Log in or Create an account to join the conversation.
- joekline9
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 81
- Thank you received: 14
09 Jan 2021 02:14 #194557
by joekline9
Replied by joekline9 on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
I use it a lot for gang tooling where I have both front and back tools.
Axis displays thing like it should.
I tried running the lathe ngc file in 2.8.1 mill and it works fine.
Axis displays thing like it should.
I tried running the lathe ngc file in 2.8.1 mill and it works fine.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
09 Jan 2021 21:01 #194646
by cmorley
Replied by cmorley on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
It sounds pretty cool - i have a lathe with toolchanger on both sides - it's error prone to use negative positions on the back.
My guess is the lack of Y axis. 2.8 had major changes to expand joints vrs axis.
IIRC linuxcnc used to build dummy axes for axes not being used - maybe tha has changed in 2.8
My guess is the lack of Y axis. 2.8 had major changes to expand joints vrs axis.
IIRC linuxcnc used to build dummy axes for axes not being used - maybe tha has changed in 2.8
The following user(s) said Thank You: joekline9
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4861
10 Jan 2021 23:37 - 10 Jan 2021 23:37 #194812
by andypugh
Replied by andypugh on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
It really shouldn't be even mentioning the Y axis.
It used to work, and it has been recommended on the forum for back-tool. So I think this is a bug and should be added to the issue tracker
It used to work, and it has been recommended on the forum for back-tool. So I think this is a bug and should be added to the issue tracker
Last edit: 10 Jan 2021 23:37 by andypugh.
The following user(s) said Thank You: joekline9
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
11 Jan 2021 23:39 - 12 Jan 2021 00:55 #194987
by dgarrett
Replied by dgarrett on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
Try configuring with:
Ignore the warning:
Attached is example sim config adapted from configs/sim/axis/lathe.ini
[TRAJ]
COORDINATES = XYZ
...
Ignore the warning:
check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=XZ
[TRAJ]COORDINATES=XYZ
Attached is example sim config adapted from configs/sim/axis/lathe.ini
Last edit: 12 Jan 2021 00:55 by dgarrett.
Please Log in or Create an account to join the conversation.
- joekline9
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 81
- Thank you received: 14
12 Jan 2021 01:58 #194997
by joekline9
Replied by joekline9 on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
How do I ignore the warning?
I get an error screen when I try to run it.
I get an error screen when I try to run it.
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
12 Jan 2021 02:16 - 12 Jan 2021 02:17 #194998
by dgarrett
Replied by dgarrett on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
In my test there is a Warning (not an error ) to stdout (the terminal)
which you may ignore
If you have an error screen, you should tell us what the error message says
which you may ignore
If you have an error screen, you should tell us what the error message says
Last edit: 12 Jan 2021 02:17 by dgarrett.
Please Log in or Create an account to join the conversation.
- joekline9
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 81
- Thank you received: 14
12 Jan 2021 02:22 - 12 Jan 2021 02:24 #194999
by joekline9
Replied by joekline9 on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=XZ
[TRAJ]COORDINATES=XYZ
.
.
.
Debug file information:
setup_kins: cmd=loadrt trivkins coordinates=xz
Note: Using POSIX non-realtime
Pin 'J2_vel.out' does not exist
while executing
"hal net J2:vel <= J2_vel.out"
("eval" body line 1)
invoked from within
"eval hal net $args"
(procedure "net" line 1)
invoked from within
"net J$::SIM_LIB(jointidx,z):vel <= J$::SIM_LIB(jointidx,z)_vel.out"
invoked from within
"if $has_xyz {
loadrt hypot names=hyp_xy,hyp_xyz ;# vector velocities
addf hyp_xy servo-thread
addf hyp_xyz servo-thread
net J$::SIM_L..."
(procedure "make_ddts" line 34)
invoked from within
"make_ddts $number_of_joints"
(file "/usr/share/linuxcnc/hallib/basic_sim.tcl" line 55)
invoked from within
"source $filename"
invoked from within
"set result [source $filename]"
(file "/usr/bin/haltcl" line 42)
21495
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime
INCONSISTENT coordinates specifications:
trivkins coordinates=XZ
[TRAJ]COORDINATES=XYZ
.
.
.
Debug file information:
setup_kins: cmd=loadrt trivkins coordinates=xz
Note: Using POSIX non-realtime
Pin 'J2_vel.out' does not exist
while executing
"hal net J2:vel <= J2_vel.out"
("eval" body line 1)
invoked from within
"eval hal net $args"
(procedure "net" line 1)
invoked from within
"net J$::SIM_LIB(jointidx,z):vel <= J$::SIM_LIB(jointidx,z)_vel.out"
invoked from within
"if $has_xyz {
loadrt hypot names=hyp_xy,hyp_xyz ;# vector velocities
addf hyp_xy servo-thread
addf hyp_xyz servo-thread
net J$::SIM_L..."
(procedure "make_ddts" line 34)
invoked from within
"make_ddts $number_of_joints"
(file "/usr/share/linuxcnc/hallib/basic_sim.tcl" line 55)
invoked from within
"source $filename"
invoked from within
"set result [source $filename]"
(file "/usr/bin/haltcl" line 42)
21495
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime
Last edit: 12 Jan 2021 02:24 by joekline9.
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
12 Jan 2021 02:27 #195000
by dgarrett
ok thanks, there was a mistake when i first loaded the example sim,
i fixed it and replaced the attachment bu you probably got the version before i corrected.
the error is fixed by the load for basic_sim.tcl in the ini file:
Replied by dgarrett on topic Lcnc 2.8 lathe. error after G10 L2 P0 R180
Pin 'J2_vel.out' does not exist
i fixed it and replaced the attachment bu you probably got the version before i corrected.
the error is fixed by the load for basic_sim.tcl in the ini file:
HALFILE = LIB:basic_sim.tcl -no_make_ddts
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds