Skip to main content

GlobalMessageServiceLinker

Short summary​

This class links a given message service to a static message service interface that all message service provider instances can access.

AccessAbstractFinalExtendsImplements
-NoNoCNM_MessageInterfaces.AbstractMessageServiceProvider-

UML Diagram​

Properties​

className​

Type: CNM_AbstractObject.ClassName

This abstract property returns the class name of the concrete object, …

Methods​

FB_init​

  • Parameters:
    • bInitRetains (BOOL): if TRUE, the retain variables are initialized (warm start / cold start)
    • bInCopyCode (BOOL): if TRUE, the instance afterwards gets moved into the copy code (online change)
    • globalMessageService (CNM_MessageInterfaces.IMessageService): the message service that should be linked to the static global message service
  • Return type: BOOL

The constructor FB_init is needed to create an unique hash code.…

Code​

Declaration​

FUNCTION_BLOCK GlobalMessageServiceLinker EXTENDS CNM_MessageInterfaces.AbstractMessageServiceProvider