- Posts: 108
- Thank you received: 0
Simple Motion in HAL
10 years 1 month ago #80925
by Niko
Simple Motion in HAL was created by Niko
Hello,
I've searched around but haven't found anything on this . Is there a way to get information from the servo in HAL, through the protocol Granite devices provide ?
That would be necessary, as in some cases current limiting and monitoring would be very useful .
And I've been thinking that digital speed command would work nicely .
Cheers
Nikolai
I've searched around but haven't found anything on this . Is there a way to get information from the servo in HAL, through the protocol Granite devices provide ?
That would be necessary, as in some cases current limiting and monitoring would be very useful .
And I've been thinking that digital speed command would work nicely .
Cheers
Nikolai
Please Log in to join the conversation.
10 years 1 month ago #80987
by andypugh
Replied by andypugh on topic Simple Motion in HAL
What is the protocol that GD provide?
It is almost definitely possible. But it might not be easy. If it is Modbus then it is likely to be both possible _and_ fairly easy.
It is almost definitely possible. But it might not be easy. If it is Modbus then it is likely to be both possible _and_ fairly easy.
Please Log in to join the conversation.
10 years 1 month ago #81008
by Niko
Replied by Niko on topic Simple Motion in HAL
Please Log in to join the conversation.
10 years 1 month ago #81010
by andypugh
Replied by andypugh on topic Simple Motion in HAL
It might be worth talking to
www.generalmechatronics.com/en/linuxcnc
They have RS485 transcievers that work with linuxCNC
www.generalmechatronics.com/en/linuxcnc
They have RS485 transcievers that work with linuxCNC
Please Log in to join the conversation.
10 years 1 month ago #81012
by Niko
Replied by Niko on topic Simple Motion in HAL
Speaking rs485 converters, are the rs232 better in real time ?
And how can I use the 7i74's rs485 channel ?
I'm assuming that would need a different firmware on the 5i25 .
I'd like to experiment with that mainly because I have them .
And how can I use the 7i74's rs485 channel ?
I'm assuming that would need a different firmware on the 5i25 .
I'd like to experiment with that mainly because I have them .
Please Log in to join the conversation.
9 years 9 months ago #85210
by StankoMC
Replied by StankoMC on topic Simple Motion in HAL
Hello,
i am also thinking of getting a Ionidrive kit, but before purchasing i wanted
to check is someone has been able to get it running with LinuxCNC.
As far i have only found this thread about SimpleMotion & LinuxCNC...
Have you made any Progress Nico?
Best Regards, Stanko
i am also thinking of getting a Ionidrive kit, but before purchasing i wanted
to check is someone has been able to get it running with LinuxCNC.
As far i have only found this thread about SimpleMotion & LinuxCNC...
Have you made any Progress Nico?
Best Regards, Stanko
Please Log in to join the conversation.
9 years 9 months ago #85211
by andypugh
Replied by andypugh on topic Simple Motion in HAL
It should be possible to control the Ionidrives easily with step/dir or analogue voltage.
SimpleMotion is likely to the take more work, but at least the other control modes offer a fallback if the serial protocols are a problem.
I have been thinking for a while that a set of Ionidrives and a Raspberry Pi Compute Module would make a really neat system if combined with a suitable backplane.
SimpleMotion is likely to the take more work, but at least the other control modes offer a fallback if the serial protocols are a problem.
I have been thinking for a while that a set of Ionidrives and a Raspberry Pi Compute Module would make a really neat system if combined with a suitable backplane.
Please Log in to join the conversation.
9 years 9 months ago #85216
by Niko
Replied by Niko on topic Simple Motion in HAL
Hello Stanko,
other machines have kept me busy and I've sent the drives to get matched to the motors at another place .
I should point out that my idea was to use analog signal to drive it and feedback from encoders .
I don't think I'll get enough data trough a simple rs485 dongle .
My goal is to set current limits and read the actual current form the drives as this would reduce wiring and cost considerably .
other machines have kept me busy and I've sent the drives to get matched to the motors at another place .
I should point out that my idea was to use analog signal to drive it and feedback from encoders .
I don't think I'll get enough data trough a simple rs485 dongle .
My goal is to set current limits and read the actual current form the drives as this would reduce wiring and cost considerably .
Please Log in to join the conversation.
9 years 9 months ago #85217
by StankoMC
Replied by StankoMC on topic Simple Motion in HAL
@Andy:
Thanks for the Hint! I am really a newbie to all this...
I am hoping to find a method a s simple as possible
to drive the existing Brushed DC Motors on my small
old Mill with the Ioni.
Does it make sense to feed the ioni with a signal meant
for a stepper and let it drive a Brushed DC?
What do you mean when saying that it is likely to take more
work to get SimpleMotion working?
Are you thinking of the HAL customization?
What would be running on the RasberryPi that you mentioned?
@Nico:
Thanks for the fast reply!
Or have you got exotic motors? (I have got old Brushed DC Motors where
even the Manufacturer does not have any specs any more...)
Best Regards, Stanko
Thanks for the Hint! I am really a newbie to all this...
I am hoping to find a method a s simple as possible
to drive the existing Brushed DC Motors on my small
old Mill with the Ioni.
Does it make sense to feed the ioni with a signal meant
for a stepper and let it drive a Brushed DC?
What do you mean when saying that it is likely to take more
work to get SimpleMotion working?
Are you thinking of the HAL customization?
What would be running on the RasberryPi that you mentioned?
@Nico:
Thanks for the fast reply!
Sounds like it it not so easy with the granity software to do that?I've sent the drives to get matched to the motors at another place .
Or have you got exotic motors? (I have got old Brushed DC Motors where
even the Manufacturer does not have any specs any more...)
Is that a hunch or have you set up LinuxCNC to communicate to SimpleMotion?I don't think I'll get enough data trough a simple rs485 dongle .
Best Regards, Stanko
Please Log in to join the conversation.
9 years 9 months ago #85246
by Niko
Later I found out that it has a unique Z signal, which is different every couple of degrees to give it a sort of absolute encoder feel .
I still haven't started testing this, as I still haven't received them .
That and a retrofit out of necessity, as one machine decided not to cooperate .
Kind regards
Nikolai
Replied by Niko on topic Simple Motion in HAL
Actually, I sent it there because it had a weird encoder .Sounds like it it not so easy with the granity software to do that?
Later I found out that it has a unique Z signal, which is different every couple of degrees to give it a sort of absolute encoder feel .
I still haven't started testing this, as I still haven't received them .
That and a retrofit out of necessity, as one machine decided not to cooperate .
Kind regards
Nikolai
Please Log in to join the conversation.
Time to create page: 0.845 seconds
