Mesa 5i25 with plain G540, no 7i77

More
25 Jan 2013 11:54 #29121 by PCW
sorry my typo, can you edit the 5i25-g540.ini file and change numpwmgens to num_pwmgens ?

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

More
26 Jan 2013 00:55 #29143 by blacksmith99
No need to apologize, you have been very helpful.

Yes, I can do that. I'll try it tonight and report back.

Thanks!

Matt

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

More
26 Jan 2013 09:31 #29149 by blacksmith99
Two more typos:

setp hm2_[HOSTMOT2](BOARD).0.stepgen.04.control_type 1

Should be:

setp hm2_[HOSTMOT2](BOARD).0.stepgen.04.control-type 1

Also I think the part in bold is wrong, should it be a number? I tried 1 (one) but that didn't work.

net hm2_[HOSTMOT2](BOARD).0.stepgen.04.enable emcmot.00.enable

It did bring up LinuxCNC with no errors when I comment out that line. If that is for the charge pump I can turn off the charge pump input on the G540 and see what happens.

Getting closer!

I tried to upload the latest hal file but I can't get the attachment to upload. Nothing happened when I hit the "Open" button.

Thanks!

Matt

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

More
26 Jan 2013 09:37 #29150 by blacksmith99
Ok good news!

All of the axis move, I need to go in and invert the Z axis since I'm using a pulley on the Z and the motor is upside down.

I also need to set the scaling to the correct number of steps.

All that's left is the charge pump assuming everything else goes Ok.

How do I get the corrected hal file up on the forum?

Thank you!

Regards,

Matt

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

More
26 Jan 2013 11:44 #29152 by PCW
That line should probably be something like:

net charge-pump-enable hm2_[HOSTMOT2](BOARD).0.stepgen.04.enable emcmot.00.enable


I think you need to either rename it to end in .txt or zip it

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

More
26 Jan 2013 21:29 #29160 by BigJohnT

How do I get the corrected hal file up on the forum?


The forum accepts patch,c,zip,txt,doc,gz,tgz,ngc,hal,ini,comp,dxf,clp,xml,pdf,stepconf,h,ui,glade extensions so you just have to add the hal file to your message.

John

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

More
27 Jan 2013 05:32 #29173 by blacksmith99
Does it want a pin number?

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
hm2-g540-stepper.hal:186: Pin 'emcmot.00.enable' does not exist
2102
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Thanks,

Matt

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

More
27 Jan 2013 06:21 #29174 by PCW
Sorry forgot emcmot.00.enable was a signal

net emcmot.00.enable hm2_[HOSTMOT2](BOARD).0.stepgen.04.enable

should be correct
The following user(s) said Thank You: blacksmith99

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

More
27 Jan 2013 06:34 #29175 by blacksmith99
Yay! That did it.

Thank you for hanging in there with me.

Now, if I can figure out how to upload the hal and Ini file it might help someone else.

Regards,

Matt

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

More
27 Jan 2013 07:40 - 27 Jan 2013 07:41 #29176 by blacksmith99
Here are the hal and ini files that are working for me.

Machine

Shopfox m1111 mill, CNC Fusion Deluxe Ballscrew kit with a 14 tooth timing belt pulley on the Z axis motor and an 18 tooth pulley on the Z axis ball screw.

G540 connected to a Mesa 5i25 with operating charge pump.

Hope this helps someone.

My thanks to PCW and BigJohnT for helping me.

The machine does seem to be a little smoother, however, right now I'm keeping the axis peeds down as you can see in the ini file.

The scale values were calculated by moving the axis exactly one inch on a dial indicator and adjusted until the travels were correct.

Note the scale value for the Z axis (Axis 2 in the ini) needs to have have a minus value to move the z axis in the right direction.

Thanks again for the help.

File Attachment:

File Name: hm2-g540-stepper.hal
File Size:6 KB


File Attachment:

File Name: 5i25-g540.ini
File Size:5 KB


Regards,

Matt
Attachments:
Last edit: 27 Jan 2013 07:41 by blacksmith99.
The following user(s) said Thank You: dbotos

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

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