Class Ssab_BaseACard
Version 1.0
Modified 06-OCT-2005 14:45:53.00
 Base class for a PSS9000 analog card.

RtBody attributes pwr_sClass_Ssab_BaseACard
String80 Description   Optional description.
UInt32 ErrorCount   Error counter, incremented for every failed read operation of the card.
When the error counter reaches ErrorSoftLimit, a message is sent to the console log.
When it reaches ErrorHardLimit, all IO handling is aborted.
UInt32 ErrorSoftLimit   Value of the error counter, when a message is sent to the console log.
UInt32 ErrorHardLimit   Value of the error counter, when all IO handling is aborted.
UInt16 MaxNoOfChannels   Maximum number of channels of the card.
UInt32 RegAddress   QBUS address of the card.
UInt32 SwitchSettings   Settings of the address switch on the board.
The value is filled in when the object is created, calculated
from the current position of the object in the rack. If the
positions is changed the settings can be updated with the SetAddress
method in the popup menu.

The settings are presented with an integer value, and leading zeros
are missing.
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.
URL DataSheet   A URL to the data sheet for the equipment in this object.


Template Object
ErrorSoftLimit 15
ErrorHardLimit 50
MaxNoOfChannels 32
Process 1


Attributes detail


Description Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
Optional description.

ErrorCount Attribute
Klass Attribute
Typ UInt32
Flags State|Noedit
Kropp RtBody
Error counter, incremented for every failed read operation of the card.
When the error counter reaches ErrorSoftLimit, a message is sent to the console log.
When it reaches ErrorHardLimit, all IO handling is aborted.

ErrorSoftLimit Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
Value of the error counter, when a message is sent to the console log.

ErrorHardLimit Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
Value of the error counter, when all IO handling is aborted.

MaxNoOfChannels Attribute
Klass Attribute
Typ UInt16
Flags Const|Noedit
Kropp RtBody
Maximum number of channels of the card.

RegAddress Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
QBUS address of the card.
The value is set with address switches on the card.
NoteThe value in RegAddress is a decimal value

	Card number	Octal address	Decimal Address

	Ai1		167000		4189696
	Ai2		167100		4189760
	Ai3		167200		4189824
	Ai4		167300		4189888
	Ai5		167400		4189952
	Ai6		167500		4190016
	Ai7		167600		4190080
	Ai8		167700		4190144

	Ao1		176210		4193416
	Ao2		176220		4193424
	Ao3		176230		4193432
	Ao4		176240		4193440
	Ao5		176250		4193448
	Ao6		176260		4193456

The value is filled in when the object is created, calculated
from the current position of the object in the rack. If the
positions is changed the address can be updated with the SetAddress
method in the popup menu.

SwitchSettings Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
Settings of the address switch on the board.
The value is filled in when the object is created, calculated
from the current position of the object in the rack. If the
positions is changed the settings can be updated with the SetAddress
method in the popup menu.

The settings are presented with an integer value, and leading zeros
are missing.

Process Attribute
Klass Attribute
Typ IoProcessMask
Flags
Kropp RtBody
Process that handles the card.

1: The card is read 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 read by the rt_io_comm process.
4: The card is handled by an application program.

ThreadObject Intern
Klass Intern
Typ Objid
Flags
Kropp RtBody
The PlcThread object of the plc thread that handles the card.
The card is read with the scantime of the thread.

DataSheet Attribute
Klass Attribute
Typ URL
Flags
Kropp RtBody
 A URL to the data sheet for the equipment of this object.
 The data sheet can be displayed from the popup menu for this object.