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

More
30 Jan 2019 03:21 #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 or Create an account to join the conversation.

More
30 Jan 2019 13:49 #125324 by newbynobi
Replied by newbynobi on topic Min,max limit of AXIS using nontrivial kín.
But Joint Limits should be used in Joints mode.

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

More
31 Jan 2019 02:16 #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 or Create an account to join the conversation.

More
31 Jan 2019 07:02 - 31 Jan 2019 07:13 #125383 by dgarrett
Replied by dgarrett on topic Min,max limit of AXIS using nontrivial kín.
ini hal pins (ini.L.min_limit,ini.L.max_limit, etc.) can
change coordinate soft limits:
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:
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).
$ man milltask

Ref: linuxcnc.org/docs/devel/html/man/man1/milltask.1.html
Last edit: 31 Jan 2019 07:13 by dgarrett.

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

More
31 Jan 2019 11:54 #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 or Create an account to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum