Where the stepgen getting it's input from ?

More
11 Sep 2024 03:26 - 11 Sep 2024 03:27 #309878 by PhilipME
Is the stepgen getting its input from the g-code from the ngc file/mdi commands?

and where does that take place?

Thanks
Last edit: 11 Sep 2024 03:27 by PhilipME.

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

More
11 Sep 2024 18:09 #309928 by Todd Zuercher
it is somewhat complicated. The stepgens do not get their position commands directly from the g-code. There are a few layers in between.

One of the motion planners (there is more than one) sends the commands for movement to the kinematics model, that then sends the joint position commands either directly to or via a PID loop to the stepgen. (I understand that the motion planner used for jogging isn't the same as the one used for program execution.)

The motion planner reads the G-code, calculates what the current commanded position should be and adds required offsets, before sending the axis positio commands to the Kinematics program.

After the Kinematics program translates the axis positions to joint positions, then any additional joint offsets will be added (such as home offsets.
The following user(s) said Thank You: besriworld, PhilipME

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

More
11 Sep 2024 21:57 #309943 by PhilipME
Amazing

thanksĀ 

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

Time to create page: 0.059 seconds
Powered by Kunena Forum