Reliable Message Protocol (RMP)
The reliable message protocol is used to send messages from one module instance to another. This communication can be between applications. Therefore an instance of the RMP handler is created for each application.
Each partner owns a unique 32 bit ID, which consists of a high-word (bit 16–31) for the application ID and a low-word (bit 0–15) for the local ID.
Each ID (32 bit) must be unique – the single words (low word or high word) of the ID can be used more than once.
The ID of the application, which calls the instance must be defined in the high word of the instance.
Naming conventions for variables:
udi<xxx>ID
: Complete ID of the module consisting of application ID and local module IDui<xxx>AppID
: Application ID (16 bit), high-word of the complete IDui<xxx>ModuleID
: Local module ID (16 bit), low-word of the complete ID