2 Mesa Cards
- brianm
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=2 num_stepgens=4"
How do I do the same for the 5i25?
Thanks
Brian
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23320
- Thank you received: 4946
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=2 num_stepgens=4"
man hostmot2 for the details, but it would look like this for two 5i20s:
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=2 num_stepgens=4, firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=2 num_stepgens=4"
However, as the 5i25 doesn't have downloadable firmware, it looks like:
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=2 num_stepgens=4, num_encoders=4 num_pwmgens=2 num_stepgens=4"
You might have to swap the order, because loading order depends on PCI bus search sequence.
If it isn't clear, the comma (,) in the string separates the two configs
Please Log in or Create an account to join the conversation.
- brianm
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
Is there a configuration example of something similar to using a 5i25 with a 7i74 connected to GS2 VFD driver? I may be completely wrong on how to do this, I am learning as I go.
Thanks
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18541
- Thank you received: 5090
(and this is all pretty much automagic regardless of the remote serial device)
the sserial interface does not support Modbus
Andy Pugh has added UART support to HostMot2 so it should be possible
(with a lot of work) to communicate with Modbus devices via a UART built into the 5I25,
driving the 7I74 RS-422 interface but its sure not going to be straightforward...
Please Log in or Create an account to join the conversation.
- brianm
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
Thanks for the help
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23320
- Thank you received: 4946
I feel much the same. I am half way through a major re-organisation of the driver. (Nothing users need to worry about)I am very confused on the smart serial, I think it might be a bit over my head.
The 7i74 is an RS422 breakout for the Mesa Smart-Serial remote cards (7i64, 8i20, 7i77 etc).Is there a configuration example of something similar to using a 5i25 with a 7i74 connected to GS2 VFD driver?
The smart-serial protocol is proprietary to Mesa, and not suitable for driving a GS2 (As far as I know).
It is possible to drive a GS2 from the serial port.
www.linuxcnc.org/docs/2.5/html/drivers/GS2.html
and the linked setup page should help. It is worth noting that the docs seem to make no mention of the physical wiring required, but is looks like it ought to be the serial port.
What hardware do you actually have?
Please Log in or Create an account to join the conversation.
- brianm
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
If that does not work, I will probably try using PWM.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23320
- Thank you received: 4946
That does sound less than convenient.except sometimes the spindle stops for no reason. Or spins the wrong direction.
I would say there was a fair chance that the Mesa kit could be made to work.thought the mesa system would work, but looks like I did not do enough research..
What hardware do you have? Perhaps we can think of ways to link it all together.
Please Log in or Create an account to join the conversation.
- brianm
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
first is the 5i20 with a 7i33 daughter card. (the daughter card runs the steppers and handles the encoder feedback from the spindle) the rest are gpio
Now I have a 5i25 and a 7i74 daughter card.
The VFD is a GS3-23PO
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23320
- Thank you received: 4946
That seems an unusual choice for a stepper system, in some ways. I assume you are using the 7i33 for analogue voltage generation and encoder feedback.I have 2 Mesa Cards
first is the 5i20 with a 7i33 daughter card. (the daughter card runs the steppers and handles the encoder feedback from the spindle) the rest are gpio
The natural fit would be the 5i25 / 7i76 or 7i78 (the 7i48 has no GPIO thought) but it makes absolutely no sense to buy _more_ hardware when you already have a hardware surplus and a functional machine.
Looking at the GS2 component it would be a natural fit to the Mesa UART component, but I have more than enough irons in the fire, so it wouldn't be me doing it. I could advise if someone else fancies picking it up.Now I have a 5i25 and a 7i74 daughter card. The VFD is a GS3-23PO
Please Log in or Create an account to join the conversation.