FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
03-20-2024 10:37 AM - last edited on 03-21-2024 08:07 AM by CodeShepherd
EDIT by @CodeShepherd: Moved to own topic from "plc engineering: login and download through rest api".
Hello,
are these functions now implemented in the API of release 2.4?
I can only find a build job for libraries.
Best regards
Solved! Go to Solution.
03-20-2024 11:06 AM - edited 03-20-2024 11:26 AM
Feel free to check the API description deployed with the installation of the ctrlX PLC Engineering:
Available jobs in ctrlX PLC Engineering 2.4 are:
03-20-2024 11:23 AM
Build job is available only for libraries. You can use
CommunicatioSettingsJob -> to set IP address
DeviceUserLoginJob -> to set username and password
ApplicationLoginJob
ApplicationJob ->Start & Stop
ApplicationJob ->Logout
03-20-2024 12:10 PM
Hello,
thank you for the quick answer.
So, I understand, there is no possibility to check for compilation errors in non library projects via the API.
With the ApplicationLogin Job and the Aplication Job Start,Stop and Logout the execution of a Codesys Test Project should be possible.
To Login, the code needs to be generated. I assume this will happen in the background. Do we get the results from that?
Best regards
03-20-2024 12:55 PM
Yes, after a Job is executed, in the result you get job id. With this id you can check if the job is sucessful or failed and also the reason for failure. see screenshots below:
03-20-2024 02:40 PM
Thank you. This will surely help.