Class ChanDi
Version 1.0
Modified 08-MAR-2026 11:05:32.00
  Configures a digital input channel independent of the
  type of physical Di-card.

  Figure below shows the steps in Di-signal conversion and the
  attributes of interest. The internal filtering concerns local
  Di-signals, i.e. remote Di-signals are not affected.
  Attributes Used in Di-signal Conversion

  ActualValue and FilterType belongs to Di object.
  InvMask1 and ConvMask1 to card object, but InvertOn and
  ConversionOn belongs to this object.

Hints
 ChanDi objects are configured below a suitable Di-card
 object.
 Rack and card objects to different I/O systems are
 documented separately.

 To create card object with channel objects belonging to
 it the function 'Configure Card' in "Utility Window" is
 recommended.

Object graph


RtBody attributes pwr_sClass_ChanDi
String104 Description   Optional text, for example to describe the channel or
its employment.
AttrRef SigChanCon   Name of a signal object, i.e. Di object, connected with
the channel object.
String80 Identity   The identity of the channel. Optional, for example Di0
to denote the first channel, physical cable marking,
etc.
UInt16 Number   The Number attribute is used to associate the ChanDi
object to a fixed channel on the card named by
SigChanCon. The physical channels of the card are
numbered in the interval {0,1, ... , (MaxNoOfChannels-1)},
where MaxNoOfChannels is an attribute in the card
object.
The channels of the card are numbered according to the
instructions of the card manufacturer.
Boolean ConversionOn   Specifies if the ActualValue should be updated or not.
FALSE means no updating; TRUE means ActualValue will be
updated at the period T0 , where T0 is equal to
ScanTime of the fastest running PLC program of the
node.
There is today no sense in assigning a value to the
attribute in the development environment, as no
attention is paid to it in the target environment.
Instead, this is done by means of the attribute
ConvMask1 in the card object.

However, the value of ConversionOn can be changed via
the more info form of the object in the target
environment.
Boolean InvertOn   Specifies if the digital value should be inverted
before storing in ActualValue or not. FALSE means that
the digital value should not be inverted; TRUE means
that it should be inverted.

There is today no sense in assigning a value to the
attribute in the development environment, as no
attention is paid to it in the target environment.
Instead, this is done by means of the attribute
InvMask1 in the card object.
However, the value of InvertOn can be changed via the
more info form of the object in the target environment.
DataRepEnum Representation   Specifies the data representation of the raw value.


Template Object
ConversionOn 1


Attributes detail


Description Attribute
Class Attribute
Type String104
Flags
Body RtBody
  Optional text, for example to describe the channel or
  its employment.

SigChanCon Attribute
Class Attribute
Type AttrRef
Flags STATE | INVISIBLE
Body RtBody
  Name of a signal object, i.e. Di object, connected with
  the channel object.

Identity Attribute
Class Attribute
Type String80
Flags
Body RtBody
  The identity of the channel. Optional, for example Di0
  to denote the first channel, physical cable marking,
  etc.

Number Attribute
Class Attribute
Type UInt16
Flags
Body RtBody
  The Number attribute is used to associate the ChanDi
  object to a fixed channel on the card named by
  SigChanCon. The physical channels of the card are
  numbered in the interval {0,1, ... , (MaxNoOfChannels-1)},
  where MaxNoOfChannels is an attribute in the card
  object.
 The channels of the card are numbered according to the
 instructions of the card manufacturer.

ConversionOn Attribute
Class Attribute
Type Boolean
Flags
Body RtBody
 Specifies if the ActualValue should be updated or not.
 FALSE means no updating; TRUE means ActualValue will be
 updated at the period T0 , where T0 is equal to
 ScanTime of the fastest running PLC program of the
 node.
 There is today no sense in assigning a value to the
 attribute in the development environment, as no
 attention is paid to it in the target environment.
 Instead, this is done by means of the attribute
 ConvMask1 in the card object.

 However, the value of ConversionOn can be changed via
 the more info form of the object in the target
 environment.

InvertOn Attribute
Class Attribute
Type Boolean
Flags
Body RtBody
 Specifies if the digital value should be inverted
 before storing in ActualValue or not. FALSE means that
 the digital value should not be inverted; TRUE means
 that it should be inverted.

 There is today no sense in assigning a value to the
 attribute in the development environment, as no
 attention is paid to it in the target environment.
 Instead, this is done by means of the attribute
 InvMask1 in the card object.
 However, the value of InvertOn can be changed via the
 more info form of the object in the target environment.

Representation Attribute
Class Attribute
Type DataRepEnum
Flags
Body RtBody
 Specifies the data representation of the raw value.