Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Halt

  • Last UpdatedJul 18, 2023
  • 1 minute read

Stops the execution of the current Cicode task and returns to Plant SCADA. This function does not affect any other Cicode tasks that are running.

Use this function to stop execution in nested function calls. When Halt() is called, Cicode returns to Plant SCADA and does not execute any return function calls.

Syntax

Halt()

Return Value

0 (zero) if successful, otherwise an error is returned.

Assert, TaskKill

Example

INT

FUNCTION

MyFunc(INT Arg)

IF Arg<0 THEN

Prompt("Invalid Arg");

Halt();

END

...

END

See Also

Task Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in