Class Di
Version 1.0
Modified 26-MAY-2023 14:29:27.00
 Digital input.

 Configures a digital input signal in the Plant
 Configuration.

 The internal filter function, where FilterType
 specifies selected filter, concerns local Di signals,
 i.e. remote Di-signals are not affected by the internal
 filter function.
 The filter function means e.g. that the designer
 without any extra configuration and direct in the
 object may specify if:

 - the sampled signal have to be set for a certain time
 to be valid
 - a minimum of time have to elapse from that the
 sampled signal latest become FALSE until it is
 allowed to be TRUE again.

        Hints

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

Object graph


RtBody attributes pwr_sClass_Di
String80 Description   Optional text, for example the name of the signal or
what it represents.
AttrRef SigChanCon   Name of the associated channel object.
UInt32 ValueIndex   Index in the DIValue array at the DiArea objects
that are used for base frequency and partial frequency
samples. Initiated at boot time by rt_ini.
Pointer to Boolean ActualValue   Pointer to ActualValue. The value is updated
continuously. ConversionOn and InvertOn in the channel
object ChanDi, see page 3-66, specifies if the value
shall be converted before storage.
Boolean InitialValue   InitialValue specifies starting value of the signal at
so called 'cold start'. Which value that is used as
starting value at warm restart ( = change of PLC
program ) depends on whether the signal is new or not.
If the signal has exist in the last program its last
value will be used as starting value, otherwise InitialValue
Boolean SigValue   Not used.
XttMethodsMask XttMethodsMask   Xtt method configuration.
Specification of the available methods for the object.
If Flags.IsConfigured is set, the methods can be specified in
the development environment. Otherwise they will be calculated
in runtime.
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.
DiFilterTypeEnum FilterType   The internal filter function concerns only local
Di-signals.

Specifies the selected filter. The possible types of
filters are:

0 -- No filtering.
1 -- Set and reset delay.
Array of Float32 FilterAttribute   Define filter constants in selected filter function,
see FilterType. The constants are in seconds.

If FilterType = 1, specifies FilterAttribute[0] the set
delay and FilterAttribute[1] the rest delay.


Template Object


Attributes detail


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

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

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

ActualValue Attribute
Class Attribute
Type Pointer to Boolean
Flags POINTER | STATE | REDUTRANSFER
Body RtBody
 Pointer to ActualValue. The value is updated
 continuously. ConversionOn and InvertOn in the channel
 object ChanDi, see page 3-66, specifies if the value
 shall be converted before storage.

InitialValue Attribute
Class Attribute
Type Boolean
Flags
Body RtBody
 InitialValue specifies starting value of the signal at
 so called 'cold start'. Which value that is used as
 starting value at warm restart ( = change of PLC
 program ) depends on whether the signal is new or not.
 If the signal has exist in the last program its last
 value will be used as starting value, otherwise InitialValue

SigValue Attribute
Class Attribute
Type Boolean
Flags STATE
Body RtBody
 Not used.

XttMethodsMask Attribute
Class Attribute
Type XttMethodsMask
Flags CLASS
Body RtBody
 Xtt method configuration.
 Specification of the available methods for the object.
 If Flags.IsConfigured is set, the methods can be specified in
 the development environment. Otherwise they will be calculated
 in runtime.

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.

 If the attribute is empty, the CircuitDiagram method will look at the
 closest ancestor that has supplied a value in CircuitDiagram and use this
 URL instead. If this behavior is unwanted, put the string 'Disabled' in the
 attribute. This will disable the CircuitDiagram method for this object, and
 for any child with empty CircuitDiagram attribute.

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.

FilterType Attribute
Class Attribute
Type DiFilterTypeEnum
Flags
Body RtBody
 The internal filter function concerns only local
 Di-signals.

 Specifies the selected filter. The possible types of
 filters are:

 0 -- No filtering.
 1 -- Set and reset delay.

FilterAttribute Attribute
Class Attribute
Type Array of Float32
Flags ARRAY
Elements 4
Body RtBody
 Define filter constants in selected filter function,
 see FilterType. The constants are in seconds.

 If FilterType = 1, specifies FilterAttribute[0] the set
 delay and FilterAttribute[1] the rest delay.