Class NMpsTrpRR
Version 1.0
Modified 07-JUL-2017 13:58:14.00
Code nmps_plc.c
 Transport of dataobject between the rear ends of two NMpsCell objects.
 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.

See also



RtBody attributes pwr_sClass_NMpsTrpRR
Int32 In In Connection to the rear end of a cell object.
Int32 Out Out Connection to the rear end of a cell object.
Boolean TriggForwFront f Transport a dataobject in forward direction. If Function is 0 only front is transported.
Boolean TriggForwBack fb Transport the back of a data object in forward direction. Valid if Function is 0.
Boolean TriggReverseFront r Transport a dataobject in reverse direction. If Function is 0 only front is transported.
Boolean TriggReverseBack rb Transport the back of a data object in reverse direction. Valid if Function is 0.
Boolean Status sts True if a transportation failed.
Mask Function   Transport function.
Boolean OldTriggForwFront  
Boolean OldTriggForwBack  
Boolean OldTriggReverseFront  
Boolean OldTriggReverseBack  
Boolean FuncAllForward  
Boolean FuncAllReverse  

DevBody attributes 
pwrs:Class-$PlcNode PlcNode  


GraphPlcNode
object_type 229
parameters[0] 6
parameters[1] 0
parameters[2] 1
parameters[3] 0
graphmethod 16
graphindex 1
default_mask[0] 7
default_mask[1] 0
segname_annotation 1
compmethod 41
compindex 1
tracemethod 0
traceindex 1
connectmethod 0
executeordermethod 9
objname TrpRR
graphname TrpRR


Template Object
Function 1


Attributes detail


In Input
Class Input
Type Int32
Flags State|Invisible
GraphName In
Body RtBody
Connection to the rear end of a cell object.

Out Input
Class Input
Type Int32
Flags State|Invisible
GraphName Out
Body RtBody
Connection to the rear end of a cell object.

TriggForwFront Input
Class Input
Type Boolean
Flags Noedit|Noinvert
GraphName f
Body RtBody
Transport a dataobject in forward direction. If Function is 0 only front is transported.

TriggForwBack Input
Class Input
Type Boolean
Flags Noedit|Noinvert
GraphName fb
Body RtBody
Transport the back of a data object in forward direction. Valid if Function is 0.

TriggReverseFront Input
Class Input
Type Boolean
Flags Noedit|Noinvert
GraphName r
Body RtBody
Transport a dataobject in reverse direction. If Function is 0 only front is transported.

TriggReverseBack Input
Class Input
Type Boolean
Flags Noedit|Noinvert
GraphName rb
Body RtBody
Transport the back of a data object in reverse direction. Valid if Function is 0.

Status Output
Class Output
Type Boolean
Flags Noedit
GraphName sts
Body RtBody
 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.

Function Intern
Class Intern
Type Mask
Flags
Body RtBody
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.

OldTriggForwFront Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

OldTriggForwBack Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

OldTriggReverseFront Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

OldTriggReverseBack Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

FuncAllForward Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

FuncAllReverse Intern
Class Intern
Type Boolean
Flags Invisible
Body RtBody

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