Hi,
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?
Thank you!
Silvia
Solved! Go to Solution.
Ciao Silvia,
unfortunately from PLC this is not yet possible.
It is planned for RM21.11
Regards
Hi,
Thank you for your reply!
Is there another way to write on the logbook for now?
Silvia
Hi,
for now you have two options:
Is it possible to write something to logbook from plc side now?
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).
Regards
Jochen
Hello Jochen,
Thanks for your reply.
I was testing LogAdd2 function when I received your message.
LogAdd2 return error in my case, do you know why?
Hello zhenhui
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...
Thanks a lot. Your code works!