Spinx1 to 7i85
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
24 Oct 2015 02:31 #64195
by OT-CNC
Spinx1 to 7i85 was created by OT-CNC
Hi,
I need help with my final connections on the Spinx to 7i85.
I have TB-1 differential out 6+7 available on the 7i85 for connecting the 3 wires from the spinx ( PWM, Enable and Dir.) What goes where??
TB-1 pins 9 and 10 are ground, 11 is TX6, 12 is /TX6, 13 TX7, 14 /TX7, 15 and 16 are +.
All the jumpers are in the down position for the encoders that are connected to the 7i85 in case that info matters for the outputs.
Once connected, how do I assign the proper pwm on the pwm pin? 5i25, 7i85s and field i/o boards are used.
I need help with my final connections on the Spinx to 7i85.
I have TB-1 differential out 6+7 available on the 7i85 for connecting the 3 wires from the spinx ( PWM, Enable and Dir.) What goes where??
TB-1 pins 9 and 10 are ground, 11 is TX6, 12 is /TX6, 13 TX7, 14 /TX7, 15 and 16 are +.
All the jumpers are in the down position for the encoders that are connected to the 7i85 in case that info matters for the outputs.
Once connected, how do I assign the proper pwm on the pwm pin? 5i25, 7i85s and field i/o boards are used.
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17900
- Thank you received: 4774
24 Oct 2015 03:25 #64196
by PCW
Replied by PCW on topic Spinx1 to 7i85
well, you will need one more signal
assuming you dont use DIR for now
you could wire
PWM to TX6- and /ENA to TX7-
To get hardware PWM on those pins requires the proper firmware
what firmware are you using?
assuming you dont use DIR for now
you could wire
PWM to TX6- and /ENA to TX7-
To get hardware PWM on those pins requires the proper firmware
what firmware are you using?
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
24 Oct 2015 04:56 #64198
by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
PCW,
I have configuration: 7i85Sx2.BIT according to the sticker in the back of the 5i25 board.
Other output pins that are available are on my 7i84. Would that be easier to implement? Actually I'm running these on 24v so probably not.
Actually I do have an additional differential out 2 and 3 on tb2 that are available. Can I wire direction to TX-2?
I have configuration: 7i85Sx2.BIT according to the sticker in the back of the 5i25 board.
Other output pins that are available are on my 7i84. Would that be easier to implement? Actually I'm running these on 24v so probably not.
Actually I do have an additional differential out 2 and 3 on tb2 that are available. Can I wire direction to TX-2?
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
25 Oct 2015 03:28 #64238
by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
Hi PCW,
What firmware do I need?
If I need something custom, can you help me with getting the proper configuration based on the pins I listed? And a link to how to flash the board?
Thank you very much in advance.
What firmware do I need?
If I need something custom, can you help me with getting the proper configuration based on the pins I listed? And a link to how to flash the board?
Thank you very much in advance.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23558
- Thank you received: 4858
26 Oct 2015 20:30 #64290
by andypugh
git.linuxcnc.org/gitweb?p=hostmot2-firmw...0a04b7f5d9df;hb=HEAD
Shows that there are no pwmgens on 7i85Sx2
7i85SPx2 _does_ have PWMgens, but no stepgens.
git.linuxcnc.org/gitweb?p=hostmot2-firmw...97adc0d8ccbd;hb=HEAD
In theory you could combine those two files to create a firmware with a mixture of stepgens and pwmgens. There are instruction in the README file at the top level:
git.linuxcnc.org/gitweb?p=hostmot2-firmware.git;a=tree
In practice it is probably easier to ask PCW nicely for a custom firmware, unless he has already made one.
To get going quickly you could use a software pwmgen, with a 1000Hz servo thread you will only get about 10 discrete PWM values even at 50Hz PWM frequency, but it will at least allow you to check out the system.
Replied by andypugh on topic Spinx1 to 7i85
What firmware do I need?
git.linuxcnc.org/gitweb?p=hostmot2-firmw...0a04b7f5d9df;hb=HEAD
Shows that there are no pwmgens on 7i85Sx2
7i85SPx2 _does_ have PWMgens, but no stepgens.
git.linuxcnc.org/gitweb?p=hostmot2-firmw...97adc0d8ccbd;hb=HEAD
In theory you could combine those two files to create a firmware with a mixture of stepgens and pwmgens. There are instruction in the README file at the top level:
git.linuxcnc.org/gitweb?p=hostmot2-firmware.git;a=tree
In practice it is probably easier to ask PCW nicely for a custom firmware, unless he has already made one.
To get going quickly you could use a software pwmgen, with a 1000Hz servo thread you will only get about 10 discrete PWM values even at 50Hz PWM frequency, but it will at least allow you to check out the system.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
27 Oct 2015 01:51 #64321
by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
andypugh,
Thank you for the links.
My preference would be to have PCW make a custom firmware.
Thank you for the links.
My preference would be to have PCW make a custom firmware.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
27 Oct 2015 22:25 #64351
by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
An option I didn't consider is the secondary 26 pin connector on the 5i25 (P2) as it will be a messy wire termination inside the pc without some screw terminals to mount to.
Can I get the required pwm out on that connector without firmware change?
Can I get the required pwm out on that connector without firmware change?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23558
- Thank you received: 4858
27 Oct 2015 22:30 #64352
by andypugh
No, you still need a firmware change. At the moment the internal connector is configured for a second 7i85S with Step/Dir.
To wire neatly to that internal connector you need: store.mesanet.com/index.php?route=produc...74_79&product_id=235 or from a non-mesa source: www.amazon.com/CableWholesale-Motherboar...ds=parallel+port+idc
Replied by andypugh on topic Spinx1 to 7i85
Can I get the required pwm out on that connector without firmware change?
No, you still need a firmware change. At the moment the internal connector is configured for a second 7i85S with Step/Dir.
To wire neatly to that internal connector you need: store.mesanet.com/index.php?route=produc...74_79&product_id=235 or from a non-mesa source: www.amazon.com/CableWholesale-Motherboar...ds=parallel+port+idc
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
Less
More
- Posts: 623
- Thank you received: 75
27 Oct 2015 22:41 #64353
by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
andypugh,
Thanks for the clarification on that. I was about to start wiring lol...
Okay, so in that case I will need a new configuration and will wire to the 7i85 as originally intended.
The 5i25 manual shows a JTAG connection for programming. Do I need to get that connector for updating the firmware???
Thanks for the clarification on that. I was about to start wiring lol...
Okay, so in that case I will need a new configuration and will wire to the 7i85 as originally intended.
The 5i25 manual shows a JTAG connection for programming. Do I need to get that connector for updating the firmware???
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23558
- Thank you received: 4858
27 Oct 2015 22:50 #64354
by andypugh
No, you can re-program in the PC with the "mesaflash" utility.
Instructions are in the 5i25 manual, Page 12: www.mesanet.com/pdf/parallel/5i25man.pdf
Replied by andypugh on topic Spinx1 to 7i85
The 5i25 manual shows a JTAG connection for programming. Do I need to get that connector for updating the firmware???
No, you can re-program in the PC with the "mesaflash" utility.
Instructions are in the 5i25 manual, Page 12: www.mesanet.com/pdf/parallel/5i25man.pdf
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.086 seconds