GetCause

This method returns the cause.
Syntax
METHOD GetCause : BOOL
VAR_INPUT
sResult : REFERENCE TO STRING;
nResult : UDINT; // buffer size in bytes
END_VAR
Inputs
Name | Type | Description |
---|---|---|
sResult | REFERENCE TO STRING | Reference to a string in which the result is to be stored. |
nResult | UDINT | Length of the sResult |
Outputs
Name | Type | Description |
---|---|---|
GetCause | BOOL | Returns the success whether a cause was provided. |