aaLimitInsert
- Last UpdatedMar 18, 2021
- 1 minute read
Inserts a limit.
Syntax
aaLimitInsert TagName, ContextKey, LimitType, Value, LimitNameKey, Priority, Checked, Description
where:
|
Argument |
Description |
|---|---|
|
TagName |
The unique name of the tag within the AVEVA Historian system.This value is of data type nvarchar(256), with no default. |
|
ContextKey |
The unique numerical identifier for the context. This value is of data type int, with a default of 1. |
|
LimitType |
The type of limit; that is, whether it is a rising (up) or falling (down) limit. 0 = Rising; 1 = Falling. This value is of data type int, with a default of 1. |
|
Value |
The value that is used as a specific limit for a tag. In theory, a tag can have an infinite number of limits defined. This value is of data type real, with no default. |
|
LimitNameKey |
The unique numerical identifier associated with a limit name. This value is of data type int, with no default. |
|
Priority |
The priority for the limit. Priorities can range from 1 to over 2 billion, with 1 being the highest priority. This value is of data type int, with a default of 1. |
|
Checked |
Used to specify whether a tag imported from InTouch is configured for automatic limit checking. Only checked limits are imported. 0 = Checking disabled; 1 = Checking enabled. This value is of data type bit, with a default of 1. |
|
Description |
The description of the limit. This value is of data type nvarchar(50), with a default of NULL. |
Permission
Execute permission defaults to the aaPowerUsers and aaAdministrators groups.