Y_CO_PrepareMessage
The
Y_CO_PrepareMessage
can be used to prepare a string message. This function block is used inside the
Y_CO_SendEmail
block.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
|
VAR_IN_OUT
|
||||
| V | MessageBody |
Yt_ByteArray4096 | Body of the user message | |
| VAR_INPUT | ||||
| B | Execute | BOOL | Upon the rising edge of the Execute input, all other inputs are read and the function block becomes operational. If an input needs to be modified, the value will have to be changed and the Execute input will have to be re-triggered. | FALSE |
| V | AxisName | Yt_String32 | Name of the axis | '' |
| V | AlarmId |
UDINT | Alarm ID | 0 |
| VAR_OUTPUT | ||||
| B |
Done | BOOL | Set high when the message body has been successfully created. | |
| B |
Error | BOOL | The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE. | |
| V | MessageLength | UDINT | Length of the message string created. | |