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