Commit b18698e1 authored by Claes Sjofors's avatar Claes Sjofors

ORM fixes

parent 77771ea8
...@@ -2932,7 +2932,7 @@ Volume Profibus $ClassVolume 0.0.250.7 ...@@ -2932,7 +2932,7 @@ Volume Profibus $ClassVolume 0.0.250.7
! The Profinet stack is implemented as three Linux kernel modules. The stack ! The Profinet stack is implemented as three Linux kernel modules. The stack
! is configured by the current object and is placed below the $Node object. ! is configured by the current object and is placed below the $Node object.
! !
! See Proview documentation 'Guide to I/O System! for more information. See also ! See Proview documentation 'Guide to I/O System' for more information. See also
! a Case Study in class help class ABB_ACS880_PnDevice ! a Case Study in class help class ABB_ACS880_PnDevice
! !
! Note due to Softing licens requirements the NIC must have a specific macadress. ! Note due to Softing licens requirements the NIC must have a specific macadress.
......
...@@ -55,26 +55,44 @@ SObject pwrb:Class ...@@ -55,26 +55,44 @@ SObject pwrb:Class
Body SysBody Body SysBody
Attr StructName = "PlcProcess" Attr StructName = "PlcProcess"
EndBody EndBody
!/**
! Description of the plc process.
!*/
Object Description $Attribute 1 Object Description $Attribute 1
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$String80" Attr TypeRef = "pwrs:Type-$String80"
EndBody EndBody
EndObject EndObject
!/**
! Priority of the plc process.
!*/
Object Prio $Attribute 2 Object Prio $Attribute 2
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Int32" Attr TypeRef = "pwrs:Type-$Int32"
EndBody EndBody
EndObject EndObject
!/**
! Obsolete.
!*/
Object StartWithDebug $Attribute 3 Object StartWithDebug $Attribute 3
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean" Attr TypeRef = "pwrs:Type-$Boolean"
EndBody EndBody
EndObject EndObject
!/**
! Update time for subscriptions, when attributes in other nodes are
! references in the plc code.
!*/
Object SubscriptionInterval $Attribute 4 Object SubscriptionInterval $Attribute 4
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Float32" Attr TypeRef = "pwrs:Type-$Float32"
EndBody EndBody
EndObject EndObject
!/**
! Kernel affinity mask.
! This mask is used to specify that the plc process should be
! executed on a specific kernel.
!*/
Object CpuMask $Attribute 15 Object CpuMask $Attribute 15
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Mask" Attr TypeRef = "pwrs:Type-$Mask"
...@@ -94,6 +112,9 @@ SObject pwrb:Class ...@@ -94,6 +112,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Last start time. Uptime.
!*/
Object StartTime $Attribute 7 Object StartTime $Attribute 7
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$DeltaTime" Attr TypeRef = "pwrs:Type-$DeltaTime"
...@@ -101,6 +122,9 @@ SObject pwrb:Class ...@@ -101,6 +122,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Last stop time. Uptime.
!*/
Object StopTime $Attribute 8 Object StopTime $Attribute 8
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$DeltaTime" Attr TypeRef = "pwrs:Type-$DeltaTime"
...@@ -108,6 +132,9 @@ SObject pwrb:Class ...@@ -108,6 +132,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
EndBody EndBody
EndObject EndObject
!/**
! Stall time at last restart.
!*/
Object StallTime $Attribute 9 Object StallTime $Attribute 9
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$DeltaTime" Attr TypeRef = "pwrs:Type-$DeltaTime"
...@@ -138,6 +165,9 @@ SObject pwrb:Class ...@@ -138,6 +165,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_PRIVATE Attr Flags |= PWR_MASK_PRIVATE
EndBody EndBody
EndObject EndObject
!/**
! List of thread object.
!*/
Object PlcThreadObjects $Attribute 13 Object PlcThreadObjects $Attribute 13
Body SysBody Body SysBody
Attr TypeRef = "pwrs:Type-$Objid" Attr TypeRef = "pwrs:Type-$Objid"
......
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