Class BaseIOCard
Version 1.0
Modified 26-SEP-2007 17:04:09.33
 Base class for a I/O Card.

 The class should be subclassed by a card class that contains the I/O
 methods and possible additional attributes.

 The attributes Process and ThreadObject are used by the I/O framework.
 Address, ErrorCount, SoftErrorLimit and HardErrorLimit should be
 handled in the I/O-methods of the subclass.

RtBody attributes pwr_sClass_BaseIOCard
String104 Description   Description of the Card.
String80 Specification   Specification of the Card.
URL DataSheet   A URL to the data sheet for the equipment in this hierarchy.
UInt32 Address   Card address.
IoProcessMask Process   Process that handles the card. Plc(1), rt_io_comm(2) or application process(4).
Objid ThreadObject   Plc thread that handles the card.
UInt32 ErrorCount   Error counter.
UInt32 ErrorSoftLimit   Error counter limit for warning message.
UInt32 ErrorHardLimit   Error counter limit for abort.
UInt16 MaxNoOfChannels   Maximum number of channels on this card.


Template Object
Process 1
ErrorSoftLimit 50
ErrorHardLimit 100
MaxNoOfChannels 16


Attributes detail


Description Attribute
Class Attribute
Type String104
Flags
Body RtBody
 Description of the Card.
 Used for documentation only.
 The description is viewed in the navigator when the
 object is visible.

Specification Attribute
Class Attribute
Type String80
Flags
Body RtBody
 Specification of the Card.
 Used for documentation only.

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.

Address Attribute
Class Attribute
Type UInt32
Flags ReduTransfer
Body RtBody
 Card address.

Process Attribute
Class Attribute
Type IoProcessMask
Flags
Body RtBody
Process that handles the card.

1: The card is handled by the plc process, and is handled by a specific
   thread in the plc, which is specified in the ThreadObject attribute.
2: The card is handled by the rt_io_comm process.
4: The card is handled by an application program.

ThreadObject Attribute
Class Attribute
Type Objid
Flags
Body RtBody
The PlcThread object of the plc thread that handles the card.
The rack is card or written with the scantime of the thread.

ErrorCount Attribute
Class Attribute
Type UInt32
Flags ReduTransfer
Body RtBody
Error counter.

ErrorSoftLimit Attribute
Class Attribute
Type UInt32
Flags ReduTransfer
Body RtBody
Error counter limit for warning message.

ErrorHardLimit Attribute
Class Attribute
Type UInt32
Flags ReduTransfer
Body RtBody
Error counter limit for abort.

MaxNoOfChannels Attribute
Class Attribute
Type UInt16
Flags
Body RtBody
Maximum number of channels on this card.