Class Co
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_logic.h
 Counter.

 Configures a counter input signal in the Plant
 Configuration.

 Rawvalues of pulse counter signals connected to local
 I/O-system are read by a PLC job and converted to
 Actual Value by the IO job.

Hints
 Put the object below a $PlantHier object in the
 development environment in such a way that it belong to
 the same target node as its associated channel object.

RtBody attributes pwr_sClass_Co
String104 Description   Optional text, for example, the name of the signal or
what it represent.
AttrRef SigChanCon   Name of associated channel object.
Float32 ActualValue   Not used.
String16 Unit   Not used.
UInt8 NoOfDecimals   Number of decimals at presentation of ActualValue.
Float32 PresMaxLimit   The lower respective the upper limits in the bar graph
at presentation of AbsValue in the object display.
Float32 PresMinLimit  
UInt32 ValueIndex   Index in the arrays of the CoArea and
Area objects that are used for base frequency
and partial frequency samples. Initiated at boot time
by rt_ini.
Pointer to Int32 RawValue   Pointer to the stored register value of the hardware
counter on the pulse counter card.
Pointer to Int32 AbsValue   Pointer to the absolute value.

AbsValue(t) = AbsValue(t-1) + ( RawValue(t) - RawValue(t-1) )
AttrRef DefGraph   A XttGraph object that will open a graph for this object.
AttrRef DefTrend   A trend object that displays a trend for this object.
String40 HelpTopic   A help topic for this hierarchy.
URL DataSheet   A URL to the data sheet for the equipment in this hierarchy.
URL CircuitDiagram   A URL to the circuit diagram for the equipment in this hierarchy.
URL Photo   A photograph of the plant.
String80 Note   A note of the current status of the object.


Attributes detail


Description Attribute
Class Attribute
Type String104
Flags
Body RtBody
 Optional text, for example, the name of the signal or
 what it represent.

SigChanCon Attribute
Class Attribute
Type AttrRef
Flags
Body RtBody
 Name of associated channel object.

ActualValue Attribute
Class Attribute
Type Float32
Flags STATE | REDUTRANSFER
Body RtBody
 Not used.

Unit Attribute
Class Attribute
Type String16
Flags
Body RtBody
 Not used.

NoOfDecimals Attribute
Class Attribute
Type UInt8
Flags
Body RtBody
 Number of decimals at presentation of ActualValue.

PresMaxLimit Attribute
Class Attribute
Type Float32
Flags REDUTRANSFER
Body RtBody
 The lower respective the upper limits in the bar graph
 at presentation of AbsValue in the object display.

PresMinLimit Attribute
Class Attribute
Type Float32
Flags REDUTRANSFER
Body RtBody

ValueIndex Attribute
Class Attribute
Type UInt32
Flags INVISIBLE | STATE | PRIVATE
Body RtBody
 Index in the arrays of the CoArea and
 Area objects that are used for base frequency
 and partial frequency samples. Initiated at boot time
 by rt_ini.

RawValue Attribute
Class Attribute
Type Pointer to Int32
Flags POINTER | STATE | REDUTRANSFER
Body RtBody
 Pointer to the stored register value of the hardware
 counter on the pulse counter card.

AbsValue Attribute
Class Attribute
Type Pointer to Int32
Flags POINTER | STATE | REDUTRANSFER
Body RtBody
 Pointer to the absolute value.

 AbsValue(t) = AbsValue(t-1) + ( RawValue(t) - RawValue(t-1) )

DefGraph Attribute
Class Attribute
Type AttrRef
Flags
Body RtBody
 A XttGraph object that will open a graph that contains data for
 this object. This graph can be opened from the popup menu for
 this object.

DefTrend Attribute
Class Attribute
Type AttrRef
Flags
Body RtBody
 A DsTrend or PlotGroup object that contains a trend for this object.
 The trend can be opened from the popup menu for this object.

HelpTopic Attribute
Class Attribute
Type String40
Flags
Body RtBody
 A help topic in the xtt help file that contains help for this hierarchy.
 The help can be displayed from the popup menu for this object.

DataSheet Attribute
Class Attribute
Type URL
Flags
Body RtBody
 A URL to the data sheet for the equipment in this hierarchy.
 The data sheet can be displayed from the popup menu for this object.

CircuitDiagram Attribute
Class Attribute
Type URL
Flags
Body RtBody
 A URL to the circuit diagram for the equipment in this hierarchy.
 The circuit diagram can be displayed from the popup menu for this object.

Photo Attribute
Class Attribute
Type URL
Flags
Body RtBody
 A photograph of the plant.
 A URL to a photo of the equipment.
 The photo can be displayed from the popup menu for this object.

Note Attribute
Class Attribute
Type String80
Flags
Body RtBody
 A note of the current status of the object.
 Notes are used to exchange information between operators. It is handled
 by the Note method.