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

AVEVA™ Plant SCADA

ErrCom

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the communication status for the current Cicode task. You can call this function in reports, Cicode that is associated with an object, and in any Cicode task.

Syntax

ErrCom()

Return Value

0 (zero) if all I/O device data associated with the task is valid, otherwise an error is returned.

CodeSetMode

Example

IF ErrCom()<>0 THEN

Prompt("I/O device data is bad");

END

In a report format:

{CICODE}

IF ErrCom()<>0 THEN

PrintLn("This Report contains bad data");

END

{END}

See Also

Error Functions

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