Test Panel - inop - no function?

More
30 May 2020 19:08 #169444 by MikeWien
Hello - question from a newbie... :-)

LinuxCNC setup just first time now installed, so absolutely inexperienced...
RT Kernal installed..
Mesa 5i25 inserted , and as I got just a 7i75 to play with (no intelligence on it) ... used firmware PROB_RFx2 for the 5i25
... Stepper (Leadshine DM556) are working... with some unexpected...

Questions: :-)
PNCConf - Test Panel "Launch test panel" in I/O Connector 2 for Mesa inop ... or at least no response when pressed...
I found in a 2014 y post, in the forum, that inop... but guess 6y later should be solved?!?

Testing the Axis... "Test / Tune Axis" function in PNCCONF.. (changed Step On-Time to 4000 (seems was too slow for my Leadshine Driver))
Axis travels 50mm , stops and remains for default 1 sec.. I changed to 10sec ... and moves back 50mm thereafter... thats ok, but..
Unexpected, the Axis moves around while halted a few steps ... 5i25 sends signals (detectable with Oszi) + and - ... and also on this axis test page in PNCCONF , it shows bouncing around a few steps... any idea, as there is no feedback .. no axis encoders, installed...nothing... ?
hm2_5i25.0.stepgen.04.position-fb jumps around a bit ... (in 1/100 .. maybe up to 0.05 )
hm2_5i25.0.stepgen.04.velocity-fb
and HAL-Meter .. default indication "Speed_rpm" also goes +- hundreds
I assume, both should remain steady during the 10 sec break... ?!? Tested X, Y, Z Axis...

As I just downloaded... LinuxCNC V2.7.15 ... should be latest..

I just started with this File generated by PNCCONF .. and yes, I can move my axis ... but ... without manual moving... X indication bounces around maybe 1 mm and the same is visible on the real stepping motor... mhhh ending up in a joint 0 following error...

Any help very welcome :)

Yours,
Michael

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

More
30 May 2020 19:33 #169445 by PCW
Can you post your hal and ini files?

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

More
30 May 2020 19:56 #169447 by MikeWien
Sure PCW :-)
Here we are..
Attachments:

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

More
30 May 2020 20:18 - 30 May 2020 20:18 #169449 by PCW
You have the P term set too high, the default should be 1/servo thread
period so P=1000 at your 1 mS servo period would is correct.
Last edit: 30 May 2020 20:18 by PCW.
The following user(s) said Thank You: MikeWien

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

More
30 May 2020 20:37 #169454 by MikeWien
Hi PCW,
Thanks.. it works... :-)
Just curios why it has an influence on a stopped stepper axis (if no feedback...)

Kr
Michael

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

More
30 May 2020 21:24 - 30 May 2020 21:24 #169458 by PCW
Actually most step generator systems do have feedback though it is local to the controller
(LinuxCNC in this case). The way this works with Mesa hardware and LinuxCNC is that
LinuxCNC sets the velocity (steps per second) every servo thread period and checks
the current step position from the step generator. If there is a small deviation from the
expected position, (say because of small time base differences between the hardware
and LinuxCNC) the velocity will have a correction applied so that at the next servo
thread, the error will be reduced or completely corrected.

A P term of 1/servo_thread_period results in this correction being done in one servo period

A P term of more than 2/servo_thread_period will be unstable because the correction
will cause a a position error larger than original error but in the opposite direction
Last edit: 30 May 2020 21:24 by PCW.
The following user(s) said Thank You: MikeWien

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

More
31 May 2020 10:21 #169503 by MikeWien
Thank you, PCW...

Do you also have any info about the not launched Test-Panel mentioned in initial question?

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

More
31 May 2020 13:43 #169514 by PCW
Not sure about that, it works on master, though you do have to have
the exact firmware pncconf expects loaded since the test axis test script
enables all modules in the selected firmware.

If you ran pncconf from a terminal did it print any error messages?

Another live tuning option is the "Calibrate" menu item in LinuxCNC

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

More
31 May 2020 19:32 #169555 by MikeWien
Hi PCW,
error from terminal... starting pncconf... did it just now, always used gui...
anyway... list of none's:
s-stepgen-step none
s-pwm-pulse none
and so on...
on pncconf I selected board name: 5i25 internal Data
Firmware: prob_rfx2
which is also installed on the 5i25, so should fit...?

My expectation was, to see a panel with all i/o to check if correct attached it's function.. e.g. limit switches and so on...

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

More
31 May 2020 19:38 #169557 by PCW
The test panel just tests axis operation. To read/change hal pins in real time
you can use halshow and or halcmd (once LinuxCNC is running )

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

Moderators: cmorley
Time to create page: 0.095 seconds
Powered by Kunena Forum