Hello everyone, I need help regarding the Eclipse C++ plugin.
I´ve seen several videos where you can use eclipse to make your programming and library to work on PLCNext Engineer. What I want to know is if there´s an option I can debug a C++ program on Eclipse before actually making the library and upload the file to the PLC.
For example, if I create a logic on Eclipse regarding an arithmetic procedure, but I want to debug and try it on my computer first, can I do that on my laptop and Run the logic there, or there´s no option, and I have to run the whole logic using the library on the Engineer software?
I´d appreciate any help on this matter.
Hello AEA_1995,
please find the answer to your question below.
Q: What I want to know is if there´s an option I can debug a C++ program on Eclipse before actually making the library and upload the file to the PLC?
A: The PLCnext target simulator is required to debug the application program without a connection to the real target. Currently we support this functionality for IEC61131, but not for C++ or other high-level languages.
You can try to use the third party SDK and Sumulators, but I think it will be not very efficient.
The possible way can be to define the port-variables in C++ and connect it with in/Out-Port-Variables in IEC61131-program and then use the Simulator in PLCnext Engineer (to see the status of C++ In- and Out-Port variables):
PLCnext Engineer Simulation - program on PLCnext Technology without PLCnext Control hardware at hand
Please find the PLCnext Engineer 2022.0 and Simulation_Setup_AXCF1152_2022.0.exe under following product link:
Programmier-Software - PLCNEXT ENGINEER - 1046008 | Phoenix Contact
BR
Eduard