Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Industry standard for CNC script?

Dear All,
 
Is there some kind of industry standard on "CNC-type motion control script".
 
Basically, the user script will be lines of text
Each line is    OP-CODE    Parameter0   Parameter1 ...
Like        MOVE_TO 123.45 345.67
 
and our software will parse the text and generate the corresponding command for the NI motion controller card.
e.g. the user-entered parameter 123.45mm will be converted to number of pulses.
 
Some poster mentioned G-Code, what is that?
 
 
0 Kudos
Message 1 of 4
(4,204 Views)

Hey John_,

I would recommend that you check out the following discussion forum posts:

- How to use CNC G-CODES and M-CODES in LabVIEW

- Has anybody used motion control card like a CNC contol with G-codes with part program editor?

- can you send me the gcode interpretor for the pci-7334,7344.. thanks

These are just a few threads that discuss what you are asking about, but there are a few more out there if you do a search on "CNC Motion"
 
I hope this helps. Please let us know if you have any further questions or concerns.
 
Regards,
DJ L.
0 Kudos
Message 2 of 4
(4,181 Views)

Hi John,

G-codes, M-codes and T-codes are used to give commands to a CNC. You can easily parse these codes in LabVIEW, but there are thousands of features that a CNC has, implementing which is not too easy. What is your application. Is it an SPM, Lathe, Milling machine or something else. I have been working on this for 7 months now and have been able to make a medium featured CNC out of labview. Full featured one may take a few years. I can guide you on this. Let me know more abt. your application. I'll can send you the list of G-codes and M-codes with functionality if you want.

Regards,

Giridhar Rajan

Automation Engineer

Cruiser Controls

Mumbai, India

 

Message 3 of 4
(4,174 Views)
Hi Mumbai,
 
We are doing simple XYZ motion control. Not really CNC. Just want to borrow the cnc-style G-code.
0 Kudos
Message 4 of 4
(4,167 Views)