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

AVEVA™ Plant SCADA

SPCClientInfo

  • Last UpdatedJul 18, 2023
  • 1 minute read

Returns SPC data for the given SPC tag. The information retrieved through this function is from the cache maintained by the client. This function will give a faster response than the related functions which access the SPC (trend) server.

This function can only be called while the SPC tag is being displayed on an SPC page.

Syntax

SPCClientInfo(sSPCTag, iType)

sSPCTag:

The SPC Tag name as defined in SPC Tags.

iType:

The information to be returned:

1 - Subgroup Size

2 - No. of Subgroups

3 - Process Mean (x double bar)

4 - Process Range

5 - Process Standard Deviation

6 - Lower Specification Limit (LSL)

7 - Upper Specification Limit (USL)

8 - Cp - Process Capability Actual

9 - Cpk - Process Capability Potential

10 - Process Skewness

11 - Process kurtosis

Return Value

The requested data specified by iType. It is of type REAL.

SPCSpecLimitGet, SPCProcessXRSGet, SPCSubgroupSizeGet

Example

/* This function will check the capability of a particular SPC tag.*/

REAL

FUNCTION

CheckCapability(STRING sTAG)

REAL rReturn;

rReturn = SPCClientInfo(sTag, 8);

!rReturn holds the inherent capability value

IF rReturn > 1.0 THEN

Message(sTag + "Assessment","The process is Capable.",64);

ELSE

Message(sTag + "Assessment","The process is not Capable.",64);

END

Return rReturn;

END

See Also

SPC Functions

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