Configuring a rotary axis on a router

More
08 Jan 2020 11:15 #154298 by aaron
Hi
Apologies for posting this again but I would like/really need, to get this going
I am struggling to configure a rotary axis on a xyza gantry router with two steppers on the x axis. I have got x y and z to to move and home okay and there is power to the stepper on the a axis, but it will not jog. I have attached hal and ini files as will as the pin assignments for the breakout board. I would appreciate some simple instructions/directions because I just can't get my head around how these files work. Any help on this issue would be very gratefully received.
Thanks
Aaron
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 12:03 - 08 Jan 2020 12:20 #154301 by tecno
Replied by tecno on topic Configuring a rotary axis on a router
Any error messages?
Last edit: 08 Jan 2020 12:20 by tecno. Reason: more text

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 20:37 #154344 by aaron
Replied by aaron on topic Configuring a rotary axis on a router
Hi tecno
There don't seem to be any error messages, However when I open lcnc from the command line I get some strange text:

LINUXCNC - 2.8.0-pre1-4735-g2a127da
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {too many nested evaluations (infinite loop..."
too many nested evaluations (infinite loop?)
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /usr/share/doc/linuxcnc/examples/sample-configs/attic/dallur-thc"
("after" script)
too many nested evaluations (infinite loop?)
(procedure "Tree::visible" line 1)
invoked from within
"Tree::visible .main.f1.f2.f3.tree /home/aaron/linuxcnc/configs/foam_xxyz/foam_xxyz.ini"
("eval" body line 1)
invoked from within
"eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /usr/share/doc/linuxcnc/examples/sample-configs/attic"
("after" script)
too many nested evaluations (infinite loop?)
while executing
"string map $map $node"
(procedure "_node_name" line 4)
invoked from within
"_node_name $path $node"
(procedure "Tree::visible" line 2)
invoked from within
"Tree::visible .main.f1.f2.f3.tree /home/aaron/linuxcnc/configs/foam_xxyz/foam_xxyz.ini"
("eval" body line 1)
invoked from within
"eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /usr/share/doc/linuxcnc/examples/sample-configs/apps/xhc-hb04/xhc-hb04.demo"
("after" script)
Machine configuration directory is '/home/aaron/linuxcnc/configs/foam_xxyza-KK01A'
Machine configuration file is 'foam_xxyza.ini'
Starting LinuxCNC...
.
Found file(REL): ./foam_xxyza.hal
Found file(REL): ./custom.hal
note: MAXV max: 75.000 units/sec 4500.000 units/min
note: LJOG max: 75.000 units/sec 4500.000 units/min
note: LJOG default: 7.500 units/sec 450.000 units/min
note: AJOG max: 1500.000 units/sec 90000.000 units/min
note: AJOG default: 60.000 units/sec 3600.000 units/min
Warning: Forward kinematics must handle duplicate coordinate letters:xx

Note:
Individual axis homing is not currently supported for
KINEMATICS_IDENTITY with duplicate axis letter <X>

note: jog_order='XYZA'
note: jog_invert=set([])
[/i]

Does this have any bearing on the issue?

Cheers and thank you

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 15:35 #154450 by tecno
Replied by tecno on topic Configuring a rotary axis on a router
You have the same question in this thread
forum.linuxcnc.org/49-basic-configuratio...xis-on-a-cnc-rrouter

Answers given there.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
09 Jan 2020 15:56 #154452 by tommylight
Replied by tommylight on topic Configuring a rotary axis on a router
Several days back, i've spent about 20 minutes trying to find this as i was sure it was a double post, could not find it !
No wonder, it has the same exact title !
@aaron
No double posting, i am sure you posted this after i answered the other thread and you just ignored it.

@Tecno
Thank you.

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 17:13 #154460 by aaron
Replied by aaron on topic Configuring a rotary axis on a router
Very sorry for double posting. I was getting a bit desperate and didn't see your post
Once again very sorry
Aaron

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds
Powered by Kunena Forum