Jump to content
OMRON Forums

Recommended Posts

Posted

Hi all,

I know I can run an external C program (of course after compiling it ;-)) from within a PLC with this command:

 

system " /usr/local/bin/xxx/capp1"

 

but what if I want to call this app from within a CPLC ? Is this possible?

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

There are a couple of options.

 

You could “force-feed” your first method through the PMAC command interpreter with the “Command()” or “GetResponse()” PMAC API function (Gp Library Functions in gplib.h).

 

Another method is using the standard C system() function to pass a command string back to Linux.

Guest
This topic is now closed to further replies.

×
×
  • Create New...