Class Ssab_BaseDoCard
|
Version |
1.0 |
|
Modified |
06-OCT-2005 14:45:53.00 |
|
Base card for PSS9000 digital output cards.
RtBody attributes pwr_sClass_Ssab_BaseDoCard |
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 |
InvMask1 |
|
The invert mask specifies which channel values that are inverted.
|
CardMask2_1 |
InvMask2 |
|
See InvMask1. InvMask2 handles channel 17 - 32. |
CardMask1_1 |
TestMask1 |
|
The test mask specifies which channel values that are fetch from the TestValue attribute.
|
CardMask2_1 |
TestMask2 |
|
See TestMask1. TestMask2 handles channel 17 - 32. |
CardMask1_1 |
TestValue1 |
|
The test value specifies the value for channels marked for test in the TestMask attribute.
|
CardMask2_1 |
TestValue2 |
|
See TestValue1. TestValue2 handles channel 17 - 32. |
CardMask1_1 |
FixedOutValue1 |
|
Bitmask mapped to channel 1 to 16 at emergency break of the IO, i.e if ErrorHardLimit
is exceeded in any card. FixedOutValue should normally be 0, because this is the value
at power loss. |
CardMask2_1 |
FixedOutValue2 |
|
Se FixedOutValue1. FixedOutValue2 is the value for channel 17 to 32. |
Template Object |
ErrorSoftLimit |
15 |
ErrorHardLimit |
50 |
MaxNoOfChannels |
32 |
Process |
1 |
Attributes detail
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.
Value of the error counter, when a message is sent to the console log.
Value of the error counter, when all IO handling is aborted.
Maximum number of channels of the card.
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
Do1 176000 4193280
Do2 176004 4193284
Do3 176010 4193288
Do4 176014 4193292
Do5 176020 4193296
Do6 176024 4193300
Do7 176030 4193304
Do8 176034 4193308
Do9 176040 4193312
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.
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 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.
The PlcThread object of the plc thread that handles the card.
The card is read with the scantime of the thread.
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.
The invert mask specifies which channel values that are inverted before transfered
to the hardeware device.
If value of a channel, should be inverted, the corresponding bit in
the invert mask is set to 1.
Channel 1 - 16 is handled by InvMask1, channel 17 - 32 by InvMask2.
The invert masks are changed with the rtt commands 'set invert /on' and
'set invert /off'.
See InvMask1. InvMask2 handles channel 17 - 32.
The test mask specifies which channel values that are fetched from the TestValue
attribute instead of from the hardeware device.
If the value of a channel, should be fetched from the TestValue, the corresponding bit in
the invert mask is set to 1.
Channel 1 - 16 is handled by TestMask1, channel 17 - 32 by TestMask2.
The test masks are changed with the rtt commands 'set dotest /on' and
'set dotest /off'.
See TestMask1. TestMask2 handles channel 17 - 32.
The test value specifies the value for channels marked for test in the TestMask attribute.
Channel 1 - 16 is handled by TestValue1, channel 17 - 32 by TestValue2.
Example
If you want to put the value 1 in channel 3, bit 3 in TestMask1 should be 1, and bit 3
in TestValue1 should be 1.
If you want to put the value 0 in channel 18, bit 2 in TestMask2 should be 1, and bit 2
in TestValue2 should be 0.
The test value are changed with the rtt commands 'set testvalue /on' and
'set testvalue /off'.
See TestValue1. TestValue2 handles channel 17 - 32.
Bitmask mapped to channel 1 to 16 at emergency break of the IO, i.e if ErrorHardLimit
is exceeded in any card. FixedOutValue should normally be 0, because this is the value
at power loss.
Se FixedOutValue1. FixedOutValue2 is the value for channel 17 to 32.