IRmpService3 (ITF) ¶ INTERFACE IRmpService3 EXTENDS IRmpService2 Interface implemented by the RMP (Reliable Message Protocoll) service Methods: GetComFBForComAddress GetIsActionOngoing , inherited from IRmpService2 SetIsActionOngoing , inherited from IRmpService2 Structure: GetComFBForComAddress (Method)
IRmpService3.GetComFBForComAddress (METH) ¶ METHOD GetComFBForComAddress : IRMPFBCommunication This functions returns the communication FB used to communicate to or from a given Module ComAddress of a Module. ..note: If communication FBs are not used for communication this function will always return 0! ..return: If FB communication was used and a FB communicating to or from the given ComAddress exists the correspnding FB/Interface is returned If no communication FB is available 0 is reutnred. InOut: Scope Name Type Comment Return GetComFBForComAddress IRMPFBCommunication Input udiModuleComAddress UDINT The ComAddress of the Module for which the CommunicationFB shall be received
IRMPFBCommunication.InitializeCommunicationParameters (METH) ¶ METHOD InitializeCommunicationParameters : BOOL This method is called before the Cyclic-RMP-Communication AND provides you with the communication addresses of the application to receive messages from and to send messages to. InOut: Scope Name Type Comment Return InitializeCommunicationParameters BOOL Input uiSendToComAddress UINT The communication address of the application to send data via any network to; use this address to identify the FB receiving from this FB via the network uiReceiveComAddress UINT The communication address of the application to receive data via any network (local); use this address to identify the FB sending to this FB via the network
IRMPFBCommunication.InitializeReceiveBuffers (METH) ¶ METHOD InitializeReceiveBuffers : BOOL This method provides you with pointers TO the buffers holding the RMP data AND mirrored variables to be received. InOut: Scope Name Type Comment Return InitializeReceiveBuffers BOOL Input pRMPReceiveData POINTER TO RMPExchangeData The data structure used for the generall RMP; this data has to be received via any network connection from the application having the given communication address pReceiveVars POINTER TO RMPVarData The data list of variables being mirrored from a module in another application; this data has to be received via any network connection from the application having the given communication address udiReceiveVarsCount UDINT This is the number of variables given via the pointer pReceiveVars
IRMPFBCommunication.InitializeSendBuffers (METH) ¶ METHOD InitializeSendBuffers : BOOL This provides you with pointers to the buffers holding the RMP data and mirrored variables to be sent. InOut: Scope Name Type Comment Return InitializeSendBuffers BOOL Input pRMPSendData POINTER TO RMPExchangeData The data structure used for the generall RMP; this data has to be send via any network connection to the application having the given communication address pSendVars POINTER TO RMPVarData The data list of variables being mirrored to a module in the targeted application; this data has to be send via any network connection to the application having the given communication address udiSendVarsCount UDINT This is the number of variables given via the pointer pSendVars
IRMPFBCommunication.ReceiveComAdress (PROP) ¶ PROPERTY ReceiveComAdress : UDINT This property returns the ComAddress of the application messages are received from (given via InitializeCommunicationParameters).
IRMPFBCommunication.ReceiveCounter (PROP) ¶ PROPERTY ReceiveCounter : UDINT This property returns the count of received full data sets; as long as no data was received, this property shall return 0.
IRMPFBCommunication.SendCounter (PROP) ¶ PROPERTY SendCounter : UDINT This property returns the count of sent full data sets and sent via any network.
IRMPFBCommunication.SendToComAdress (PROP) ¶ PROPERTY SendToComAdress : UDINT This property returns the ComAddress of the application messages are send to (given via InitializeCommunicationParameters).
RMPVarData (STRUCT) ¶ TYPE RMPVarData : STRUCT Structure holding one set of mirror variable data to be transmitted InOut: Name Type Comment pVarData POINTER TO BYTE Pointer to the variable to be mirrored byVarDataSize BYTE Size of the variable to be mirrored