- Posts: 5
- Thank you received: 0
Use of STEP-NC with LinuxCNC
- AtinA
- Offline
- New Member
-
Greetings. First post ever on LinuxCNC forum! I am relatively new to machining, so kindly condone my lack of knowledge in the area.
I would like to implement STEP-NC format on LinuxCNC. I have found a toolkit online ( code.google.com/p/iso-14649-toolkit/ ) which allows me to convert STEP-NC to canonical machining commands (CMCs) directly. Is it possible for me to use these commands to drive a CNC machine? From what I have understood so far LinuxCNC needs G-code as an input to drive the CNC machines .
Thanks a lot!
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
- Posts: 3981
- Thank you received: 994
JT
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 240
I would like to implement STEP-NC format on LinuxCNC.
Linuxcnc uses ISO 6983/RS274D G-codes, so without rewriting the entire parser / interpreter you cannot.
If you have a lot of STEP-NC code you wish to use, the best you could do would be to write a conversion program that turns the ISO 10303 STEP code back to RS274, but thereby losing all the advantages of the former.
I have found a toolkit online (code.google.com/p/iso-14649-toolkit/ ) which allows me to convert STEP-NC to canonical machining commands (CMCs) directly.
Is it possible for me to use these commands to drive a CNC machine?
Undoubtedly, but you will be writing your own controller, not using Linuxcnc.
It is an interesting toolkit which I must look at properly, but what it is giving you
2. A parser for STEP Part 21 files.
3. A simple stand-alone parser/printer.
4. An ISO 14649 interpreter for 3-axis machining.
are C++ classes to build a controller, not anything that will assist you use Linuxcnc, unless you use them as the basis for a complete rewrite (and it certainly needs it).
The project is archived and has not been added to for 6 years, so unsure of the usability of it.
I don't know if there are any open source STEP software controllers out there, suspect not.
The industrial implementations are Siemens, Fanuc etc.
The big question is "do you need STEP-NC to make whatever you intend making"?
Probably not.
It may be the current top of the range machining standard, but unlikely to hit mainstream amateur milling and lathe work any time soon
regards
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1021
- Thank you received: 202
Please Log in or Create an account to join the conversation.
- AtinA
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
Thanks for replying. It is for a masters project. There is a budget of around $10000 for the same. We were thinking of development of a Linux based CNC machine which would use STEP-NC as an input.
what is your reason to use step nc ? , is it to interface from a cad system ? if so which specific one .
We would like to move away from G-Code, as it doesn't give a lot of flexibility in terms of feed rate optimization or storing shop-floor level changes during the manufacturing process. STEP-NC seems to an interesting format, in that it allows the use of a single file across the CAD-CAM-CNC chain. The primary advantage being the ability to use multiple CAM software on the same part and capturing different ideas on toolpaths for development of a specific feature. At the shop floor the appropriate strategies could be selected to make the best part possible, resulting in reduced planing time and costs.
The big question is "do you need STEP-NC to make whatever you intend making"?
As written above, it is for a project. The idea for the project over the next 2 - 3 years is to develop an OS where people could write apps for interacting with CNC machines.
ArcEye: You noted correctly that the toolkit gives C++ classes to build a controller. Could you expand on what that means? My knowledge is woefully inadequate right now on the topic.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 240
ArcEye: You noted correctly that the toolkit gives C++ classes to build a controller. Could you expand on what that means? My knowledge is woefully inadequate right now on the topic.
It just means the classes should provide a means to build a simple STEP-NC controller.
That would be a replacement for Linuxcnc, rather than an augmentation to it.
At the very least it should be useful to study the parsing and interpreting side, to see how code is converted into machine movement instructions.
It would be a useful exercise to build modules 2 and 3 and get a print from a STEP-NC input, to demonstrate the output.
Would be similar in some ways to the lex / yacc bits of compiler parsing
regards
Please Log in or Create an account to join the conversation.