Class CurrentIndex
Version 1.0
Modified 07-JUL-2017 13:58:14.00
 Get the index of the current data object in a NMpsCell or a CLoop subwindow.
 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.
See also



RtBody attributes pwr_sClass_currentindex
Float32 DataCurrent_Index Out The index of the currently executed data object.


GraphPlcNode
object_type 228
parameters[0] 0
parameters[1] 0
parameters[2] 1
parameters[3] 0
graphmethod 0 (standard, individual attributes)
graphindex 0
default_mask[0] 0
default_mask[1] 1
segname_annotation 1
compmethod 44
compindex 0
tracemethod 0
traceindex 0
connectmethod 0
executeordermethod 2
objname CurrIndex
graphname CurrIndex

DevBody attributes 
Objid CellObject  
pwrs:Class-$PlcNode PlcNode  


Template Object


Attributes detail


DataCurrent_Index Output
Class Output
Type Float32
Flags State|Rtvirtual|Devbodyref|Invisible
GraphName Out
Body RtBody
The index of the currently executed data object.

CellObject Intern
Class Intern
Type Objid
Flags Invisible
Body DevBody

PlcNode Buffer
Class Buffer
Type pwrs:Class-$PlcNode
Flags Invisible
Body DevBody