RMPMessageBuffer.AddMessage (METH)ΒΆ

METHOD FINAL AddMessage : UINT

Queues message and returns the handle of this message or 16#FFFF, if the buffer was full

InOut:

Scope

Name

Type

Comment

Return

AddMessage

UINT

Input

udiSenderID

UDINT

The sender ID of the message

udiReceiverID

UDINT

The receiver ID of the message

tValidity

TIME

For send lists: tExpirationTime is the time distance, how long this message shall be kept in the receive queue for receive lists: tExpirationTime is the point in time, when it hat to be deleted if not acknowledged

pmdData

POINTER TO ARRAY [0..63] OF BYTE

Data