Commit b6f78634 authored by claes's avatar claes

*** empty log message ***

parent ab325e58
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!
! Proview $Id: pwrb_c_cstoattrrefp.wb_load,v 1.1 2005-10-18 05:06:22 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_cstoattrefp.wb_load -- Defines the class CStoAttrRefP.
!
! Conditional Store Attribute Reference parameter.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Conditional storage of attribute reference attribute
! Conditional Storage of Attribute Reference attribute.
! @image orm_cstoatrrefp_fo.gif
!
! Conditional storage of an attribute reference value (parameter,
! input, or output signal) on a specified parameter in a
! local object.
! Conditional is aimed at the con-input, which is
! supposed to be connected.
!
! The last name segment of the object and the name of the
! parameter will be shown in the right empty part of the
! CStoAttrRefP symbol; see below.
!*/
Object CStoAttrRefP $ClassDef 436
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CStoAttrRefP"
EndBody
!/**
! The input is connected to an data signal or left
! open. In the latter case the In is considered to be
! stored.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "VAL"
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an analog
! value.
!*/
Object Cond $Input 2
Body SysBody
Attr PgmName = "Cond"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
Attr ConPointNr = 1
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Specifies the name of the object where to store the
! value.
!*/
Object Object $Intern 1
Body SysBody
Attr PgmName = "Object"
Attr TypeRef = "pwrs:Type-$AttrRef"
Attr GraphName = "sts"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the actual object name
! that is to be displayed in the symbol of the CStoAp
! object. The segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the actual object name.
!*/
Object ObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 4
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 63
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 1
Attr connectmethod = 7
Attr executeordermethod = 2
Attr objname = "CStoAttrRefP"
Attr graphname = "CStoAttrRefP"
Attr debugpar = "Cond"
EndBody
EndObject
Object Template CStoAttrRefP
Body RtBody
Attr Cond = 1
EndBody
Body DevBody
Attr ObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
!
! Proview $Id: pwrb_c_toggledi.wb_load,v 1.1 2005-10-18 05:06:22 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_toggledi.wb_load -- Defines the class ToggleDi.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Summary Toggle Di signal
! Toggle Digital input.
! @image orm_toggledi_fo.gif
!
! Toggles the value of a digital quantity on the specified
! local Di object.
!
! The complete name of the Di object has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!
! @b Note!
! This object is used for simulation purposes.
! SimulFlag will be set TRUE and ReadWriteFlag FALSE
! in the IOHandler object, i.e. any physical I/O-hardware may
! not be used on the node in connection to this object.
!*/
Object ToggleDi $ClassDef 435
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "toggledi"
EndBody
!/**
! The input is connected to an digital quantity or left
! open. In the latter case In is default FALSE and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! Di-signal.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "in"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the current Di object.
!*/
Object DiObject $Intern 1
Body SysBody
Attr PgmName = "DiObject"
Attr TypeRef = "pwrs:Type-$AttrRef"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$AttrRef"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 2
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Di object name that
! is to be displayed in the symbol of the ToggleDi object.
! The segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object DiObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the ToggleDi object or not. FALSE means
! no displaying and TRUE displaying.
!
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the ToggleDi object. The
! segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 118
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 38
Attr compindex = 0
Attr tracemethod = 1
Attr traceindex = 1
Attr connectmethod = 1
Attr executeordermethod = 6
Attr objname = "ToggleDi"
Attr graphname = "ToggleDi"
Attr debugpar = "In"
EndBody
EndObject
Object Template ToggleDi
Body DevBody
Attr DiObjectSegments = 2
Attr ShowSigChanCon = 1
Attr SigChanConSegments = 2
EndBody
EndObject
EndObject
EndSObject
!
! Proview $Id: pwrs_t_dataref.wb_load,v 1.1 2005-10-18 05:06:22 claes Exp $
! Copyright (C) 2005 SSAB Oxelösund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrs_t_dataref.wb_load -- Defines the basic type DataRef
!
SObject pwrs:Type
!/**
! @Version 1.0
! @Code pwr.h
! @Group BasicTypes,Types
! Basic type for data object pointer.
!
! Pointer to a data object used as data input and output of function bocks
! in the plc program.
!
! The type contains a pointer to the data object and the attribute reference
! of the data object.
!*/
Object $DataRef pwr_eClass_Type pwr_eTix_DataRef
Body SysBody
Attr Type = pwr_eType_DataRef
Attr Size = 28
EndBody
EndObject
EndSObject
......@@ -573,6 +573,7 @@ palette PlcEditorPalette
}
menu Data
{
class CStoAttrRefP
class DataCollect
class GetData
}
......@@ -599,6 +600,7 @@ palette PlcEditorPalette
class StoDi
class StoIi
class StoPi
class ToggleDi
}
menu Function
{
......@@ -655,7 +657,7 @@ palette PlcEditorPalette
class CompModeDMFo
class CompModeD2MFo
class CompModeAMFo
class FanAggregateFo
class BaseMotorAggrFo
class RunTimeCounterFo
}
menu ABB
......@@ -666,11 +668,12 @@ palette PlcEditorPalette
}
menu Simulate
{
class ABB_ACS800PumpAggrSim
class ABB_ACS800MotorAggrSim
class BaseCValveSim
class BaseMValveSim
class BaseSensorSim
class FanAggregateSim
class BaseMotorAggrSim
class BaseMotorSim
}
}
}
......
1
100 20
135 20
101 20
102 -259
103 -176
104 7.1048
136 7.1048
105 100
106 -92
107 -62
108 3
109 0
110 2
111 0
116 0
117 0
118 199
119 139
120 0
121 Claes context
122 0
126 0.05
127 0.05
128 1
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4001
134
22
2200 4
2201 1
2202 pwr_motorman
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 1028
2236 0
2216 37
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2244
1
100 1
101 1
102 65532
103 0
99
99
123
2
99
124
2
99
125
2
19
1904
1900 3
1901 2
1902 0.8
1903 0
1908 0
1909 300
1910 300
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 1
1917 1
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 2
701 0
99
503
7
700 3
701 0.8
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404
2400 2
2401 0
2402 2
2403 0
2408 0
2409 74
2410 74
2411 1
2415 0
2413 8
2416 2
2414 0
2417 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 0
99
805
7
700 2
701 2
99
99
2412
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
23
2304
2300 2.34197
2301 2.04197
2302 0.697466
2303 0.397473
2305
9
900 3
901 304
904 0
902 A1
903
7
700 2.02555
701 0.745334
99
99
2306
5
500 2
501 1
504 1
505 0
502
7
700 2.02555
701 0.445334
99
503
7
700 2.32555
701 0.745328
99
99
2307
13
1300 1
1301 304
1306 0
1302 3
1305 1
1303
7
700 0.7
701 1.2
99
1304 0
99
2308
28
2800 1
2801 0
2802 1.32555
2803 0
2804 1
2805 -0.454666
2806 0
99
99
21
2104
2100 0.3
2101 -0.3
2102 1.3
2103 0.7
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 0
1201 2
1202
7
700 0
701 0.958836
99
1203
1204 0
1205
28
2800 1
2801 0
2802 4.85723e-17
2803 0
2804 1
2805 0.0411635
2806 0
99
99
99
21
2104
2100 2.3
2101 1.7
2102 1.3
2103 0.7
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 1
1201 1
1202
7
700 2
701 1
99
1203
1204 0
1205
28
2800 1
2801 0
2802 2.41474e-15
2803 0
2804 1
2805 2.77556e-17
2806 0
99
99
99
26
2604
2600 1.5
2601 0.5
2602 1.45
2603 0.55
2605
25
2500 0
2501 3
2503 0
2504 0
2502
2
7
700 0.5
701 1.4
99
7
700 0.5
701 0.5
99
7
700 1
701 1.25
99
7
700 1.5
701 0.5
99
7
700 1.5
701 1.4
99
99
99
2608 0
2609 2
2610 2
2611 1
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 7.45058e-09
2803 0
2804 1
2805 0.05
2806 0
99
2613 0
2619 0
2620 0
99
21
2104
2100 1.3
2101 0.7
2102 0.3
2103 -0.3
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 2
1201 4
1202
7
700 1
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
99
21
2104
2100 1.3
2101 0.7
2102 2.3
2103 1.7
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 3
1201 3
1202
7
700 1
701 2
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
99
99
99
123
2
3
300 pwr_motorman
301
2
19
1904
1900 3
1901 2
1902 0.8
1903 0
1908 0
1909 300
1910 300
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 1
1917 1
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 2
701 0
99
503
7
700 3
701 0.8
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404
2400 2
2401 0
2402 2
2403 0
2408 0
2409 74
2410 74
2411 1
2415 0
2413 8
2416 2
2414 0
2417 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 0
99
805
7
700 2
701 2
99
99
2412
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
29
2907
13
1300 1
1301 304
1306 0
1302 3
1305 1
1303
7
700 0.7
701 1.2
99
1304 0
99
2908
28
2800 1
2801 0
2802 1.32555
2803 0
2804 1
2805 -0.454666
2806 0
99
99
12
1200 0
1201 2
1202
7
700 0
701 0.958836
99
1203
1204 0
1205
28
2800 1
2801 0
2802 4.85723e-17
2803 0
2804 1
2805 0.0411635
2806 0
99
99
12
1200 1
1201 1
1202
7
700 2
701 1
99
1203
1204 0
1205
28
2800 1
2801 0
2802 2.41474e-15
2803 0
2804 1
2805 2.77556e-17
2806 0
99
99
26
2604
2600 1.5
2601 0.5
2602 1.45
2603 0.55
2605
25
2500 0
2501 3
2503 0
2504 0
2502
2
7
700 0.5
701 1.4
99
7
700 0.5
701 0.5
99
7
700 1
701 1.25
99
7
700 1.5
701 0.5
99
7
700 1.5
701 1.4
99
99
99
2608 0
2609 2
2610 2
2611 1
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 7.45058e-09
2803 0
2804 1
2805 0.05
2806 0
99
2613 0
2619 0
2620 0
99
12
1200 2
1201 4
1202
7
700 1
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
12
1200 3
1201 3
1202
7
700 1
701 2
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 1028
321 0
309 37
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 0
319 0
320 0
328 0
329
1
100 1
101 1
102 65532
103 0
99
99
99
99
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