Class IOHandler
|
Version |
1.0 |
|
Modified |
15-JAN-2025 13:23:37.00 |
|
Innehåller attribut som används av IO-jobbet.
IO-jobbet hanterar,
- analoga signaler anslutna till lokalt I/O-system
- analoga, digitala och pulsräknar signaler anslutna till distribuerade I/O-
system
Objektet konfigureras i utvecklingsmiljön under $Node-objekt som
representerar process nod. Detta ombesörjs normalt av utvecklingsmiljön i
samband med konfigurering av $Node objekt.
Har inget IOHandler objekt konfigurerats kommer ProviewR vid initiering av
nodens realtidsmiljö att skapa ett. Attributen kommer då att innehåller
defaultvärden.
Objektsbild

RtBody attributes pwr_sClass_IOHandler |
Float32 |
CycleTimeBus |
|
Anger, i sekunder, med vilken cykeltid Ai och Ao signaler anslutna till lokalt
I/O-system ska läsas in från hårdvaran och konverteras till ingenjörsvärde resp
konverteras till råvärde och ställas ut.
Minsta tillåtna cykeltid är 0.1 sekund. |
Float32 |
CycleTimeSerial |
|
En process nod kan förutom sitt lokala I/O-system under sig ha distribuerade
I/O-system.
Attributet anger, i sekunder, med vilken cykeltid fysiska signalers (Ai, Ao, Co,
Di och Do) råvärden ska läsas in från distribuerade I/O-system och omvandlas
till ingenjörsvärden respektive omvandlas från ingenjörsvärden till råvärden
och skickas ut till nodens distribuerade I/O-system.
Minsta tillåtna cykeltid är 0.5 sekunder. |
Boolean |
IOReadWriteFlag |
|
Anger om den fysiska I/O-hårdvaran ska adresseras eller ej. FALSE betyder att
ingen fysisk I/O-hårdvara ska adresseras; TRUE innebär att den ska adresseras.
Om, noden har I/O och ska köra 'skarpt' sätts IOReadWriteFlag till TRUE och
IOSimulFlag till FALSE.
vill testa program utan att ha tillgång till I/O sätts IOReadWriteFlag till FALSE
och IOSimuFlag till TRUE. Läsning och skrivning sker i den s.k. I/O-
kopierade arean. WATCH kan användas.
Saknas I/O betyder det att Av och Dv är de enda signalobjekt som kan
användas på vanligt sätt. Men för testning kan alla typer av signalobjekt
användas.
det vid omstart gällde att IOSimulFlag = TRUE, kan IOReadWriteFlag
'togglas'.
Attributet beaktas inte i fallet OperatingSystem = 2, dvs. av OpenVMS-noder. |
Boolean |
IOSimulFlag |
|
Anger om den fysiska I/O-hårdvaran ska initieras i samband med omstart eller
ej. FALSE betyder att I/O:et initieras för läsning / skrivning och TRUE att det
inte initieras.
Attributet beaktas inte i fallet OperatingSystem = 2, dvs. av OpenVMS-noder. |
Boolean |
CardErrorSoftLimit |
|
Error soft limit reached on any card. |
Boolean |
CardErrorHardLimit |
|
Error hard limit reached on any card. |
AttrRef |
ErrorSoftLimitObject |
|
Object that has reached error soft limit. |
AttrRef |
ErrorHardLimitObject |
|
Object that has reached error hard limit. |
UInt32 |
DiCount |
|
Number of configured Di objects in the node. |
UInt32 |
DoCount |
|
Number of configured Do objects in the node. |
UInt32 |
AiCount |
|
Number of configured Ai objects in the node. |
UInt32 |
AoCount |
|
Number of configured Ao objects in the node. |
UInt32 |
AvCount |
|
Number of configured Av objects in the node. |
UInt32 |
DvCount |
|
Number of configured Dv objects in the node. |
UInt32 |
CoCount |
|
Number of configured Co objects in the node. |
UInt32 |
IiCount |
|
Number of configured Ii objects in the node. |
UInt32 |
IoCount |
|
Number of configured Io (Integer Output) objects in the node. |
UInt32 |
IvCount |
|
Number of configured Iv objects in the node. |
UInt32 |
EiCount |
|
Number of configured Ei objects in the node. |
UInt32 |
EoCount |
|
Number of configured Eo (Enumeration Output) objects in the node. |
UInt32 |
EvCount |
|
Number of configured Ev objects in the node. |
UInt32 |
ATvCount |
|
Number of configured ATv objects in the node. |
UInt32 |
DTvCount |
|
Number of configured DTv objects in the node. |
UInt32 |
SvCount |
|
Number of configured Sv objects in the node. |
UInt32 |
SiCount |
|
Number of configured Si objects in the node. |
UInt32 |
SoCount |
|
Number of configured So objects in the node. |
UInt32 |
BiCount |
|
Number of configured Bi objects in the node. |
UInt32 |
BoCount |
|
Number of configured Bo objects in the node. |
UInt32 |
BiSize |
|
Number of configured Bi buffers. |
UInt32 |
BoSize |
|
Total size of Bo buffers. |
Template Object |
CycleTimeBus |
0.2 |
CycleTimeSerial |
1.0 |
IOReadWriteFlag |
1 |
Attributes detail
Anger, i sekunder, med vilken cykeltid Ai och Ao signaler anslutna till lokalt
I/O-system ska läsas in från hårdvaran och konverteras till ingenjörsvärde resp
konverteras till råvärde och ställas ut.
Minsta tillåtna cykeltid är 0.1 sekund.
En process nod kan förutom sitt lokala I/O-system under sig ha distribuerade
I/O-system.
Attributet anger, i sekunder, med vilken cykeltid fysiska signalers (Ai, Ao, Co,
Di och Do) råvärden ska läsas in från distribuerade I/O-system och omvandlas
till ingenjörsvärden respektive omvandlas från ingenjörsvärden till råvärden
och skickas ut till nodens distribuerade I/O-system.
Minsta tillåtna cykeltid är 0.5 sekunder.
Anger om den fysiska I/O-hårdvaran ska adresseras eller ej. FALSE betyder att
ingen fysisk I/O-hårdvara ska adresseras; TRUE innebär att den ska adresseras.
Om, noden har I/O och ska köra 'skarpt' sätts IOReadWriteFlag till TRUE och
IOSimulFlag till FALSE.
vill testa program utan att ha tillgång till I/O sätts IOReadWriteFlag till FALSE
och IOSimuFlag till TRUE. Läsning och skrivning sker i den s.k. I/O-
kopierade arean. WATCH kan användas.
Saknas I/O betyder det att Av och Dv är de enda signalobjekt som kan
användas på vanligt sätt. Men för testning kan alla typer av signalobjekt
användas.
det vid omstart gällde att IOSimulFlag = TRUE, kan IOReadWriteFlag
'togglas'.
Attributet beaktas inte i fallet OperatingSystem = 2, dvs. av OpenVMS-noder.
Anger om den fysiska I/O-hårdvaran ska initieras i samband med omstart eller
ej. FALSE betyder att I/O:et initieras för läsning / skrivning och TRUE att det
inte initieras.
Attributet beaktas inte i fallet OperatingSystem = 2, dvs. av OpenVMS-noder.
Error soft limit reached on any card.
Error hard limit reached on any card.
Object that has reached error soft limit.
Object that has reached error hard limit.
Number of configured Di objects in the node.
Number of configured Do objects in the node.
Number of configured Ai objects in the node.
Number of configured Ao objects in the node.
Number of configured Av objects in the node.
Number of configured Dv objects in the node.
Number of configured Co objects in the node.
Number of configured Ii objects in the node.
Number of configured Io (Integer Output) objects in the node.
Number of configured Iv objects in the node.
Number of configured Ei objects in the node.
Number of configured Eo (Enumeration Output) objects in the node.
Number of configured Ev objects in the node.
Number of configured ATv objects in the node.
Number of configured DTv objects in the node.
Number of configured Sv objects in the node.
Number of configured Si objects in the node.
Number of configured So objects in the node.
Number of configured Bi objects in the node.
Number of configured Bo objects in the node.
Number of configured Bi buffers.
Total size of Bo buffers.