Migrating buildlog laser from pport to 5i25
03 Sep 2014 07:02 #50659
by sliptonic
Migrating buildlog laser from pport to 5i25 was created by sliptonic
I have a retrofit 40W laser that uses
Bart Dring's buildlog breakout board
for controlling the laser and step/direction. I've been using this with software stepping on a parallel port for a while but I want to move it to a 5i25 without a daughter board. The pin assignment on the board roughly matches the prob_rfx2 configuration but not exactly. From the manual:
in # Function (goes to)
1 Output 1 (Relay Driver 1)
2 X Step
3 X Dir
4 Y Step
5 Y Dir
6 Z Step
7 Z Dir
8 Output 8 (Relay Driver 2)
9
10 X Limit Switch Input (J3-6)
11 Y Limit Switch Input (J3-8)
12 Z Limit Switch Input (J3-1)
13 Input 13 (J3-2)
14 PWM 14
15 PWM 15
16 Motor Enable Output
17 Laser On
18-25 Ground
Will I need a custom bit file for this?
Also, just experimenting, I tried to get pncconf to see the other config XML files downloaded from mesa's site. Based on posts in this forum, I copied those to /lib/firmware/hm2/5i25/ and restarted pncconf but they were not seen. Has the correct location for these changed?
in # Function (goes to)
1 Output 1 (Relay Driver 1)
2 X Step
3 X Dir
4 Y Step
5 Y Dir
6 Z Step
7 Z Dir
8 Output 8 (Relay Driver 2)
9
10 X Limit Switch Input (J3-6)
11 Y Limit Switch Input (J3-8)
12 Z Limit Switch Input (J3-1)
13 Input 13 (J3-2)
14 PWM 14
15 PWM 15
16 Motor Enable Output
17 Laser On
18-25 Ground
Will I need a custom bit file for this?
Also, just experimenting, I tried to get pncconf to see the other config XML files downloaded from mesa's site. Based on posts in this forum, I copied those to /lib/firmware/hm2/5i25/ and restarted pncconf but they were not seen. Has the correct location for these changed?
Please Log in or Create an account to join the conversation.
03 Sep 2014 07:43 #50661
by cmorley
Replied by cmorley on topic Migrating buildlog laser from pport to 5i25
no.
check the permissions of the folder and file.
Chris M
check the permissions of the folder and file.
Chris M
Please Log in or Create an account to join the conversation.
03 Sep 2014 10:45 #50663
by PCW
Replied by PCW on topic Migrating buildlog laser from pport to 5i25
The only thing thats looks incompatible with probrfx2 is the two PWMs
Are these 2 independent PWM outputs?
Are these 2 independent PWM outputs?
Please Log in or Create an account to join the conversation.
03 Sep 2014 19:28 #50680
by sliptonic
Replied by sliptonic on topic Migrating buildlog laser from pport to 5i25
@cmorley: All the files are owned by root with no one else having permission. What should it be?
@PCW: It's looking for a PWM source to control the laser power. It's select-able with a jumper for either pin 14 or 15.
I guess I'm not clear on how to use pncconf to set this up. The I/O connector 3 tab has me confused and when I try to launch the test panel, it appears for a second then disappears with this error:
@PCW: It's looking for a PWM source to control the laser power. It's select-able with a jumper for either pin 14 or 15.
I guess I'm not clear on how to use pncconf to set this up. The I/O connector 3 tab has me confused and when I try to launch the test panel, it appears for a second then disappears with this error:
Traceback (most recent call last):
File "/usr/bin/pncconf", line 5579, in on_mesapanel_clicked
a.kill()
AttributeError: 'file' object has no attribute 'kill'
Please Log in or Create an account to join the conversation.
03 Sep 2014 21:10 #50689
by PCW
Replied by PCW on topic Migrating buildlog laser from pport to 5i25
Looks like just changing one pin definition (removing the PWM direction on DB25 pin16)
will make the probrfx2 config fully compatible
will make the probrfx2 config fully compatible
Please Log in or Create an account to join the conversation.
03 Sep 2014 22:47 - 03 Sep 2014 22:49 #50692
by sliptonic
I'm sorry. I don't understand how to do that. pncconf is making more sense, but I still don't understand the mapping of the 'num' columns to the I/O and pins from the .pin file.
Replied by sliptonic on topic Migrating buildlog laser from pport to 5i25
Looks like just changing one pin definition (removing the PWM direction on DB25 pin16)
will make the probrfx2 config fully compatible
I'm sorry. I don't understand how to do that. pncconf is making more sense, but I still don't understand the mapping of the 'num' columns to the I/O and pins from the .pin file.
Last edit: 03 Sep 2014 22:49 by sliptonic. Reason: image attachment
Please Log in or Create an account to join the conversation.
03 Sep 2014 23:04 #50694
by cncbasher
Replied by cncbasher on topic Migrating buildlog laser from pport to 5i25
yea dont use the test panel in pncconf , and you be ok
make your configuration as near as you can then i'd edit it by hand
or shout if it's a problem
Dave
make your configuration as near as you can then i'd edit it by hand
or shout if it's a problem
Dave
Please Log in or Create an account to join the conversation.
03 Sep 2014 23:37 #50697
by PCW
Replied by PCW on topic Migrating buildlog laser from pport to 5i25
To be able to use pin DB25 pin 16 as a output bit and use the PWM pin on DB25 pin 14,
a special modified bitfile would be needed (since the PWM part of the driver will claim pin 16 as a PWM direction pin)
a special modified bitfile would be needed (since the PWM part of the driver will claim pin 16 as a PWM direction pin)
Please Log in or Create an account to join the conversation.
04 Sep 2014 04:59 #50713
by sliptonic
O.k. Is that within the scope of a strong-back/weak-minded (but willing) amateur or is it something I can get from you?
Replied by sliptonic on topic Migrating buildlog laser from pport to 5i25
To be able to use pin DB25 pin 16 as a output bit and use the PWM pin on DB25 pin 14,
a special modified bitfile would be needed (since the PWM part of the driver will claim pin 16 as a PWM direction pin)
O.k. Is that within the scope of a strong-back/weak-minded (but willing) amateur or is it something I can get from you?
Please Log in or Create an account to join the conversation.
04 Sep 2014 05:16 #50718
by PCW
Replied by PCW on topic Migrating buildlog laser from pport to 5i25
freeby.mesanet.com/dring.zip
Has a simplified prob_rxf2 config with the PWM direction pin removed so should work with your BOB
Has a simplified prob_rxf2 config with the PWM direction pin removed so should work with your BOB
The following user(s) said Thank You: sliptonic
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.077 seconds