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

AVEVA™ Plant SCADA

[Code]StrictArgumentCheck

  • Last UpdatedJul 19, 2023
  • 1 minute read

Embedded Image (65% Scaling) (LIVE)

UNINTENDED EQUIPMENT OPERATION

Do not set the [Code]StrictArgumentCheck parameter to a value of 0, except on the advice of Technical Support for this product. Setting this value to 0 can result in Cicode Functions behaving unexpectedly and raising a hardware alarm.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

Determines whether the compiler checks for calls to functions with missing parameters. The compiler will by default pass a 1 value or an empty string to function calls that do not have a parameter, and no default defined.

Allowable Values:

  • 0 (do not check for missing parameters)

  • 1 (check for missing parameters)

Default Value:

1

Example

INT
FUNCTION
AddTwoNumbers(INT a, INT b)
RETURN a + b;
END
FUNCTION
CallFunction()
INT sum = AddToNumbers();
This will not compile by default, but will compile when [CODE]StrictArgumentCheck=0.

See Also

Code Parameters

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