Schaublin 125-CNC retrofit.

More
11 Mar 2021 08:44 #201785 by anfänger
I would prefer a single 5V power supply for the Mesa cards.
But maybe this is my thinking this way you could provide the Cards with logic power and test something without having field power.
The following user(s) said Thank You: RotarySMP

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

More
11 Mar 2021 10:32 - 11 Mar 2021 10:35 #201791 by RotarySMP
Thanks. That is how I did it on the Maho, and would do it again. Use a stand alone 5V Din Rail PSU like a MeanWell HDR-05-15 for that task.

I am still wading through options. If I use Lichuan A2 AC Servo drivers, they offer Step/Dir, Analog or RS-485 with Modbus, and seem to have a good manual:
servo.xlichuan.com/Private/ProductFiles/...6753446713131150.pdf

Q1/ Can you daisy chain two drives to a MESA 7i89's single RS-485 port?
If so then it should be possible to use the modbus MB2.HAL component to address the separate drives and output velocity commands to them.

Q2/ I was looking at the MB2.HAL comp documentation, am usure whether whether the drives internal parameters would show up automatically as HAL pins, or whether an addition hal COMP would be required to create the HAL pins necessary to control the drive?

Q3/ Also in the drive itself,

...it is not clear whether it is only able to select one of 16 predefined speeds via modbus, or whether you can do servo control by selecting preset speed 1 (PA_092 = 0) , and then netting PA_150 to the LinuxCNC commanded speed, and thus altering it at theservo thread rate?

Q/4 or is there a good reason to just use a 7i83, and output the linuxCNC velocity commands as analog signals?

If RS-485 speed control works, then drives pass through encoder signals would be wired back to LinuxCNC for it to close the postion loop.
Mark
Attachments:
Last edit: 11 Mar 2021 10:35 by RotarySMP.

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

More
11 Mar 2021 10:45 - 11 Mar 2021 10:50 #201796 by andypugh
I don't bother putting them in a case any more than I bother putting the PC motherboard in a case-inside-a-case.

The separate DIN rail supplies have advantages, the DC-DC converters are just cheaper and a _lot_ more space-efficient.



But then if you are not using a hulking great 800W 24V supply like I am, this might be less of an issue. (it was very cheap, £20)
Attachments:
Last edit: 11 Mar 2021 10:50 by andypugh.

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

More
11 Mar 2021 10:47 #201797 by andypugh

The separate DIN rail supplies have advantages, the DC-DC converters are just cheaper and a _lot_ more space-efficient.


I would suggest that if you don't use DC-DC converters that you look at fitting a cluster of LED voltmeters anyway, as they help work out what has gone wrong.
The following user(s) said Thank You: RotarySMP

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

More
11 Mar 2021 11:59 #201802 by db1981
Replied by db1981 on topic Schaublin 125-CNC retrofit.
only a train of thought:

I'm not shure at the moment, but i think that normal modbus (not modbus rtu /ip) is not realtime capable. The mb2hal component you mentiond is an userspace function.
So i don't know if theres an use case for transmit cyclic velocity data for positioning in an servo thread.

I hope that someone else can give an explanation about the implementation with modbus under linuxcnc.

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

More
11 Mar 2021 12:15 #201803 by anfänger
The contact to lichuan is nice, I have them for my lathe conversion and will use them in anlog mode.
I haven’t fired them up yet, so I can‘t tell you much more about them.
The following user(s) said Thank You: RotarySMP

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

More
11 Mar 2021 12:28 #201805 by RotarySMP
Thanks guys. Excellent feedback.

800w 24VDC? CNC welder? :)
Mark

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

More
11 Mar 2021 13:11 #201810 by andypugh

800w 24VDC? CNC welder? :)


I might have misremembered. It might be only 500W (24.7V @ 20A). In any case, a bit of a bargain at £20 brand-new in box.
uk.rs-online.com/web/p/din-rail-power-supplies/4596533/

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

More
11 Mar 2021 13:41 #201812 by RotarySMP
Hell yeah. As space is not an issue on that build, it is an excellent deal.

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

More
11 Mar 2021 14:16 #201816 by Aciera
Replied by Aciera on topic Schaublin 125-CNC retrofit.

If so then it should be possible to use the modbus MB2.HAL component to address the separate drives and output velocity commands to them.

As far as I am aware there have been a few stabs at getting Modbus working in real time space using mesa cards but I don't think anything usable as come out of any of those. In my opinion Modbus is fine for configuration only.
There are some videos out there that seem to be controlling the drives over modbus, altough not with Lcnc, but I'm sceptical.
If I wanted a serial interface to control my drives with Lcnc I would choose EtherCAT (or maybe SSCNET if I already had the drives and motors). That is what has been shown to work.
The following user(s) said Thank You: RotarySMP

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

Moderators: piasdom
Time to create page: 0.382 seconds
Powered by Kunena Forum