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

AVEVA™ Plant SCADA

SPCSpecLimitSet

  • Last UpdatedJul 18, 2023
  • 1 minute read

Sets the process Upper and Lower Specification Limits (USL and LSL) for the specified SPC tag. The values entered here will override those specified in the SPC Tags definition.

This function is a blocking function. It will block the calling Cicode task until the operation is complete.

Syntax

SPCSpecLimitSet(sSPCTag, rLSL, rUSL [, sClusterName] )

sSPCTag:

The SPC Tag name as defined in SPC Tags.

rLSL:

The new value of Lower Specification Limit (LSL) to set.

rUSL:

The new value of Upper Specification Limit (USL) to set.

sClusterName:

Specifies the name of the cluster of the SPC tag.

Return Value

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

SPCSpecLimitGet

Example

See SPCSpecLimitGet.

See Also

SPC Functions

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