ISEL CNC/IMC4 programming language

More
8 years 4 months ago #113101 by davidp
Thank you.

Unless we are able to find a way to translate the program into what we need, we won't be able to use the application.

Don't know enough to proceed; however, Thank you for your responses!

david

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

More
8 years 4 months ago #113106 by andypugh
So, you want LinuxCNC to run with DNC and the ISEL motion commands?

I think that this is actually possible. LinuxCNC has "pluggable interpreters" so the control language does not have to be G-code.

Normally that would be a big job, but actually the ISEL language looks very simple.

Sending the program through serial might be a problem (not an unsurmountable one) but if your program can save to file (shared folder on the LinuxCNC PC for preference) then that would work well.

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

More
8 years 4 months ago #113108 by andypugh
Thinking further: A python application running on the LinuxCNC machine could watch the serial port and convert the ISEL commands to G-code.

That ought to work, and might not be all that difficult.
The following user(s) said Thank You: davidp

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

More
8 years 4 months ago #113111 by davidp
Hi Andy:

YES!!! Yes, we want LinuxCNC. Have Linux computer I put together. Don't know what DNC means in your example, and did google it.

Just not sure which DNC will run with it to run the ISEL motion commands. You are definitely light years ahead of my CNC entry level...

With knowledge, there is a transference of skill. Maybe the same for you and the ISEL language. The whole program is about 1.5 megs. The machine goes home against some limit switches. There is a table which tilts the lenses to better match the front curve of the lens(es) for drilling. Drilling lenses 1.0mm-3.00mm Turn on/off spindle. Return tilt table to home/go home.

Not sure about communication through serial port/RS232/DB9. Again, you are way above my level of CNC.

No files are saved, other than when a new drill sequence needs to be saved, and all of it is on the application/hard drive. Not sure about a shared file in LinuxCNC.

Now that you knocked my socks off, how to move forward?

Thank you,

david

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

More
8 years 4 months ago #113114 by davidp
Again, above my basic level of CNC.

Have programmed with HTML; however it has been many years, and I remember pulling my hair out, at times, trying to make the code work. Python is above my level of CNC. I do know what it is.

There is a gcode application that is TECHNO CNC GCode interpreter. Old, and as previously written, and copyrighted 2003. On computer, and I believe it is only there for the host computer (Win XP) to talk with the controller, and make simple movements.

Glad to know you have thought about it, and believe it will be not be difficult.

As previously written, now that you knocked my socks off, what more information would you like me to provide?

My particular skill is contact lenses and optical lenses. All phases from taking orders to designing lenses, to over-refractions. You are definitely in an area I have light years to catch up to you...I am truly sorry for my ignorance, however, this forum is here, and with your knowledge, thankfully, you have replied.

david

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

More
8 years 4 months ago #113133 by andypugh

davidp wrote: Don't know what DNC means in your example, and did google it.[/code]

DNC is where movement instructions are sent from the host one at a time to the motion controller. (drip-feed)
www.mmsonline.com/articles/dnc-faster-and-better----part-one

I _think_ this is what you have, and what you want to retain?

Now that you knocked my socks off, how to move forward?


I think you need to find a Python programmer, or become one.

I just found this, which seems close to what you need.
github.com/mizoguch-ken/LinuxCNC-DNC

The "magic" happens here:
github.com/mizoguch-ken/LinuxCNC-DNC/blo...r/python/dnc.py#L163

The Python code spots the end-of-line marker and then does some special-case handling, and if all is well it adds the G-code to the queue at line 191.

In your case you need to translate the ISEL language in to G-code. That will take a bit of work to parse the incoming data stream in variables and then into G-code strings. But Python is probably an ideal language to be doing that in.

The following user(s) said Thank You: davidp

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

Time to create page: 0.100 seconds
Powered by Kunena Forum