Class Ssab_BaseDiCard
Version 1.0
Modified 06-OCT-2005 14:45:53.00
 Base card for PSS9000 digital input cards.

RtBody attributes pwr_sClass_Ssab_BaseDiCard
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.
CardMask1_1 ConvMask1   The conversion mask specifies which channel values that are transfered to signal values.
CardMask2_1 ConvMask2   See ConvMask1. ConvMask2 handles channel 17 - 32.
CardMask1_1 InvMask1   The invert mask specifies which channel values that are inverted.
CardMask2_1 InvMask2   See InvMask1. InvMask2 handles channel 17 - 32.


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
	Di1		176100		4193344
	Di2		176104		4193348
	Di3		176110		4193352
	Di4		176114		4193356
	Di5		176120		4193360
	Di6		176124		4193364
	Di7		176130		4193368
	Di8		176134		4193372
	Di9		176140		4193376
	Di10		176144		4193380
	Di11		176150		4193384
	Di12		176154		4193388
	Di13		176160		4193392
	Di14		176164		4193396
	Di15		176170		4193400
	Di16		176174		4193404
	Di17		176500		4193600
	Di18		176504		4193604

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.

ConvMask1 Attribute
Klass Attribute
Typ CardMask1_1
Flags
Kropp RtBody
The conversion mask specifies which channel values that are transfered to signal values.
If value of a channel, read from the card, should not be used, the corresponding bit in
the conversion mask is set to 0. The value can then be set from the runtime navigator.
Channel 1 - 16 is handled by ConvMask1, channel 17 - 32 by ConvMask2.
The conversion masks are changed with the rtt commands 'set conversion /on' and
'set conversion /off'.

ConvMask2 Attribute
Klass Attribute
Typ CardMask2_1
Flags
Kropp RtBody
See ConvMask1. ConvMask2 handles channel 17 - 32.

InvMask1 Attribute
Klass Attribute
Typ CardMask1_1
Flags
Kropp RtBody
The conversion mask specifies which channel values that are inverted.
If value of a channel, read from the card, should be inverted, the corresponding bit in
the invert mask is set to 0. The value can then be set from the runtime navigator.
Channel 1 - 16 is handled by InvMask1, channel 17 - 32 by InvMask2.

InvMask2 Attribute
Klass Attribute
Typ CardMask2_1
Flags
Kropp RtBody
See InvMask1. InvMask2 handles channel 17 - 32.