Function Block MSG_SEND_USER

The Function Block MSG_SEND_USER sends a message to an interface in RAW format. A user can be defined at the input TO.

The Function Block is connected via RAW_IN and RAW_OUT with the same interface variable. 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 a user as a string or as the recipient for the message.

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

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