Publishes a message. Payload is passed as a text buffer.

Inputs

Parameter

Data type

Description

IN

BOOL

Triggers the subscribe request. (see notes)

CnxID

STRING

Identifier of the connection in the fieldbus configuration.

Topic

STRING

Message topic – may contain wild chars.

PayloadTxb

DINT

Handle of a valid text buffer containing the message payload.

QOS

DINT

Wished quality of service.

retain

BOOL

TRUE if the message must be retained in the broker.

Outputs

Parameter

Data type

Description

OK

BOOL

TRUE if the request is successfully sent.

Error

BOOL

TRUE if the request failed.


Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents