Hardinge CHNC retrofit- Another one on the way!
Do you mean 7i33, or 7i37 / 7i37TA ? The 7i33 is intended for connecting encoder-feedback / analogue control drives. It is very much an encoder version of the 7i49.After talking to Peter at Mesa, I ended up going with the Mesa 5I23 card, two 7i33,s and one 7I49.
The 7i37, on the other hand, is a generic IO interface card.
(The following assumes 7i37)
One option for the servo drives might be to consider the Mesa 7i29 servo drive if the HiAks are dead. You can connect 2 of them (for 4 channels) in place of one of the 7i37s.
However, the drives from eBay mentioned earlier are a fair bit cheaper and will integrate more readily with the 7i49. The 7i49 suits analogue-voltage controlled drive, the 7i29 assumes encoder feedback, so you would end up effectively using half of the connector pins occupied by each board.
There are many ways to make that work, and one would be to use the parallel port, as suggested. But, if you are adding a p-port and base thread to run a software encoder counter, you could instead add the 5i23 GPIO-read to the base thread and connect the MPG to one of the 7i37s.Next problem is the MPG, I have a Fanuc remote mpg pendant, that I was hoping to use, however since I ended up going with the 7i49, I don’t have any way to get the signal into Emc. The board I am using has a parallel port, so i guess I need to get a separate encoder input board that is geared toward the parallel port?
Better would be to have a firmware in the FPGA which included an encoder module on some pins located in the 7i37 header. I don't know if this exists by default, but it should be possible for someone to create one. (I ought to be able to, for example, but one from Mesa is likely to work better)
Please Log in or Create an account to join the conversation.
- Alloy Craft
- Offline
- Premium Member
- Posts: 97
- Thank you received: 1
As for the MPG, I dont have any avaliable pins left on the 2 7i37's they are all going to be used for IO, in fact I think I may be short pins if I want the vertical slide and parts chute to function. I think I will need another way to connect the MPG. Do you know if anybody sells a encoder to resolver conversion board? If they did I could feed the mpg into the 7i49 since I have extra pins there.
Please Log in or Create an account to join the conversation.
As for the MPG, I dont have any avaliable pins left on the 2 7i37's they are all going to be used for IO, in fact I think I may be short pins if I want the vertical slide and parts chute to function. I think I will need another way to connect the MPG. Do you know if anybody sells a encoder to resolver conversion board? If they did I could feed the mpg into the 7i49 since I have extra pins there.
I was going to suggest that you could declare only 3 resolver and PWM instances, and use the spare pins on the 7i49, but it looks rather like that won't work. (It might with a custom ribbon-cable, but that would require confirmation from PCW)
I am pretty sure that an Arduino could emulate a resolver, as long as the 7i49 firmware is not too bothered about the sin/cos signals actually being AC.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
- Alloy Craft
- Offline
- Premium Member
- Posts: 97
- Thank you received: 1
The motherboard I am using is a industrial variety type and has a parallel port avaliable, it also has a digital IO port with assignable addresses, however now sure how it works, need to play with is more.
here is the mfg link
www.aaeonusa.com/products/details/?item_id=1171
Please Log in or Create an account to join the conversation.
Attached is the motor spec sheet for the electrocraft servo.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
it also has a digital IO port with assignable addresses, however now sure how it works, need to play with is more.
It would be extremely easy to write a driver for that IO.
In fact:
component emb "HAL driver for Aaean EMB-945T GPIO";
pin in bit digin-#[8] "digital inputs";
license "GPL";
author "Andy Pugh";
function _;
;;
FUNCTION(_){
int data;
int i;
data = rtapi_inb(0x2a1);
for (i = 0 ; i < 8 ; i++){
digin(i) = data & 0x01;
data >>= 1;
}
}
Is probably it.
save that as emb.comp, then sudo comp --install emb.comp at the command line, and emb should be available as a driver in HAL.
(This is untested, written on the fly, purely as a demonstration, it might not even compile)
((you might need to install the linuxcnc-dev package to compile it))
Please Log in or Create an account to join the conversation.
- Alloy Craft
- Offline
- Premium Member
- Posts: 97
- Thank you received: 1
Everything looks like a rats nest right now, but should suffice for testing purposes.
Please Log in or Create an account to join the conversation.
[quote I am having trouble understanding the file structure of linux, I’m so used to windows, navigating is a little difficult for me right now.[/quote]I think that you only really need to worry about the things in home/linuxcnc
If I remember right you have a 7i49 and 2x7i33? Pnnconf is probably what you need (it should be in the "CNC" sub-menu). Looking through the code I see mention of Resolvers, so that looks promising.I think I need to install the mesa software to set the cards up but I am still having trouble figuring out how to install stuff in linux?
You will need the correct bitfile for the Mesa FPGA card. I guess that is a 5i23, in which case the file lives deeper down in the system files in /lib/firmware/hm2/5i23/
You will need admin privileges to move the file to there. Assuming you have the file on your desktop then you would need to use the following command in a terminal window (under applications/accessories)
sudo mv ~/Desktop/rmsv8_8.bit /lib/firmware/hm2/
"sudo" means do this as super-user, "mv" means move, ~/ at the beginning of a file path points to your home folder, / at he beginning points to the root level. I guessed the bitfile name.
I found an old post from Pete with a link to a Resolver bitfile for the 5i23 and the file is still there:
freeby.mesanet.com/rmsvss6_8.bit
This has a 7i49 pinout on P2. You can have general IO pins on the other connectors by setting num_encoders and num_sserials to zero in the config.
I am guessing that pncconf will struggle as it won't undertand that bitfile. I will have a fiddle about with the latest pncconf tonight when I get back to a LinuxCNC machine and try to figure out what you need to do.
Please Log in or Create an account to join the conversation.