Jump to content
OMRON Forums

fastest way to use CFromScripts


tkb11

Recommended Posts

I get how to use CFromScripts from motion programs, libraries etc inside the IDE environment. What is the quickest way to utilize the speed of functions in C from a motion control program in NC16? Maybe a new M-Code? Or is there a generic way of doing it.

 

We are doing pretty math-intensive calculations to machine a-spherical surfaces with a very fancy high-precision lathe.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The easiest way would be to add a call to ppnc_gcodes.pmc . For example, this could be added before the final close if MyVar is already a global variable. I'm not sure what G-Code number to suggest or if it would be better as M-Code.

 

//G500 CfromScript
n500000:
MyVar = CfromScript(1,2,3,4,5,6,7)
return

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...