Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
7efee103
Commit
7efee103
authored
Oct 13, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
37edcabd
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2133 additions
and
155 deletions
+2133
-155
src/wbl/pwrb/src/pwrb_c_pb_ai.wb_load
src/wbl/pwrb/src/pwrb_c_pb_ai.wb_load
+11
-22
src/wbl/pwrb/src/pwrb_c_pb_ao.wb_load
src/wbl/pwrb/src/pwrb_c_pb_ao.wb_load
+7
-19
src/wbl/pwrb/src/pwrb_c_pb_di.wb_load
src/wbl/pwrb/src/pwrb_c_pb_di.wb_load
+14
-25
src/wbl/pwrb/src/pwrb_c_pb_do.wb_load
src/wbl/pwrb/src/pwrb_c_pb_do.wb_load
+18
-29
src/wbl/pwrb/src/pwrb_c_pb_dp_slave.wb_load
src/wbl/pwrb/src/pwrb_c_pb_dp_slave.wb_load
+48
-3
src/wbl/pwrb/src/pwrb_c_pb_ii.wb_load
src/wbl/pwrb/src/pwrb_c_pb_ii.wb_load
+95
-0
src/wbl/pwrb/src/pwrb_c_pb_io.wb_load
src/wbl/pwrb/src/pwrb_c_pb_io.wb_load
+92
-0
src/wbl/pwrb/src/pwrb_c_pb_profiboard.wb_load
src/wbl/pwrb/src/pwrb_c_pb_profiboard.wb_load
+179
-57
src/wbl/pwrb/src/pwrb_c_remnode3964r.wb_load
src/wbl/pwrb/src/pwrb_c_remnode3964r.wb_load
+245
-0
src/wbl/pwrb/src/pwrb_c_remnodealcm.wb_load
src/wbl/pwrb/src/pwrb_c_remnodealcm.wb_load
+357
-0
src/wbl/pwrb/src/pwrb_c_remnodemodbus.wb_load
src/wbl/pwrb/src/pwrb_c_remnodemodbus.wb_load
+234
-0
src/wbl/pwrb/src/pwrb_c_remnodeserial.wb_load
src/wbl/pwrb/src/pwrb_c_remnodeserial.wb_load
+254
-0
src/wbl/pwrb/src/pwrb_c_remnodetcp.wb_load
src/wbl/pwrb/src/pwrb_c_remnodetcp.wb_load
+294
-0
src/wbl/pwrb/src/pwrb_c_remnodeudp.wb_load
src/wbl/pwrb/src/pwrb_c_remnodeudp.wb_load
+285
-0
No files found.
src/wbl/pwrb/src/pwrb_c_pb_ai.wb_load
View file @
7efee103
...
@@ -33,35 +33,33 @@ SObject pwrb:Class
...
@@ -33,35 +33,33 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object Number
OfChannels
$Attribute 4
Object Number
Representation
$Attribute 4
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$
UInt8
"
Attr TypeRef = "pwrs:Type-$
Enum
"
EndBody
EndBody
EndObject
EndObject
!
!
Object
BytesPerChannel
$Attribute 5
Object
NumberOfChannels
$Attribute 5
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndBody
EndObject
EndObject
!
!
Object
Status
$Attribute 6
Object
BytesPerChannel
$Attribute 6
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
EndObject
EndObject
!
!
Object
BytesOfInput
$Attribute 7
Object
Status
$Attribute 7
Body
SysBody
Body
SysBody
Attr TypeRef = "pwrs:Type-$UInt
16
"
Attr TypeRef = "pwrs:Type-$UInt
8
"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
EndObject
EndObject
!
!
Object BytesOf
Out
put $Attribute 8
Object BytesOf
In
put $Attribute 8
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -76,27 +74,18 @@ SObject pwrb:Class
...
@@ -76,27 +74,18 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
EndObject
EndObject
!
Object OffsetOutputs $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
!
EndObject ! Rt body
EndObject ! Rt body
!
!
Object Template Pb_Ai
Object Template Pb_Ai
Body RtBody
Body RtBody
Attr NumberOfChannels = 8
Attr NumberRepresentation = 0
Attr NumberOfChannels = 4
Attr BytesPerChannel = 2
Attr BytesPerChannel = 2
Attr Process = 1
Attr Process = 1
Attr Status = 0
Attr Status = 0
Attr BytesOfInput = 0
Attr BytesOfInput = 0
Attr BytesOfOutput = 0
Attr OffsetInputs = 0
Attr OffsetInputs = 0
Attr OffsetOutputs = 0
EndBody
EndBody
EndObject ! Template
EndObject ! Template
!
!
...
...
src/wbl/pwrb/src/pwrb_c_pb_ao.wb_load
View file @
7efee103
...
@@ -31,29 +31,27 @@ SObject pwrb:Class
...
@@ -31,29 +31,27 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object Number
OfChannels
$Attribute 4
Object Number
Representation
$Attribute 4
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$
UInt8
"
Attr TypeRef = "pwrs:Type-$
Enum
"
EndBody
EndBody
EndObject
EndObject
!
!
Object
BytesPerChannel
$Attribute 5
Object
NumberOfChannels
$Attribute 5
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndBody
EndObject
EndObject
!
!
Object
Status
$Attribute 6
Object
BytesPerChannel
$Attribute 6
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
EndObject
EndObject
!
!
Object
BytesOfInput
$Attribute 7
Object
Status
$Attribute 7
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt
16
"
Attr TypeRef = "pwrs:Type-$UInt
8
"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
...
@@ -67,15 +65,7 @@ SObject pwrb:Class
...
@@ -67,15 +65,7 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object OffsetInputs $Attribute 9
Object OffsetOutputs $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object OffsetOutputs $Attribute 10
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -91,9 +81,7 @@ SObject pwrb:Class
...
@@ -91,9 +81,7 @@ SObject pwrb:Class
Attr BytesPerChannel = 2
Attr BytesPerChannel = 2
Attr Process = 1
Attr Process = 1
Attr Status = 0
Attr Status = 0
Attr BytesOfInput = 0
Attr BytesOfOutput = 0
Attr BytesOfOutput = 0
Attr OffsetInputs = 0
Attr OffsetOutputs = 0
Attr OffsetOutputs = 0
EndBody
EndBody
EndObject ! Template
EndObject ! Template
...
...
src/wbl/pwrb/src/pwrb_c_pb_di.wb_load
View file @
7efee103
...
@@ -34,13 +34,19 @@ SObject pwrb:Class
...
@@ -34,13 +34,19 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object NumberOfChannels $Attribute 4
Object Orientation $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!
Object NumberOfChannels $Attribute 5
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndBody
EndObject
EndObject
!
!
Object Status $Attribute
5
Object Status $Attribute
6
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -48,39 +54,31 @@ SObject pwrb:Class
...
@@ -48,39 +54,31 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object ConvMask1 $Attribute
6
Object ConvMask1 $Attribute
7
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object ConvMask2 $Attribute
7
Object ConvMask2 $Attribute
8
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object InvMask1 $Attribute
8
Object InvMask1 $Attribute
9
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object InvMask2 $Attribute
9
Object InvMask2 $Attribute
10
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object BytesOfInput $Attribute 10
Object BytesOfInput $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object BytesOfOutput $Attribute 11
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -95,14 +93,6 @@ SObject pwrb:Class
...
@@ -95,14 +93,6 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndBody
EndObject
EndObject
!
Object OffsetOutputs $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
!
EndObject ! Rt body
EndObject ! Rt body
!
!
...
@@ -110,15 +100,14 @@ SObject pwrb:Class
...
@@ -110,15 +100,14 @@ SObject pwrb:Class
Body RtBody
Body RtBody
Attr Process = 1
Attr Process = 1
Attr Status = 0
Attr Status = 0
Attr Orientation = 8
Attr NumberOfChannels = 32
Attr NumberOfChannels = 32
Attr ConvMask1 = 65535
Attr ConvMask1 = 65535
Attr ConvMask2 = 65535
Attr ConvMask2 = 65535
Attr InvMask1 = 0
Attr InvMask1 = 0
Attr InvMask2 = 0
Attr InvMask2 = 0
Attr BytesOfInput = 0
Attr BytesOfInput = 0
Attr BytesOfOutput = 0
Attr OffsetInputs = 0
Attr OffsetInputs = 0
Attr OffsetOutputs = 0
EndBody
EndBody
EndObject ! Template
EndObject ! Template
!
!
...
...
src/wbl/pwrb/src/pwrb_c_pb_do.wb_load
View file @
7efee103
...
@@ -36,13 +36,19 @@ SObject pwrb:Class
...
@@ -36,13 +36,19 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object NumberOfChannels $Attribute 4
Object Orientation $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!
Object NumberOfChannels $Attribute 5
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndBody
EndObject
EndObject
!
!
Object Status $Attribute
5
Object Status $Attribute
6
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -50,62 +56,54 @@ SObject pwrb:Class
...
@@ -50,62 +56,54 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object TestMask1 $Attribute
6
Object TestMask1 $Attribute
7
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object TestMask2 $Attribute
7
Object TestMask2 $Attribute
8
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object InvMask1 $Attribute
8
Object InvMask1 $Attribute
9
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object InvMask2 $Attribute
9
Object InvMask2 $Attribute
10
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object TestValue1 $Attribute 1
0
Object TestValue1 $Attribute 1
1
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object TestValue2 $Attribute 1
1
Object TestValue2 $Attribute 1
2
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object FixedOutValue1 $Attribute 1
2
Object FixedOutValue1 $Attribute 1
3
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object FixedOutValue2 $Attribute 1
3
Object FixedOutValue2 $Attribute 1
4
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndBody
EndObject
EndObject
!
!
Object BytesOfInput $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object BytesOfOutput $Attribute 15
Object BytesOfOutput $Attribute 15
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
...
@@ -114,15 +112,7 @@ SObject pwrb:Class
...
@@ -114,15 +112,7 @@ SObject pwrb:Class
EndBody
EndBody
EndObject
EndObject
!
!
Object OffsetInputs $Attribute 16
Object OffsetOutputs $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object OffsetOutputs $Attribute 17
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOEDIT
...
@@ -145,10 +135,9 @@ SObject pwrb:Class
...
@@ -145,10 +135,9 @@ SObject pwrb:Class
Attr FixedOutValue2 = 0
Attr FixedOutValue2 = 0
Attr Process = 1
Attr Process = 1
Attr Status = 0
Attr Status = 0
Attr Orientation = 8
Attr NumberOfChannels = 32
Attr NumberOfChannels = 32
Attr BytesOfInput = 0
Attr BytesOfOutput = 0
Attr BytesOfOutput = 0
Attr OffsetInputs = 0
Attr OffsetOutputs = 0
Attr OffsetOutputs = 0
EndBody
EndBody
EndObject ! Template
EndObject ! Template
...
...
src/wbl/pwrb/src/pwrb_c_pb_dp_slave.wb_load
View file @
7efee103
SObject pwrb:Class
SObject pwrb:Class
!/**
!/**
! @Version 1.0
! @Version 1.0
! @Group IO,IO_Profibus
! Object that configure one Profibus DP slave.
! Object that configure one Profibus DP slave.
!*/
!*/
!
!
...
@@ -58,14 +59,14 @@ SObject pwrb:Class
...
@@ -58,14 +59,14 @@ SObject pwrb:Class
!
!
Object ByteOrdering $Attribute 7
Object ByteOrdering $Attribute 7
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$
UInt16
"
Attr TypeRef = "pwrs:Type-$
Enum
"
EndBody
EndBody
EndObject
EndObject
!
!
!
!
Object StallAction $Attribute 8
Object StallAction $Attribute 8
Body SysBody
Body SysBody
Attr TypeRef = "pwrs:Type-$
UInt8
"
Attr TypeRef = "pwrs:Type-$
Enum
"
EndBody
EndBody
EndObject
EndObject
!
!
...
@@ -274,12 +275,56 @@ SObject pwrb:Class
...
@@ -274,12 +275,56 @@ SObject pwrb:Class
!
!
EndObject ! Rt body
EndObject ! Rt body
!
!
Object ConfiguratorPosnn $Menu
Object Pointed $Menu
Object HelpClass $MenuButton
Body SysBody
Attr ButtonName = "Configure"
Attr MethodName = "Pb_DP_Slave-Configure"
Attr FilterName = "Pb_DP_Slave-ConfigureFilter"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPoscn $Menu
Object Pointed $Menu
Object HelpClass $MenuButton
Body SysBody
Attr ButtonName = "Configure"
Attr MethodName = "Pb_DP_Slave-Configure"
Attr FilterName = "Pb_DP_Slave-ConfigureFilter"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPosos $Menu
Object Pointed $Menu
Object HelpClass $MenuButton
Body SysBody
Attr ButtonName = "Configure"
Attr MethodName = "Pb_DP_Slave-Configure"
Attr FilterName = "Pb_DP_Slave-ConfigureFilter"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object HelpClass $MenuButton
Body SysBody
Attr ButtonName = "Configure"
Attr MethodName = "Pb_DP_Slave-Configure"
Attr FilterName = "Pb_DP_Slave-ConfigureFilter"
EndBody
EndObject
EndObject
EndObject
Object Template Pb_DP_Slave
Object Template Pb_DP_Slave
Body RtBody
Body RtBody
Attr Process = 1
Attr Process = 1
Attr SlaveAddress = 0
Attr SlaveAddress = 0
Attr StallAction = 1
Attr StallAction = 1
Attr ByteOrdering =
1
Attr ByteOrdering =
0
Attr Status = 0
Attr Status = 0
Attr DisableSlave = 0
Attr DisableSlave = 0
Attr ErrorCount = 0
Attr ErrorCount = 0
...
...
src/wbl/pwrb/src/pwrb_c_pb_ii.wb_load
0 → 100644
View file @
7efee103
SObject pwrb:Class
!
Object Pb_Ii $ClassDef 371
!
!
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Pb_Ii"
EndBody
!
! Description of object
!
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!
Object Process $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!
Object ThreadObject $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!
Object NumberRepresentation $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!
Object NumberOfChannels $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndObject
!
Object BytesPerChannel $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndObject
!
Object Status $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object BytesOfInput $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object OffsetInputs $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
EndObject ! Rt body
!
Object Template Pb_Ii
Body RtBody
Attr NumberRepresentation = 0
Attr NumberOfChannels = 4
Attr BytesPerChannel = 2
Attr Process = 1
Attr Status = 0
Attr BytesOfInput = 0
Attr OffsetInputs = 0
EndBody
EndObject ! Template
!
EndObject ! Pb_Ai
!
!
EndSObject
src/wbl/pwrb/src/pwrb_c_pb_io.wb_load
0 → 100644
View file @
7efee103
SObject pwrb:Class
!
Object Pb_Io $ClassDef 372
!
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Pb_Io"
EndBody
!
! Description of object
!
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
Object Process $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!
Object ThreadObject $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!
Object NumberRepresentation $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!
Object NumberOfChannels $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndObject
!
Object BytesPerChannel $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
EndBody
EndObject
!
Object Status $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt8"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object BytesOfOutput $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
Object OffsetOutputs $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!
EndObject ! Rt body
!
Object Template Pb_Io
Body RtBody
Attr NumberOfChannels = 4
Attr BytesPerChannel = 2
Attr Process = 1
Attr Status = 0
Attr BytesOfOutput = 0
Attr OffsetOutputs = 0
EndBody
EndObject ! Template
!
EndObject ! Pb_Ao
!
!
EndSObject
src/wbl/pwrb/src/pwrb_c_pb_profiboard.wb_load
View file @
7efee103
This diff is collapsed.
Click to expand it.
src/wbl/pwrb/src/pwrb_c_remnode3964r.wb_load
0 → 100644
View file @
7efee103
! pwrb_c_remnode3964r.wb_load -- Defines the class Remnode3964R.
!
! PROVIEW/R
! Copyright (C) 1997 by Comator Process AB.
!
! <Description>.
!
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication to a remote system using Siemens 3964R on a serial line.
! Configures communication to a remote system using Siemens 3964R on a serial line..
!
! @b Object graph
! @image orm_remnode3964r_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object Remnode3964R $ClassDef 369
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Remnode3964R"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Device name for the serial port, ex /dev/ttyS0.
! Dynamic change is not possible.
!*/
Object DevName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Baud rate for the serial port, ex 9600.
! Dynamic change is not possible.
!*/
Object Speed $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Type of parity for the serial port.
! Dynamic change is not possible.
!*/
Object Parity $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of stop bits for the serial port.
! Dynamic change is not possible.
!*/
Object StopBits $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of data bits for the serial port.
! Dynamic change is not possible.
!*/
Object DataBits $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Timeout time in seconds between two characters used while reading data.
! Dynamic change is possible.
!*/
Object CharTimeout $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Timeout time in seconds used when waiting for DLE (acknowledge) in sending,
! and when waiting for data after sending DLE in receiving.
! Dynamic change is possible.
!*/
Object AckTimeout $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Attribute that indicates connection with the remote node.
! The link is considered down when we reach the link supervision timeout
! time without receiving any valid message.
! The link is considered up again when receiving a valid message.
!*/
Object LinkUp $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Time in seconds before the link is considered down.
! Dynamic change is possible
!*/
Object LinkTimeout $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate.
! Dynamic change is possible.
!*/
Object Disable $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans objects.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template Remnode3964R
Body RtBody
Attr Prio = 15
Attr DevName = "/dev/ttyS0"
Attr Speed = 9600
Attr Parity = 2
Attr StopBits = 1
Attr DataBits = 8
Attr CharTimeout = 0.22
Attr AckTimeout = 2.0
Attr LinkUp = 0
Attr LinkTimeout = 10.0
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr Id = "3964r"
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_remnodealcm.wb_load
0 → 100644
View file @
7efee103
This diff is collapsed.
Click to expand it.
src/wbl/pwrb/src/pwrb_c_remnodemodbus.wb_load
0 → 100644
View file @
7efee103
! pwrb_c_remnodemodbus.wb_load -- Defines the class RemnodeModbus.
!
! PROVIEW/R
! Copyright (C) 1997 by Comator Process AB.
!
! <Description>.
!
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication to a remote system using Modbus on a serial line.
! Configures communication to a remote system using Modbus on a serial line.
!
! @b Object graph
! @image orm_remnodemodbus_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object RemnodeModbus $ClassDef 370
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RemnodeModbus"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Device name for the serial port, ex /dev/ttyS0.
! Dynamic change is not possible.
!*/
Object DevName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Baud rate for the serial port, ex 9600.
! Dynamic change is not possible.
!*/
Object Speed $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Type of parity for the serial port.
! Dynamic change is not possible.
!*/
Object Parity $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of stop bits for the serial port.
! Dynamic change is not possible.
!*/
Object StopBits $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of data bits for the serial port.
! Dynamic change is not possible.
!*/
Object DataBits $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Timeout time in seconds used when reading a message from the serial port.
! Dynamic change is possible.
!*/
Object ReadTimeout $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Attribute that indicates connection with the remote node.
! The link is considered down when we reach the link supervision timeout
! time without receiving any valid message.
! The link is considered up again when receiving a valid message.
!*/
Object LinkUp $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Time in seconds before the link is considered down.
! Dynamic change is possible
!*/
Object LinkTimeout $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate.
! Dynamic change is possible.
!*/
Object Disable $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans objects.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template RemnodeModbus
Body RtBody
Attr Prio = 15
Attr DevName = "/dev/ttyS0"
Attr Speed = 9600
Attr Parity = 0
Attr StopBits = 1
Attr DataBits = 8
Attr ReadTimeout = 0.05
Attr LinkUp = 0
Attr LinkTimeout = 10.0
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr Id = "Modbus"
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_remnodeserial.wb_load
0 → 100644
View file @
7efee103
! pwrb_c_remnodeserial.wb_load -- Defines the class RemnodeSerial.
!
! PROVIEW/R
! Copyright (C) 1997 by Comator Process AB.
!
! <Description>.
!
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication to a remote system using a serial line.
! Configures communication to a remote system using a serial line.
!
! @b Object graph
! @image orm_remnodeserial_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object RemnodeSerial $ClassDef 368
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RemnodeSerial"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Device name for the serial port, ex /dev/ttyS0.
! Dynamic change is not possible.
!*/
Object DevName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Baud rate for the serial port, ex 9600.
! Dynamic change is not possible.
!*/
Object Speed $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Type of parity for the serial port.
! Dynamic change is not possible.
!*/
Object Parity $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of stop bits for the serial port.
! Dynamic change is not possible.
!*/
Object StopBits $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Number of data bits for the serial port.
! Dynamic change is not possible.
!*/
Object DataBits $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! List of termination characters for incoming data in ASCII value. A value of -1 indicates end of list.
! If all entrys are set to -1, no termination character is used at all.
! Dynamic change is possible.
!*/
Object TermChar $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Int16"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 8
EndBody
EndObject
!/**
! Timeout time in seconds used when reading a message from the serial port.
! Dynamic change is possible.
!*/
Object ReadTimeout $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Attribute that indicates connection with the remote node.
! The link is considered down when we reach the link supervision timeout
! time without receiving any valid message.
! The link is considered up again when receiving a valid message.
!*/
Object LinkUp $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Time in seconds before the link is considered down.
! Dynamic change is possible
!*/
Object LinkTimeout $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate.
! Dynamic change is possible.
!*/
Object Disable $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans objects.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template RemnodeSerial
Body RtBody
Attr Prio = 15
Attr DevName = "/dev/ttyS0"
Attr Speed = 9600
Attr Parity = 0
Attr StopBits = 1
Attr DataBits = 8
Attr TermChar[0] = -1
Attr TermChar[1] = -1
Attr TermChar[2] = -1
Attr TermChar[3] = -1
Attr TermChar[4] = -1
Attr TermChar[5] = -1
Attr TermChar[6] = -1
Attr TermChar[7] = -1
Attr ReadTimeout = 0.5
Attr LinkUp = 0
Attr LinkTimeout = 10.0
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr Id = "Serial"
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_remnodetcp.wb_load
0 → 100644
View file @
7efee103
! pwrb_c_remnodetcp.wb_load -- Defines the class RemnodeTCP.
!
! PROVIEW/R
! Copyright (C) 1997 by Comator Process AB.
!
! <Description>.
!
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication to a remote using the TCP/ip protocol.
! Configures communication to a remote using the TCP/ip protocol.
!
! @b Object graph
! @image orm_remnodetcp_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object RemnodeTCP $ClassDef 367
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RemnodeTCP"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Device name for the ethernet device, ex eth0.
! Dynamic change is not possible.
!*/
Object DevName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Hostname for the remote node.
! Dynamic change is not possible.
!*/
Object RemoteHostname $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! IP-address for the remote node. If address is omitted or invalid, RemoteHostname
! is used to get the address either locally or through DNS lookup.
! Dynamic change is not possible.
!*/
Object RemoteAddress $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Local portnumber.
! Dynamic change is not possible.
!*/
Object LocalPort $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Remote portnumber.
! Dynamic change is not possible.
!*/
Object RemotePort $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Connection mode determines if our side should act as client or as server.
! Dynamic change is not possible.
!*/
Object ConnectionMode $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
EndBody
EndObject
!/**
! Attribute that indicates connection with the remote node.
! The link is considered down when we reach the link supervision timeout
! time without receiving any keepalive or other message.
! The link is considered up again when receiving any kind of message.
!*/
Object LinkUp $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Time in seconds before the link is considered down.
! Dynamic change is possible
!*/
Object LinkTimeout $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate.
! Dynamic change is possible.
!*/
Object Disable $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans objects.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Time in seconds to wait before retransmit when using acknowledge and buffering.
! For more information about acknowledge handling and retransmitting,
! refer to the documentation of the RemTrans object.
! Dynamic change is possible.
!*/
Object RetransmitTime $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute enables the sending of keepalive messages.
! Dynamic change is possible.
!*/
Object UseKeepalive $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Time in seconds between the sending of keepalive messages if keepalive
! messages is enabled with UseKeepalive.
! Dynamic change is possible.
!*/
Object KeepaliveTime $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Counter that keeps track of incoming and outgoing keepalive messanges.
! The counter is incremented when a keppalive message is sent and decremented
! when such a message is received.
!*/
Object KeepaliveDiff $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! When set, this attribute disables use of the special Remote TCP header
! in each send message. Furthermore, when receiving a message, the whole part
! of the message is treated as data which means that it is not possible to
! tell which ingoing RemTrans object the message is meant for since this information
! lies in the header. Therefore each incoming message is placed in the first found
! RemTrans object.
! Dynamic change is possible.
!*/
Object DisableHeader $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template RemnodeTCP
Body RtBody
Attr Prio = 15
Attr DevName = "eth0"
Attr LocalPort = 0
Attr RemotePort = 0
Attr ConnectionMode = 0
Attr LinkUp = 0
Attr LinkTimeout = 3.0
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr RetransmitTime = 10.0
Attr UseKeepalive = 1
Attr KeepaliveTime = 1.0
Attr DisableHeader = 0
Attr Id = "TCP"
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_remnodeudp.wb_load
0 → 100644
View file @
7efee103
! pwrb_c_remnodeudp.wb_load -- Defines the class RemnodeUDP.
!
! PROVIEW/R
! Copyright (C) 1997 by Comator Process AB.
!
! <Description>.
!
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication to a remote using the UDP/ip protocol.
! Configures communication to a remote using the UDP/ip protocol.
!
! @b Object graph
! @image orm_remnodeudp_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object RemnodeUDP $ClassDef 365
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RemnodeUDP"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Device name for the ethernet device, ex eth0.
! Dynamic change is not possible.
!*/
Object DevName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Hostname for the remote node.
! Dynamic change is not possible.
!*/
Object RemoteHostname $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! IP-address for the remote node. If address is omitted or invalid, RemoteHostname
! is used to get the address either locally or through DNS lookup.
! Dynamic change is not possible.
!*/
Object RemoteAddress $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Local portnumber.
! Dynamic change is not possible.
!*/
Object LocalPort $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Remote portnumber.
! Dynamic change is not possible.
!*/
Object RemotePort $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Attribute that indicates connection with the remote node.
! The link is considered down when we reach the link supervision timeout
! time without receiving any keepalive or other message.
! The link is considered up again when receiving any kind of message.
!*/
Object LinkUp $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Time in seconds before the link is considered down.
! Dynamic change is possible
!*/
Object LinkTimeout $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate.
! Dynamic change is possible.
!*/
Object Disable $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans objects.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Time in seconds to wait before retransmit when using acknowledge and buffering.
! For more information about acknowledge handling and retransmitting,
! refer to the documentation of the RemTrans object.
! Dynamic change is possible.
!*/
Object RetransmitTime $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute enables the sending of keepalive messages.
! Dynamic change is possible.
!*/
Object UseKeepalive $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Time in seconds between the sending of keepalive messages if keepalive
! messages is enabled with UseKeepalive.
! Dynamic change is possible.
!*/
Object KeepaliveTime $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Counter that keeps track of incoming and outgoing keepalive messanges.
! The counter is incremented when a keppalive message is sent and decremented
! when such a message is received.
!*/
Object KeepaliveDiff $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! When set, this attribute disables use of the special Remote UDP header
! in each send message. Furthermore, when receiving a message, the whole part
! of the message is treated as data which means that it is not possible to
! tell which ingoing RemTrans object the message is meant for since this information
! lies in the header. Therefore each incoming message is placed in the first found
! RemTrans object.
! Dynamic change is possible.
!*/
Object DisableHeader $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template RemnodeUDP
Body RtBody
Attr Prio = 15
Attr DevName = "eth0"
Attr LocalPort = 0
Attr RemotePort = 0
Attr LinkUp = 0
Attr LinkTimeout = 3.0
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr RetransmitTime = 10.0
Attr UseKeepalive = 1
Attr KeepaliveTime = 1.0
Attr DisableHeader = 0
Attr Id = "UDP"
EndBody
EndObject
EndObject
EndSObject
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment