Commit 91b6753d authored by claes's avatar claes

Classes divided into groups

parent b295f403
#
# 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.
......@@ -2,8 +2,20 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CLoop $ClassDef 14
Body SysBody
......@@ -15,6 +27,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "CLoop"
EndBody
!/**
! Input for conditional execution of the loop.
!*/
Object Condition $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......@@ -22,24 +37,36 @@ SObject NMps:Class
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"
......
......@@ -2,8 +2,25 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CurrentData $ClassDef 11
Body SysBody
......@@ -18,6 +35,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "currentdata"
EndBody
!/**
! Pointer to the currently executed data object.
!*/
Object DataCurrentP $Output 1
Body SysBody
Attr PgmName = "DataCurrentP"
......
......@@ -2,8 +2,26 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CurrentIndex $ClassDef 12
Body SysBody
......@@ -18,6 +36,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "currentindex"
EndBody
!/**
! The index of the currently executed data object.
!*/
Object DataCurrent_Index $Output 1
Body SysBody
Attr PgmName = "CurrentIndex"
......
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataCopy $ClassDef 9
Body SysBody
......@@ -17,6 +30,9 @@ SObject NMps:Class
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"
......@@ -25,6 +41,9 @@ SObject NMps:Class
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"
......@@ -33,6 +52,9 @@ SObject NMps:Class
Attr GraphName = "To"
EndBody
EndObject
!/**
! When Condition is true, the copy is executed.
!*/
Object Condition $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataReset $ClassDef 10
Body SysBody
......@@ -17,6 +30,9 @@ SObject NMps:Class
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"
......@@ -25,6 +41,9 @@ SObject NMps:Class
Attr GraphName = "Data"
EndBody
EndObject
!/**
! When Condition is true, the reset is executed.
!*/
Object Condition $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......
......@@ -2,8 +2,29 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataSelect $ClassDef 15
Body SysBody
......@@ -17,18 +38,27 @@ SObject NMps:Class
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"
......@@ -36,6 +66,9 @@ SObject NMps:Class
Attr GraphName = "Da1"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -43,6 +76,9 @@ SObject NMps:Class
Attr GraphName = "Da2"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -50,6 +86,9 @@ SObject NMps:Class
Attr GraphName = "Da3"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -57,6 +96,9 @@ SObject NMps:Class
Attr GraphName = "Da4"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -64,6 +106,9 @@ SObject NMps:Class
Attr GraphName = "Da5"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -71,6 +116,9 @@ SObject NMps:Class
Attr GraphName = "Da6"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -78,6 +126,9 @@ SObject NMps:Class
Attr GraphName = "Da7"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -85,6 +136,9 @@ SObject NMps:Class
Attr GraphName = "Da8"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -92,6 +146,9 @@ SObject NMps:Class
Attr GraphName = "Da9"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -99,6 +156,9 @@ SObject NMps:Class
Attr GraphName = "Da10"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -106,6 +166,9 @@ SObject NMps:Class
Attr GraphName = "Da11"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -113,6 +176,9 @@ SObject NMps:Class
Attr GraphName = "Da12"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -120,6 +186,9 @@ SObject NMps:Class
Attr GraphName = "Da13"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -127,6 +196,9 @@ SObject NMps:Class
Attr GraphName = "Da14"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -134,6 +206,9 @@ SObject NMps:Class
Attr GraphName = "Da15"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -141,6 +216,9 @@ SObject NMps:Class
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"
......@@ -152,6 +230,9 @@ SObject NMps:Class
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"
......
! nmps_c_displink.wb_load -- Defines the class DispLink.
!
! PROVIEW/R
!
! <Description>.
!/**
! @Group MaterialPlanning,Plc
!*/
!
SObject NMps:Class
Object DispLink $ClassDef 45
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group MaterialPlanning,Plc
!*/
SObject NMps:Class
Object GetDap $ClassDef 19
Body SysBody
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Plc
!*/
SObject NMps:Class
Object GetObjid $ClassDef 13
Body SysBody
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Plc
!*/
SObject NMps:Class
Object GetObjidp $ClassDef 20
Body SysBody
......
......@@ -2,8 +2,16 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object NMpsMirrorConfig $ClassDef 32
Body SysBody
......@@ -14,11 +22,17 @@ SObject NMps:Class
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"
......@@ -26,6 +40,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of initiated NMpsMirrorCell objects.
!*/
Object MirrorCellInitCount $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -33,6 +50,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of mirrored cell objects.
!*/
Object OrigCellCount $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -40,6 +60,10 @@ SObject NMps:Class
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"
......@@ -47,6 +71,9 @@ SObject NMps:Class
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"
......@@ -54,6 +81,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of handled data object.
!*/
Object DataObjectCount $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -61,6 +91,9 @@ SObject NMps:Class
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"
......@@ -68,6 +101,9 @@ SObject NMps:Class
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"
......@@ -75,6 +111,9 @@ SObject NMps:Class
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"
......@@ -82,6 +121,11 @@ SObject NMps:Class
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"
......@@ -89,6 +133,9 @@ SObject NMps:Class
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"
......@@ -96,6 +143,9 @@ SObject NMps:Class
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"
......@@ -103,6 +153,9 @@ SObject NMps:Class
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"
......@@ -110,6 +163,9 @@ SObject NMps:Class
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"
......@@ -117,6 +173,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Loop counger for the mirror server.
!*/
Object LoopCount $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -124,6 +183,10 @@ SObject NMps:Class
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"
......
! nmps_c_nmpsbackupconfig.wb_load -- Defines the class NMpsBackupConfig.
!
! PROVIEW/R
!
! <Description>.
!/**
! @Group MaterialPlanning,Servers,NodeConfiguration
!*/
!
SObject NMps:Class
Object NMpsBackupConfig $ClassDef 29
......
This diff is collapsed.
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object NMpsConvConfig $ClassDef 31
Body SysBody
......@@ -14,36 +27,58 @@ SObject NMps:Class
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"
......
......@@ -2,8 +2,22 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @Version 1.0
! @Code rs_plc_nmps.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
!*/
SObject NMps:Class
Object NMpsMirrorCell $ClassDef 30
Body SysBody
......@@ -14,6 +28,9 @@ SObject NMps:Class
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"
......@@ -21,31 +38,55 @@ SObject NMps:Class
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"
......@@ -56,12 +97,18 @@ SObject NMps:Class
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"
......@@ -97,6 +144,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Indicates that the cell is full.
!*/
Object CellFull $Output 15
Body SysBody
Attr PgmName = "CellFull"
......@@ -113,6 +163,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object with highest index.
!*/
Object DataLastP $Output 17
Body SysBody
Attr PgmName = "DataLastP"
......@@ -124,6 +177,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! Objid for data object with highest index.
!*/
Object DataLast_ObjId $Intern 18
Body SysBody
Attr PgmName = "DataLast_ObjId"
......@@ -197,6 +253,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to data object in index 1.
!*/
Object Data1P $Output 28
Body SysBody
Attr PgmName = "Data1P"
......@@ -208,6 +267,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! Objid of data object in index 1.
!*/
Object Data1_ObjId $Intern 29
Body SysBody
Attr PgmName = "Data1_ObjId"
......
......@@ -4,6 +4,22 @@
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rs_plc_nmps.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
!*/
SObject NMps:Class
Object NMpsOutCell $ClassDef 3
Body SysBody
......@@ -14,6 +30,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "NMpsOutCell"
EndBody
!/**
! Connection to a transport object, NMpsTrp.
!*/
Object In $Output 1
Body SysBody
Attr PgmName = "In"
......@@ -42,6 +61,17 @@ SObject NMps:Class
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 = "pwrs:Type-$Mask"
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Servers,NodeConfiguration
!*/
SObject NMps:Class
Object NMpsTransConfig $ClassDef 43
Body SysBody
......
......@@ -2,8 +2,42 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @Version 1.0
! @Code rs_plc_nmps.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
!*/
SObject NMps:Class
Object NMpsTrp $ClassDef 4
Body SysBody
......@@ -14,6 +48,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "NMpsTrp"
EndBody
!/**
! Connection to the rear end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
......@@ -24,6 +61,9 @@ SObject NMps:Class
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the front end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
......@@ -34,6 +74,9 @@ SObject NMps:Class
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"
......@@ -43,6 +86,9 @@ SObject NMps:Class
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"
......@@ -52,6 +98,9 @@ SObject NMps:Class
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"
......@@ -61,6 +110,9 @@ SObject NMps:Class
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"
......@@ -70,6 +122,14 @@ SObject NMps:Class
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"
......@@ -78,6 +138,40 @@ SObject NMps:Class
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"
......
......@@ -2,8 +2,29 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @Version 1.0
! @Code rs_plc_nmps.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
!*/
SObject NMps:Class
Object NMpsTrpFF $ClassDef 6
Body SysBody
......@@ -14,6 +35,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "NMpsTrpFF"
EndBody
!/**
! Connection to the front end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
......@@ -24,6 +48,9 @@ SObject NMps:Class
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the front end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
......@@ -34,6 +61,9 @@ SObject NMps:Class
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"
......@@ -43,6 +73,9 @@ SObject NMps:Class
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"
......@@ -52,6 +85,9 @@ SObject NMps:Class
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"
......@@ -61,6 +97,9 @@ SObject NMps:Class
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"
......@@ -70,6 +109,14 @@ SObject NMps:Class
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"
......@@ -78,6 +125,40 @@ SObject NMps:Class
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"
......
......@@ -4,6 +4,29 @@
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rs_plc_nmps.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
!*/
SObject NMps:Class
Object NMpsTrpRR $ClassDef 5
Body SysBody
......@@ -14,6 +37,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "NMpsTrpRR"
EndBody
!/**
! Connection to the rear end of a cell object.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
......@@ -24,6 +50,9 @@ SObject NMps:Class
Attr GraphName = "In"
EndBody
EndObject
!/**
! Connection to the rear end of a cell object.
!*/
Object Out $Input 2
Body SysBody
Attr PgmName = "Out"
......@@ -34,6 +63,9 @@ SObject NMps:Class
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"
......@@ -43,6 +75,9 @@ SObject NMps:Class
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"
......@@ -52,6 +87,9 @@ SObject NMps:Class
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"
......@@ -61,6 +99,9 @@ SObject NMps:Class
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"
......@@ -70,6 +111,14 @@ SObject NMps:Class
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"
......@@ -78,6 +127,40 @@ SObject NMps:Class
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"
......
......@@ -2,8 +2,22 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @Version 1.0
! @Code rs_plc_macro_nmps.h
! @Group Remote,Plc
! @Summary Supervision of a receive RemTrans object and unpacks the receive buffer.
! The object supervises a receive RemTrans object.
! @image orm_remtransrcv_fo.gif
! In a subwindow, code for unpacking the receive buffer of the remtrans
! can be programmed.
! When a transaction is recived, the subwindow is executed and the output
! Recieved is set to mark that new data is present.
!
! @b See also
! @classlink RemTrans ssab_remtrans.html
! @classlink RemTransSend nmps_remtranssend.html
!*/
SObject NMps:Class
Object RemTransRcv $ClassDef 28
Body SysBody
......@@ -18,6 +32,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "RemTransRcv"
EndBody
!/**
! Data input connected to a GetData refering to the RemTrans object.
!*/
Object RemTrans $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -29,6 +46,11 @@ SObject NMps:Class
Attr GraphName = "Trs"
EndBody
EndObject
!/**
! Data is received. DataValid in the RemTrans object is detected, and
! the subwindow is executed.
! Received is true in one cycle.
!*/
Object Received $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
......
......@@ -2,8 +2,25 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @Version 1.0
! @Code rs_plc_macro_nmps.h
! @Group Remote,Plc
! @Summary Fill and send a remtrans buffer.
! Fill a remtrans buffer and mark the RemTrans object for send.
! @image orm_remtranssend_fo.gif
!
! The object has a subwindow where code for fill in data in
! a remtrans buffer can be programmed. The object excecutes the
! subwindow and then sets the DataValid attribute in the RemTrans
! object, to indicate that new data is present. Status from the
! RemTrans object is stored in output attributes of the RemTransSend
! object.
!
! @b See also
! @classlink RemTrans ssab_remtrans.html
! @classlink RemTransRcv nmps_remtransrcv.html
!*/
SObject NMps:Class
Object RemTransSend $ClassDef 27
Body SysBody
......@@ -18,7 +35,10 @@ SObject NMps:Class
Body SysBody
Attr StructName = "RemTransSend"
EndBody
Object RemTrans $Input 1
!/**
! Data input connected to a GetData which refers to the RemTrans object.
!*/
Object RemTrans $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_POINTER
......@@ -29,6 +49,10 @@ SObject NMps:Class
Attr GraphName = "Trs"
EndBody
EndObject
!/**
! Data will be sent on positiv edge. The subwindow is executed and
! DataValid is set in the RemTrans object.
!*/
Object Send $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......@@ -39,6 +63,11 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_NOREMOVE
EndBody
EndObject
!/**
! Indicates that the RemTrans object can't handle any new transactions
! for the moment. The last transaction is not yet sent, or if buffering
! is used, no more buffers are available.
!*/
Object Occupied $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
......@@ -47,6 +76,9 @@ SObject NMps:Class
Attr GraphName = "occ"
EndBody
EndObject
!/**
! Indicates that there are buffered transactions.
!*/
Object Buffer $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
......@@ -55,6 +87,9 @@ SObject NMps:Class
Attr GraphName = "buf"
EndBody
EndObject
!/**
! Error status was returned for the last transaction.
!*/
Object Error $Output 5
Body SysBody
Attr Flags |= PWR_MASK_STATE
......
! Filename: NMPS_C_RunningTime.wb_load
!
! This file defines user-object for Running Time Measurement
!/**
! @Version 1.0
! @Code rs_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.
!*/
!
SObject NMps:Class
!
......@@ -15,7 +42,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "RunningTime"
EndBody
! Running Signal
!/**
! Input signal.
!*/
Object Running $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......@@ -26,7 +55,10 @@ SObject NMps:Class
Attr GraphName = "run"
EndBody
EndObject
! Start
!/**
! 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"
......@@ -34,160 +66,207 @@ SObject NMps:Class
Attr GraphName = "sta"
EndBody
EndObject
! Description
!/**
! Documentation only.
!*/
Object Description $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
! TripReset
!/**
! 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
! StartTime
!/**
! 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
! ResetTime
!/**
! 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 starts
!/**
! Total number of detected starts.
!*/
Object TotalNOfStarts $Intern 7
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
! Total Running Time (Hours)
!/**
! Total number of running hours.
!*/
Object TotalRunHours $Intern 8
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
! Total Running Time (Up to 1 hour)
!/**
! 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 Calendar Time (Hours)
!/**
! Total number of calendar hours.
!*/
Object TotalHours $Intern 10
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
! Total Calendar Time (Up to 1 hour)
!/**
! 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
! Total Usage %
!/**
! Percent running time compared to time.
!*/
Object TotalUsage $Intern 12
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
! Trip Number of starts
!/**
! 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
! Trip Running Time (Hours)
!/**
! 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
! Trip Running Time (Up to 1 hour)
!/**
! 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
! Trip Calendar Time (Hours)
!/**
! 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
! Trip Calendar Time (Up to 1 hour)
!/**
! 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
! Trip Usage %
!/**
! Precent running time compared to time.
!*/
Object TripUsage $Intern 18
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
! OldTrip Number of starts
!/**
! 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
! OldTrip Running Time (Hours)
!/**
! 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
! OldTrip Running Time (Up to 1 hour)
!/**
! 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
! OldTrip Calendar Time (Hours)
!/**
! 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
! OldTrip Calendar Time (Up to 1 hour)
!/**
! 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
! Old Trip Usage %
!/**
! Precent running time compared to time.
!*/
Object OldTripUsage $Intern 24
Body SysBody
Attr Flags = PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
! Scan Time Secs
!/**
! 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"
......
#
# 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.
......@@ -2,8 +2,20 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CLoop $ClassDef 14
Body SysBody
......@@ -15,6 +27,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "CLoop"
EndBody
!/**
! Input for conditional execution of the loop.
!*/
Object Condition $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......@@ -22,24 +37,36 @@ SObject NMps:Class
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"
......
......@@ -2,8 +2,25 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CurrentData $ClassDef 11
Body SysBody
......@@ -18,6 +35,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "currentdata"
EndBody
!/**
! Pointer to the currently executed data object.
!*/
Object DataCurrentP $Output 1
Body SysBody
Attr PgmName = "DataCurrentP"
......
......@@ -2,8 +2,26 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object CurrentIndex $ClassDef 12
Body SysBody
......@@ -18,6 +36,9 @@ SObject NMps:Class
Body SysBody
Attr StructName = "currentindex"
EndBody
!/**
! The index of the currently executed data object.
!*/
Object DataCurrent_Index $Output 1
Body SysBody
Attr PgmName = "CurrentIndex"
......
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataCopy $ClassDef 9
Body SysBody
......@@ -17,6 +30,9 @@ SObject NMps:Class
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"
......@@ -25,6 +41,9 @@ SObject NMps:Class
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"
......@@ -33,6 +52,9 @@ SObject NMps:Class
Attr GraphName = "To"
EndBody
EndObject
!/**
! When Condition is true, the copy is executed.
!*/
Object Condition $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataReset $ClassDef 10
Body SysBody
......@@ -17,6 +30,9 @@ SObject NMps:Class
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"
......@@ -25,6 +41,9 @@ SObject NMps:Class
Attr GraphName = "Data"
EndBody
EndObject
!/**
! When Condition is true, the reset is executed.
!*/
Object Condition $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
......
......@@ -2,8 +2,29 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object DataSelect $ClassDef 15
Body SysBody
......@@ -17,18 +38,27 @@ SObject NMps:Class
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"
......@@ -36,6 +66,9 @@ SObject NMps:Class
Attr GraphName = "Da1"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -43,6 +76,9 @@ SObject NMps:Class
Attr GraphName = "Da2"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -50,6 +86,9 @@ SObject NMps:Class
Attr GraphName = "Da3"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -57,6 +96,9 @@ SObject NMps:Class
Attr GraphName = "Da4"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -64,6 +106,9 @@ SObject NMps:Class
Attr GraphName = "Da5"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -71,6 +116,9 @@ SObject NMps:Class
Attr GraphName = "Da6"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -78,6 +126,9 @@ SObject NMps:Class
Attr GraphName = "Da7"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -85,6 +136,9 @@ SObject NMps:Class
Attr GraphName = "Da8"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -92,6 +146,9 @@ SObject NMps:Class
Attr GraphName = "Da9"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -99,6 +156,9 @@ SObject NMps:Class
Attr GraphName = "Da10"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -106,6 +166,9 @@ SObject NMps:Class
Attr GraphName = "Da11"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -113,6 +176,9 @@ SObject NMps:Class
Attr GraphName = "Da12"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -120,6 +186,9 @@ SObject NMps:Class
Attr GraphName = "Da13"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -127,6 +196,9 @@ SObject NMps:Class
Attr GraphName = "Da14"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -134,6 +206,9 @@ SObject NMps:Class
Attr GraphName = "Da15"
EndBody
EndObject
!/**
! Data input.
!*/
Object DataIn16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
......@@ -141,6 +216,9 @@ SObject NMps:Class
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"
......@@ -152,6 +230,9 @@ SObject NMps:Class
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"
......
! nmps_c_displink.wb_load -- Defines the class DispLink.
!
! PROVIEW/R
!
! <Description>.
!/**
! @Group MaterialPlanning,Plc
!*/
!
SObject NMps:Class
Object DispLink $ClassDef 45
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group MaterialPlanning,Plc
!*/
SObject NMps:Class
Object GetDap $ClassDef 19
Body SysBody
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Plc
!*/
SObject NMps:Class
Object GetObjid $ClassDef 13
Body SysBody
......
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Plc
!*/
SObject NMps:Class
Object GetObjidp $ClassDef 20
Body SysBody
......
......@@ -2,8 +2,16 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object NMpsMirrorConfig $ClassDef 32
Body SysBody
......@@ -14,11 +22,17 @@ SObject NMps:Class
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"
......@@ -26,6 +40,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of initiated NMpsMirrorCell objects.
!*/
Object MirrorCellInitCount $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -33,6 +50,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of mirrored cell objects.
!*/
Object OrigCellCount $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -40,6 +60,10 @@ SObject NMps:Class
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"
......@@ -47,6 +71,9 @@ SObject NMps:Class
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"
......@@ -54,6 +81,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Number of handled data object.
!*/
Object DataObjectCount $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -61,6 +91,9 @@ SObject NMps:Class
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"
......@@ -68,6 +101,9 @@ SObject NMps:Class
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"
......@@ -75,6 +111,9 @@ SObject NMps:Class
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"
......@@ -82,6 +121,11 @@ SObject NMps:Class
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"
......@@ -89,6 +133,9 @@ SObject NMps:Class
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"
......@@ -96,6 +143,9 @@ SObject NMps:Class
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"
......@@ -103,6 +153,9 @@ SObject NMps:Class
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"
......@@ -110,6 +163,9 @@ SObject NMps:Class
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"
......@@ -117,6 +173,9 @@ SObject NMps:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Loop counger for the mirror server.
!*/
Object LoopCount $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -124,6 +183,10 @@ SObject NMps:Class
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"
......
! nmps_c_nmpsbackupconfig.wb_load -- Defines the class NMpsBackupConfig.
!
! PROVIEW/R
!
! <Description>.
!/**
! @Group MaterialPlanning,Servers,NodeConfiguration
!*/
!
SObject NMps:Class
Object NMpsBackupConfig $ClassDef 29
......
This diff is collapsed.
......@@ -2,8 +2,21 @@
!
! PROVIEW/R
!
! <Description>.
!/**
! @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
!*/
SObject NMps:Class
Object NMpsConvConfig $ClassDef 31
Body SysBody
......@@ -14,36 +27,58 @@ SObject NMps:Class
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"
......
This diff is collapsed.
......@@ -2,8 +2,9 @@
!
! PROVIEW/R
!
! <Description>.
!
!/**
! @Group Servers,NodeConfiguration
!*/
SObject NMps:Class
Object NMpsTransConfig $ClassDef 43
Body SysBody
......
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.
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.
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.
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.
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.
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.
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