AC_Visu_Base.GetAncestor (METH) ¶ METHOD PROTECTED GetAncestor : INT This method returns the next ancestor visualisation for a given visualisation or -1 if there is none. It is used internally by this function block and it is overridden in a derived class created by the composer during generation. InOut: Scope Name Type Comment Return GetAncestor INT Input uiIdx UINT The index for which the ancestor shall be returned
RMPBufferedMessage (STRUCT) ¶ TYPE RMPBufferedMessage : STRUCT The structure representing a message buffered in the RMP (Reliable Message Protocoll) InOut: Name Type Comment udiReceiverID UDINT Receiver ApplicationID+ModuleID udiSenderID UDINT Sender ApplicationID+ModuleID uiHandle UINT Is unique handle and indicates send order; only Bit0-14 are used byStatusBits BYTE Bit0: TRUE: this buffer entry is unused Bit1: TRUE: this buffer entry is locked and may not be freed or deleted by anyone except the owner THIS ENTRY MUST BE SET WITH TESTANDSET Bit2: TRUE: editing is ongoing tValidity TIME Time distance, how long this message will bevalid tExpirationTime TIME time,(TIME()), when message expires mdData ARRAY [0..63] OF BYTE data
RMPConnection (FB) ¶ FUNCTION_BLOCK FINAL RMPConnection This function block is used internally by the application composer during generation. This function block represents a connection between different composer applications using the RMP (Reliable Message Protocoll). InOut: Scope Name Type Comment Input uiRemoteAppID UINT Application ID of receiver pMessage POINTER TO RMPExchangeData Pointer to the message that is transmitted between the 2 apps xTransmitConnection BOOL Signals if this instance is managing a transmit or receive connection Properties: ActiveIndexInQueue IsActive IsUp Methods: Activate CheckConnectivity Deactivate Structure: Activate (Method) ActiveIndexInQueue (Property) CheckConnectivity (Method) Deactivate (Method) IsActive (Property) IsUp (Property)
RMPConnection.Activate (METH) ¶ METHOD PUBLIC FINAL Activate Activates the connection InOut: Scope Name Type Comment Input uiIndexInQueue UINT The index of the connection to be placed in the connection queue
RMPConnection.ActiveIndexInQueue (PROP) ¶ PROPERTY FINAL ActiveIndexInQueue : UINT The queue index of the current active connection
RMPConnection.CheckConnectivity (METH) ¶ METHOD PUBLIC FINAL CheckConnectivity Checks whether this connection is actibe InOut: Scope Name Type Comment Input xToggleMirror BOOL The current value of the local toggle bit used to check the connection
RMPConnection.Deactivate (METH) ¶ METHOD PUBLIC FINAL Deactivate Deactivates the connection
RMPConnection.IsActive (PROP) ¶ PROPERTY FINAL IsActive : BOOL Returns whether the connection is active or not
RMPConnection.IsUp (PROP) ¶ PROPERTY FINAL IsUp : BOOL Return whether the connection is working; TRUE: data connection is working
RMPExchangeData (STRUCT) ¶ TYPE RMPExchangeData : STRUCT Data structure used to transfer the data in the RMP (Reliable Message Protocoll) InOut: Name Type Comment usiLastReceivedCounter USINT Bit0-6: acknowledgement mechanism: tells remote MH, which message (usiMessageSendCounter) was received as last Bit7: toggle bit (mirror of usiMessageSendCounter.7) mdData ARRAY [0..63] OF BYTE Data uiReceiverModuleID UINT ModuleID on receiver application uiSenderModuleID UINT ModuleID on sender application tValidity TIME Validity of this message in ms usiMessageSendCounter USINT Bit0-6: counter that is increased with each sent message (Bit0-6) Bit7: toggle-bit to check connection