[SA_Library.Meter]DefaultPLCLimits
- Last UpdatedJul 19, 2023
- 2 minute read
A number that determines the order in which to use the defined PLC alarm limits. 0 corresponds to the lowest PLC alarm limit defined, while the largest number corresponds to the highest limit defined. Note that if you have defined limits as Limit1, LImit2 and Limit3:
-
0 will correspond to Limit1
-
1 will correspond to Limit2
-
2 will correspond to Limit3
In the example above, you cannot specify "3" or "4" or any other number as one of the values for the DefaultPLCLimit. The values can only be 0,1 and/or 2.
This is a comma-separated list of values.
For example, if your list contains the values 0,1,4,5,3 and the limits you have defined are Limit1, Limit2, Limit3, Limit4, Limit5 and Limit6, the order will be:
|
DefaultPLCLimit |
PLCLimitNames |
|---|---|
|
0 |
Limit1 |
|
1 |
Limit2 |
|
4 |
Limit5 |
|
5 |
Limit6 |
|
3 |
Limit4 |
It is possible to override the limits set up at a project level, and apply these limits to an individual piece of equipment. This can be done in the System Model activity | Runtime Parameters view.
To associate PLC alarm limits with a piece of equipment:
-
Define the [SA_Library.Meter]PLCLimitNames to use.
-
In Plant SCADA Studio, navigate to System Model activity | Equipment. Select Runtime Parameters from the dropdown menu.
-
For each equipment, in the Name property, type PLCLimits.
-
In the Value property, specify your comma-separated list of default PLC limits, that is the order in which the defined PLC alarm limits need to be used.
Note: Setting the Value property to * reverses the setting of the UseDefaultPLCLimits parameter. Therefore, if the UseDefaultPLCLimits parameter is set to TRUE, it will be reversed and applied as if it were set to FALSE. In this example, analog alarm limits will apply. If UseDefaultPLCLimits is FALSE, setting the value of the runtime parameter to * will cause the associated equipment to use the default PLC limits defined at the project level.
-
Set the IsTag property to FALSE so that the PLC limit labels are displayed on the meter faceplates.
-
Click Save.
Allowable Values:
Any whole number.
Default:
None
See Also
[SA_Library.Meter]UseDefaultPLCLimits