Add Orient PID to calibration window

More
08 Nov 2021 19:34 #225714 by Michael
I would really like to add the Orient PID to this calibration window in Axis. Having to shitdown, restart, rehome and reopen show hal for every change is becoming a pain.

Thank you for the help,

Mike
 
Attachments:

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

More
08 Nov 2021 19:49 #225717 by Henk
I normally use the little command window on the Hal configuration window to tune PID that doesn't show in the calibration window.

Or you can open a terminal and type: halcmd  setp pin_name.

Depending on what hardware you have ..have
you can look for the pin name in Hal configuration window. Cannot remember now exactly where, but you will find it.

Henk

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

More
09 Nov 2021 14:32 #225830 by Michael
That does work better then what I was doing but still a bit clunky. And it doesn't have an option to save the new settings to the ini. There has to be a file that can be edited to include more ini settings in that calibration window.

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

More
09 Nov 2021 15:29 #225845 by dgarrett
Ref: linuxcnc.org/docs/html/gui/axis.html

'Calibration' - Starts the Calibration assistant (emccalib.tcl).
Calibration reads the HAL file and for every 'setp' that uses a variable
from the ini file that is in an [AXIS_L],[JOINT_N],[SPINDLE_S], or [TUNE]
section it creates an entry that can be edited and tested.


Ref: linuxcnc.org/docs/html/getting-started/updating-linuxcnc.html

=== Calibration (emccalib.tcl)

The calibration/tuning tool now supports stanzas:

[JOINT_N], [AXIS_L], [SPINDLE_S], [TUNE]

where N is a joint number (0 .. ([KINS]JOINTS-1) ),
L is an axis coordinate letter (X,Y,Z,A,B,C,U,V,W),
and S is a spindle number (0 .. 9)

[NOTE]

The number of allowed spindles is 8 but legacy configurations
may include a stanza [SPINDLE_9] unrelated to an actual spindle
number.

[NOTE]

The [TUNE] stanza may be used for specifying tunable items
not relevant to the other supported stanzas.
The following user(s) said Thank You: nkp, tommylight, Michael

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

More
09 Nov 2021 16:07 #225851 by Michael
Awesome. Been a while since I read through that one. Linuxcnc has everything you want in 1000 pages of documentation all right in front of you.... somewhere.

So just relabel the [ORIENT] to tune. I don't think that was in the last version.

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

Time to create page: 0.086 seconds
Powered by Kunena Forum