Commit 1957591d authored by claes's avatar claes

Moved to module nmps

parent 59deba59
#
# Setup file for co_convert
#
# Definition of groups
group NodeConfiguration nmps_nmpsmirrorconfig.html
group Servers nmps_nmpsmirrorconfig.html
group Plc nmps_celldisp.html
group PlcData nmps_datacopy.html
group MaterialPlanning nmps_celldisp.html
group Remote nmps_remtransrcv.html
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!
! Proview $Id: nmps_c_cloop.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_cloop.wb_load -- Defines the class CLoop.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code rs_plc_macro_nmps.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
!
! Proview $Id: nmps_c_convdef.wb_load,v 1.3 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! 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
!
! Proview $Id: nmps_c_currentdata.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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
!
! Proview $Id: nmps_c_currentindex.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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
!
! Proview $Id: nmps_c_datacnv.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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-$Float32"
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-$Float32"
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
!
! Proview $Id: nmps_c_datacopy.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_datacopy.wb_load -- Defines the class DataCopy.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code rs_plc_macro_nmps.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 nmps_currentindex.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-$Float32"
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-$Float32"
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
!
! Proview $Id: nmps_c_datarcv.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! 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
!
! Proview $Id: nmps_c_datarequest.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! 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
!
! Proview $Id: nmps_c_datareset.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_datareset.wb_load -- Defines the class DataReset.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code rs_plc_macro_nmps.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-$Float32"
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
!
! Proview $Id: nmps_c_dataselect.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_dataselect.wb_load -- Defines the class DataSelect.
!
SObject NMps:Class
!/**
! @Version 1.0
! @Code rs_plc_nmps.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-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da1"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da2"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da3"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da4"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da5"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da6"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da7"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da8"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da9"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da10"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da11"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da12"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da13"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da14"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
Attr GraphName = "Da15"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
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-$Float32"
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
!/**
! Objid of the data object of the selected input.
!*/
Object OutData_ObjId $Intern 20
Body SysBody
Attr PgmName = "OutData_ObjId"
Attr TypeRef = "pwrs:Type-$ObjId"
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_STATE
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] = 1
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
!
! Proview $Id: nmps_c_datasend.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! 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-$Float32"
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
!
! Proview $Id: nmps_c_displink.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! 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] = 0
Attr parameters[3] = 1
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
!
! Proview $Id: nmps_c_func.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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
!
! Proview $Id: nmps_c_funcextend.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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
!
! Proview $Id: nmps_c_funcinput.wb_load,v 1.2 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_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
This diff is collapsed.
!
! Proview $Id: nmps_c_getdap.wb_load,v 1.4 2005-09-01 14:58:00 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_getdap.wb_load -- Defines the class GetDap.
!
SObject NMps:Class
!/**
! @Group MaterialPlanning,Plc
!*/
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-$Float32"
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
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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