Getiing a 5i25 with g540 going

More
11 years 1 week ago #64232 by blacksmith

PCW wrote: You can verify a pinout with this mesaflash command:

sudo mesaflash --device 5i25 --readhmid



File Attachment:

File Name: 5i25pinout.txt
File Size:3.89 KB

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

More
11 years 1 week ago - 11 years 1 week ago #64234 by blacksmith

blacksmith wrote: My System:
gecko has 4 steppers connected, charge pump switch is off.

Gecko G540

PS this is a 4 stepper system, a CNC Router Parts kit. Two X steppers will be linked/slaved.

from the CRP website sales text:
At 3.5 A/Phase, these motor put out an astounding 380 oz-in of holding torque, and a strong and steady running torque in a compact NEMA 23 form factor. Used with our 5-start lead nuts, we've driven machines at 600 IPM with these motors, and have seen over 900 IPM with our new rack and pinion system. Want to know more about torque ratings?
Last edit: 11 years 1 week ago by blacksmith. Reason: update

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

More
11 years 1 week ago #64237 by PCW
Replied by PCW on topic Getiing a 5i25 with g540 going
Without looking at the pinout, I'm pretty sure the 5I25 G540 P3 pinout has 5 stepgens (00 though 04)
(Stepgen 4 is used for feeding the watchdog so has only a step output and no direction signal)

The expansion connector has stepgens 05..09

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

More
11 years 1 week ago - 11 years 1 week ago #64248 by cncbasher
Modified config to 4 xaxis

remember this is just the start point , their are no limits , home , spindle etc
pncconfig is the starting point to making a working configuration

axes are not slaved at this time , so you have 4 independant stepgens & the chargepump (stepgen 4)
Last edit: 11 years 1 week ago by cncbasher.

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

More
11 years 6 days ago #64263 by blacksmith

cncbasher wrote: have you tried using pncconf to construct a config ?


I have just seen your last post and not dug into it yet. Pncconf is a little intimidating since the 5i25_g540x2 was a virtual blank slate with a blizzard of configuration choices.

I saw a reference to creating an XML for pncconf using mesaflash and thought I would see it it was generating anything odd or different. I was surprised to compare the /lib/firmware/hm2/5i25/5i25_g540x2.xml to my mesaflash XML - very different. See the sample below, more differences than similarities.

I wonder if the /lib/firmware/hm2/ examples/templates are corrupt? This would hose a lot of folks.

image missing https://blacksmithpics.files.wordpress.com/2015/10/xml.png

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

More
11 years 6 days ago #64266 by blacksmith

cncbasher wrote: Modified config to 4 xaxis

remember this is just the start point , their are no limits , home , spindle etc
pncconfig is the starting point to making a working configuration

axes are not slaved at this time , so you have 4 independant stepgens & the chargepump (stepgen 4)


Thanks. I suspect I am doing something incorrectly:

v@debian:~/config/cncbasher-example/cncbasher/g540$ ls -l
total 28
-rw-r--r-- 1 v v 5522 Oct 25 05:56 5i25-g540.ini
-rwxr--r-- 1 v v 9108 Jan 23 2013 g540x2.xml
-rw-r--r-- 1 v v 7742 Oct 25 06:04 hm2-g540-stepper.hal
v@debian:~/config/cncbasher-example/cncbasher/g540$ linuxcnc ./5i25-g540.ini
LINUXCNC - 2.7.1
Machine configuration directory is '/home/v/config/cncbasher-example/cncbasher/g540/.'
Machine configuration file is '5i25-g540.ini'
Starting LinuxCNC...
.
Found file(REL): ./hm2-g540-stepper.hal
emc/iotask/ioControl.cc 768: can't load tool table.
HAL: ERROR: function 'hm2_5i25.0.pet_watchdog' not found
./hm2-g540-stepper.hal:52: addf failed
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:
/home/v/linuxcnc_debug.txt
and
/home/v/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
#
## I commented out "addf hm2_[HOSTMOT2](BOARD).0.pet_watchdog servo-thread"
#
v@debian:~/config/cncbasher-example/cncbasher/g540$ linuxcnc ./5i25-g540.ini
LINUXCNC - 2.7.1
Machine configuration directory is '/home/v/config/cncbasher-example/cncbasher/g540/.'
Machine configuration file is '5i25-g540.ini'
Starting LinuxCNC...
.
emc/iotask/ioControl.cc 768: can't load tool table.
Found file(REL): ./hm2-g540-stepper.hal
./hm2-g540-stepper.hal:220: parameter or pin 'hm2_5i25.0.stepgen.04.control_type' not found
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:
/home/v/linuxcnc_debug.txt
and
/home/v/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
v@debian:~/config/cncbasher-example/cncbasher/g540$

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

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