Min,max limit of AXIS using nontrivial kín.

More
7 years 9 months ago #125266 by thang
With nontrivial kins (like arm robot) MIN_LIMIT and MAX_LIMIT of AXIS in ini are useless, because this numbers depend on position of machine. I could define equation to caculate current min,max limit of machine but is there anyway to udate them when machine is running?

Please Log in to join the conversation.

More
7 years 9 months ago #125324 by newbynobi
But Joint Limits should be used in Joints mode.

Please Log in to join the conversation.

More
7 years 9 months ago #125376 by thang
I'm using linuxcnc 2.8, and there are two type limit: Joint limit and Axis limit. here i mention Axis limit that is used when machine is in world mode.

Please Log in to join the conversation.

More
7 years 9 months ago #125383 by dgarrett
ini hal pins (ini.L.min_limit,ini.L.max_limit, etc.) can
change coordinate soft limits:
Code:
The inihal pins cannot be linked or set in a halfile that is specified by an inifile [HAL]HALFILE item because they are not created until milltask is started. The inihal pin values can be altered by independent halcmd programs specified by [APPLICATION]APP items or by GUIs that support a [HAL]POSTGUI_HALFILE.

Also note:
Code:
The inihal pins are sampled in every task cycle, however, commands affected by their values typically use the value present at the time when the command is processed. Such commands include all codes handled by the interpreter (Gcode programs and MDI commands) and NML jogging commands issued by a GUI (including halui).
Code:
$ man milltask

Ref: linuxcnc.org/docs/devel/html/man/man1/milltask.1.html

Please Log in to join the conversation.

More
7 years 9 months ago #125417 by thang
This is what i was looking for. I will try if i can update Min,Max limit while machine is in auto mode. Thank you

Please Log in to join the conversation.

Time to create page: 0.106 seconds
Powered by Kunena Forum