adavi231
Member
I am very new to PLC programming, so I don't know whether this is an easy question or not.
I want a PLC to call a program I have on a computer, then after the programs runs it should return the result to the PLC.
The program is written in C++ with the .NET framework. It should run whenever it receives the signal from the PLC, then it should return 2 numbers to the PLC. The 2 numbers are X,Y coordinates.
How can I do this? How do I connect the computer to the PLC? Is there PLC code for calling an external computer program? Is there C++ code for sending data to a PLC?
I want a PLC to call a program I have on a computer, then after the programs runs it should return the result to the PLC.
The program is written in C++ with the .NET framework. It should run whenever it receives the signal from the PLC, then it should return 2 numbers to the PLC. The 2 numbers are X,Y coordinates.
How can I do this? How do I connect the computer to the PLC? Is there PLC code for calling an external computer program? Is there C++ code for sending data to a PLC?