Carousel with counts move x amount of pockets

  • GDTH
  • GDTH's Avatar Topic Author
  • Away
  • Senior Member
  • Senior Member
More
06 Sep 2025 19:19 #334559 by GDTH
Hi all,Before I head to bed, I wanted to ask if anyone can quickly help me with my current frustration: getting this machine’s carousel working.I’ve got homing working, but there’s something odd—if the carousel is already homed and I try to home it again, nothing happens. I’ve managed to get M13 working, but I still need to sort out M11 and M12. I’ll attach my HAL and INI files here.I’m wondering if there are better ways to handle this, or if there are any good examples I could look at. My machine doesn’t have sensors for the pockets (which I would have preferred), so I’m working around that.Right now my biggest struggle is that I’m getting “unary” errors from my subroutine. When I try to trace the problem, the error messages aren’t very clear about what’s actually wrong. Is there a way to debug subroutines more effectively? At the moment the basic error messages don’t give me enough detail to figure it out.Any tips would be greatly appreciated

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

More
09 Sep 2025 12:48 #334691 by andypugh
Replied by andypugh on topic Carousel with counts move x amount of pockets
Are you sure that EVAL[.....] is valid? Is that documented somewhere?

I don't recognise it as one of the documented unary functions, but can see examples of its use on the forums. I know that py and pyrun exist (I can see them in the source code, they may not be documented) but eval has me stumped.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum