Need help configuring a 5i25 with Gecko G540

More
8 years 4 months ago #112038 by ericg
Hi,

I just installed a Mesa 5i25 card, flashed it for the G540, and commenced configuring PNCConfig, I have got some way in that I can test drive the stepper motors OK, If I leave out any homing I can go to the axis program and also drive the steppers back and forth.

However I am stuck on configuring the limit/home switches, in stepconf I had them set on pin 10 minimum limit + home X, pin 11 for Y and 12 for Z, I am trying to emulate these settings without any luck on I/O 3. I think I have the search direction and velocities correct (maybe not) but when I run it I cannot turn power on because I get Joint 2 limit errors.

Also I have no idea how to get my router to be controlled via pin 14 at 0-5v and 50Hz as the G540 requires.

I'm not sure what info I should provide to assist so some hand holding and guidance would be appreciated

Eric

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

More
8 years 4 months ago #112048 by andypugh
It sounds like your limit switches are active-low. Try inverting them in PnCCOnf (check-box in the setup tabs for each input).

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

More
8 years 4 months ago #112050 by ericg
thanks for the quick reply, I have already tried that with and without inverting, swapping them around in different gpio inputs, and nothing seems to make a difference, hence my posts.
I can post whatever files may help, I am just not sure which would be helpful.

(in stepconf I have them all inverted)

Eric

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

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #112052 by ozzyrob
Replied by ozzyrob on topic Need help configuring a 5i25 with Gecko G540
Your hal & ini are a good start

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

More
8 years 4 months ago #112057 by ericg
Of course, here they are.
also I have been fiddling with settings and in stepconf I had all limit switches inversed, if I do that on pncconf I get all joints on limit error, no error if I uncheck the inv box, however I also get no feedback detected from the G540 when a limit is activated, there are other confusing issues which will have to wait.

Thanks for the support
Eric

BTW, the hal and ini files are difficult to me to follow.

File Attachment:

File Name: Mesa5i25-G...ntry.ini
File Size:4.12 KB

File Attachment:

File Name: Mesa5i25-G...ntry.hal
File Size:10.35 KB
The following user(s) said Thank You: falke398

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

More
8 years 4 months ago #112071 by PCW
I dont think pncconf has direct g540 support so the assigned 5I25 GPIO pins for the limit switches are wrong

If you use a G540, the inputs are mapped like this:

INPUT1 GPIO13
INPUT2 GPIO14
INPUT3 GPIO15
INPUT4 GPIO16

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

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