Skip to main content

setHandlerReferences

Short Summary

This method is used to inject references for global data into the node tree.

Parameters

NameTypeCommentKind
dataREFERENCE TO CNM_OpModeHandlingInterfaces.NodeHandlerControlStructthe signals for mode handlinginput
messageServiceCNM_MessageInterfaces.IMessageServicethe global message serviceinput

Code

Declaration

METHOD setHandlerReferences
VAR_INPUT
(* the signals for mode handling *)
data :REFERENCE TO CNM_OpModeHandlingInterfaces.NodeHandlerControlStruct;
(* the global message service *)
messageService :CNM_MessageInterfaces.IMessageService;
END_VAR