Function Block MSG_SEND

The Function Block MSG_SEND sends a message to an interface in RAW format.

The Function Block is connected to the same interface variable via RAW_IN and RAW_OUT>. For example, in.RAW and out.RAW.

Note: Not all inputs may be supported for communication. This varies depending on the interface.

Input SEND

On a positive edge, the lower values of the inputs are combined and transferred to RAW_OUT.

Input RAW_IN

Receives data from the interface. The feedback of the process can be distinguished so that transmission to multiple Function Blocks is possible. However, simultaneous sending can lead to data loss.

Input FROM

Defines the sender of the message.

Input TO

Defines one or more recipients of the message. Multiple recipients are separated by a semicolon ";".

Input SUBJECT

Defines the subject of the message.

Input TEXT

Defines the text or body of the message.

Input PRIORITY

Defines the priority of the message. How these priorities are evaluated depends on the interface used. Possible values are: 1, 0, -1 or also "high", "low"

Output SENT

If a message has been processed by the interface, an acknowledgment is sent back to the Function Block. Regardless of whether the transmission was successful, a pulse is triggered at this output.

Output RAW_OUT

Communicates in JSON format with the interface. The output is only not equal to NULL when sending.

Output ERROR

Issues a simultaneous pulse with the SENT output if an error occurred during sending.