
Chapter 14 Define a trend component
228 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
Attribute Description
StopTriggerLogicalOperation Specify a logical operation (AND or OR) that is performed on StopTriggerxxx1 and StopTriggerxxx2. StopTriggerxxx1
consists of StopTriggerTag1, StopTriggerOperation1, StopTriggerTargetType1, and StopTriggerTargetValue1 or
StopTriggerTargetTag1. StopTriggerxxx2 consists of StopTriggerTag2, StopTriggerOperation2, StopTriggerTargetType2,
and StopTriggerTargetValue2 or StopTriggerTargetTag2.
StopTriggerTag2 Specify the tag name of the second trigger. The name must be one of the pen names.
StopTriggerOperation2 Specify the operation that is applied on StopTriggerTag2 and StopTriggerTargetValue2 or StopTriggerTargetTag2.
Type: For:
0 Exact Equal (Tag EQU Target)
1 Trigger Level Equal (Tag = Target)
2 Not Equal (Tag != Target)
3 Less Than (Tag < Target)
4 Greater Than (Tag > Target)
5 Less Than or Equal To (Tag <= Target)
6 Greater Than or Equal To (Tag >= Target)
7 Positive Slope (slope of Tag is positive)
8 Negative Slope (slope of Tag is negative)
9 Bitwise OR ((Tag OR Target) = 0)
10 Bitwise OR ((Tag OR Target) != 0)
11 Bitwise AND ((Tag AND Target) = 0)
12 Bitwise AND ((Tag AND Target) != 0)
13 Bitwise XOR ((Tag XOR Target) = 0)
14 Bitwise XOR ((Tag XOR Target) != 0)
StopTriggerTargetType2
Specify the type of the second stop trigger target. Type TargetValue or TargetTag. If you specify TargetValue,
StopTriggerTargetValue2 is expected. Otherwise, StopTriggerTargetTag2 is expected.
StopTriggerTargetValue2
Specify a target value if the StopTriggerTargetType2 is TargetValue. Type a binary, octal, decimal, or hexadecimal
integer number or type a floating point number.
StopTriggerTargetTag2
Specify a target tag if the StopTriggerTargetType is TargetTag. The name must be one of the pen names.
PostSampleType
Define how post-samples are specified. Type Samples or TimePeriod.
PostSamples Specify the number of post-samples (0...1000) if the PostSampleType is Samples. Specify a time period
(0...(SamplePeriod ∗ 1000)) that covers post-samples if the PostSampleType is TimePeriod.
TrendxVersion Specify the version of the Trend feature.
A trend object can have as many as eight pen declarations. A pen declaration
follows this structure.
L5X pen structure
<Pen [Pen_Attributes]>
<Description>
<![CDATA[ text ]]>
</Description>
</Pen>
Pen declaration