Class CellUpdate
Version 1.0
Modified 07-JUL-2017 13:58:14.00
Kod nmps_plc_display.c
 CellUpdate objects are used to display and update the content of data objects
 that is stored i NMpsCells, in the process graphics.

 The function is similar to the function of the CellDisp object. The differens
 is that a displayed value in the CellUpdate object can be modified, and the
 new value is tranfered to the data object.

See also



RtBody attributes pwr_sClass_CellUpdate
Pointer to Void Cell1 Cell1 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell2 Cell2 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell3 Cell3 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell4 Cell4 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell5 Cell5 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell6 Cell6 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell7 Cell7 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell8 Cell8 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell9 Cell9 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Pointer to Void Cell10 Cell10 Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.
Float32 Link Link Connected to the output of a DispLink object. Is used to link the select
function with other DispLink objects, or to use the function for remove
the selected data object from the cell, move the object forward or backward,
or select next or previous object.
Pointer to Void DisplayObject DObj Connected to a GetData object refering to a display object of the same
class as the data objects handled by the cells. The DisplayObject makes
it possible to display more detailed information for the seleted object.
The content of the selected data object is copied to the display object.
ClassId DataClass   Class of the data objects handled by the cell.
Int32 Function   Specific functions
- 0 Normal function.
- 1 The data objects are stored in reverse order.
Int32 Number   If the selection function is shared with other DispCell objects, the must
be a specified order, that the selection is moved between the different
DispCell tables. The DispCell objects connected to one DispLink object are
numbered from 1 and upwards. The number for each DispCell object has to
be unic and the should be no jumps in the enumeration.
Int32 MaxSize   Size of the displayed table (number or rows). Largest size is 60.
Int32 SelDirection   SelDirection changes the selection direction, i.e the function of
SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
This is useful if several CellDisp objects are linked, and some
displayes their objects in normal order, other in reverse order.
Array of String32 FloatAttr   The name of attributes of type float in the data object, that
should be displayed in the table. Up to 5 float attributes can be specified.
The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.
Array of String32 BooleanAttr   The name of attributes of type boolean in the data object, that
should be displayed in the table. Up to 5 boolean attributes can be specified.
The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.
Array of String32 IntAttr   The name of attributes of type integer in the data object, that
should be displayed in the table. Up to 5 integer attributes can be specified.
The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.
Array of Boolean Select   Array for selecting objects in the table.
An object in a row is selected by setting the corresponding index in Select.
Select[n] could be connected to a pushbutton of row n in the table.
Array of Boolean OldSelect  
Array of Objid Objid   Array with objid of the data objects.
Array of Float32 F1   Contains the values of the attribute specfied in FloatAttr[0].
Array of Float32 F2   Contains the values of the attribute specfied in FloatAttr[1].
Array of Float32 F3   Contains the values of the attribute specfied in FloatAttr[2].
Array of Float32 F4   Contains the values of the attribute specfied in FloatAttr[3].
Array of Float32 F5   Contains the values of the attribute specfied in FloatAttr[4].
Array of Boolean B1   Contains the values of the attribute specfied in BooleanAttr[0].
Array of Boolean B2   Contains the values of the attribute specfied in BooleanAttr[1].
Array of Boolean B3   Contains the values of the attribute specfied in BooleanAttr[2].
Array of Boolean B4   Contains the values of the attribute specfied in BooleanAttr[3].
Array of Boolean B5   Contains the values of the attribute specfied in BooleanAttr[4].
Array of Int32 I1   Contains the values of the attribute specfied in IntAttr[0].
Array of Int32 I2   Contains the values of the attribute specfied in IntAttr[1].
Array of Int32 I3   Contains the values of the attribute specfied in IntAttr[2].
Array of Int32 I4   Contains the values of the attribute specfied in IntAttr[3].
Array of Int32 I5   Contains the values of the attribute specfied in IntAttr[4].
Array of Int32 FloatAttrOffs   Calculated offset for the float attributes.
Array of Int32 BooleanAttrOffs   Calculated offset for the boolean attributes.
Array of Int32 IntAttrOffs   Calculated offset for the integer attributes.
Objid SelectObjid  
UInt32 DataSize  
Int32 OldLastIndex  
Array of Float32 F1Old  
Array of Float32 F2Old  
Array of Float32 F3Old  
Array of Float32 F4Old  
Array of Float32 F5Old  
Array of Boolean B1Old  
Array of Boolean B2Old  
Array of Boolean B3Old  
Array of Boolean B4Old  
Array of Boolean B5Old  
Array of Int32 I1Old  
Array of Int32 I2Old  
Array of Int32 I3Old  
Array of Int32 I4Old  
Array of Int32 I5Old  

DevBody attributes 
pwrs:Class-$PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 12
parameters[1] 0
parameters[2] 0
parameters[3] 0
graphmethod 0 (standard, individual attributes)
graphindex 0
default_mask[0] 1
default_mask[1] 0
segname_annotation 1
compmethod 35
compindex 0
tracemethod 0
traceindex 0
connectmethod 0
executeordermethod 2
objname CellUpdate
graphname CellUpdate


Template Object
MaxSize 60


Attributes detail


Cell1 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit|Noremove
GraphName Cell1
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell2 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell2
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell3 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell3
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell4 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell4
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell5 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell5
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell6 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell6
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell7 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell7
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell8 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell8
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell9 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell9
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Cell10 Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName Cell10
Kropp RtBody
Data input connected to a GetData refering to a NMpsCell or NMpsStoreCell object.

Link Input
Klass Input
Typ Float32
Flags State|Noedit
GraphName Link
Kropp RtBody
Connected to the output of a DispLink object. Is used to link the select
function with other DispLink objects, or to use the function for remove
the selected data object from the cell, move the object forward or backward,
or select next or previous object.

DisplayObject Input
Klass Input
Typ Pointer to Void
Flags Pointer|State|Noedit
GraphName DObj
Kropp RtBody
Connected to a GetData object refering to a display object of the same
class as the data objects handled by the cells. The DisplayObject makes
it possible to display more detailed information for the seleted object.
The content of the selected data object is copied to the display object.

DataClass Intern
Klass Intern
Typ ClassId
Flags
Kropp RtBody
Class of the data objects handled by the cell.

Function Intern
Klass Intern
Typ Int32
Flags
Kropp RtBody
Specific functions
- 0 Normal function.
- 1 The data objects are stored in reverse order.

Number Intern
Klass Intern
Typ Int32
Flags
Kropp RtBody
If the selection function is shared with other DispCell objects, the must
be a specified order, that the selection is moved between the different
DispCell tables. The DispCell objects connected to one DispLink object are
numbered from 1 and upwards. The number for each DispCell object has to
be unic and the should be no jumps in the enumeration.

MaxSize Intern
Klass Intern
Typ Int32
Flags
Kropp RtBody
Size of the displayed table (number or rows). Largest size is 60.

SelDirection Intern
Klass Intern
Typ Int32
Flags
Kropp RtBody
SelDirection changes the selection direction, i.e the function of
SelectNext/SelectPrevious and MoveForward/MoveBackward is reversed.
This is useful if several CellDisp objects are linked, and some
displayes their objects in normal order, other in reverse order.

FloatAttr Intern
Klass Intern
Typ Array of String32
Flags Array
Elements 5
Kropp RtBody
The name of attributes of type float in the data object, that
should be displayed in the table. Up to 5 float attributes can be specified.
The attribute in FloatAttr[0] is copied to F1, FloatAttr[1] to F2, etc.

BooleanAttr Intern
Klass Intern
Typ Array of String32
Flags Array
Elements 5
Kropp RtBody
The name of attributes of type boolean in the data object, that
should be displayed in the table. Up to 5 boolean attributes can be specified.
The attribute in BooleanAttr[0] is copied to B1, BooleanAttr[1] to B2, etc.

IntAttr Intern
Klass Intern
Typ Array of String32
Flags Array
Elements 5
Kropp RtBody
The name of attributes of type integer in the data object, that
should be displayed in the table. Up to 5 integer attributes can be specified.
The attribute in IntAttr[0] is copied to I1, IntAttr[1] to I2, etc.

Select Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Array for selecting objects in the table.
An object in a row is selected by setting the corresponding index in Select.
Select[n] could be connected to a pushbutton of row n in the table.

OldSelect Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Invisible
Elements 60
Kropp RtBody

Objid Intern
Klass Intern
Typ Array of Objid
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Array with objid of the data objects.

F1 Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in FloatAttr[0].

F2 Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in FloatAttr[1].

F3 Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in FloatAttr[2].

F4 Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in FloatAttr[3].

F5 Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in FloatAttr[4].

B1 Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in BooleanAttr[0].

B2 Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in BooleanAttr[1].

B3 Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in BooleanAttr[2].

B4 Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in BooleanAttr[3].

B5 Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in BooleanAttr[4].

I1 Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in IntAttr[0].

I2 Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in IntAttr[1].

I3 Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in IntAttr[2].

I4 Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in IntAttr[3].

I5 Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody
Contains the values of the attribute specfied in IntAttr[4].

FloatAttrOffs Intern
Klass Intern
Typ Array of Int32
Flags Array|Invisible
Elements 5
Kropp RtBody
Calculated offset for the float attributes.

BooleanAttrOffs Intern
Klass Intern
Typ Array of Int32
Flags Array|Invisible
Elements 5
Kropp RtBody
Calculated offset for the boolean attributes.

IntAttrOffs Intern
Klass Intern
Typ Array of Int32
Flags Array|Invisible
Elements 5
Kropp RtBody
Calculated offset for the integer attributes.

SelectObjid Intern
Klass Intern
Typ Objid
Flags State|Invisible
Kropp RtBody

DataSize Intern
Klass Intern
Typ UInt32
Flags State|Invisible
Kropp RtBody

OldLastIndex Intern
Klass Intern
Typ Int32
Flags State|Invisible
Kropp RtBody

F1Old Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

F2Old Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

F3Old Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

F4Old Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

F5Old Intern
Klass Intern
Typ Array of Float32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

B1Old Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody

B2Old Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody

B3Old Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody

B4Old Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody

B5Old Intern
Klass Intern
Typ Array of Boolean
Flags Array|State|Noedit
Elements 60
Kropp RtBody

I1Old Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

I2Old Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

I3Old Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

I4Old Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

I5Old Intern
Klass Intern
Typ Array of Int32
Flags Array|State|Noedit
Elements 60
Kropp RtBody

PlcNode Buffer
Klass Buffer
Typ pwrs:Class-$PlcNode
Flags Invisible
Kropp DevBody