g540 5i25 7i76 confusion

More
23 Jun 2015 06:08 #60073 by upa-de
I am using the g540 to drive my steppers. There is xyzx, vfd spindle control, and homing. I don't understand why the 7i76 is needed. Can someone help me understand if i need the 7i76? I know I need the 5i25 to reduce latency. I have read both manuals and looked at other builds but can't figure this out.

Thanks

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

More
23 Jun 2015 06:23 #60074 by PCW
Replied by PCW on topic g540 5i25 7i76 confusion
If you have a G540 you do not need a 7I76 (unless you have additional discrete step motor drives and you need a lot of I/O)

A 5I25 will drive a G540 directly
The following user(s) said Thank You: upa-de

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

More
23 Jun 2015 06:42 #60075 by upa-de
Replied by upa-de on topic g540 5i25 7i76 confusion
okay great. I'll flash it with the g540x2 and use the p1 connection to connect the 540. I appreciate the confirmation on this.

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

More
26 Jun 2015 03:57 #60134 by upa-de
Replied by upa-de on topic g540 5i25 7i76 confusion
I have flashed my 5i25 to the g540x2 firmware. I am now struggling to understand how to get the g540 to interface with the 5i25. I have followed a couple of threads and mailing lists.

From what I can gather I need to edit some hal, ini and xml files. Do I use my previous working stepconf files?

I have also attempted to add some g540 xml and g540 pin information to the /lib/firmware/hm2 area. It does show up in the pncconf but I am unable to select the g540 firmware I am looking for on the Mesa0 Configuration-board page.

thanks

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

More
26 Jun 2015 05:54 #60137 by PCW
Replied by PCW on topic g540 5i25 7i76 confusion
I would try updating pnnconf to the latest
I think the latest version supports the G540 config natively

If not I would just start out with a hm2-stepper sample config and edit to suit

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

More
26 Jun 2015 06:45 #60139 by upa-de
Replied by upa-de on topic g540 5i25 7i76 confusion
Is using git the best way to update pncconf? this was helpful: www.mail-archive.com/emc-users@lists.sou...ge.net/msg51990.html

just have to figure it out.

thanks for your help

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

More
26 Jun 2015 08:22 - 26 Jun 2015 08:23 #60142 by PCW
Replied by PCW on topic g540 5i25 7i76 confusion
It looks like pncconf can make a prob-rfx2 config. That ought to work for the g540 also +- a few minor differences
Last edit: 26 Jun 2015 08:23 by PCW.

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

More
29 Jun 2015 12:20 - 30 Jun 2015 10:01 #60242 by upa-de
Replied by upa-de on topic g540 5i25 7i76 confusion
Gecko G540 Mesa 5i25 Configuration with terminal

Getting the g540 configured with the 5i25 was difficult for me. I am writing this because there were only one or two
helpful threads on getting it configured properly. The threads on the subject were not concise enough for me.

My settings below, are for one G540, one 5i25 and no daughter card or breakout board.
I am running debian wheezy, so mesaflash is already installed. Mesaflash is required unless you purchased the 5i25 flashed
with g540x2.bit from the factory.

Get these files for the 5i25 from the mesa website - 5i25.zip

Flash the 5i25

In the terminal:
cd example/5i25/configs/hostmot2/
sudo mesaflash --device 5i25 --write 5i25_g540x2.bit

Restart the computer

Next verify the flash (in the same directory as above)
sudo mesaflash --device 5i25 --verify 5i25_g540x2.bit

verify against a bit file you didn't flash to compare
sudo mesaflash --device 5i25 --verify 5i25_7i76x2.bit

Now create a folder in /lib/firmware/hm2
cd /lib/firmware/hm2
sudo mkdir 5i25_g540

Put 5i25_g540x2 .pin and .xml files in the new folder
cd
sudo cp example/5i25/configs/hostmot2/5i25_g540x2.pin /lib/firmware/hm2/5i25_g540

same for .xml:
sudo cp example/5i25/configs/hostmot2/5i25_g540x2.xml /lib/firmware/hm2/5i25_g540

Verify the files and folder are there:
ls /lib/firmware/hm2/5i25_g540

Next post will be for the pncconf configuration.
Then i have to figure out homing, touch off plate , spindle speed/at speed control . Those were all working in my old stepconf.
Last edit: 30 Jun 2015 10:01 by upa-de.

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

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