Simple Motion in HAL

More
26 Sep 2016 09:35 #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

Please Log in or Create an account to join the conversation.

More
27 Sep 2016 12:26 #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.

Please Log in or Create an account to join the conversation.

More
27 Sep 2016 15:54 #81008 by Niko
Replied by Niko on topic Simple Motion in HAL
It uses rs458 but it isn't Modbus .
They've provided the library but I've no idea where to start .
Library
wiki

The good thing is that the control strategies actually state the it can take position information in real time over their bus .

Please Log in or Create an account to join the conversation.

More
27 Sep 2016 16:00 #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

Please Log in or Create an account to join the conversation.

More
27 Sep 2016 18:28 #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 .

Please Log in or Create an account to join the conversation.

More
04 Jan 2017 14:21 #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

Please Log in or Create an account to join the conversation.

More
04 Jan 2017 14:27 #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.

Please Log in or Create an account to join the conversation.

More
04 Jan 2017 14:55 #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 .

Please Log in or Create an account to join the conversation.

More
04 Jan 2017 15:10 - 04 Jan 2017 15:12 #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!

I've sent the drives to get matched to the motors at another place .

Sounds like it it not so easy with the granity software to do that?
Or have you got exotic motors? (I have got old Brushed DC Motors where
even the Manufacturer does not have any specs any more...)

I don't think I'll get enough data trough a simple rs485 dongle .

Is that a hunch or have you set up LinuxCNC to communicate to SimpleMotion?

Best Regards, Stanko
Last edit: 04 Jan 2017 15:12 by StankoMC.

Please Log in or Create an account to join the conversation.

More
04 Jan 2017 18:37 #85246 by Niko
Replied by Niko on topic Simple Motion in HAL

Sounds like it it not so easy with the granity software to do that?

Actually, I sent it there because it had a weird encoder .
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 or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum