Volume BaseComponent | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
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 | |||
---|---|---|---|
String80 | 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 |
Description Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | String80 | |
Flags | ||
Kropp | RtBody |
Description of the Card. Used for documentation only. The description is viewed in the navigator when the object is visible.
Specification Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | String80 | |
Flags | ||
Kropp | RtBody |
Specification of the Card. Used for documentation only.
DataSheet Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | URL | |
Flags | ||
Kropp | 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 | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ReduTransfer | |
Kropp | RtBody |
Card address.
Process Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | IoProcessMask | |
Flags | ||
Kropp | 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 | ||
---|---|---|
Klass | Attribute | |
Typ | Objid | |
Flags | ||
Kropp | 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 | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ReduTransfer | |
Kropp | RtBody |
Error counter.
ErrorSoftLimit Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ReduTransfer | |
Kropp | RtBody |
Error counter limit for warning message.
ErrorHardLimit Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ReduTransfer | |
Kropp | RtBody |
Error counter limit for abort.
MaxNoOfChannels Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt16 | |
Flags | ||
Kropp | RtBody |
Maximum number of channels on this card.