FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
03-16-2022 05:29 PM
Hi,
is there a way to start a Method in the DataLayer i.e. diagnosis/confirm/all-errors by PLC?
Thank you
Solved! Go to Solution.
03-17-2022 11:04 AM - last edited on 03-21-2022 07:50 AM by CodeShepherd
To execute a datalayer methode like (confirm errors) just write the node without a value. See example below:
VAR fbExecCmd: DL_WriteNode;
strNode: STRING(255):='diagnosis/confirm/all-errors';
END_VAR
fbExecCmd(Execute:=True, NodeName:=strNode); // ToDo check for Done or Error
10-20-2023 12:15 PM - edited 10-20-2023 02:04 PM
10-20-2023 02:46 PM
This works perfect for me. Thank you for the help.👍