MESA 5i23 7i44 7i49 7i37 8i20

More
14 Jul 2015 05:30 #60618 by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20

Question is: where is defined variable "[AXIS_0]PGAIN" and next variable IGAIN DGAIN etc.. ?


In the INI file.

You don't actually have to get them from the INI file, you can use numerical values directly in the HAL file, but if you want to use the INI file then the format [AXIS_0]PGAIN refers to the entry PGAIN = 1.23445 in the [AXIS_0] section of the INI file.

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

More
14 Jul 2015 23:09 #60622 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
My next question is:
There are some basic (recommended) values for the first step?
What is the range of values?

Only for first testing.

setp pid.0.Pgain [AXIS_0]PGAIN
setp pid.0.Igain [AXIS_0]IGAIN
setp pid.0.Dgain [AXIS_0]DGAIN
setp pid.0.bias [AXIS_0]BIAS
setp pid.0.FF0 [AXIS_0]FF0
setp pid.0.FF1 [AXIS_0]FF1
setp pid.0.FF2 [AXIS_0]FF2
setp pid.0.deadband [AXIS_0]DEADBAND
setp pid.0.maxoutput [AXIS_0]MAXOUTPUT


Are there any manual?
:(

Thank You.

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

More
14 Jul 2015 23:54 #60623 by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20

What is the range of values?


It depends on the system being tuned. I have seen Pgains from 0.0001 to 10,000 and there is no reason that the "right" value shouldn't be higher or lower.

The units of Pgain (in your case) are amps per engineering unit. So I would say that as a starting point, to make sure that things move in the right direction, you could try everything at zero apart from Pgain, then set that at 0.1 for an inch machine, and 0.005 for a metric one. That should be fairly slow to respond, but should move in the right direction.

Are there any manual?

There are many text books on PID tuning, and it can make up most of a degree course. I have a colleague with a PhD in the subject...

But as a starting point, have a look at:
www.gnipsel.com/linuxcnc/tuning/torque.html

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

More
15 Jul 2015 00:07 #60624 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
PID is a complex issue.
OK.

But, I'm looking for a manual about the configuration HAL file (with MESA servo) and his parameters.

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

More
15 Jul 2015 00:14 #60625 by kenny

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

More
15 Jul 2015 00:20 #60626 by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
Have you found this page yet? Links to everything...
www.linuxcnc.org/docs/html/

If you are using the axis GUI then you might find the Machine -> Calibration menu option useful, it lets you change the PID settings then write the new values back to the INI file.
The following user(s) said Thank You: kenny

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

More
15 Jul 2015 00:22 #60627 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Thank you, I'll look at it.

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

More
17 Jul 2015 22:00 #60690 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Hi,
I have axis configuration (very basicly) OK.
I still don have configuratition E-stop pin(s) and Machine ON.

#E-Stop and machine-on
setp oneshot.0.falling 1
setp oneshot.0.rising 0
setp oneshot.0.retriggerable 1
setp oneshot.0.width 10 #10 second delay before machine can be on after off.
net estop-sw0 estop-sw.in-00 hm2_5i23.0.7i37.0.0.input-06-not
net estop-sw1 estop-sw.in-01 hm2_5i23.0.7i37.0.0.input-07-not
net estop-sw2 estop-sw.in-02 <= oneshot.0.out-not
net estop-loop estop-sw.and => iocontrol.0.emc-enable-in
net amp-enable joint.0.amp-enable-out oneshot.0.in
Servo Power (08) 8i20-enable 12
net amp-enable hm2_5i23.0.7i37.0.0.output-08 hm2_5i23.0.7i37.0.0.output-12

Do You help Me please?
I need very simple configuration.
Thank

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

More
17 Jul 2015 22:51 #60693 by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20

I still don have configuratition E-stop pin(s) and Machine ON.
...
I need very simple configuration.


The simplest configuration is just a simple loopback like the sim configs use.
But you probably don't want that for an actual live system, you do want the e-stop to work.

It is impossible for me to suggest a config without knowing how your e-stop is wired.

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

More
17 Jul 2015 23:38 #60695 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Please suggest me simple (only sw) solution for E-stop and machine ON Signal.
I have 5I23 and 7I37-TA on port3. All pins in7I37 is still free for use.

Complete emergency circuit is designed and wired in machine, but is not working because machine is still not moving.
Thank You.

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

Moderators: PCWjmelson
Time to create page: 0.074 seconds
Powered by Kunena Forum