Commit 64367f53 authored by Claes Sjofors's avatar Claes Sjofors

Nmps wbl-files merged

parent 95a04ecf
This source diff could not be displayed because it is too large. You can view the blob instead.
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpscelldata.wb_load -- Defines the class NMpsCellData.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Group MaterialPlanning,Plc
! @Summary Data objects link class.
!
! The NMpsCellData class is used to link data object is NMpCell object.
!
! @classlink NMpsCell60 nmps_nmpscell60.html
!*/
Object NMpsCellData $ClassDef 52
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsCellData"
EndBody
!/**
! Pointer to data object.
!*/
Object DataP $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object is inside the cell.
!*/
Object Data_Front $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object is inside the cell.
!*/
Object Data_Back $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Realtime database direct link identiy.
!*/
Object Data_Dlid $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the data is selected.
!*/
Object Data_Select $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Stored value of Data_Select to detect changes.
!*/
Object Data_SelectOld $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsCellData
Body RtBody
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_celldisp.wb_load -- Defines the class CellDisp.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_display.c
! @Group MaterialPlanning,Plc
! @Summary Display contents of data object in NMps cells.
! CellDisp objects are used to display the content of data objects
! that is stored i NMpsCells, in the process graphics. It also makes it
! possible for the operator to remove data objects form the cell, move
! dataobjects forward or backwards in the cell, or select a data object
! to gain more information about the object.
! @image orm_celldisp_fo.gif
!
! With the CellDisp object you can display a table of the data objects
! in a cell, with the object name, and some selected attributes. The
! CellDisp object contains a number or arrays the values for the selected
! attributes is copied. The arrays can be displayed in a MMI picture.
!
! There is also a select function, where a data object is selected, and
! the selected object is copied to a dispay object, i.e. a permanent object
! of the same class as the data object. If the content of the display
! object is viewed in the process graphics, it will always display the
! content of the currently selected data object.
!
! Several tables in the same process graph, can have a common select
! function, by using the DispLink object. One common DispLink object
! is connected to all the DispCell, which will guarantee that at most
! one data object is selected. In the DispLink object there is also
! functions to remove the selected data object, or to move the object
! forward or backward in the cell.
!
! The selection is done, either with a select button in each row of
! the table, or with the SelectNext/SelectPrevious function in the
! DispLink object. With SelectNext/SelectPrevious the selection can
! be performed with the function keys.
!
! One table cah display up to 10 cell objects. In the CellDisp object
! there is room for 5 attributes of type float, 5 integers and 5
! boolean. There is also an array containing the objid of the data
! objects.
!
! Maximum number of data objects displayed in one table is 60.
! The connected cell objects can be of class NMpsCell or
! NMpsStoreCell.
! A DispLink object can link an unlimited number of CellDisp objects.
! The select function is not conntected to the select function of the
! NMpsStoreCell.
!
! @b See also
! @classlink DispLink nmps_displink.html
! @classlink CellUpdate nmps_cellupdate.html
! @classlink NMpsCell nmps_cell.html
!*/
Object CellDisp $ClassDef 44
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
!
! CellDisp Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CellDisp"
EndBody
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "Cell1"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell2"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell3"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell4"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell5"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell6"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell7"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell8"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell9 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell9"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell10 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell10"
EndBody
EndObject
!/**
! Connected to the output of a DispLink object. Is used to link the select
! function with other DispLink objects, or to use the function for remove
! the selected data object from the cell, move the object forward or backward,
! or select next or previous object.
!*/
Object Link $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Link"
EndBody
EndObject
!/**
! Connected to a GetData object refering to a display object of the same
! class as the data objects handled by the cells. The DisplayObject makes
! it possible to display more detailed information for the seleted object.
! The content of the selected data object is copied to the display object.
!*/
Object DisplayObject $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "DObj"
EndBody
EndObject
!/**
! Class of the data objects handled by the cell.
!*/
Object DataClass $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$ClassId"
EndBody
EndObject
!/**
! Specific functions
! - 0 Normal function.
! - 1 The data objects are stored in reverse order.
!*/
Object Function $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! If the selection function is shared with other DispCell objects, the must
! be a specified order, that the selection is moved between the different
! DispCell tables. The DispCell objects connected to one DispLink object are
! numbered from 1 and upwards. The number for each DispCell object has to
! be unic and the should be no jumps in the enumeration.
!*/
Object Number $Intern 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Size of the displayed table (number or rows). Largest size is 60.
!*/
Object MaxSize $Intern 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! SelDirection changes the selection direction, i.e the function of
! SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
! This is useful if several CellDisp objects are linked, and some
! displayes their objects in normal order, other in reverse order.
!*/
Object SelDirection $Intern 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! The name of attributes of type float in the data object, that
! should be displayed in the table. Up to 5 float attributes can be specified.
! The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.
!*/
Object FloatAttr $Intern 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type boolean in the data object, that
! should be displayed in the table. Up to 5 boolean attributes can be specified.
! The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.
!*/
Object BooleanAttr $Intern 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type integer in the data object, that
! should be displayed in the table. Up to 5 integer attributes can be specified.
! The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
! If the attributes is of type Int16, add the suffix ##Int16 to the
! attributename.
!*/
Object IntAttr $Intern 20
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Array for selecting objects in the table.
! An object in a row is selected by setting the corresponding index in Select.
! Select[n] could be connected to a pushbutton of row n in the table.
!*/
Object Select $Intern 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object OldSelect $Intern 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Array with objid of the data objects.
!*/
Object Objid $Intern 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[0].
!*/
Object F1 $Intern 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[1].
!*/
Object F2 $Intern 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[2].
!*/
Object F3 $Intern 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[3].
!*/
Object F4 $Intern 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[4].
!*/
Object F5 $Intern 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[0].
!*/
Object B1 $Intern 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[1].
!*/
Object B2 $Intern 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[2].
!*/
Object B3 $Intern 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[3].
!*/
Object B4 $Intern 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[4].
!*/
Object B5 $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[0].
!*/
Object I1 $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[1].
!*/
Object I2 $Intern 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[2].
!*/
Object I3 $Intern 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[3].
!*/
Object I4 $Intern 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[4].
!*/
Object I5 $Intern 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Calculated offset for the float attributes.
!*/
Object FloatAttrOffs $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the boolean attributes.
!*/
Object BooleanAttrOffs $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the integer attributes.
!*/
Object IntAttrOffs $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object SelectObjid $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSize $Intern 43
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldLastIndex $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! CellDisp Development Body
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 12
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr devbody_annotation = 0
Attr compmethod = 35
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "CellDisp"
Attr graphname = "CellDisp"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template CellDisp
Body RtBody
Attr MaxSize = 60
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_celldispmir.wb_load -- Defines the class CellDispMir.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_display.c
! @Group MaterialPlanning,Plc
! @Summary Display contents of data object in NMpsMirrorCells.
! CellDispMir objects are used to display the content of data objects
! that is stored i NMpsMirrorCells, in the process graphics. It also makes it
! possible for the operator select a data object to gain more information
! about the object.
!
! The function is similar to the CellDisp object, which handles NMpsCell and
! NMpsStoreCell objects. The CellDispMir object does not support the Remove,
! and Move functions in the CellDisp object.
!
! @image orm_celldispmir_fo.gif
!
! With the CellDispMir object you can display a table of the data objects
! in a cell, with the object name, and some selected attributes. The
! CellDispMir object contains a number or arrays the values for the selected
! attributes is copied. The arrays can be displayed in a MMI picture.
!
! There is also a select function, where a data object is selected, and
! the selected object is copied to a dispay object, i.e. a permanent object
! of the same class as the data object. If the content of the display
! object is viewed in the process graphics, it will always display the
! content of the currently selected data object.
!
! Several tables in the same process graph, can have a common select
! function, by using the DispLink object. One common DispLink object
! is connected to all the DispCell, which will guarantee that at most
! one data object is selected. In the DispLink object there is also
! functions to remove the selected data object, or to move the object
! forward or backward in the cell.
!
! The selection is done, either with a select button in each row of
! the table, or with the SelectNext/SelectPrevious function in the
! DispLink object. With SelectNext/SelectPrevious the selection can
! be performed with the function keys.
!
! One table cah display up to 10 cell objects. In the CellDispMir object
! there is room for 5 attributes of type float, 5 integers and 5
! boolean. There is also an array containing the objid of the data
! objects.
!
! Maximum number of data objects displayed in one table is 60.
! The connected cell objects has to be of class NMpsMirrorCell.
! A DispLink object can link an unlimited number of CellDispMir or CellDisp objects.
! The select function is not conntected to the select function of the
! NMpsStoreCell.
!
! @b See also
! @classlink CellDisp nmps_celldisp.html
! @classlink DispLink nmps_displink.html
! @classlink CellUpdate nmps_cellupdate.html
! @classlink NMpsMirrorCell nmps_mirrorcell.html
!*/
Object CellDispMir $ClassDef 48
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
!
! CellDispMir Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CellDispMir"
EndBody
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "Cell1"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell2"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell3"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell4"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell5"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell6"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell7"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell8"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell9 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell9"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsMirrorCell object.
!*/
Object Cell10 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell10"
EndBody
EndObject
!/**
! Connected to the output of a DispLink object. Is used to link the select
! function with other DispLink objects, or to use the function for remove
! the selected data object from the cell, move the object forward or backward,
! or select next or previous object.
!*/
Object Link $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Link"
EndBody
EndObject
!/**
! Connected to a GetData object refering to a display object of the same
! class as the data objects handled by the cells. The DisplayObject makes
! it possible to display more detailed information for the seleted object.
! The content of the selected data object is copied to the display object.
!*/
Object DisplayObject $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "DObj"
EndBody
EndObject
!/**
! Class of the data objects handled by the cell.
!*/
Object DataClass $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$ClassId"
EndBody
EndObject
!/**
! Specific functions
! - 0 Normal function.
! - 1 The data objects are stored in reverse order.
!*/
Object Function $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! If the selection function is shared with other DispCell objects, the must
! be a specified order, that the selection is moved between the different
! DispCell tables. The DispCell objects connected to one DispLink object are
! numbered from 1 and upwards. The number for each DispCell object has to
! be unic and the should be no jumps in the enumeration.
!*/
Object Number $Intern 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Size of the displayed table (number or rows). Largest size is 60.
!*/
Object MaxSize $Intern 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! SelDirection changes the selection direction, i.e the function of
! SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
! This is useful if several CellDispMir objects are linked, and some
! displayes their objects in normal order, other in reverse order.
!*/
Object SelDirection $Intern 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! The name of attributes of type float in the data object, that
! should be displayed in the table. Up to 5 float attributes can be specified.
! The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.
!*/
Object FloatAttr $Intern 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type boolean in the data object, that
! should be displayed in the table. Up to 5 boolean attributes can be specified.
! The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.
!*/
Object BooleanAttr $Intern 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type integer in the data object, that
! should be displayed in the table. Up to 5 integer attributes can be specified.
! The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
!*/
Object IntAttr $Intern 20
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Array for selecting objects in the table.
! An object in a row is selected by setting the corresponding index in Select.
! Select[n] could be connected to a pushbutton of row n in the table.
!*/
Object Select $Intern 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object OldSelect $Intern 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Array with objid of the data objects.
!*/
Object Objid $Intern 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[0].
!*/
Object F1 $Intern 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[1].
!*/
Object F2 $Intern 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[2].
!*/
Object F3 $Intern 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[3].
!*/
Object F4 $Intern 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[4].
!*/
Object F5 $Intern 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[0].
!*/
Object B1 $Intern 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[1].
!*/
Object B2 $Intern 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[2].
!*/
Object B3 $Intern 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[3].
!*/
Object B4 $Intern 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[4].
!*/
Object B5 $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[0].
!*/
Object I1 $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[1].
!*/
Object I2 $Intern 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[2].
!*/
Object I3 $Intern 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[3].
!*/
Object I4 $Intern 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[4].
!*/
Object I5 $Intern 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Calculated offset for the float attributes.
!*/
Object FloatAttrOffs $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the boolean attributes.
!*/
Object BooleanAttrOffs $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the integer attributes.
!*/
Object IntAttrOffs $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object SelectObjid $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSize $Intern 43
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldLastIndex $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! CellDispMir Development Body
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 12
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr devbody_annotation = 0
Attr compmethod = 35
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "CellDispMir"
Attr graphname = "CellDispMir"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template CellDispMir
Body RtBody
Attr MaxSize = 60
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_cellupdate.wb_load -- Defines the class CellUpdate.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_display.c
! @Group MaterialPlanning,Plc
! @Summary Display and update contents of data object in NMps cells.
! CellUpdate objects are used to display and update the content of data objects
! that is stored i NMpsCells, in the process graphics.
! @image orm_cellupdate_fo.gif
!
! The function is similar to the function of the CellDisp object. The differens
! is that a displayed value in the CellUpdate object can be modified, and the
! new value is tranfered to the data object.
!
! @b See also
! @classlink CellDisp nmps_celldisp.html
! @classlink DispLink nmps_displink.html
! @classlink NMpsCell nmps_cell.html
!*/
Object CellUpdate $ClassDef 46
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
!
! CellUpdate Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CellUpdate"
EndBody
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "Cell1"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell2"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell3"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell4"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell5"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell6"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell7"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell8"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell9 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell9"
EndBody
EndObject
!/**
! Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
!*/
Object Cell10 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Cell10"
EndBody
EndObject
!/**
! Connected to the output of a DispLink object. Is used to link the select
! function with other DispLink objects, or to use the function for remove
! the selected data object from the cell, move the object forward or backward,
! or select next or previous object.
!*/
Object Link $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "Link"
EndBody
EndObject
!/**
! Connected to a GetData object refering to a display object of the same
! class as the data objects handled by the cells. The DisplayObject makes
! it possible to display more detailed information for the seleted object.
! The content of the selected data object is copied to the display object.
!*/
Object DisplayObject $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "DObj"
EndBody
EndObject
!/**
! Class of the data objects handled by the cell.
!*/
Object DataClass $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$ClassId"
EndBody
EndObject
!/**
! Specific functions
! - 0 Normal function.
! - 1 The data objects are stored in reverse order.
!*/
Object Function $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! If the selection function is shared with other DispCell objects, the must
! be a specified order, that the selection is moved between the different
! DispCell tables. The DispCell objects connected to one DispLink object are
! numbered from 1 and upwards. The number for each DispCell object has to
! be unic and the should be no jumps in the enumeration.
!*/
Object Number $Intern 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Size of the displayed table (number or rows). Largest size is 60.
!*/
Object MaxSize $Intern 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! SelDirection changes the selection direction, i.e the function of
! SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
! This is useful if several CellDisp objects are linked, and some
! displayes their objects in normal order, other in reverse order.
!*/
Object SelDirection $Intern 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! The name of attributes of type float in the data object, that
! should be displayed in the table. Up to 5 float attributes can be specified.
! The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.
!*/
Object FloatAttr $Intern 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type boolean in the data object, that
! should be displayed in the table. Up to 5 boolean attributes can be specified.
! The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.
!*/
Object BooleanAttr $Intern 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! The name of attributes of type integer in the data object, that
! should be displayed in the table. Up to 5 integer attributes can be specified.
! The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
!*/
Object IntAttr $Intern 20
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Array for selecting objects in the table.
! An object in a row is selected by setting the corresponding index in Select.
! Select[n] could be connected to a pushbutton of row n in the table.
!*/
Object Select $Intern 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object OldSelect $Intern 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Array with objid of the data objects.
!*/
Object Objid $Intern 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[0].
!*/
Object F1 $Intern 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[1].
!*/
Object F2 $Intern 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[2].
!*/
Object F3 $Intern 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[3].
!*/
Object F4 $Intern 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in FloatAttr[4].
!*/
Object F5 $Intern 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[0].
!*/
Object B1 $Intern 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[1].
!*/
Object B2 $Intern 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[2].
!*/
Object B3 $Intern 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[3].
!*/
Object B4 $Intern 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in BooleanAttr[4].
!*/
Object B5 $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[0].
!*/
Object I1 $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[1].
!*/
Object I2 $Intern 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[2].
!*/
Object I3 $Intern 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[3].
!*/
Object I4 $Intern 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Contains the values of the attribute specfied in IntAttr[4].
!*/
Object I5 $Intern 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
!/**
! Calculated offset for the float attributes.
!*/
Object FloatAttrOffs $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the boolean attributes.
!*/
Object BooleanAttrOffs $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Calculated offset for the integer attributes.
!*/
Object IntAttrOffs $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object SelectObjid $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSize $Intern 43
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldLastIndex $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object F1Old $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object F2Old $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object F3Old $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object F4Old $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object F5Old $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object B1Old $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object B2Old $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object B3Old $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object B4Old $Intern 53
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object B5Old $Intern 54
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object I1Old $Intern 55
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object I2Old $Intern 56
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object I3Old $Intern 57
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object I4Old $Intern 58
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
Object I5Old $Intern 59
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
EndObject
!
! CellUpdate Development Body
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 12
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr devbody_annotation = 0
Attr compmethod = 35
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "CellUpdate"
Attr graphname = "CellUpdate"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template CellUpdate
Body RtBody
Attr MaxSize = 60
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_cloop.wb_load -- Defines the class CLoop.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_macro.h
! @Group Plc
! @Summary A loop object with a subwindow that is executed a number of times each plcscan.
!
! A loop object with a subwindow that is executed a number of times each plcscan.
! @image orm_cloop_fo.gif
! The object has a loop index which is fetched with the CurrentIndex object.
! The index is controlled by the attribute StartIndex, StopIndex and Increment.
!
! @b See also
! @classlink CurrentIndex nmps_currentindex.html
!*/
Object CLoop $ClassDef 14
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CLoop"
EndBody
!/**
! Input for conditional execution of the loop.
!*/
Object Condition $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "con"
EndBody
EndObject
!/**
! Start value for the loop index.
!*/
Object StartIndex $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Start"
EndBody
EndObject
!/**
! Increment of loop index each loop scan.
!*/
Object Increment $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Incr"
EndBody
EndObject
!/**
! When loop index has reached this value, the loop is stoped.
!*/
Object StopIndex $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Stop"
EndBody
EndObject
!/**
! Loop index. The loop index is reference by CurrentIndex objects in the subwindow.
!*/
Object CurrentIndex $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 4
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr subwindows = 1
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 50
Attr compindex = 0
Attr tracemethod = 2
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "CLoop"
Attr graphname = "CLoop"
Attr debugpar = "Condition"
EndBody
EndObject
!
! Template object
!
Object Template CLoop
Body RtBody
Attr Condition = 1
Attr StartIndex = 1
Attr Increment = 1
Attr StopIndex = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_convdef.wb_load -- Defines the class ConvDef.
!
SObject NMps:Class
Object ConvDef $ClassDef 39
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
EndBody
!
! CONVDEF Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ConvDef"
EndBody
Object Param $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 200
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_currentdata.wb_load -- Defines the class CurrentData.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Group MaterialPlanning,Plc
! @Summary Get a reference to the current data object in a NMpsCell subwindow.
!
! Get a reference the current data object in a NMpsCell subwindow.
! @image orm_currentdata_fo.gif
! The object is used in a NMpsCell subwindow. A cell subwindow is exectuted
! one time for each data object in the cell, in one plc scan, plus one initiate
! execution.
! The output hold a pointer of the currently executed data object. This can be
! used as input to a data input of a DataArithm object.
! In the initiate execution, the current data is zero.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink DataArithm pwrb_dataarithm.html
!*/
Object CurrentData $ClassDef 11
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
Attr PopEditor = 2
EndBody
!
! CURRENTDATA Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "currentdata"
EndBody
!/**
! Pointer to the currently executed data object.
!*/
Object DataCurrentP $Output 1
Body SysBody
Attr PgmName = "DataCurrentP"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
!
! DATACOPY Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 227
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 44
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "CurrData"
Attr graphname = "CurrData"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object CellObject $Intern 1
Body SysBody
Attr PgmName = "CellObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_currentindex.wb_load -- Defines the class CurrentIndex.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Group MaterialPlanning,Plc
! @Summary Get the index of the current data object in a NMpsCell or a CLoop subwindow.
!
! Get the index of the current data object in a NMpsCell or a CLoop subwindow.
! @image orm_currentindex_fo.gif
! The object is used in a NMpsCell or a CLoop subwindow.
!
! A cell subwindow is exectuted one time for each data object in the cell,
! in one plc scan, plus one initiate execution.
! The output hold the index of the currently executed data object.
! In the initiate execution, the current index is zero.
!
! In a cloop subwindow, CurrentIndex keeps the index of the current loop.
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink CLoop nmps_cloop.html
! @classlink CurrentData nmps_currentdata.html
!*/
Object CurrentIndex $ClassDef 12
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
Attr PopEditor = 2
EndBody
!
! CURRENTINDEX Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "currentindex"
EndBody
!/**
! The index of the currently executed data object.
!*/
Object DataCurrent_Index $Output 1
Body SysBody
Attr PgmName = "CurrentIndex"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
!
! DATACOPY Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 228
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 44
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "CurrIndex"
Attr graphname = "CurrIndex"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object CellObject $Intern 1
Body SysBody
Attr PgmName = "CellObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datacnv.wb_load -- Defines the class DataCnv.
!
SObject NMps:Class
Object DataCnv $ClassDef 38
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATACNV Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "datacnv"
EndBody
Object DataFrom $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "From"
EndBody
EndObject
Object DataTo $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "To"
EndBody
EndObject
Object Condition $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "cond"
EndBody
EndObject
Object ToConvdefType $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object ConvTableCount $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ConvTable $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 1800
EndBody
EndObject
EndObject
!
! DATACNV Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 7
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 35
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataCnv"
Attr graphname = "DataCnv"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datacopy.wb_load -- Defines the class DataCopy.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_macro.h
! @Group Plc,PlcData
! @Summary Copy a data object.
!
! Copy the content of a data object to another data object.
! @image orm_datacopy_fo.gif
! Note! At least one of the data objects has to be fetched with a GetData object.
! The copy is executed when the condition input is true.
!
! @b See also
! @classlink GetData pwrb_getdata.html
! @classlink DataReset nmps_datareset.html
!*/
Object DataCopy $ClassDef 9
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATACOPY Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "datacopy"
EndBody
!/**
! Data input connected to an output that keeps a reference to the source data object.
!*/
Object DataFrom $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "From"
EndBody
EndObject
!/**
! Data input connected to an output that keeps a reference to the target data object.
!*/
Object DataTo $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "To"
EndBody
EndObject
!/**
! When Condition is true, the copy is executed.
!*/
Object Condition $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "cond"
EndBody
EndObject
EndObject
!
! DATACOPY Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 226
Attr parameters[0] = 3
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 45
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataCopy"
Attr graphname = "DataCopy"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_dataequal.wb_load -- Defines the class DataEqual.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Check if two data references are equal.
! DataEqual compares two data reference values and returns true if they are equal.
! @image orm_dataequal_fo.png
!*/
Object DataEqual $ClassDef 58
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataEqual"
EndBody
!/**
! Data reference input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Data reference input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if the input values are equal.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "DataEq"
Attr graphname = "DataEq"
Attr debugpar = "Status"
EndBody
EndObject
Object Template DataEqual
Body RtBody
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datafread.wb_load -- Defines the class DataFRead.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Read the content of a data object from file.
!
! Read the content of a data object from a file.
! @image orm_datafread_fo.gif
! The read is executed when the condition input is set to true.
!
! Hint!
! The filename and condition can be set from a fileview with the xtt
! command 'open fileview'.
!
! @b See also
! @exliblink "Example with fileview" ../../en_us/man_exlib_exlib_datafread.html
! @classlink GetData pwrb_getdata.html
! @classlink DataFWrite nmps_datafread.html
!*/
Object DataFRead $ClassDef 51
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataFRead"
EndBody
!/**
! Data input connected to an output that keeps a reference to the data object.
!*/
Object Data $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "Data"
EndBody
EndObject
!/**
! When Condition is goes from false to true, the read is executed.
! If condition is connected, it has to be reset before the next read.
! If condition is not connected it is automatically reset.
!*/
Object Condition $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "cond"
EndBody
EndObject
!/**
! @Summary String contaning the filename to read data from.
! String contaning the filename to read data from.
! The filename can be set by opening a fileview with the 'open fileview' command.
!*/
Object FileName $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr GraphName = "File"
EndBody
EndObject
!/**
! Status of last read operation.
!*/
Object ReadStatus $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Status"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Old value of Condition to detect edge.
!*/
Object CondOld $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Error attribute set at read failure.
!*/
Object Error $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
!
! Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataFRead"
Attr graphname = "DataFRead"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datafwrite.wb_load -- Defines the class DataFWrite.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Write the content of a data object to a file.
!
! Write the content of a data object to a file.
! @image orm_datafwrite_fo.gif
! The write is executed when the condition input is set to true.
!
! Hint!
! The filename and condition can be set from a fileview with the xtt
! command 'open fileview'.
!
! @b See also
! @exliblink "Example with fileview" ../../en_us/man_exlib_exlib_datafread.html
! @classlink GetData pwrb_getdata.html
! @classlink DataFRead nmps_datafread.html
!*/
Object DataFWrite $ClassDef 50
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataFWrite"
EndBody
!/**
! Data input connected to an output that keeps a reference to the data object.
!*/
Object Data $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "Data"
EndBody
EndObject
!/**
! When Condition is goes from false to true, the write is executed.
! If condition is connected, it has to be reset before the next write.
! If condition is not connected it is automatically reset.
!*/
Object Condition $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "cond"
EndBody
EndObject
!/**
! @Summary String contaning the filename to write data to.
! String contaning the filename to write data to.
!*/
Object FileName $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr GraphName = "File"
EndBody
EndObject
!/**
! Status of last write operation.
!*/
Object WriteStatus $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Status"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Old value of Condition to detect edge.
!*/
Object CondOld $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Error attribute set at write failure.
!*/
Object Error $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
!
! Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataFWrite"
Attr graphname = "DataFWrite"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datamux.wb_load -- Defines the class DataMux.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Data reference multiplexer
! Data reference multiplexer.
! @image orm_datamux_fo.png
!
! Select one of 24 data reference inputs, depending on Idx.
!
!*/
Object DataMux $ClassDef 60
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataMux"
EndBody
!/**
! Index for selected value.
! First input has index 0.
!*/
Object Index $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Idx"
EndBody
EndObject
!/**
! Value of input signal 0, input signal 1, ...
!*/
Object In0 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In0"
EndBody
EndObject
Object In1 $Input 3
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In1"
EndBody
EndObject
Object In2 $Input 4
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In2"
EndBody
EndObject
Object In3 $Input 5
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In3"
EndBody
EndObject
Object In4 $Input 6
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In4"
EndBody
EndObject
Object In5 $Input 7
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In5"
EndBody
EndObject
Object In6 $Input 8
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In6"
EndBody
EndObject
Object In7 $Input 9
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In7"
EndBody
EndObject
Object In8 $Input 10
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In8"
EndBody
EndObject
Object In9 $Input 11
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In9"
EndBody
EndObject
Object In10 $Input 12
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In10"
EndBody
EndObject
Object In11 $Input 13
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In11"
EndBody
EndObject
Object In12 $Input 14
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In12"
EndBody
EndObject
Object In13 $Input 15
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In13"
EndBody
EndObject
Object In14 $Input 16
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In14"
EndBody
EndObject
Object In15 $Input 17
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In15"
EndBody
EndObject
Object In16 $Input 18
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In16"
EndBody
EndObject
Object In17 $Input 19
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In17"
EndBody
EndObject
Object In18 $Input 20
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In18"
EndBody
EndObject
Object In19 $Input 21
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In19"
EndBody
EndObject
Object In20 $Input 22
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In20"
EndBody
EndObject
Object In21 $Input 23
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In21"
EndBody
EndObject
Object In22 $Input 24
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In22"
EndBody
EndObject
Object In23 $Input 25
Body SysBody
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In23"
EndBody
EndObject
!/**
! Maximum value for index.
! This limitation is used to avoid a null reference if an input that is
! not connected is specified by Index.
! If Index is larger than MaxIndex, the data reference for MaxIndex is
! selected.
!*/
Object MaxIndex $Intern 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Idx"
EndBody
EndObject
!/**
! Selected value.
!*/
Object ActVal $Output 27
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 25
Attr parameters[1] = 1
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataMux"
Attr graphname = "DataMux"
Attr debugpar = ""
EndBody
EndObject
Object Template DataMux
Body RtBody
Attr MaxIndex = 23
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datanotequal.wb_load -- Defines the class DataNotEqual.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Check if two data references are not equal.
! DataNotEqual compares two data reference values and returns false if they are equal.
! @image orm_datanotequal_fo.png
!*/
Object DataNotEqual $ClassDef 59
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataNotEqual"
EndBody
!/**
! Data reference input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Data reference input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if the input values are not equal.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "DataNe"
Attr graphname = "DataNe"
Attr debugpar = "Status"
EndBody
EndObject
Object Template DataNotEqual
Body RtBody
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_datarcv.wb_load -- Defines the class DataRcv.
!
SObject NMps:Class
Object DataRcv $ClassDef 41
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATARCV Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataRcv"
EndBody
Object Out $Input 1
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Accept $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "acc"
EndBody
EndObject
Object Reset $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "res"
EndBody
EndObject
Object DataReceived $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rcvd"
EndBody
EndObject
Object Error $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Function $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object AlarmText $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object DisplayObject $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object SendRemTrans $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object CellObject $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataClass $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataParent $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object OpAccept $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpReset $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object AcceptOld $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetOld $Attribute 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SysAcceptDetected $Attribute 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OpAcceptDetected $Attribute 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptDetected $Attribute 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetDetected $Attribute 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataRcvDetected $Attribute 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataRcv Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 4
Attr parameters[1] = 16
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataRcv"
Attr graphname = "DataRcv"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_datarequest.wb_load -- Defines the class DataRequest.
!
SObject NMps:Class
Object DataRequest $ClassDef 40
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATAREQUEST Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataRequest"
EndBody
Object Out $Input 1
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Trigg $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "trg"
EndBody
EndObject
Object Accept $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "acc"
EndBody
EndObject
Object Reset $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "res"
EndBody
EndObject
Object DataReceived $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rcvd"
EndBody
EndObject
Object Error $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Key $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object KeyStr $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object Function $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object TimeoutTime $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object AlarmText $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object ReturnStatus $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object ReturnStatusText $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object DisplayObject $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object SendRemTrans $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object CellObject $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataClass $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataParent $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 25
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object OpTrigg $Attribute 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpAccept $Attribute 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpReset $Attribute 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object TriggOld $Attribute 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptOld $Attribute 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetOld $Attribute 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object TriggDetected $Attribute 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SysAcceptDetected $Attribute 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OpAcceptDetected $Attribute 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptDetected $Attribute 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetDetected $Attribute 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataRcvDetected $Attribute 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataReqest Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 4
Attr parameters[1] = 16
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataReq"
Attr graphname = "DataReq"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_datareset.wb_load -- Defines the class DataReset.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_macro.h
! @Group Plc,PlcData
! @Summary Reset a data object.
!
! Reset a data object. Set zero in all the attributes of the object.
! @image orm_datareset_fo.gif
! Note! The data objects has to be fetched with a GetData object.
! The reset is executed when the condition input is true.
!
! @b See also
! @classlink GetData nmps_currentindex.html
! @classlink DataCopy nmps_datacopy.html
!*/
Object DataReset $ClassDef 10
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATARESET Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "datareset"
EndBody
!/**
! Data input connected to an output that keeps a reference to the data object.
!*/
Object Data $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "Data"
EndBody
EndObject
!/**
! When Condition is true, the reset is executed.
!*/
Object Condition $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "cond"
EndBody
EndObject
EndObject
!
! DATARESET Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 221
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 45
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataReset"
Attr graphname = "DataReset"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_datasel.wb_load -- Defines the class DataSel.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Data reference selection.
! Data reference selection.
! @image orm_datasel_fo.png
!
! Select one of two inputs.
!
!*/
Object DataSel $ClassDef 57
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataSel"
EndBody
!/**
! Data reference input.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! DataReference input.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Control.
!*/
Object Control $Input 3
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
EndBody
EndObject
!/**
! Selected value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 3
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataSel"
Attr graphname = "DataSel"
Attr debugpar = ""
EndBody
EndObject
Object Template DataSel
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_dataselect.wb_load -- Defines the class DataSelect.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group Plc,PlcData
! @Summary Select one data input due to the suppied index.
!
! Select one data input due to the supplied index.
! @image orm_dataselect_fo.gif
! Up to sixteen data object can be connected to the DataSelect object. One
! of these is passed to the output. The input can be connected to data output,
! of for example GetData or DataArith objects.
!
! MaxIndex specifies the number of used inputs. All the input between 1 and
! MaxIndex has to be connected.
!
! Index specifies which data input to select. Index 1 selects the first, 2 the
! second etc. If Index < 1 the first is selected, and if Index > MaxIndex the
! last (MaxIndex) is selected.
!
! @b See also
! @classlink GetData nmps_getdata.html
! @classlink DataArithm pwrb_dataarithm.html
!*/
Object DataSelect $ClassDef 15
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATASELECT Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataSelect"
EndBody
!/**
! Controls which data input is selected. For Index 1 the first is select etc.
!*/
Object Index $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Idx"
EndBody
EndObject
!/**
! Number of connected data inputs. All inputs between 1 and MaxIndex has to be connected.
!*/
Object MaxIndex $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Max"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn1 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da1"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da2"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da3"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da4"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da5"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da6"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da7"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da8"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da9"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da10"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da11"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da12"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da13"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da14"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da15"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da16"
EndBody
EndObject
!/**
! Data output with a reference to the data object of the selected input.
!*/
Object OutDataP $Output 19
Body SysBody
Attr PgmName = "OutDataP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
!
! DATASELECT Development Body
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 18
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 0
Attr default_mask[0] = 13
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DaSelect"
Attr graphname = "DaSelect"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template DataSelect
Body RtBody
Attr MaxIndex = 2
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_datasend.wb_load -- Defines the class DataSend.
!
SObject NMps:Class
Object DataSend $ClassDef 42
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATASEND Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataSend"
EndBody
Object DataIn $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da"
EndBody
EndObject
Object Trigg $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "trg"
EndBody
EndObject
Object Dummy $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSent $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sent"
EndBody
EndObject
Object Error $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Function $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object TimeoutTime $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object AlarmText $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object ReturnStatus $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object ReturnStatusText $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object SendRemTrans $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object TriggOld $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object TriggDetected $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSentDetected $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataSend Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 14
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataSend"
Attr graphname = "DataSend"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_displink.wb_load -- Defines the class DispLink.
!
SObject NMps:Class
!/**
! @Group MaterialPlanning,Plc
!*/
!
Object DispLink $ClassDef 45
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
!
! DispLink Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DispLink"
EndBody
Object CellDisp $Output 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "CDisp"
EndBody
EndObject
Object SelectObjid $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectExist $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object MoveForward $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DoMoveForward $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object MoveBackward $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DoMoveBackward $Intern 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Remove $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DoRemove $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetData $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectNext $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DoSelectNext $Intern 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectPrevious $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DoSelectPrevious $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object MaxDispNumber $Intern 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectOrderNumber $Intern 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectOrderOwner $Intern 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectOrderType $Intern 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SelectOrder $Intern 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DispLink Development Body
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr graphmethod = 7
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr devbody_annotation = 0
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DispLink"
Attr graphname = "DispLink"
Attr debugpar = ""
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_func.wb_load -- Defines the class Func.
!
SObject NMps:Class
Object Func $ClassDef 21
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Func"
EndBody
Object Condition $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "cond"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object A1 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A1"
EndBody
EndObject
Object A2 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A2"
EndBody
EndObject
Object A3 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A3"
EndBody
EndObject
Object A4 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A4"
EndBody
EndObject
Object A5 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A5"
EndBody
EndObject
Object A6 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A6"
EndBody
EndObject
Object A7 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A7"
EndBody
EndObject
Object A8 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A8"
EndBody
EndObject
Object d1 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d1"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d2 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d2"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d3 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d3"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d4 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d4"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d5 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d5"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d6 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d6"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d7 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d7"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d8 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d8"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object OA1 $Output 18
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA1"
EndBody
EndObject
Object OA2 $Output 19
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA2"
EndBody
EndObject
Object OA3 $Output 20
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA3"
EndBody
EndObject
Object OA4 $Output 21
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA4"
EndBody
EndObject
Object OA5 $Output 22
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA5"
EndBody
EndObject
Object OA6 $Output 23
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA6"
EndBody
EndObject
Object OA7 $Output 24
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA7"
EndBody
EndObject
Object OA8 $Output 25
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA8"
EndBody
EndObject
Object od1 $Output 26
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od1"
EndBody
EndObject
Object od2 $Output 27
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od2"
EndBody
EndObject
Object od3 $Output 28
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od3"
EndBody
EndObject
Object od4 $Output 29
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od4"
EndBody
EndObject
Object od5 $Output 30
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od5"
EndBody
EndObject
Object od6 $Output 31
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od6"
EndBody
EndObject
Object od7 $Output 32
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od7"
EndBody
EndObject
Object od8 $Output 33
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od8"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 17
Attr parameters[1] = 0
Attr parameters[2] = 16
Attr parameters[3] = 0
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr subwindows = 1
Attr graphmethod = 2
Attr graphindex = 0
Attr default_mask[0] = 2
Attr default_mask[1] = 1
Attr segname_annotation = 3
Attr devbody_annotation = 1
Attr compmethod = 53
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Func"
Attr graphname = "Func"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Function $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr NiNaAnnot = 1
EndBody
EndObject
EndObject
!
! Template object
!
Object Template Func
Body RtBody
Attr Condition = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_funcextend.wb_load -- Defines the class FuncExtend.
!
SObject NMps:Class
Object FuncExtend $ClassDef 22
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "FuncExtend"
EndBody
Object A1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A1"
EndBody
EndObject
Object A2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A2"
EndBody
EndObject
Object A3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A3"
EndBody
EndObject
Object A4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A4"
EndBody
EndObject
Object A5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A5"
EndBody
EndObject
Object A6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A6"
EndBody
EndObject
Object A7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A7"
EndBody
EndObject
Object A8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A8"
EndBody
EndObject
Object d1 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d1"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d2 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d2"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d3 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d3"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d4 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d4"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d5 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d5"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d6 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d6"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d7 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d7"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object d8 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d8"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object OA1 $Output 17
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA1"
EndBody
EndObject
Object OA2 $Output 18
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA2"
EndBody
EndObject
Object OA3 $Output 19
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA3"
EndBody
EndObject
Object OA4 $Output 20
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA4"
EndBody
EndObject
Object OA5 $Output 21
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA5"
EndBody
EndObject
Object OA6 $Output 22
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA6"
EndBody
EndObject
Object OA7 $Output 23
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA7"
EndBody
EndObject
Object OA8 $Output 24
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA8"
EndBody
EndObject
Object od1 $Output 25
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od1"
EndBody
EndObject
Object od2 $Output 26
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od2"
EndBody
EndObject
Object od3 $Output 27
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od3"
EndBody
EndObject
Object od4 $Output 28
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od4"
EndBody
EndObject
Object od5 $Output 29
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od5"
EndBody
EndObject
Object od6 $Output 30
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od6"
EndBody
EndObject
Object od7 $Output 31
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od7"
EndBody
EndObject
Object od8 $Output 32
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od8"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 16
Attr parameters[1] = 0
Attr parameters[2] = 16
Attr parameters[3] = 0
Attr graphmethod = 2
Attr graphindex = 0
Attr default_mask[0] = 2
Attr default_mask[1] = 1
Attr segname_annotation = 3
Attr devbody_annotation = 1
Attr compmethod = 53
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "FuncExtend"
Attr graphname = "FuncExtend"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object FuncObject $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr NiNaAnnot = 1
EndBody
EndObject
Object Index $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template FuncExtend
Body DevBody
Attr Index = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_funcinput.wb_load -- Defines the class FuncInput.
!
SObject NMps:Class
Object FuncInput $ClassDef 23
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "FuncInput"
EndBody
Object A1 $Output 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A1"
EndBody
EndObject
Object A2 $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A2"
EndBody
EndObject
Object A3 $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A3"
EndBody
EndObject
Object A4 $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A4"
EndBody
EndObject
Object A5 $Output 5
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A5"
EndBody
EndObject
Object A6 $Output 6
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A6"
EndBody
EndObject
Object A7 $Output 7
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A7"
EndBody
EndObject
Object A8 $Output 8
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "A8"
EndBody
EndObject
Object d1 $Output 9
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d1"
EndBody
EndObject
Object d2 $Output 10
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d2"
EndBody
EndObject
Object d3 $Output 11
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d3"
EndBody
EndObject
Object d4 $Output 12
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d4"
EndBody
EndObject
Object d5 $Output 13
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d5"
EndBody
EndObject
Object d6 $Output 14
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d6"
EndBody
EndObject
Object d7 $Output 15
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d7"
EndBody
EndObject
Object d8 $Output 16
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "d8"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 16
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 54
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "FuncIn"
Attr graphname = "FuncIn"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object Index $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_funcoutput.wb_load -- Defines the class FuncOutput.
!
SObject NMps:Class
Object FuncOutput $ClassDef 24
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "FuncOutput"
EndBody
Object OA1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA1"
EndBody
EndObject
Object OA2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA2"
EndBody
EndObject
Object OA3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA3"
EndBody
EndObject
Object OA4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA4"
EndBody
EndObject
Object OA5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA5"
EndBody
EndObject
Object OA6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA6"
EndBody
EndObject
Object OA7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA7"
EndBody
EndObject
Object OA8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "OA8"
EndBody
EndObject
Object od1 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od1"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od2 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od2"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od3 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od3"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od4 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od4"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od5 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od5"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od6 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od6"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od7 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od7"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object od8 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "od8"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 16
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 54
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "FuncOut"
Attr graphname = "FuncOut"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object Index $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_getdap.wb_load -- Defines the class GetDap.
!
SObject NMps:Class
!/**
! @Group MaterialPlanning,Plc
!
! Note! Obsolete since V5.2
! Replaced by GetDataRefp.
!*/
Object GetDap $ClassDef 19
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
EndBody
!
! GETDAP Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GetDap"
EndBody
Object OutDataP $Output 1
Body SysBody
Attr PgmName = "OutDataP"
Attr TypeRef = "pwrs:Type-$Void"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OutData_ObjId $Intern 2
Body SysBody
Attr PgmName = "OutData_ObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
!
! GETDAP Development Body
!
Object DevBody $ObjBodyDef 2
Object DataObject $Intern 1
Body SysBody
Attr PgmName = "DataObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
Object Parameter $Intern 2
Body SysBody
Attr PgmName = "Parameter"
Attr TypeRef = "pwrs:Type-$String80"
Attr NiNaAnnot = 2
EndBody
EndObject
Object DataObjectSegments $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 = 234
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 52
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 0
Attr executeordermethod = 2
Attr objname = "GetDap"
Attr graphname = "Dap"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template GetDap
Body DevBody
Attr DataObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_getobjid.wb_load -- Defines the class GetObjid.
!
SObject NMps:Class
!/**
! @Group Plc
!*/
Object GetObjid $ClassDef 13
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GetObjid"
EndBody
Object Out $Output 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "Out"
EndBody
EndObject
Object Objid $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object Object $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
Object ObjectSegments $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 233
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 49
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr objname = "GetO"
Attr graphname = "GetO"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template GetObjid
Body DevBody
Attr ObjectSegments = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_getobjidp.wb_load -- Defines the class GetObjidp.
!
SObject NMps:Class
!/**
! @Group Plc
!*/
Object GetObjidp $ClassDef 20
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
EndBody
!
! GETDAP Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GetObjidp"
EndBody
Object ObjId $Output 1
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
!
! GETDAP Development Body
!
Object DevBody $ObjBodyDef 2
Object Object $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
Object Parameter $Intern 2
Body SysBody
Attr PgmName = "Parameter"
Attr TypeRef = "pwrs:Type-$String80"
Attr NiNaAnnot = 2
EndBody
EndObject
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] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 52
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 0
Attr executeordermethod = 2
Attr objname = "GetObjidp"
Attr graphname = "Objp"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template GetObjidp
Body DevBody
Attr ObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_loctrans.wb_load -- Defines the class LocTrans.
!
SObject NMps:Class
!
! LocTrans - Local Trans descripton
!
Object LocTrans $ClassDef 49
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! RemTrans Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "LocTrans"
EndBody
!
! Parameter Description
!
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!
! Parameter DataValid
!
Object DataValid $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
EndObject ! $ClassDef
EndSObject ! SObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_mirrorconfig.wb_load -- Defines the class NMpsMirrorConfig.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Group MaterialPlanning,Servers,NodeConfiguration
! @Summary Configuration of the NMpsMirror function.
! Configuration of the NMpsMirror function, i.e. mirroring of cell
! and data objects.
!
! @b See also
! @classlink NMpsMirrorCell nmps_nmpsmirrorcell.html
!*/
Object NMpsMirrorConfig $ClassDef 32
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsMirrorConfig"
EndBody
!/**
! Cycle time for the mirror server.
!*/
Object ScanTime $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Number of found NMpsMirrorCell objects.
!*/
Object MirrorCellCount $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of initiated NMpsMirrorCell objects.
!*/
Object MirrorCellInitCount $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of mirrored cell objects.
!*/
Object OrigCellCount $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of mirrored cell objects, that is mirrored
! from a remote node.
!*/
Object RemoteOrigCellCount $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of mirrored cell with no contact.
!*/
Object OrigCellDownCount $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of handled data object.
!*/
Object DataObjectCount $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data object that is converted.
!*/
Object ConvertDataCount $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data object that is mirrored from a remote node.
!*/
Object RemoteDataCount $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of remote data objects with lost contact.
!*/
Object RemoteDataDownCount $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data objects that is removed from the original cell,
! but is keps due to that the ReleaseTime for the NMpsMirrorCell
! has not expired yet.
!*/
Object PendingRemoveDataCount $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data objects remove from the mirroring function.
!*/
Object RemoveDataCount $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data object created in rtdb by the mirroring function.
!*/
Object CreateDataCount $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data object deleted from rtdb by the mirroring function.
!*/
Object DeleteDataCount $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of data objects with lost and resumed contact.
!*/
Object ReconnectDataCount $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Loop counger for the mirror server.
!*/
Object LoopCount $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! If Initialize is set, it forces an initialization of the mirror function.
! This might be required after a soft restart.
!*/
Object Initialize $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsMirrorConfig
Body RtBody
Attr ScanTime = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_nmpsbackupconfig.wb_load -- Defines the class NMpsBackupConfig.
!
SObject NMps:Class
!/**
! @Group MaterialPlanning,Servers,NodeConfiguration
!*/
!
Object NMpsBackupConfig $ClassDef 29
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsBackupConfig"
EndBody
Object FullCycleTime $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object IncrementCycleTime $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object BackupFile $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
Object BackupOn $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
Object NoRead $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
Object LastFullBackup $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object LastIncrementBackup $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CellCount $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCount $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object LoopCount $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object FullLoopCount $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object IncrementLoopCount $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ReloadFailure $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object File1OpenCount $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object File1WriteErrorCount $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object File2OpenCount $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object File2WriteErrorCount $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Initialize $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ForceFullBackup $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsBackupConfig
Body RtBody
Attr FullCycleTime = 30
Attr IncrementCycleTime = 1
Attr BackupOn = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpscell.wb_load -- Defines the class NMpsCell.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects.
!
! The NMpsCell object is a container for data objects.
! @image orm_nmpscell_fo.gif
! The cell contains a number of positions to store references to data objects.
! The positions are numbered from 1. Every position contains a pointer to
! the data object, objid for the object, two boolean that marks if the rear
! or front is inside the cell, and finally a directlink id.
!
! The first inserted data object is always placed in position 1. When more
! objects are inserted at the front end of the cell, they are inserted at
! position 1 and the other data object are shifted downwards in the cell.
!
! Data object can also be inserted at the rear end of the cell. In this case
! it is positioned in the free position with lowest index.
!
! Data objects can be inserted
!
! 1. by a connected transport object (NMpsTrp, NMpsTrpRR or NMpsTrpFF). A transport
! object can insert an object at the front or rear end of the cell.
! 2. by the extern function. This is used by application programs. An data object can
! be inserted at arbitrary position.
!
! @b Subwindow
! A subwindow to a NMpsCell object is used, when the same operation should be
! executed for all the data objects in the cell. The code of the subwindow will,
! during one plc scan, be executed
!
! - one time for initiation
! - one time for each data object in the cell.
!
! The data objects are refered to with the CurrentData object. You can also use
! the CurrentIndex object, which gives the index of the current data object.
! During the initiation phase, CurrentData and CurrentIndex is zero.
!
! Since the subwindow is executed several times in the same plc scan, it should
! not contain objects with state attributes.
!
! @b See also
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsCell $ClassDef 1
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsCell"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-CellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object in index 1.
!*/
Object Data1P $Output 53
Body SysBody
Attr PgmName = "Data1P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object in index 1 is inside the cell.
!*/
Object Data1_Front $Intern 55
Body SysBody
Attr PgmName = "Data1_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object in index 1 is inside the cell.
!*/
Object Data1_Back $Intern 56
Body SysBody
Attr PgmName = "Data1_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Dlid $Intern 57
Body SysBody
Attr PgmName = "Data1_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Select $Intern 58
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_SelectOld $Intern 59
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2P $Output 60
Body SysBody
Attr PgmName = "Data2P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D2"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data2_Front $Intern 62
Body SysBody
Attr PgmName = "Data2_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Back $Intern 63
Body SysBody
Attr PgmName = "Data2_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Dlid $Intern 64
Body SysBody
Attr PgmName = "Data2_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Select $Intern 65
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_SelectOld $Intern 66
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3P $Output 67
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D3"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data3_Front $Intern 69
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Back $Intern 70
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Dlid $Intern 71
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Select $Intern 72
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_SelectOld $Intern 73
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4P $Output 74
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D4"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data4_Front $Intern 76
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Back $Intern 77
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Dlid $Intern 78
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Select $Intern 79
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_SelectOld $Intern 80
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5P $Output 81
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D5"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data5_Front $Intern 83
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Back $Intern 84
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Dlid $Intern 85
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Select $Intern 86
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_SelectOld $Intern 87
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6P $Output 88
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D6"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data6_Front $Intern 90
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Back $Intern 91
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Dlid $Intern 92
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Select $Intern 93
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_SelectOld $Intern 94
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7P $Output 95
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D7"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data7_Front $Intern 97
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Back $Intern 98
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Dlid $Intern 99
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Select $Intern 100
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_SelectOld $Intern 101
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8P $Output 102
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D8"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data8_Front $Intern 104
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Back $Intern 105
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Dlid $Intern 106
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Select $Intern 107
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_SelectOld $Intern 108
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9P $Intern 109
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data9_Front $Intern 111
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Back $Intern 112
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Dlid $Intern 113
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Select $Intern 114
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_SelectOld $Intern 115
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10P $Intern 116
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data10_Front $Intern 118
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Back $Intern 119
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Dlid $Intern 120
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Select $Intern 121
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_SelectOld $Intern 122
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11P $Intern 123
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data11_Front $Intern 125
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Back $Intern 126
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Dlid $Intern 127
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Select $Intern 128
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_SelectOld $Intern 129
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12P $Intern 130
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data12_Front $Intern 132
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Back $Intern 133
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Dlid $Intern 134
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Select $Intern 135
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_SelectOld $Intern 136
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13P $Intern 137
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data13_Front $Intern 139
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Back $Intern 140
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Dlid $Intern 141
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Select $Intern 142
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_SelectOld $Intern 143
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14P $Intern 144
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data14_Front $Intern 146
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Back $Intern 147
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Dlid $Intern 148
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Select $Intern 149
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_SelectOld $Intern 150
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15P $Intern 151
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data15_Front $Intern 153
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Back $Intern 154
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Dlid $Intern 155
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Select $Intern 156
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_SelectOld $Intern 157
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16P $Intern 158
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data16_Front $Intern 160
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Back $Intern 161
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Dlid $Intern 162
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Select $Intern 163
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_SelectOld $Intern 164
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17P $Intern 165
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data17_Front $Intern 167
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Back $Intern 168
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Dlid $Intern 169
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Select $Intern 170
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_SelectOld $Intern 171
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18P $Intern 172
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data18_Front $Intern 174
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Back $Intern 175
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Dlid $Intern 176
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Select $Intern 177
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_SelectOld $Intern 178
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19P $Intern 179
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data19_Front $Intern 181
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Back $Intern 182
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Dlid $Intern 183
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Select $Intern 184
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_SelectOld $Intern 185
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20P $Intern 186
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data20_Front $Intern 188
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Back $Intern 189
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Dlid $Intern 190
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Select $Intern 191
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_SelectOld $Intern 192
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21P $Intern 193
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data21_Front $Intern 195
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Back $Intern 196
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Dlid $Intern 197
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Select $Intern 198
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_SelectOld $Intern 199
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22P $Intern 200
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data22_Front $Intern 202
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Back $Intern 203
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Dlid $Intern 204
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Select $Intern 205
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_SelectOld $Intern 206
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23P $Intern 207
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data23_Front $Intern 209
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Back $Intern 210
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Dlid $Intern 211
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Select $Intern 212
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_SelectOld $Intern 213
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24P $Intern 214
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data24_Front $Intern 216
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Back $Intern 217
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Dlid $Intern 218
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Select $Intern 219
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_SelectOld $Intern 220
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25P $Intern 221
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data25_Front $Intern 223
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Back $Intern 224
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Dlid $Intern 225
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Select $Intern 226
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_SelectOld $Intern 227
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26P $Intern 228
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data26_Front $Intern 230
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Back $Intern 231
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Dlid $Intern 232
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Select $Intern 233
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_SelectOld $Intern 234
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27P $Intern 235
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data27_Front $Intern 237
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Back $Intern 238
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Dlid $Intern 239
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Select $Intern 240
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_SelectOld $Intern 241
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28P $Intern 242
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data28_Front $Intern 244
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Back $Intern 245
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Dlid $Intern 246
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Select $Intern 247
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_SelectOld $Intern 248
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29P $Intern 249
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data29_Front $Intern 251
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Back $Intern 252
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Dlid $Intern 253
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Select $Intern 254
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_SelectOld $Intern 255
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30P $Intern 256
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data30_Front $Intern 258
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Back $Intern 259
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Dlid $Intern 260
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Select $Intern 261
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_SelectOld $Intern 262
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 220
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "Cell"
Attr graphname = "Cell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsCell
Body RtBody
Attr MaxSize = 8
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpscell120.wb_load -- Defines the class NMpsCell120.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects.
!
! The NMpsCell object is a container for data objects.
! @image orm_nmpscell_fo.gif
! The cell contains a number of positions to store references to data objects.
! The positions are numbered from 1. Every position contains a pointer to
! the data object, objid for the object, two boolean that marks if the rear
! or front is inside the cell, and finally a directlink id.
!
! The first inserted data object is always placed in position 1. When more
! objects are inserted at the front end of the cell, they are inserted at
! position 1 and the other data object are shifted downwards in the cell.
!
! Data object can also be inserted at the rear end of the cell. In this case
! it is positioned in the free position with lowest index.
!
! Data objects can be inserted
!
! 1. by a connected transport object (NMpsTrp, NMpsTrpRR or NMpsTrpFF). A transport
! object can insert an object at the front or rear end of the cell.
! 2. by the extern function. This is used by application programs. An data object can
! be inserted at arbitrary position.
!
! @b Subwindow
! A subwindow to a NMpsCell object is used, when the same operation should be
! executed for all the data objects in the cell. The code of the subwindow will,
! during one plc scan, be executed
!
! - one time for initiation
! - one time for each data object in the cell.
!
! The data objects are refered to with the CurrentData object. You can also use
! the CurrentIndex object, which gives the index of the current data object.
! During the initiation phase, CurrentData and CurrentIndex is zero.
!
! Since the subwindow is executed several times in the same plc scan, it should
! not contain objects with state attributes.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsCell120 $ClassDef 55
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsCell120"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-CellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data link array.
!*/
Object Data $Intern 53
Body SysBody
Attr PgmName = "Data"
Attr TypeRef = "Nmps:Class-NMpsCellData"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_CLASS
Attr Elements = 120
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 220
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "Cell"
Attr graphname = "Cell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsCell120
Body RtBody
Attr MaxSize = 120
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpscell60.wb_load -- Defines the class NMpsCell60.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects.
!
! The NMpsCell object is a container for data objects.
! @image orm_nmpscell_fo.gif
! The cell contains a number of positions to store references to data objects.
! The positions are numbered from 1. Every position contains a pointer to
! the data object, objid for the object, two boolean that marks if the rear
! or front is inside the cell, and finally a directlink id.
!
! The first inserted data object is always placed in position 1. When more
! objects are inserted at the front end of the cell, they are inserted at
! position 1 and the other data object are shifted downwards in the cell.
!
! Data object can also be inserted at the rear end of the cell. In this case
! it is positioned in the free position with lowest index.
!
! Data objects can be inserted
!
! 1. by a connected transport object (NMpsTrp, NMpsTrpRR or NMpsTrpFF). A transport
! object can insert an object at the front or rear end of the cell.
! 2. by the extern function. This is used by application programs. An data object can
! be inserted at arbitrary position.
!
! @b Subwindow
! A subwindow to a NMpsCell object is used, when the same operation should be
! executed for all the data objects in the cell. The code of the subwindow will,
! during one plc scan, be executed
!
! - one time for initiation
! - one time for each data object in the cell.
!
! The data objects are refered to with the CurrentData object. You can also use
! the CurrentIndex object, which gives the index of the current data object.
! During the initiation phase, CurrentData and CurrentIndex is zero.
!
! Since the subwindow is executed several times in the same plc scan, it should
! not contain objects with state attributes.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsCell60 $ClassDef 53
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsCell60"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-CellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Not used.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data link array.
!*/
Object Data $Intern 53
Body SysBody
Attr PgmName = "Data"
Attr TypeRef = "Nmps:Class-NMpsCellData"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_CLASS
Attr Elements = 60
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 220
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "Cell"
Attr graphname = "Cell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsCell60
Body RtBody
Attr MaxSize = 60
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_convconfig.wb_load -- Defines the class NMpsConvConfig.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Group MaterialPlanning
! @Summary Configuration of mirroring and conversion of data objects.
! Configuration of mirroring and conversion of data objects.
!
! When a data object is mirrored by the NMpsCellMirror function, a
! new object is created by the mirror function, and inserted into the
! mirror cell. This object can be of another class then the original
! object, and the mirroring of data from the original data object, to
! the new object is configured in a mirror configuration object.
!
! @b See also
! @classlink NMpsMirrorConfig nmps_nmpsmirrorconfig.html
!*/
Object NMpsConvConfig $ClassDef 31
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsConvConfig"
EndBody
!/**
! Class of data objects in cell objects that i mirrored.
!*/
Object InDataClass $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Class of the data object that is created by the mirror function.
!*/
Object OutDataClass $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Parent object to the created objects.
!*/
Object OutDataParent $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Start offset in the original data object of the data area that is
! copied to the new data object.
!*/
Object CopyOffset $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Offset in the new object where the copied data area is placed.
!*/
Object PasteOffset $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Size in bytes of the copied data area.
!*/
Object CopySize $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Not used.
!*/
Object UpdateTime $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsConvConfig
Body RtBody
Attr UpdateTime = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_nmpsmirrorcell.wb_load -- Defines the class NMpsMirrorCell.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Mirror the contents of cell objects.
!
! The NMpsMirrorCell object mirrors the content of one or a number of cell objects.
! @image orm_nmpsmirrorcell_fo.gif
! The mirrored cells can reside in the same node, or in another node. Also the data
! objects and selected parts of the content of the data objects can be mirrored. Se
! the MmpsMirrorConfig object for configuration of the mirror function.
!
! @b See also
! @classlink NMpsMirrorConfig nmps_nmpsmirrorconfig.html
! @classlink NMpsCell nmps_nmpscell.html
!*/
Object NMpsMirrorCell $ClassDef 30
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsMirrorCell"
EndBody
!/**
! Cell objects that is mirrored. The objects can reside on another node.
!*/
Object CellObjects $Intern 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
!/**
! Number of mirrored cell objects
!*/
Object NumberOfCellObj $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Specifies that converted data objects, whose original objects
! is removed from the mirrored cells, are to be collected into a
! collect cell.
!*/
Object DataCollect $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Cell that converted data objects, whose original objects is
! remove from the mirrored cells, are inserted into.
!*/
Object CollectCell $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Specifies that the data objects is converted and mirrored.
!*/
Object DataObjConv $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Configuration object that specifies the mirroring and conversion of data objects.
!*/
Object ConvConfig $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Time in seconds that a disappeared data object is kept by the mirroring function.
! When mirroring between nodes, an data object could for a short time disappear, during
! the transportation between two cells. As the converted object is kept, the connection
! with the original data object will be resumed.
!*/
Object ReleaseTime $Intern 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object UpdateTime $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Max number of data objects in the cell. Maximium value is 30.
!*/
Object MaxSize $Intern 9
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! Not implemented.
!*/
Object Function $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object UpdateFlag $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InitFlag $Intern 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ResetObject $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetObjectP $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Indicates that the cell is full.
!*/
Object CellFull $Output 15
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
Object LastIndex $Intern 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 17
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DataLast_Dlid $Intern 19
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 20
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Idx $Intern 22
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNow $Intern 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ReloadDone $Intern 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object MirrorRestart $Intern 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object in index 1.
!*/
Object Data1P $Output 28
Body SysBody
Attr PgmName = "Data1P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data1_Dlid $Intern 30
Body SysBody
Attr PgmName = "Data1_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2P $Output 31
Body SysBody
Attr PgmName = "Data2P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D2"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data2_Dlid $Intern 33
Body SysBody
Attr PgmName = "Data2_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3P $Output 34
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D3"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data3_Dlid $Intern 36
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4P $Output 37
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D4"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data4_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5P $Output 40
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D5"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data5_Dlid $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6P $Output 43
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D6"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data6_Dlid $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7P $Output 46
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D7"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data7_Dlid $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8P $Output 49
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D8"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data8_Dlid $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9P $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data9_Dlid $Intern 54
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10P $Intern 55
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data10_Dlid $Intern 57
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11P $Intern 58
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data11_Dlid $Intern 60
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12P $Intern 61
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data12_Dlid $Intern 63
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13P $Intern 64
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data13_Dlid $Intern 66
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14P $Intern 67
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data14_Dlid $Intern 69
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15P $Intern 70
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data15_Dlid $Intern 72
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16P $Intern 73
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data16_Dlid $Intern 75
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17P $Intern 76
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data17_Dlid $Intern 78
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18P $Intern 79
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data18_Dlid $Intern 81
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19P $Intern 82
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data19_Dlid $Intern 84
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20P $Intern 85
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data20_Dlid $Intern 87
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21P $Intern 88
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data21_Dlid $Intern 90
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22P $Intern 91
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data22_Dlid $Intern 93
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23P $Intern 94
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data23_Dlid $Intern 96
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24P $Intern 97
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data24_Dlid $Intern 99
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25P $Intern 100
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data25_Dlid $Intern 102
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26P $Intern 103
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data26_Dlid $Intern 105
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27P $Intern 106
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data27_Dlid $Intern 108
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28P $Intern 109
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data28_Dlid $Intern 111
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29P $Intern 112
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data29_Dlid $Intern 114
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30P $Intern 115
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data30_Dlid $Intern 117
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object TempLastIndex $Intern 118
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object TempArea $Intern 119
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 270
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
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] = 0
Attr parameters[1] = 0
Attr parameters[2] = 8
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "MirrorCell"
Attr graphname = "MirrorCell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsMirrorCell
Body RtBody
Attr MaxSize = 8
Attr UpdateTime = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpsoutcell.wb_load -- Defines the class NMpsOutCell.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary End station in a NMpsCell sequence.
!
! The NMpsOutCell object is the end station in a NMpsCell sequence.
! @image orm_nmpsoutcell_fo.gif
! A data object transported into an outcell i removed from the sequence.
! The NMpsOutCell does not handle front and back of data objects. Transport objects
! connected to the cell should have function 1 or 2.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink NMpsTrp nmps_nmpstrp.html
!*/
Object NMpsOutCell $ClassDef 3
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsOutCell"
EndBody
!/**
! Connection to a transport object, NMpsTrp.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 0 A data object that is transported to the cell, is removed from the cell
! sequence, but remains in the database.
!
! 4 A data object that is transported to the cell, is removed from the cell
! sequence, and also remove from the database.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-OutCellFunctionMask"
EndBody
EndObject
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ReleaseAppl $Intern 60
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CellFull $Intern 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1P $Output 53
Body SysBody
Attr PgmName = "Data1P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data1_Front $Intern 55
Body SysBody
Attr PgmName = "Data1_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Back $Intern 56
Body SysBody
Attr PgmName = "Data1_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Dlid $Intern 57
Body SysBody
Attr PgmName = "Data1_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Select $Intern 58
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_SelectOld $Intern 59
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 231
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 6
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "OutCell"
Attr graphname = "OutCell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsOutCell
Body RtBody
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpsstorecell.wb_load -- Defines the class NMpsStoreCell.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects with select function.
!
! The NMpsStoreCell object is a container for data objects similar to the
! NmpsCell object.
! @image orm_nmpsstorecell_fo.gif
! The differencs is that the NMpsStoreCell has a select
! function for each data object in the cell. When an object is transported
! from the cell at the rear end, the currently selected object will be
! transported. If no object is selected, the object with highest index is
! transported.
!
! A data object is selected by setting the Select attribute for the
! index of the data object. This can be done from an application or from
! the MMI. You can also select an data object with the extern fuction, by
! entering the objid for the data object.
!
! In the Function attribute, the number of currently selected objects can
! be specified to at most one, or exactly one.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsStoreCell $ClassDef 2
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsStoreCell"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 0 No limitations in the number of selected objects.
!
! 1 At most one selected object.
! If a new object is selected, the previously selected object will be unselected.
!
! 2 Exactly one selected object.
! If a new object is selected, the previously selected object will be unselected.
! If the currently selected object is removed from the cell, the
! object with highest index will be selected.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-StoreCellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of selected data objects.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index of the current selected data object.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 5 Select the object with the objid specified in ExternObjid.
! 6 Insert ExternObjid into index 1 in the cell, and select it.
! 7 Remove selection of object with objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object in index 1.
!*/
Object Data1P $Output 53
Body SysBody
Attr PgmName = "Data1P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object in index 1 is inside the cell.
!*/
Object Data1_Front $Intern 55
Body SysBody
Attr PgmName = "Data1_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object in index 1 is inside the cell.
!*/
Object Data1_Back $Intern 56
Body SysBody
Attr PgmName = "Data1_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_Dlid $Intern 57
Body SysBody
Attr PgmName = "Data1_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Selection of data object.
!*/
Object Data1_Select $Intern 58
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data1_SelectOld $Intern 59
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2P $Output 60
Body SysBody
Attr PgmName = "Data2P"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D2"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data2_Front $Intern 62
Body SysBody
Attr PgmName = "Data2_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Back $Intern 63
Body SysBody
Attr PgmName = "Data2_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Dlid $Intern 64
Body SysBody
Attr PgmName = "Data2_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_Select $Intern 65
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data2_SelectOld $Intern 66
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3P $Output 67
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D3"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data3_Front $Intern 69
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Back $Intern 70
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Dlid $Intern 71
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_Select $Intern 72
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data3_SelectOld $Intern 73
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4P $Output 74
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D4"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data4_Front $Intern 76
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Back $Intern 77
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Dlid $Intern 78
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_Select $Intern 79
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data4_SelectOld $Intern 80
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5P $Output 81
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D5"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data5_Front $Intern 83
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Back $Intern 84
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Dlid $Intern 85
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_Select $Intern 86
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data5_SelectOld $Intern 87
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6P $Output 88
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D6"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data6_Front $Intern 90
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Back $Intern 91
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Dlid $Intern 92
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_Select $Intern 93
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data6_SelectOld $Intern 94
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7P $Output 95
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D7"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data7_Front $Intern 97
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Back $Intern 98
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Dlid $Intern 99
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_Select $Intern 100
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data7_SelectOld $Intern 101
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8P $Output 102
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "D8"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Data8_Front $Intern 104
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Back $Intern 105
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Dlid $Intern 106
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_Select $Intern 107
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data8_SelectOld $Intern 108
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9P $Intern 109
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data9_Front $Intern 111
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Back $Intern 112
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Dlid $Intern 113
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_Select $Intern 114
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data9_SelectOld $Intern 115
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10P $Intern 116
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data10_Front $Intern 118
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Back $Intern 119
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Dlid $Intern 120
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_Select $Intern 121
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data10_SelectOld $Intern 122
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11P $Intern 123
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data11_Front $Intern 125
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Back $Intern 126
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Dlid $Intern 127
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_Select $Intern 128
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data11_SelectOld $Intern 129
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12P $Intern 130
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data12_Front $Intern 132
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Back $Intern 133
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Dlid $Intern 134
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_Select $Intern 135
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data12_SelectOld $Intern 136
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13P $Intern 137
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data13_Front $Intern 139
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Back $Intern 140
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Dlid $Intern 141
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_Select $Intern 142
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data13_SelectOld $Intern 143
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14P $Intern 144
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data14_Front $Intern 146
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Back $Intern 147
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Dlid $Intern 148
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_Select $Intern 149
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data14_SelectOld $Intern 150
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15P $Intern 151
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data15_Front $Intern 153
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Back $Intern 154
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Dlid $Intern 155
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_Select $Intern 156
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data15_SelectOld $Intern 157
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16P $Intern 158
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data16_Front $Intern 160
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Back $Intern 161
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Dlid $Intern 162
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_Select $Intern 163
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data16_SelectOld $Intern 164
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17P $Intern 165
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data17_Front $Intern 167
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Back $Intern 168
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Dlid $Intern 169
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_Select $Intern 170
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data17_SelectOld $Intern 171
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18P $Intern 172
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data18_Front $Intern 174
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Back $Intern 175
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Dlid $Intern 176
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_Select $Intern 177
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data18_SelectOld $Intern 178
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19P $Intern 179
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data19_Front $Intern 181
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Back $Intern 182
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Dlid $Intern 183
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_Select $Intern 184
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data19_SelectOld $Intern 185
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20P $Intern 186
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data20_Front $Intern 188
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Back $Intern 189
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Dlid $Intern 190
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_Select $Intern 191
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data20_SelectOld $Intern 192
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21P $Intern 193
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data21_Front $Intern 195
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Back $Intern 196
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Dlid $Intern 197
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_Select $Intern 198
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data21_SelectOld $Intern 199
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22P $Intern 200
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data22_Front $Intern 202
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Back $Intern 203
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Dlid $Intern 204
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_Select $Intern 205
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data22_SelectOld $Intern 206
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23P $Intern 207
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data23_Front $Intern 209
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Back $Intern 210
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Dlid $Intern 211
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_Select $Intern 212
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data23_SelectOld $Intern 213
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24P $Intern 214
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data24_Front $Intern 216
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Back $Intern 217
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Dlid $Intern 218
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_Select $Intern 219
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data24_SelectOld $Intern 220
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25P $Intern 221
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data25_Front $Intern 223
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Back $Intern 224
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Dlid $Intern 225
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_Select $Intern 226
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data25_SelectOld $Intern 227
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26P $Intern 228
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data26_Front $Intern 230
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Back $Intern 231
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Dlid $Intern 232
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_Select $Intern 233
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data26_SelectOld $Intern 234
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27P $Intern 235
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data27_Front $Intern 237
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Back $Intern 238
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Dlid $Intern 239
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_Select $Intern 240
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data27_SelectOld $Intern 241
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28P $Intern 242
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data28_Front $Intern 244
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Back $Intern 245
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Dlid $Intern 246
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_Select $Intern 247
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data28_SelectOld $Intern 248
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29P $Intern 249
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data29_Front $Intern 251
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Back $Intern 252
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Dlid $Intern 253
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_Select $Intern 254
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data29_SelectOld $Intern 255
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30P $Intern 256
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Data30_Front $Intern 258
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Back $Intern 259
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Dlid $Intern 260
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_Select $Intern 261
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Data30_SelectOld $Intern 262
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 232
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "SCell"
Attr graphname = "SCell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsStoreCell
Body RtBody
Attr MaxSize = 8
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpsstorecell120.wb_load -- Defines the class NMpsStoreCell120.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects with select function.
!
! The NMpsStoreCell120 object is a container for data objects similar to the
! NmpsCell object.
! @image orm_nmpsstorecell_fo.gif
! The differencs is that the NMpsStoreCell has a select
! function for each data object in the cell. When an object is transported
! from the cell at the rear end, the currently selected object will be
! transported. If no object is selected, the object with highest index is
! transported.
!
! A data object is selected by setting the Select attribute for the
! index of the data object. This can be done from an application or from
! the MMI. You can also select an data object with the extern fuction, by
! entering the objid for the data object.
!
! In the Function attribute, the number of currently selected objects can
! be specified to at most one, or exactly one.
!
! @b See also
! @classlink NMpsStoreCell nmps_nmpscell.html
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsStoreCell120 $ClassDef 56
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsStoreCell120"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 0 No limitations in the number of selected objects.
!
! 1 At most one selected object.
! If a new object is selected, the previously selected object will be unselected.
!
! 2 Exactly one selected object.
! If a new object is selected, the previously selected object will be unselected.
! If the currently selected object is removed from the cell, the
! object with highest index will be selected.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-StoreCellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of selected data objects.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index of the current selected data object.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 5 Select the object with the objid specified in ExternObjid.
! 6 Insert ExternObjid into index 1 in the cell, and select it.
! 7 Remove selection of object with objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data link array.
!*/
Object Data $Intern 53
Body SysBody
Attr PgmName = "Data"
Attr TypeRef = "Nmps:Class-NMpsCellData"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_CLASS
Attr Elements = 120
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 232
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "SCell"
Attr graphname = "SCell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsStoreCell120
Body RtBody
Attr MaxSize = 120
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpsstorecell60.wb_load -- Defines the class NMpsStoreCell60.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Container of data objects with select function.
!
! The NMpsStoreCell60 object is a container for data objects similar to the
! NmpsCell object.
! @image orm_nmpsstorecell_fo.gif
! The differencs is that the NMpsStoreCell has a select
! function for each data object in the cell. When an object is transported
! from the cell at the rear end, the currently selected object will be
! transported. If no object is selected, the object with highest index is
! transported.
!
! A data object is selected by setting the Select attribute for the
! index of the data object. This can be done from an application or from
! the MMI. You can also select an data object with the extern fuction, by
! entering the objid for the data object.
!
! In the Function attribute, the number of currently selected objects can
! be specified to at most one, or exactly one.
!
! @b See also
! @classlink NMpsStoreCell nmps_nmpscell.html
! @classlink CurrentData nmps_currentdata.html
! @classlink CurrentIndex nmps_currentindex.html
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsStoreCell60 $ClassDef 54
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsStoreCell60"
EndBody
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
!
! Data objects transported into the cell is inserted at the front end of the cell.
! They will be inserted at first position and the other data object are
! shifted downwards in the cell.
!
! Data objects transported from the cell is fetched from the front end with
! index 1. The other data objects are shifted upward in the cell.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! @Summary Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Connection to a transport object, NMpsTrp, NMpsTrpFF or NMpsTrpRR.
! Data transported into the cell is inserted at the rear end of the cell.
! They will be inserted at first free position and the other data object
! remains their position.
!
! Data objects transported from the cell is fetched from the rear end.
! The other data object remains their position.
!*/
Object Out $Output 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Maximum number of data objects in the cell. Larges MaxSize is 30.
!*/
Object MaxSize $Intern 3
Body SysBody
Attr PgmName = "MaxSize"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! @Summary Special functions of the cell.
! Special functions of the cell.
! Function is a bitmask, and the functions can be superimposed.
!
! 0 No limitations in the number of selected objects.
!
! 1 At most one selected object.
! If a new object is selected, the previously selected object will be unselected.
!
! 2 Exactly one selected object.
! If a new object is selected, the previously selected object will be unselected.
! If the currently selected object is removed from the cell, the
! object with highest index will be selected.
!
! 4 If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!
! 8 When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!
! 16 Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Function $Intern 4
Body SysBody
Attr TypeRef = "NMps:Type-StoreCellFunctionMask"
EndBody
EndObject
!/**
! @Summary Digital object that will cause reset of the cell, i.e. all data object are removed.
! Digital object that will cause reset of the cell, i.e. all data object are removed.
! Name of an attribute of type pwr_tBoolean. When the attribute is high,
! all the data object are removed from the cell. If Function 8 is set, the objects
! is also removed from the rtdb database.
!*/
Object ResetObject $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$ObjId"
EndBody
EndObject
Object ResetObjectP $Intern 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! @Summary Flag for interaction with the nmps backup process.
! Flag for interaction with the nmps backup process.
! If the flag is set the cell is included in the next incremental backup.
!*/
Object BackupNow $Intern 48
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell i loaded from the nmps backup at startup.
!*/
Object ReloadDone $Intern 49
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with nmps applications using the NMpsAppl API.
!*/
Object ReleaseAppl $Intern 263
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag that indicates that initiation should be done.
!*/
Object InitTime $Intern 50
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object BackupNowMsg $Intern 51
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Flag for interaction with the nmps mirror handler.
!*/
Object MirrorRestart $Intern 52
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Indicates that the cell is full. Number of data objects equals MaxSize.
!*/
Object CellFull $Output 7
Body SysBody
Attr PgmName = "CellFull"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "full"
EndBody
EndObject
!/**
! Number of data objects in the cell.
!*/
Object NumberOfData $Intern 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of selected data objects.
!*/
Object DataSelected $Intern 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The last occupied index in the cell.
!*/
Object LastIndex $Intern 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index of the current selected data object.
!*/
Object SelectIndex $Intern 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at front end of cell.
! Indicates that a new object is inserted at front end of cell.
! FrontNew is true in one plc scan.
!*/
Object FrontNew $Output 12
Body SysBody
Attr PgmName = "FrontNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that a new object is inserted at rear end of cell.
! Indicates that a new object is inserted at rear end of cell.
! RearNew is true in one plc scan.
!*/
Object RearNew $Output 13
Body SysBody
Attr PgmName = "RearNew"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rnew"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InPointer $Intern 14
Body SysBody
Attr PgmName = "InPointer"
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object InObjId $Intern 15
Body SysBody
Attr PgmName = "InObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InDlid $Intern 16
Body SysBody
Attr PgmName = "InDlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InOpType $Intern 17
Body SysBody
Attr PgmName = "InOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object InFlag $Intern 18
Body SysBody
Attr PgmName = "InFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontOpType $Intern 19
Body SysBody
Attr PgmName = "OutFrontOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutFrontFlag $Intern 20
Body SysBody
Attr PgmName = "OutFrontFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearOpType $Intern 21
Body SysBody
Attr PgmName = "OutRearOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object OutRearFlag $Intern 22
Body SysBody
Attr PgmName = "OutRearFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Objid for a data object that is inserted from an extern program.
!*/
Object ExternObjId $Intern 23
Body SysBody
Attr PgmName = "ExternObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Type of extern operation.
! Type of extern operation.
!
! 0 Insert ExternObjid into index 1 in the cell.
! 1 Insert ExternObjid into the index specified in ExternIndex.
! 2 Remove the object in index 1 in the cell.
! 3 Remove the object in the index specified in ExternIndex.
! 4 Remove the object with the objid specified in ExternObjid.
! 5 Select the object with the objid specified in ExternObjid.
! 6 Insert ExternObjid into index 1 in the cell, and select it.
! 7 Remove selection of object with objid specified in ExternObjid.
! 8 Move the object specified in ExternObjid one step forward in the cell
! (to higher index).
! 9 Move the object specified in ExternObjid one step backwards in the cell
! (to lower index).
! 10 Remove the object with the objid specified in ExternObjid. The object
! is not remove from the database, even if Function 4 is specified.
!*/
Object ExternOpType $Intern 24
Body SysBody
Attr PgmName = "ExternOpType"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary Indicates that an extern function should be executed.
! Indicates that an extern function shoud be executed.
! When an application wan't to execute an extern function, it should
! first fill in the other extern attributes and the the ExternFlag.
! If there is a chance of collision between application programs,
! you should check that ExternFlag is not already set.
! The ExternFlag is reset by the cell when the extern function is finished.
!*/
Object ExternFlag $Intern 25
Body SysBody
Attr PgmName = "ExternFlag"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Index in the cell where an object is to be inserted or remove.
!*/
Object ExternIndex $Intern 26
Body SysBody
Attr PgmName = "ExternIndex"
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Status of the last executed extern operation.
!*/
Object ExternStatus $Intern 27
Body SysBody
Attr PgmName = "ExternStatus"
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLP $Intern 28
Body SysBody
Attr PgmName = "DataLP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataL_Front $Intern 30
Body SysBody
Attr PgmName = "DataL_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Back $Intern 31
Body SysBody
Attr PgmName = "DataL_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Dlid $Intern 32
Body SysBody
Attr PgmName = "DataL_Dlid"
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_Select $Intern 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataL_SelectOld $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 35
Body SysBody
Attr PgmName = "DataLastP"
Attr TypeRef = "pwrs:Type-$DataRef"
Attr GraphName = "DL"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! True if the front of the data object with highest index is inside the cell.
!*/
Object DataLast_Front $Intern 37
Body SysBody
Attr PgmName = "DataLast_Front"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! True if the back of the data object with highest index is inside the cell.
!*/
Object DataLast_Back $Intern 38
Body SysBody
Attr PgmName = "DataLast_Back"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Dlid $Intern 39
Body SysBody
Attr TypeRef = "pwrs:Type-$RefId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_Select $Intern 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataLast_SelectOld $Intern 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrentP $Intern 42
Body SysBody
Attr TypeRef = "pwrs:Type-$DataRef"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataCurrent_Front $Intern 44
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object DataCurrent_Back $Intern 45
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object Idx $Intern 46
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt16"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
Object CurrentIndex $Intern 47
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data link array.
!*/
Object Data $Intern 53
Body SysBody
Attr PgmName = "Data"
Attr TypeRef = "Nmps:Class-NMpsCellData"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_CLASS
Attr Elements = 60
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 232
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 14
Attr parameters[3] = 0
Attr subwindows = 1
Attr subwindow_class[0] = "pwrb:Class-WindowPlc"
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 3
Attr segname_annotation = 1
Attr compmethod = 46
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 8
Attr objname = "SCell"
Attr graphname = "SCell"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsStoreCell60
Body RtBody
Attr MaxSize = 60
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_c_nmpstransconfig.wb_load -- Defines the class NMpsTransConfig.
!
SObject NMps:Class
!/**
! @Group Servers,NodeConfiguration
!*/
Object NMpsTransConfig $ClassDef 43
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsTransConfig"
EndBody
Object CycleTime $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object RequestObjects $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object RequestSent $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object RequestReceived $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Initialize $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object LoopCount $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsTransConfig
Body RtBody
Attr CycleTime = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpstrp.wb_load -- Defines the class NMpsTrp.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Transport of dataobjects between NMpsCell objects.
!
! Transport of dataobject between NMpsCell objects.
! @image orm_nmpstrp_fo.gif
! The NMpsTrp object is connected to two cell objects, of type NMpsCell,
! NMpsStoreCell or NMpsOutCell. The upper connection pin is connected to
! the rear end of one cell, and the lower connection pin is connected to
! the front end of the other cell.
! When the transport is triggered, an object (or part of an object) is transported
! from one cell to the other.
!
! There are a number of different types of transportations
! - The whole object is transported.
! - First the front end is transported, and later the rear end (or vice versa).
! - All the data objects in the source cell are transported to the target cell.
! - All the data objects are transported, but only if the target cell is empty.
!
! A transport can be forward or reverse, e.i. from the upper cell to the lower, or
! from the lower cell to the upper.
!
! The dataobject can be divided in front and back, where in the case of a forward
! transportation, the front is moved first, and the back later. In a reverse transport,
! the back is moved first, and the front later. The transportation of front and back
! is controlled by different trigg inputs.
!
! @b See also
! @classlink NMpsCell nmps_nmpscell.html
! @classlink NMpsStoreCell nmps_nmpsstorecell.html
! @classlink NMpsOutCell nmps_nmpsoutcell.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
!*/
Object NMpsTrp $ClassDef 4
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsTrp"
EndBody
!/**
! Connection to the rear end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the front end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Transport a dataobject in forward direction. If Function is 0 only front is transported.
!*/
Object TriggForwFront $Input 3
Body SysBody
Attr PgmName = "TriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "f"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in forward direction. Valid if Function is 0.
!*/
Object TriggForwBack $Input 4
Body SysBody
Attr PgmName = "TriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport a dataobject in reverse direction. If Function is 0 only front is transported.
!*/
Object TriggReverseFront $Input 5
Body SysBody
Attr PgmName = "TriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "r"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in reverse direction. Valid if Function is 0.
!*/
Object TriggReverseBack $Input 6
Body SysBody
Attr PgmName = "TriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! @Summary True if a transportation failed.
! True if a transportation failed. A transport will fail if
! - the source cell is empty.
! - the target cell is full.
! - a front trigg is detected when a back trigg is expected.
! - a back trigg is detected when a front trigg is expected.
!*/
Object Status $Output 7
Body SysBody
Attr PgmName = "Status"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! @Summary Transport function.
! Transport function.
!
! 0 An object is transported in two part, front and back.
! - When a trigg on TriggForwFront is detected, the front of an object is
! moved from the cell connected to In, to the cell connected to Out.
! - When a trigg on TriggForwBack is detected, the back of an object is moved
! from the In cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the front of an object is moved
! from the Out cell to the In cell.
! - When a trigg on TriggReverseBack is detected, the back of an object is moved
! from the Out cell to the In cell.
!
! 1 An object is transported between the cells.
! Only the TriggForwFront and TriggReverseFront inputs should be used to move an object.
! - When a trigg on TriggForwFront is detected, the object is moved from the In
! cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the object is moved from the
! Out cell to the In cell.
!
! 2 All the objects in the source cell are transported.
! - When a trigg on TriggForwFront is detected, all the objects in the In cell are moved
! to the Out cell.
! - When a trigg on TriggReverseFront is detected, all the objects in the Out cell are
! moved to the In cell.
!
! 4 The same function as 2, with the differece that the transport is executed only
! if the target cell is empty.
!
! 8 The trigg inputs are reseted, if they are not connected.
!
! 16 Trigg is detected on level instead of edge.
!*/
Object Function $Intern 8
Body SysBody
Attr PgmName = "Function"
Attr TypeRef = "NMps:Type-TrpFunctionMask"
EndBody
EndObject
Object OldTriggForwFront $Intern 9
Body SysBody
Attr PgmName = "OldTriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggForwBack $Intern 10
Body SysBody
Attr PgmName = "OldTriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseFront $Intern 11
Body SysBody
Attr PgmName = "OldTriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseBack $Intern 12
Body SysBody
Attr PgmName = "OldTriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllForward $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllReverse $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 223
Attr parameters[0] = 6
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 41
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 9
Attr objname = "Trp"
Attr graphname = "Trp"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsTrp
Body RtBody
Attr Function = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpstrpff.wb_load -- Defines the class NMpsTrpFF.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Transport of dataobjects between front ends of NMpsCell objects.
!
! Transport of dataobject between the front ends of two NMpsCell objects.
! @image orm_nmpstrpff_fo.gif
! The NMpsTrpRR object is connected to two cell objects, of type NMpsCell,
! NMpsStoreCell or NMpsOutCell. Both connection pins are connected to
! the front ends of the cells.
! When the transport is triggered, an object is transported from
! the front end of the source cell, to the front end of the target cell.
!
! A transport can be forward or reverse, e.i. from the cell connected to the left input
! to the cell connectedt to the right input, or vice versa.
!
! @b See also
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpRR nmps_nmpstrprr.html
! @classlink NMpsCell nmps_nmpscell.html
! @classlink NMpsStoreCell nmps_nmpsstorecell.html
!*/
Object NMpsTrpFF $ClassDef 6
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsTrpFF"
EndBody
!/**
! Connection to the front end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 2
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the front end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Transport a dataobject in forward direction. If Function is 0 only front is transported.
!*/
Object TriggForwFront $Input 3
Body SysBody
Attr PgmName = "TriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "f"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in forward direction. Valid if Function is 0.
!*/
Object TriggForwBack $Input 4
Body SysBody
Attr PgmName = "TriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport a dataobject in reverse direction. If Function is 0 only front is transported.
!*/
Object TriggReverseFront $Input 5
Body SysBody
Attr PgmName = "TriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "r"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in reverse direction. Valid if Function is 0.
!*/
Object TriggReverseBack $Input 6
Body SysBody
Attr PgmName = "TriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! @Summary True if a transportation failed.
! True if a transportation failed. A transport will fail if
! - the source cell is empty.
! - the target cell is full.
! - a front trigg is detected when a back trigg is expected.
! - a back trigg is detected when a front trigg is expected.
!*/
Object Status $Output 7
Body SysBody
Attr PgmName = "Status"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! @Summary Transport function.
! Transport function.
!
! 0 An object is transported in two part, front and back.
! - When a trigg on TriggForwFront is detected, the front of an object is
! moved from the cell connected to In, to the cell connected to Out.
! - When a trigg on TriggForwBack is detected, the back of an object is moved
! from the In cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the front of an object is moved
! from the Out cell to the In cell.
! - When a trigg on TriggReverseBack is detected, the back of an object is moved
! from the Out cell to the In cell.
!
! 1 An object is transported between the cells.
! Only the TriggForwFront and TriggReverseFront inputs should be used to move an object.
! - When a trigg on TriggForwFront is detected, the object is moved from the In
! cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the object is moved from the
! Out cell to the In cell.
!
! 2 All the objects in the source cell are transported.
! - When a trigg on TriggForwFront is detected, all the objects in the In cell are moved
! to the Out cell.
! - When a trigg on TriggReverseFront is detected, all the objects in the Out cell are
! moved to the In cell.
!
! 4 The same function as 2, with the differece that the transport is executed only
! if the target cell is empty.
!
! 8 The trigg inputs are reseted, if they are not connected.
!
! 16 Trigg is detected on level instead of edge.
!*/
Object Function $Intern 8
Body SysBody
Attr PgmName = "Function"
Attr TypeRef = "pwrs:Type-$Mask"
EndBody
EndObject
Object OldTriggForwFront $Intern 9
Body SysBody
Attr PgmName = "OldTriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggForwBack $Intern 10
Body SysBody
Attr PgmName = "OldTriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseFront $Intern 11
Body SysBody
Attr PgmName = "OldTriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseBack $Intern 12
Body SysBody
Attr PgmName = "OldTriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllForward $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllReverse $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 230
Attr parameters[0] = 6
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 41
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 9
Attr objname = "TrpFF"
Attr graphname = "TrpFF"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsTrpFF
Body RtBody
Attr Function = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_nmpstrprr.wb_load -- Defines the class NMpsTrpRR.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc.c
! @Group MaterialPlanning,Plc
! @Summary Transport of dataobjects between rear ends of NMpsCell objects.
!
! Transport of dataobject between the rear ends of two NMpsCell objects.
! @image orm_nmpstrprr_fo.gif
! The NMpsTrpRR object is connected to two cell objects, of type NMpsCell or
! NMpsStoreCell. Both connection pins are connected to
! the rear ends of the cells.
! When the transport is triggered, an object is transported from
! the rear end of the source cell, to the rear end of the target cell.
!
! A transport can be forward or reverse, e.i. from the cell connected to the left input
! to the cell connectedt to the right input, or vice versa.
!
! @b See also
! @classlink NMpsTrp nmps_nmpstrp.html
! @classlink NMpsTrpFF nmps_nmpstrpff.html
! @classlink NMpsCell nmps_nmpscell.html
! @classlink NMpsStoreCell nmps_nmpsstorecell.html
!*/
Object NMpsTrpRR $ClassDef 5
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "NMpsTrpRR"
EndBody
!/**
! Connection to the rear end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr InputType = 1
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the rear end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
Attr InputType = 1
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Transport a dataobject in forward direction. If Function is 0 only front is transported.
!*/
Object TriggForwFront $Input 3
Body SysBody
Attr PgmName = "TriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "f"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in forward direction. Valid if Function is 0.
!*/
Object TriggForwBack $Input 4
Body SysBody
Attr PgmName = "TriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "fb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport a dataobject in reverse direction. If Function is 0 only front is transported.
!*/
Object TriggReverseFront $Input 5
Body SysBody
Attr PgmName = "TriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "r"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! Transport the back of a data object in reverse direction. Valid if Function is 0.
!*/
Object TriggReverseBack $Input 6
Body SysBody
Attr PgmName = "TriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rb"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! @Summary True if a transportation failed.
! True if a transportation failed. A transport will fail if
! - the source cell is empty.
! - the target cell is full.
! - a front trigg is detected when a back trigg is expected.
! - a back trigg is detected when a front trigg is expected.
!*/
Object Status $Output 7
Body SysBody
Attr PgmName = "Status"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! @Summary Transport function.
! Transport function.
!
! 0 An object is transported in two part, front and back.
! - When a trigg on TriggForwFront is detected, the front of an object is
! moved from the cell connected to In, to the cell connected to Out.
! - When a trigg on TriggForwBack is detected, the back of an object is moved
! from the In cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the front of an object is moved
! from the Out cell to the In cell.
! - When a trigg on TriggReverseBack is detected, the back of an object is moved
! from the Out cell to the In cell.
!
! 1 An object is transported between the cells.
! Only the TriggForwFront and TriggReverseFront inputs should be used to move an object.
! - When a trigg on TriggForwFront is detected, the object is moved from the In
! cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the object is moved from the
! Out cell to the In cell.
!
! 2 All the objects in the source cell are transported.
! - When a trigg on TriggForwFront is detected, all the objects in the In cell are moved
! to the Out cell.
! - When a trigg on TriggReverseFront is detected, all the objects in the Out cell are
! moved to the In cell.
!
! 4 The same function as 2, with the differece that the transport is executed only
! if the target cell is empty.
!
! 8 The trigg inputs are reseted, if they are not connected.
!
! 16 Trigg is detected on level instead of edge.
!*/
Object Function $Intern 8
Body SysBody
Attr PgmName = "Function"
Attr TypeRef = "pwrs:Type-$Mask"
EndBody
EndObject
Object OldTriggForwFront $Intern 9
Body SysBody
Attr PgmName = "OldTriggForwFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggForwBack $Intern 10
Body SysBody
Attr PgmName = "OldTriggForwBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseFront $Intern 11
Body SysBody
Attr PgmName = "OldTriggReverseFront"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OldTriggReverseBack $Intern 12
Body SysBody
Attr PgmName = "OldTriggReverseBack"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllForward $Intern 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object FuncAllReverse $Intern 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 229
Attr parameters[0] = 6
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 41
Attr compindex = 1
Attr tracemethod = 0
Attr traceindex = 1
Attr executeordermethod = 9
Attr objname = "TrpRR"
Attr graphname = "TrpRR"
Attr debugpar = ""
EndBody
EndObject
!
! Template object
!
Object Template NMpsTrpRR
Body RtBody
Attr Function = 1
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! Filename: NMPS_C_RunningTime.wb_load
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code nmps_plc_runtime.c
! @Group Plc
! @Summary Running time measurement
! Running time Measurement.
! @image orm_runningtime_fo.gif
!
! Running Time concept in Proview is a way to standardize the measurement of
! running time for different machines.
!
! The RunningTime object executes under the PLC. It uses a Boolean Input, and
! measures the time and the running time for the signal.
!
! All measured times are stored in the object. Times are stored as number of hours
! (integer) and number of seconds up to 1 hour (float). There are measurements
! for Total Time, Total running time, Trip time and Trip running time. We also note
! number of starts for each period. The Running time as part of the total time in
! percent is calculated for both total and trip.
!
! There is also the possibility to reset the Trip measurement in each object. The
! values from the last trip measurement is saved in the object as OldTrip.
! We also note the time for the last start for the signal, and the time for the
! last ResetTrip.
!
! There should always be an object backup for each RunningTime object. The Backup
! object can be connected to the 'sta'-output from the RunningTime object.
!*/
!
Object RunningTime $ClassDef 47
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RunningTime"
EndBody
!/**
! Input signal.
!*/
Object Running $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags = PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
Attr GraphName = "run"
EndBody
EndObject
!/**
! Output signal is True for one cycle when we detect edge of Running input.
! Output pin is mainly used for connection of Backup-object.
!*/
Object Start $Output 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags = PWR_MASK_NOEDIT
Attr GraphName = "sta"
EndBody
EndObject
!/**
! Documentation only.
!*/
Object Description $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
!/**
! Used to move Trip data to OldTrip, and to reset all Trip data.
!*/
Object TripReset $Intern 4
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Date and time for latest edge of input.
!*/
Object StartTime $Intern 5
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Time"
EndBody
EndObject
!/**
! Date and time for last Trip reset.
!*/
Object ResetTime $Intern 6
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Time"
EndBody
EndObject
!/**
! Total number of detected starts.
!*/
Object TotalNOfStarts $Intern 7
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running hours.
!*/
Object TotalRunHours $Intern 8
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running seconds up to one hour.
!*/
Object TotalRunSeconds $Intern 9
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Total number of calendar hours.
!*/
Object TotalHours $Intern 10
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of calendar secons up to one hour.
!*/
Object TotalSeconds $Intern 11
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Percent running time compared to time.
!*/
Object TotalUsage $Intern 12
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Total number of detected starts since Trip reset.
!*/
Object TripNOfStarts $Intern 13
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running hours since trip reset.
!*/
Object TripRunHours $Intern 14
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running seconds since trip reset, up to one hour.
!*/
Object TripRunSeconds $Intern 15
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Total number of calendar hours since trip reset.
!*/
Object TripHours $Intern 16
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of calendar seconds since trip reset, up to one hour.
!*/
Object TripSeconds $Intern 17
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Precent running time compared to time.
!*/
Object TripUsage $Intern 18
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Total number of detected starts between last Trip resets.
!*/
Object OldTripNOfStarts $Intern 19
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running hours between last trip resets.
!*/
Object OldTripRunHours $Intern 20
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of running seconds between last trip resets, up to one hour.
!*/
Object OldTripRunSeconds $Intern 21
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Total number of calendar hours between last trip resets.
!*/
Object OldTripHours $Intern 22
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Total number of calendar seconds between last trip resets, up to one hour.
!*/
Object OldTripSeconds $Intern 23
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Precent running time compared to time.
!*/
Object OldTripUsage $Intern 24
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Internal attribute for calculation of time since last execution.
! Date and time, or uptime depending on platform.
!*/
Object ScanTime $Intern 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_PRIVATE
Attr Flags |= PWR_MASK_POINTER
EndBody
EndObject
EndObject
!
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr graphmethod = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr executeordermethod = 2
Attr objname = "RunningTime"
Attr graphname = "RunningTime"
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_ch_nmpsclasses.wb_load -- NMps:Class hierarchy.
!
SObject NMps:
Object Class $ClassHier
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_ch_nmpstypes.wb_load -- NMps:Type hierarchy.
!
SObject NMps:
Object Type $TypeHier
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_l_base.wb_load -- Defines basic layouts.
!
SObject wb:layout-Configurator-w1-AllClasses
Object NMps $GroupRef
EndObject
EndSObject
!
SObject wb:layout-PlcEditor-w1
Object NMps $Group
Object CellDisp $Group
EndObject
Object CellUpdate $Group
EndObject
Object CLoop $Group
EndObject
Object CurrentData $Group
EndObject
Object CurrentIndex $Group
EndObject
Object DataCopy $Group
EndObject
Object DataCnv $Group
EndObject
Object DataRcv $Group
EndObject
Object DataRequest $Group
EndObject
Object DataReset $Group
EndObject
Object DataSelect $Group
EndObject
Object DataSend $Group
EndObject
Object DispLink $Group
EndObject
Object GetDap $Group
EndObject
Object GetObjidp $Group
EndObject
Object Func $Group
EndObject
Object FuncExtend $Group
EndObject
Object FuncInput $Group
EndObject
Object FuncOutput $Group
EndObject
Object NMpsCell $Group
EndObject
Object NMpsMirrorCell $Group
EndObject
Object NMpsOutCell $Group
EndObject
Object NMpsStoreCell $Group
EndObject
Object NMpsTrp $Group
EndObject
Object NMpsTrpFF $Group
EndObject
Object NMpsTrpRR $Group
EndObject
Object RemTransRcv $Group
EndObject
Object RemTransSend $Group
EndObject
Object RunningTime $Group
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_td_cellfunctionmask.wb_load -- Defines the mask type CellFunctionMask
!
SObject NMps:Type
!/**
! @Version 1.0
! @Group Types
! Defines mask for a NMpsCell function
!*/
Object CellFunctionMask $TypeDef 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Mask"
Attr PgmName = "CellFunction"
EndBody
!/**
! If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!*/
Object DeleteWhenRemove $Bit
Body SysBody
Attr PgmName = "DeleteWhenRemove"
Attr Text = "DeleteWhenRemove"
Attr Value = 4
EndBody
EndObject
!/**
! When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!*/
Object DeleteWhenReset $Bit
Body SysBody
Attr PgmName = "DeleteWhenReset"
Attr Text = "DeleteWhenReset"
Attr Value = 8
EndBody
EndObject
!/**
! Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Backup $Bit
Body SysBody
Attr PgmName = "Backup"
Attr Text = "Backup"
Attr Value = 16
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_td_outcellfunctionmask.wb_load -- Defines the mask type OutCellFunctionMask
!
SObject NMps:Type
!/**
! @Version 1.0
! @Group Types
! Defines mask for a NMpsOutCell function
!*/
Object OutCellFunctionMask $TypeDef 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Mask"
Attr PgmName = "OutCellFunction"
EndBody
!/**
! Delete the data object in rtdb when the object is removed
! from the cell.
!*/
Object DeleteWhenRemove $Bit
Body SysBody
Attr PgmName = "DeleteWhenRemove"
Attr Text = "DeleteWhenRemove"
Attr Value = 4
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_td_storecellfunctionmask.wb_load -- Defines the mask type StoreCellFunctionMask
!
SObject NMps:Type
!/**
! @Version 1.0
! @Group Types
! Defines mask for a NMpsStoreCell function
!*/
Object StoreCellFunctionMask $TypeDef 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Mask"
Attr PgmName = "StoreCellFunction"
EndBody
!/**
! At most one selected object.
! If a new object is selected, the previously selected
! object will be unselected.
!*/
Object MaxOneSelected $Bit
Body SysBody
Attr PgmName = "MaxOneSelected"
Attr Text = "MaxOneSelected"
Attr Value = 1
EndBody
EndObject
!/**
! Exactly one selected object.
! If a new object is selected, the previously selected object will be unselected.
! If the currently selected object is removed from the cell, the
! object with highest index will be selected.
!*/
Object AlwaysOneSelected $Bit
Body SysBody
Attr PgmName = "AlwaysOneSelected"
Attr Text = "AlwaysOneSelected"
Attr Value = 2
EndBody
EndObject
!/**
! If an data object is removed from the cell by the extern function
! (ExternOpType=2,3 or 4) the data object is also remove from the rtdb
! database.
!*/
Object DeleteWhenRemove $Bit
Body SysBody
Attr PgmName = "DeleteWhenRemove"
Attr Text = "DeleteWhenRemove"
Attr Value = 4
EndBody
EndObject
!/**
! When the cell is reseted by the ResetObject, the dataobject is also
! removed from the database rtdb.
!*/
Object DeleteWhenReset $Bit
Body SysBody
Attr PgmName = "DeleteWhenReset"
Attr Text = "DeleteWhenReset"
Attr Value = 8
EndBody
EndObject
!/**
! Backup. The cell and data objects in the cell, is backed up by
! the nmps backup process.
!*/
Object Backup $Bit
Body SysBody
Attr PgmName = "Backup"
Attr Text = "Backup"
Attr Value = 16
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_td_trpfunctionmask.wb_load -- Defines the mask type TrpFunctionMask
!
SObject NMps:Type
!/**
! @Version 1.0
! @Group Types
! Defines mask for a NMpsTrp function
!*/
Object TrpFunctionMask $TypeDef 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Mask"
Attr PgmName = "TrpFunction"
EndBody
!/**
! An object is transported in two part, front and back.
! - When a trigg on TriggForwFront is detected, the front of an object is
! moved from the cell connected to In, to the cell connected to Out.
! - When a trigg on TriggForwBack is detected, the back of an object is moved
! from the In cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the front of an object is moved
! from the Out cell to the In cell.
! - When a trigg on TriggReverseBack is detected, the back of an object is moved
! from the Out cell to the In cell.
!*/
Object MoveFrontRear $Bit
Body SysBody
Attr PgmName = "MoveFrontRear"
Attr Text = "MoveFront/Rear"
Attr Value = 0
EndBody
EndObject
!/**
! An object is transported between the cells.
! Only the TriggForwFront and TriggReverseFront inputs should be used to move an object.
! - When a trigg on TriggForwFront is detected, the object is moved from the In
! cell to the Out cell.
! - When a trigg on TriggReverseFront is detected, the object is moved from the
! Out cell to the In cell.
!*/
Object MoveWholeObject $Bit
Body SysBody
Attr PgmName = "MoveWholeObject"
Attr Text = "MoveWholeObject"
Attr Value = 1
EndBody
EndObject
!/**
! All the objects in the source cell are transported.
! - When a trigg on TriggForwFront is detected, all the objects in the In cell are moved
! to the Out cell.
! - When a trigg on TriggReverseFront is detected, all the objects in the Out cell are
! moved to the In cell.
!*/
Object MoveAllObjects $Bit
Body SysBody
Attr PgmName = "MoveAllObjects"
Attr Text = "MoveAllObjects"
Attr Value = 2
EndBody
EndObject
!/**
! The same function as 2, with the differece that the transport is executed only
! if the target cell is empty.
!*/
Object MoveAllObjectsIfEmpty $Bit
Body SysBody
Attr PgmName = "MoveAllObjectsIfEmpty"
Attr Text = "MoveAllObjectsIfEmpty"
Attr Value = 4
EndBody
EndObject
!/**
! The trigg inputs are reseted, if they are not connected.
!*/
Object ResetTrigg $Bit
Body SysBody
Attr PgmName = "ResetTrigg"
Attr Text = "ResetTrigg"
Attr Value = 8
EndBody
EndObject
!/**
! Trigg is detected on level instead of edge.
!*/
Object Slow $Bit
Body SysBody
Attr PgmName = "Slow"
Attr Text = "Slow"
Attr Value = 16
EndBody
EndObject
!/**
!*/
Object LevelTrigg $Bit
Body SysBody
Attr PgmName = "LevelTrigg"
Attr Text = "LevelTrigg"
Attr Value = 32
EndBody
EndObject
EndObject
EndSObject
\ No newline at end of file
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! nmps_v.wb_load -- Loads the nmps volume
!
Volume NMps pwr_eClass_ClassVolume 0.0.1.1
EndVolume
\ No newline at end of file
# makefile -- <short description>
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# <Description>.
#
include $(pwre_dir_symbols) include $(pwre_dir_symbols)
ifndef variables_mk -include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_kroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk -include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif endif
ifndef rules_mk
include $(pwre_kroot)/tools/bld/src/$(os_name)/rules.mk
endif
.PHONY : all init copy lib exe dirs clean realclean\
$(clean_wbl)
all : init copy exe | silent
init : dirs | silent
copy : $(inc_dir)/pwr_nmpsclasses.h \
$(inc_dir)/pwr_nmpsclasses.hpp \
| silent
lib : $(load_dir)/nmps.dbs | silent
exe : $(doc_dir)/en_us/orm/nmps_allclasses.html \
$(exe_dir)/en_us/nmps_xtthelp.dat \
$(exe_dir)/sv_se/nmps_xtthelp.dat \
| silent
dirs : $(bld_dir)$(dir_ext) ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
clean : endif
realclean : clean $(clean_wbl)
silent :
@ :
$(load_dir)/nmps.dbs :
@ echo "Generating loadfile for nmps"
@ export pwr_load=$(pwr_eload);\
wb_cmd -q -i create snapshot $(wblflags) /file=\"$(pwre_sroot)/wbl/nmps/src/\"/out=\"$(target)\"/depend=\"$(bld_dir)/nmps.d_wbl\"
@ chmod a+w $(target)
$(inc_dir)/pwr_nmpsclasses.h :
@ echo "Generating struct files for nmps classes..."
@ $(co_convert) -so -d $(inc_dir) -y $(bld_dir)/nmps.d_h_wbl "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
$(inc_dir)/pwr_nmpsclasses.hpp :
@ echo "Generating hpp files for nmps classes..."
@ $(co_convert) -po -d $(inc_dir) -y $(bld_dir)/nmps.d_hpp_wbl "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
$(doc_dir)/en_us/orm/nmps_allclasses.html :
@ echo "Generating html files for nmps classes en_us..."
@ $(co_convert) -w -d $(doc_dir)/en_us/orm -y $(bld_dir)/nmps.d_html_wbl -g $(pwre_sroot)/wbl/nmps/src/cnv_setup.dat "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
@ echo "Generating html files for nmps structs en_us..."
@ $(co_convert) -c -d $(doc_dir)/en_us/orm $(inc_dir)/pwr_nmpsclasses.h
@ $(co_convert) -c -d $(doc_dir)/en_us/orm $(inc_dir)/pwr_nmpsclasses.hpp
@ echo "Generating html files for nmps code en_us..."
@ $(co_convert) -c -d $(doc_dir)/en_us/orm "$(pwre_sroot)/lib/nmps/src/nmps_plc_macro.h"
@ $(co_convert) -c -d $(doc_dir)/en_us/orm "$(pwre_sroot)/lib/nmps/src/nmps_plc*.c"
@ echo "Generating html files for nmps classes sv_se..."
@ $(co_convert) -w -l sv_se -d $(doc_dir)/sv_se/orm -g $(pwre_sroot)/wbl/nmps/src/cnv_setup.dat "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
@ echo "Generating html files for nmps structs sv_se..."
@ $(co_convert) -c -d $(doc_dir)/sv_se/orm $(inc_dir)/pwr_nmpsclasses.h
@ $(co_convert) -c -d $(doc_dir)/sv_se/orm $(inc_dir)/pwr_nmpsclasses.hpp
@ echo "Generating html files for nmps code sv_se..."
@ $(co_convert) -c -d $(doc_dir)/sv_se/orm "$(pwre_sroot)/lib/nmps/src/nmps_plc_macro.h"
@ $(co_convert) -c -d $(doc_dir)/sv_se/orm "$(pwre_sroot)/lib/nmps/src/nmps_plc*.c"
@ echo "Generating postscript file for nmps classes..."
@ $(co_convert) -q -d $(doc_dir)/en_us "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
@ $(co_convert) -q -l sv_se -d $(doc_dir)/sv_se "$(pwre_sroot)/wbl/nmps/src/nmps_*.wb_load"
$(exe_dir)/en_us/nmps_xtthelp.dat :
@ echo "Generating xtt help files for nmps classes en_us"
@ $(co_convert) -x -d $(exe_dir)/en_us -y $(bld_dir)/nmps.d_en_us_xtthelp_wbl "$(pwre_sroot)/wbl/nmps/src/nmps_c_*.wb_load"
$(exe_dir)/sv_se/nmps_xtthelp.dat :
@ echo "Generating xtt help files for nmps classes sv_se"
@ $(co_convert) -x -l sv_se -d $(exe_dir)/sv_se -y $(bld_dir)/nmps.d_sv_se_xtthelp_wbl "$(pwre_sroot)/wbl/nmps/src/nmps_c_*.wb_load"
clean_wbl :
@ if [ -e $(load_dir)/nmps.dbs ]; then \
$(rm) $(rmflags) $(load_dir)/nmps.dbs; \
fi
$(bld_dir)$(dir_ext) : -include ../../special.mk
@ $(mkdir) $(mkdirflags) $(basename $@) -include ../special.mk
-include special.mk
-include $(bld_dir)/nmps.d_h_wbl
-include $(bld_dir)/nmps.d_hpp_wbl
-include $(bld_dir)/nmps.d_html_wbl
-include $(bld_dir)/nmps.d_en_us_xtthelp_wbl
-include $(bld_dir)/nmps.d_sv_se_xtthelp_wbl
-include $(bld_dir)/remote.d_wbl
......
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
!
! PROVIEW/R
!
! Filename: rdb_src:rs_db_cnv.wb_load
!
! This file defines all NMPS classes of
! PROVIEW/R.
!
!
! All Object in this file are Base objects
!
!
!
! DATACNV -
!
SObject NMps:Class
Object DataCnv $ClassDef 38
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATACNV Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "datacnv"
EndBody
Object DataFrom $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "From"
EndBody
EndObject
Object DataTo $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_INVISIBLE
Attr GraphName = "To"
EndBody
EndObject
Object Condition $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "cond"
EndBody
EndObject
Object ToConvdefType $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object ConvTableCount $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ConvTable $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 1800
EndBody
EndObject
EndObject
!
! DATACNV Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 7
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 0
Attr segname_annotation = 1
Attr compmethod = 35
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataCnv"
Attr graphname = "DataCnv"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
!
!
! CONVDEF
!
SObject NMps:Class
Object ConvDef $ClassDef 39
Body SysBody
Attr Editor = pwr_eEditor_Standard
EndBody
!
! CONVDEF Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ConvDef"
EndBody
Object Param $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 200
EndBody
EndObject
EndObject
EndObject
EndSObject
!
!
! DataRequest
!
SObject NMps:Class
Object DataRequest $ClassDef 40
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATAREQUEST Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataRequest"
EndBody
Object Out $Input 1
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Trigg $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "trg"
EndBody
EndObject
Object Accept $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "acc"
EndBody
EndObject
Object Reset $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "res"
EndBody
EndObject
Object DataReceived $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rcvd"
EndBody
EndObject
Object Error $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Key $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object KeyStr $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object Function $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object TimeoutTime $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object AlarmText $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object ReturnStatus $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object ReturnStatusText $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object DisplayObject $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object SendRemTrans $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object CellObject $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataClass $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataParent $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 25
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object OpTrigg $Attribute 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpAccept $Attribute 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpReset $Attribute 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object TriggOld $Attribute 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptOld $Attribute 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetOld $Attribute 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object TriggDetected $Attribute 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SysAcceptDetected $Attribute 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OpAcceptDetected $Attribute 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptDetected $Attribute 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetDetected $Attribute 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataRcvDetected $Attribute 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataReqest Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 4
Attr parameters[1] = 16
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataReq"
Attr graphname = "DataReq"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
!
!
! DataRequest
!
SObject NMps:Class
Object DataRcv $ClassDef 41
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATARCV Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataRcv"
EndBody
Object Out $Input 1
Body SysBody
Attr PgmName = "Out"
Attr InputType = 2
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object Accept $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "acc"
EndBody
EndObject
Object Reset $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "res"
EndBody
EndObject
Object DataReceived $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "rcvd"
EndBody
EndObject
Object Error $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Function $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object AlarmText $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object DisplayObject $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object SendRemTrans $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object CellObject $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataClass $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object DataParent $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object OpAccept $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object OpReset $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
Object AcceptOld $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetOld $Attribute 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object SysAcceptDetected $Attribute 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object OpAcceptDetected $Attribute 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object AcceptDetected $Attribute 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ResetDetected $Attribute 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataRcvDetected $Attribute 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataRcv Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 4
Attr parameters[1] = 16
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataRcv"
Attr graphname = "DataRcv"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
!
!
!
! DataSend
!
SObject NMps:Class
Object DataSend $ClassDef 42
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
EndBody
!
! DATASEND Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DataSend"
EndBody
Object DataIn $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Void"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da"
EndBody
EndObject
Object Trigg $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "trg"
EndBody
EndObject
Object Dummy $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSent $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sent"
EndBody
EndObject
Object Error $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "err"
EndBody
EndObject
Object Function $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object TimeoutTime $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object AlarmText $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object ReturnStatus $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object ReturnStatusText $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 10
EndBody
EndObject
Object SendRemTrans $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object RcvRemTrans $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefType $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ToConvdef $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object ToConvdefFile $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FromConvdefType $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object FromConvdef $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object FromConvdefFile $Attribute 18
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object TriggOld $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object TriggDetected $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object DataSentDetected $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object ErrorDetected $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! DataSend Development Body
!
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 14
Attr parameters[2] = 2
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 16
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "DataSend"
Attr graphname = "DataSend"
Attr debugpar = ""
EndBody
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
EndObject
EndSObject
!
!
!
SObject NMps:Class
Object NMpsTransConfig $ClassDef 43
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef
Body SysBody
Attr StructName = "NMpsTransConfig"
EndBody
Object CycleTime $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object RequestObjects $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object RequestSent $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object RequestReceived $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object Initialize $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object LoopCount $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! Template object
!
Object Template NMpsTransConfig
Body RtBody
Attr CycleTime = 1
EndBody
EndObject
EndObject
EndSObject
!
!
SObject SSAB:Class
!
! LocTrans - Local Trans descripton
!
Object LocTrans $ClassDef 23
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! RemTrans Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "LocTrans"
EndBody
!
! Parameter Description
!
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!
! Parameter DataValid
!
Object DataValid $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
EndObject ! $ClassDef
EndSObject ! SObject
!
!
SObject wb:layout-PlcEditor-w1-NMps
Object DataCnv $Group
EndObject
Object DataRequest $Group
EndObject
Object DataSend $Group
EndObject
Object DataRcv $Group
EndObject
EndSObject
\ No newline at end of file
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