Mesa 5i25+7i77 plug-n-go configuration

More
23 Dec 2014 02:00 #54231 by PCW
Yes the drives signal gnd can be returned to TB5 pin 3 (analog gnd) with a separate wire
also, there should be no explicit connection of any field I/O pin to the analog signals so
the field power gnd connection should be removed

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

More
28 Dec 2014 06:50 #54328 by 33zy
I checked the voltage at TB5 from pin 3 to pin 4. (with all TB5 wires disconnected)

I get 1.1volt with Linux off.

I have the 5v supplied at Tb1 from the 5i25, that is currently showing 4.8.

My interpretation of your statement is that the 1.1volt reading indicates a bad board? because we would expect to get zero at this location.

I checked the 3&4 pins of other axis and I get a similar reading approx. 1.1volts

Is it time to order a new board?


fixing the signal ground to pin 3 instead of field ground had no effect

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

More
29 Dec 2014 03:56 #54345 by PCW
I would request a RMA number from Mesa for the 7I77 and when you get the number,
send the 7I77 back to Mesa for evaluation, repair and possible replacement

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

More
08 Jan 2015 05:27 #54730 by PCW
33zy: we have received and repaired and returned your 7I77
Since I dont have any contact information I will post this here

The problem found was a bad 74ACT04, This likely indicates
that the7I77s 5V supply was wrong (Either backwards or >7V)
So please check your power supplies before re-installing the 7I77

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

More
11 Jan 2015 06:38 #54870 by 33zy
Thank you very much for your assistance. We received the boards. After checking field power 24v and using the 5i25 5v, we have reinstalled.

When I hit the soft enable, the drive enables and waits for a command. This is good progress.

When I manually jog the machine, I now get a following error as it appears to run away. I increased the ferror to 1.0 in an effort to better understand.
I am assuming I need to tune the drives?
Is their a recommended process for tuning the drives?

Thankyou

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

More
11 Jan 2015 06:48 #54871 by FloppyDisk
John Thornton has a webpage tutorial he put together on servo tuning, this might help:

gnipsel.com/linuxcnc/tuning/index.html

I picked it off one of these forum topics.

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

More
11 Jan 2015 09:15 - 11 Jan 2015 09:16 #54872 by PCW
If the encoder readings are in the correct direction and scaled properly,
and you get a servo runaway, you will have to reverse the output polarity in the hal file
Last edit: 11 Jan 2015 09:16 by PCW.

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

More
12 Jan 2015 04:09 #54903 by 33zy
"Set encoder scale Use the machine data to calculate the number of encoder counts per inch (or mm). For example, if your machine has 5 turn per inch ballscrews, a 40 tooth timing belt pulley on the leadscrew, a 20 tooth pulley on the motor, and a 512 cycle per revolution (2048 count per revolution) encoder, the scale is 5 turns per inch * ( 40 teeth on screw / 20 teeth on motor ) * 2048 counts/rev = 20480 counts per inch. The position-scale parameter of the encoder HAL block should therefore be 20480. Once you set the scale parameter, then the 'position' HAL pin shows the axis position in inches (or mm). "

from the ini file
INPUT_SCALE = 20480
OUTPUT_SCALE = -1.000

corresponding to the HAL line

# encoder feedback
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.scale [AXIS_0]INPUT_SCALE

# position command signals
setp hm2_[HOSTMOT2](BOARD).0.7i77.0.1.analogout0-scalemax [AXIS_0]OUTPUT_SCALE

Am I misinterpreting the tutorial line above?
When the tutorial refers to the "position HAL pin" how can I figure out which on that is?

Thank you

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

More
12 Jan 2015 05:24 #54904 by PCW
if you move the axis (with the drives disabled)
is the encoder scaling and direction correct?

(as read on the axis DRO and verified against a dial indicator, caliper or some other position reference)

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

More
13 Jan 2015 09:40 - 13 Jan 2015 09:50 #54957 by 33zy
table direction and deflection verified against Linux display and correct. Sorry for that distraction.

When I soft enable Linux, all is well.
Then I hit jog (.1).
The machine jogs in the correct direction followed by brief pause and it then runs away 5 to 8 inches to the right with a following error.


Back to tuning. I have been reading about setting base period and servo period. I only see servo period in the ini, is that OK? Am I missing base period?

I started with this (ini & hal) files as a baseline because the config didn't have a config for 7i77/5i25/servo, so I am cautious that I could have started from a poor entry point.

[EMCMOT]

EMCMOT = motmod

# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0

# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010

# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000



# PID tuning params
DEADBAND = 0.000015
P = 100.0
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
Last edit: 13 Jan 2015 09:50 by 33zy.

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

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