Raise
![Raise 1:](Images/png/5027206027__Web.png)
Sets the alarm state to Raised.
If the alarm requires mandatory confirmation, the confirmation state is additionally set to WaitForConfirmation.
Syntax
METHOD Raise : HRESULT
VAR_INPUT
nTimeStamp : ULINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nTimeStamp | ULINT | 0: Current time stamp is used > 0: External time stamp in 100 nanoseconds since January 1st, 1601 (UTC). |
Return value
Name | Type | Description |
---|---|---|
Raise | HRESULT | Returns S_OK if the method call was successful. Returns ADS_E_INVALIDSTATE if the alarm was already in the Raised state. Otherwise returns HRESULT as the error code |