is there a way to write an entry into ctrlX logbook?
Moreover, is there a way to write an entry into ctrlX logbook via the PLC app by a Codesys function block?
Solved! Go to Solution.
for now you have two options:
Currently you can set diag messages with functions "LogAdd2" to the Codesys PLC logger. In case of errors and warnings this will be automatically written to the ctrlX logbook.
For the direct access PLC <-> ctrlX logbook there were some FB planned with the Version 1.16 but shiftet to 1.18 (RM 22.11).
Thanks for your reply.
I was testing LogAdd2 function when I received your message.
LogAdd2 return error in my case, do you know why?
I have test this with version 1.14 and now with 1.16. It's working....
here my quick and dirty test procedure. Parallel I attached my TestProg as PLCoponXML export file...