Emco PC Turn 55 retrofit

More
5 years 8 months ago #197949 by The Feral Engineer
I always wish people lived close to me so I could go and help them with stuff :lol:
The following user(s) said Thank You: DB

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

More
5 years 8 months ago #197954 by The Feral Engineer

DB wrote: I am thinking of reusing the front plate of the AC95 card, and building some Wisemuller optimate connectors onto a new pcb board behind it , that way I wont have to alter any of the original wiring , just build the control card onto the back of the AC95 face place.


Not a bad idea if that's how you want to do it, but honestly, the 7i76ed interfacing was easy. I had full functionality of my machine in roughly the course of 4 or so days. The tough part is just gonna be the turret logic, but I'm going to work on that later today.

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

More
5 years 8 months ago #197959 by DB
Replied by DB on topic Emco PC Turn 55 retrofit
yep , still reading up on Lynuxcnc, its not clear if you have to write a post processor, or if they are available, I am not a programmer , I have butchered some code for a friend with a cnc router, but that about it , from his point of view , and I know its blasphemy here mach is the way, I figure what ever card I use can be mounted to the rear of the AC95 face plate and I may even get a mini pc in there along side it

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

More
5 years 8 months ago #197972 by The Feral Engineer
Mach sucks - I used to suffer through that junk crashing on me all the flippin' time.

LinuxCNC takes standard G and M codes, same as a Fanuc, Mitsubishi, Centroid and yes, Mach would take. If you want to get technical, LinuxCNC and Mach share the same ancestral history.

As far as your code is concerned, there's nothing special to it:
G1 straight line
G2 clockwise arc
G3 counterclockwise arc
G4 Dwell
etc.

Any standard Fanuc style post will work for your application. I have multiple CAM systems and have no major issues with getting any of them to output what I need. The things that do tend to vary are M codes, but that's builder specific in my line of work (Applications Engineer for a global machine tool company). The standards are always the same:
M3 clockwise spindle
M4 counterclockwise spindle
M5 spindle stop
M8 flood coolant on
M9 coolant off
M30 program end and rewind
etc.

You won't have any issues with finding posts. If you use FreeCAD, they actually have a post called LinuxCNC that is pretty clean from what I saw in their CAM module (I used it for about 8 seconds, so I'm no pro at it).

As far as computers go, I tried a U700 micropc with horrid results. I'm talking 400k servo-thread latency. My laptop is 65000 without running isolcpus in Linux, turning it on nets me about 15000, which is flying for Mesa hardware. Running isolcpus on the micropc resulted in 50k at best, which wasn't good enough for my taste, so I sent it back. I'm running my Emco from a Raspberry Pi, but I'm still in the tinkering phases with it, so I can't really give the gold star with it yet. It seems promising, but the touch screen drivers are flaky, so I'm a little perturbed over that. If you manage to find a good mini-pc board, clue me in as to what you're using.

I started uploading my retrofit videos, if you want to check them out.

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

More
5 years 8 months ago - 5 years 8 months ago #198020 by PCW
Replied by PCW on topic Emco PC Turn 55 retrofit
Note that with Ethernet cards, what's important is that you can meet the servo thread timing.
The actual latency is not really important as long as the servo thread deadline is met.
Even 400 usec latency would be OK if you can run the servo thread at a sufficient rate.
1 ms (1 KHz rate) is the normal period but 2 ms (500 Hz) is OK for many applications.

The reason that the latency is not terribly important (and you don't really gain anything by reducing it)
is that Mesa Ethernet cards (and PCI/PCIE cards if the DPLL module is present) re-time timing critical
operations to eliminate the effects of host jitter. This re-timing reduces the sampling time uncertainty
to the 200 ns region.
Last edit: 5 years 8 months ago by PCW.
The following user(s) said Thank You: rodw, Sadmeatball, The Feral Engineer

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

More
5 years 8 months ago - 5 years 8 months ago #198041 by rodw
Replied by rodw on topic Emco PC Turn 55 retrofit
Peter, a very timely reminder that there is no need to chase latency down to the nth degree. Without a base thread, latency can be far higher than what many people are striving for. I think a lot of people get far to carried away reducing it.
Last edit: 5 years 8 months ago by rodw.

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

Time to create page: 0.247 seconds
Powered by Kunena Forum