Commit 664ded46 authored by claes's avatar claes

Documentation added

parent abbc63f6
...@@ -11,6 +11,12 @@ SObject pwrb:Class ...@@ -11,6 +11,12 @@ SObject pwrb:Class
! @Group Supervision,NodeConfiguration ! @Group Supervision,NodeConfiguration
! @Summary Supervises a link to another node. ! @Summary Supervises a link to another node.
! Supervises a link to another node. ! Supervises a link to another node.
!
! A NodeLinkSup subscribes to a remote $Node objekt, and checks
! the arrival of the subscribed value. If a new value hasn't arrived
! whithin the TimeoutTime an alarm message is sent.
!
! The NodeLinkSup objects are handled by the rt_linksup server process.
!*/ !*/
Object NodeLinkSup $ClassDef 161 Object NodeLinkSup $ClassDef 161
Body SysBody Body SysBody
...@@ -22,21 +28,40 @@ SObject pwrb:Class ...@@ -22,21 +28,40 @@ SObject pwrb:Class
Body SysBody Body SysBody
Attr StructName = "NodeLinkSup" Attr StructName = "NodeLinkSup"
EndBody EndBody
!/**
! The $Node object on the remote node. Specify the node object
! with volume and path, e.g. 'RemoteVolume:Nodes-ProcNode'.
!
! Note! If the node is mounted, it is easy to mix up the MountObject with
! the remote $Node object. Be sure to specify the remote $Node object.
!*/
Object Node $Attribute 1 Object Node $Attribute 1
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Objid" Attr TypeRef = "pwrs:Type-$Objid"
EndBody EndBody
EndObject EndObject
!/**
! Timout time in seconds.
! If a subscription value has not arrive whithin the timeout time,
! an alarm message is sent.
!*/
Object TimeoutTime $Attribute 2 Object TimeoutTime $Attribute 2
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32" Attr TypeRef = "pwrs:Type-$UInt32"
EndBody EndBody
EndObject EndObject
!/**
! Subscription interval in seconds.
!*/
Object SubscriptionInterval $Attribute 3 Object SubscriptionInterval $Attribute 3
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Float32" Attr TypeRef = "pwrs:Type-$Float32"
EndBody EndBody
EndObject EndObject
!/**
! Indicates that the link is up.
! LinkUp is true if the link is up, and false if the link is down.
!*/
Object LinkUp $Attribute 4 Object LinkUp $Attribute 4
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
...@@ -44,6 +69,9 @@ SObject pwrb:Class ...@@ -44,6 +69,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_NOEDIT Attr Flags |= PWR_MASK_NOEDIT
EndBody EndBody
EndObject EndObject
!/**
! The last time the link was established.
!*/
Object UpTime $Attribute 5 Object UpTime $Attribute 5
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Time" Attr TypeRef = "pwrs:Type-$Time"
...@@ -51,6 +79,9 @@ SObject pwrb:Class ...@@ -51,6 +79,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! The last time the link was lost.
!*/
Object DownTime $Attribute 6 Object DownTime $Attribute 6
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Time" Attr TypeRef = "pwrs:Type-$Time"
...@@ -58,6 +89,9 @@ SObject pwrb:Class ...@@ -58,6 +89,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Number of link up events.
!*/
Object UpCount $Attribute 7 Object UpCount $Attribute 7
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32" Attr TypeRef = "pwrs:Type-$UInt32"
...@@ -65,6 +99,9 @@ SObject pwrb:Class ...@@ -65,6 +99,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Subid for the subscription.
!*/
Object SubId $Attribute 8 Object SubId $Attribute 8
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$RefId" Attr TypeRef = "pwrs:Type-$RefId"
...@@ -72,6 +109,14 @@ SObject pwrb:Class ...@@ -72,6 +109,14 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies whether to enable or disable the supervision.
! Note that blocking is done when Control is FALSE. The
! input signal can be inverted.
!
! FALSE disables the supervision and TRUE or open input
! enables the supervision.
!*/
Object Control $Input 9 Object Control $Input 9
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
...@@ -80,6 +125,12 @@ SObject pwrb:Class ...@@ -80,6 +125,12 @@ SObject pwrb:Class
Attr GraphName = "con" Attr GraphName = "con"
EndBody EndBody
EndObject EndObject
!/**
! Specifies the status of supervised quantity. FALSE
! means normal state and TRUE means alarm state.
! The output signal can for instance be used to activate
! an action sequence at alarm state.
!*/
Object Action $Output 10 Object Action $Output 10
Body SysBody Body SysBody
Attr PgmName = "Action" Attr PgmName = "Action"
...@@ -89,6 +140,12 @@ SObject pwrb:Class ...@@ -89,6 +140,12 @@ SObject pwrb:Class
Attr GraphName = "act" Attr GraphName = "act"
EndBody EndBody
EndObject EndObject
!/**
! Specifies the status of supervised quantity. FALSE
! means normal state and TRUE means alarm state.
! The output signal can for instance be used to activate
! an action sequence at alarm state.
!*/
Object Acked $Output 11 Object Acked $Output 11
Body SysBody Body SysBody
Attr PgmName = "Acked" Attr PgmName = "Acked"
...@@ -98,6 +155,18 @@ SObject pwrb:Class ...@@ -98,6 +155,18 @@ SObject pwrb:Class
Attr GraphName = "ack" Attr GraphName = "ack"
EndBody EndBody
EndObject EndObject
!/**
! Specifies whether to enable or disable the blocking. No
! messages from the supervision object will be sent away
! as long as the object is blocked. The blocking does not
! influence on the 'act' output of the object.
!
! FALSE disables the the blocking and TRUE enables the
! blocking. When a supervisory object in alarm position
! is blocked current messages will be cancelled.
! Blocking /deblocking is done by means of the 'Alarm
! Blocking Window' in the operator environment.
!*/
Object Blocked $Output 12 Object Blocked $Output 12
Body SysBody Body SysBody
Attr PgmName = "Blocked" Attr PgmName = "Blocked"
...@@ -107,21 +176,37 @@ SObject pwrb:Class ...@@ -107,21 +176,37 @@ SObject pwrb:Class
Attr GraphName = "blk" Attr GraphName = "blk"
EndBody EndBody
EndObject EndObject
! ++ !
! Sup struct ! Sup struct
! !
!/**
! Optional text to describe the object. It is used in the
! picture Alarm Limits which is activated from the
! operator window.
!*/
Object Description $Attribute 13 Object Description $Attribute 13
Body SysBody Body SysBody
Attr PgmName = "Description" Attr PgmName = "Description"
Attr TypeRef = "pwrs:Type-$String80" Attr TypeRef = "pwrs:Type-$String80"
EndBody EndBody
EndObject EndObject
!/**
! Specifies whether to enable or disable the action,
! which at alarm state implies DetectText to be sent or
! not. FALSE means that no message will be sent at alarm
! state; TRUE means that DetectText is sent at alarm
! state.
!*/
Object DetectOn $Attribute 14 Object DetectOn $Attribute 14
Body SysBody Body SysBody
Attr PgmName = "DetectOn" Attr PgmName = "DetectOn"
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Alarm message. Optional text which will be written out
! at alarm state if DetectOn is TRUE.
!*/
Object DetectText $Intern 15 Object DetectText $Intern 15
Body SysBody Body SysBody
Attr PgmName = "DetectText" Attr PgmName = "DetectText"
...@@ -130,30 +215,76 @@ SObject pwrb:Class ...@@ -130,30 +215,76 @@ SObject pwrb:Class
Attr NiNaCond = 1 Attr NiNaCond = 1
EndBody EndBody
EndObject EndObject
!/**
! Return message. Text which will be written in the event
! list at return to normal state.
!*/
Object ReturnText $Attribute 16 Object ReturnText $Attribute 16
Body SysBody Body SysBody
Attr PgmName = "ReturnText" Attr PgmName = "ReturnText"
Attr TypeRef = "pwrs:Type-$String80" Attr TypeRef = "pwrs:Type-$String80"
EndBody EndBody
EndObject EndObject
!/**
! Specifies the type of the message (=DetectText ) which
! will be sent at alarm state.
! ALARM -- 64 The message always requires an
! acknowledgement and sent to the alarm
!
! INFO -- 32 If the message requires acknowledgement is
! it sent to the info part of the alarm
! window and the event list, otherwise only
!*/
Object EventType $Attribute 17 Object EventType $Attribute 17
Body SysBody Body SysBody
Attr PgmName = "EventType" Attr PgmName = "EventType"
Attr TypeRef = "pwrs:Type-$UInt32" Attr TypeRef = "pwrs:Type-$UInt32"
EndBody EndBody
EndObject EndObject
!/**
! Priorities concerning alarm messages.
!
! -- 67 A-alarm; highest priority. (=43Hex)
! -- 66 B-alarm (= 42Hex)
! -- 65 C-alarm (= 41Hex)
! -- 64 D-alarm ; lowest priority. (=40Hex)
!*/
Object EventPriority $Attribute 18 Object EventPriority $Attribute 18
Body SysBody Body SysBody
Attr PgmName = "EventPriority" Attr PgmName = "EventPriority"
Attr TypeRef = "pwrs:Type-$UInt32" Attr TypeRef = "pwrs:Type-$UInt32"
EndBody EndBody
EndObject EndObject
!/**
! Bit map. A flag combination may be attached to the
! message:
!
! 1 = If this flag exists the return message
! ReturnText will be sent to the event lists of
!
! 2 = If this flag exists the acknowledgement message
! will be sent to the event lists of the out
!
! 4 = If the out unit has a peep-function this will
! be activated when the message is received.
!
! 8 = The message is sent to every out unit
!
! 16 = If the message is of the type INFO it will be
! placed in the event list. If this flag exists
! the message is also placed in the INFO square
! of the alarm window where acknowledgement is to
!*/
Object EventFlags $Attribute 19 Object EventFlags $Attribute 19
Body SysBody Body SysBody
Attr PgmName = "EventFlags" Attr PgmName = "EventFlags"
Attr TypeRef = "pwrs:Type-$UInt32" Attr TypeRef = "pwrs:Type-$UInt32"
EndBody EndBody
EndObject EndObject
!/**
! Attribute is filled in by the server process to the
! NodeLinkSup object itself.
!*/
Object Attribute $Attribute 20 Object Attribute $Attribute 20
Body SysBody Body SysBody
Attr PgmName = "Attribute" Attr PgmName = "Attribute"
...@@ -161,6 +292,22 @@ SObject pwrb:Class ...@@ -161,6 +292,22 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Status value. Bit map containing 16 bits where the 8
! least significant bits denote the state and the 8 most
! significant bits the priority.
! The state is a combination of:
!
! -- 0 Normal state
! -- 1 Alarm state
! -- 2 Unacknowledged alarm
! The priority is one of the priorities EventPriority.
!
! The following status can exist:
! EventPriority + 1 => Priority + alarm state
! EventPriority + 3 => Priority + unacknowledged alarm
! and alarm state
!*/
Object AlarmStatus $Attribute 21 Object AlarmStatus $Attribute 21
Body SysBody Body SysBody
Attr PgmName = "AlarmStatus" Attr PgmName = "AlarmStatus"
...@@ -169,6 +316,9 @@ SObject pwrb:Class ...@@ -169,6 +316,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Used internal at the event detection.
!*/
Object AlarmCheck $Attribute 22 Object AlarmCheck $Attribute 22
Body SysBody Body SysBody
Attr PgmName = "AlarmCheck" Attr PgmName = "AlarmCheck"
...@@ -177,6 +327,11 @@ SObject pwrb:Class ...@@ -177,6 +327,11 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies if an alarm state will be detected or not.
! FALSE means that an alarm state will not be detected;
! TRUE means that an alarm state will be detected.
!*/
Object DetectCheck $Attribute 23 Object DetectCheck $Attribute 23
Body SysBody Body SysBody
Attr PgmName = "DetectCheck" Attr PgmName = "DetectCheck"
...@@ -185,6 +340,11 @@ SObject pwrb:Class ...@@ -185,6 +340,11 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies if the message has already been sent to the
! out units (or more precisely the message handler) or
! not. TRUE means that the message has been sent.
!*/
Object DetectSend $Attribute 24 Object DetectSend $Attribute 24
Body SysBody Body SysBody
Attr PgmName = "DetectSend" Attr PgmName = "DetectSend"
...@@ -193,6 +353,9 @@ SObject pwrb:Class ...@@ -193,6 +353,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Date and time when alarm state was detected.
!*/
Object DetectTime $Attribute 25 Object DetectTime $Attribute 25
Body SysBody Body SysBody
Attr PgmName = "DetectTime" Attr PgmName = "DetectTime"
...@@ -201,6 +364,11 @@ SObject pwrb:Class ...@@ -201,6 +364,11 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies if the object has returned to normal state or
! not. TRUE means that the object has returned to normal
! state.
!*/
Object ReturnCheck $Attribute 26 Object ReturnCheck $Attribute 26
Body SysBody Body SysBody
Attr PgmName = "ReturnCheck" Attr PgmName = "ReturnCheck"
...@@ -209,6 +377,11 @@ SObject pwrb:Class ...@@ -209,6 +377,11 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies if the return message, ReturnText, has been
! sent to the out units or not. TRUE means that the
! return message has been sent.
!*/
Object ReturnSend $Attribute 27 Object ReturnSend $Attribute 27
Body SysBody Body SysBody
Attr PgmName = "ReturnSend" Attr PgmName = "ReturnSend"
...@@ -217,6 +390,10 @@ SObject pwrb:Class ...@@ -217,6 +390,10 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Date and time when the last return to normal was
! detected.
!*/
Object ReturnTime $Attribute 28 Object ReturnTime $Attribute 28
Body SysBody Body SysBody
Attr PgmName = "ReturnTime" Attr PgmName = "ReturnTime"
...@@ -225,6 +402,10 @@ SObject pwrb:Class ...@@ -225,6 +402,10 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Date and time when the last acknowledgement of normal
! state was detected.
!*/
Object AckTime $Attribute 29 Object AckTime $Attribute 29
Body SysBody Body SysBody
Attr PgmName = "AckTime" Attr PgmName = "AckTime"
...@@ -233,6 +414,10 @@ SObject pwrb:Class ...@@ -233,6 +414,10 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Identity of the out unit (operator) which made an
! acknowledgement.
!*/
Object AckOutunit $Attribute 30 Object AckOutunit $Attribute 30
Body SysBody Body SysBody
Attr PgmName = "AckOutunit" Attr PgmName = "AckOutunit"
...@@ -244,6 +429,9 @@ SObject pwrb:Class ...@@ -244,6 +429,9 @@ SObject pwrb:Class
! ++ ! ++
! Timer struct ! Timer struct
! !
!/**
! Indicates an active timer.
!*/
Object TimerFlag $Intern 31 Object TimerFlag $Intern 31
Body SysBody Body SysBody
Attr PgmName = "TimerFlag" Attr PgmName = "TimerFlag"
...@@ -252,6 +440,9 @@ SObject pwrb:Class ...@@ -252,6 +440,9 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Points to the next element in the timer queue.
!*/
Object TimerNext $Intern 32 Object TimerNext $Intern 32
Body SysBody Body SysBody
Attr PgmName = "TimerNext" Attr PgmName = "TimerNext"
...@@ -262,6 +453,9 @@ SObject pwrb:Class ...@@ -262,6 +453,9 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Number of remaining ticks.
!*/
Object TimerCount $Intern 33 Object TimerCount $Intern 33
Body SysBody Body SysBody
Attr PgmName = "TimerCount" Attr PgmName = "TimerCount"
...@@ -280,6 +474,13 @@ SObject pwrb:Class ...@@ -280,6 +474,13 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Delay in seconds. Specifies when, since an alarm state
! has occurred, the message will be sent. If the alarm
! state disappears before the time has elapsed no message
! is generated.
! TimerTime >= the executing period of the PLC program.
!*/
Object TimerTime $Intern 35 Object TimerTime $Intern 35
Body SysBody Body SysBody
Attr PgmName = "TimerTime" Attr PgmName = "TimerTime"
...@@ -294,6 +495,10 @@ SObject pwrb:Class ...@@ -294,6 +495,10 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Identity of this object is set at load file creation.
! Used by the run time system.
!*/
Object TimerObjDId $Intern 37 Object TimerObjDId $Intern 37
Body SysBody Body SysBody
Attr Flags |= PWR_MASK_OBJDIDSELF Attr Flags |= PWR_MASK_OBJDIDSELF
...@@ -301,6 +506,13 @@ SObject pwrb:Class ...@@ -301,6 +506,13 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Objid" Attr TypeRef = "pwrs:Type-$Objid"
EndBody EndBody
EndObject EndObject
!/**
! The operator's authorities to change TimerTime. Not
! implemented.
!
! 0 -- Changes not allowed.
! !=0 -- Changes allowed.
!*/
Object TimerAcc $Intern 38 Object TimerAcc $Intern 38
Body SysBody Body SysBody
Attr PgmName = "TimerAcc" Attr PgmName = "TimerAcc"
...@@ -308,6 +520,12 @@ SObject pwrb:Class ...@@ -308,6 +520,12 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Specifies a valid interval at changes made by the
! operator on TimerTime.
!
! TimerMin <= TimerTime <= TimerMax
!*/
Object TimerMin $Intern 39 Object TimerMin $Intern 39
Body SysBody Body SysBody
Attr PgmName = "TimerMin" Attr PgmName = "TimerMin"
......
...@@ -54,17 +54,13 @@ SObject pwrs:Class ...@@ -54,17 +54,13 @@ SObject pwrs:Class
EndBody EndBody
EndObject EndObject
!/** !/**
! @Summary Name of the proview error log file. ! Obsolete from V4.0.
! Name of the proview error log file.
!
! Applied to OpenVMS node the system error log gets
! always the name PWR_VMS_'XXX'.LOG and the file is put
! on the own node below sys$login. 'XXX' denotes the name
! of the node.
!*/ !*/
Object ErrLogFile $Attribute 6 Object ErrLogFile $Attribute 6
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$String132" Attr TypeRef = "pwrs:Type-$String132"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/** !/**
......
...@@ -48,11 +48,6 @@ SObject pwrs:Type ...@@ -48,11 +48,6 @@ SObject pwrs:Type
! The classid is defined with a #define statement of type pwr_t<type name> ! The classid is defined with a #define statement of type pwr_t<type name>
! in the struct file for the the classvolume. ! in the struct file for the the classvolume.
! For system types, these definitions reside in pwr.h. ! For system types, these definitions reside in pwr.h.
!*/
!
! @image orm_typeid_1.gif
! @image orm_typeid_2.gif
! @image orm_typeid_3.gif
!*/ !*/
Object $TypeId pwr_eClass_Type pwr_eTix_TypeId Object $TypeId pwr_eClass_Type pwr_eTix_TypeId
Body SysBody Body SysBody
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment