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

AVEVA™ Plant SCADA

FuzzyGetShellValue

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets a value for the specified input of the specified instance. The variables in the instance needs to have the data type REAL (floating point values).

Syntax

FuzzyGetShellValue(hFuzzy, iIOIndex, NoHitFlag)

hFuzzy:

The fuzzy instance handle (and integer greater than 0).

iIOIndex:

Specifies the variable to receive the value. The I/O-Indices start with 0 and increment by 1 for each variable. To find the correct index for a specific variable, the variables need to be sorted in alpha-numerical order, first the inputs and then the outputs.

NoHitFlag:

Variable to receive the new value of the No-hit-flag. The No- hit-flag is TRUE if no rule was active for the variable specified by iIOIndex, otherwise it is FALSE. Must be an Integer type variable - it cannot be a constant or PLC variable tag.

Return Value

The shell value if the function was successful. Use IsError to find the error number if the function does not succeed.

FuzzyOpen, FuzzySetShellValue

Example

See FuzzyOpen.

See Also

Fuzzy Logic Functions

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