create a plugin for CNC machines

I want to create a plug in for AutoCAD to convert AutoCAD commands to machine commands and export to serial port.
Is there a documented API out there?

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.