Write

Write 1:

This method writes a message to the channel.

Syntax

METHOD Write : BOOL
VAR_INPUT
    pPayload     :     PVOID;
    nPayloadSize : UDINT;
END_VAR

Write 2: Return value

Name

Type

Description

Write

BOOL

Indicates whether the call was successful.

Write 3: Inputs

Name

Type

Description

pPayload

PVOID

Address of the target memory.

nPayloadSize

UDINT

Size of the target memory.