Volume NMps | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class NMpsTrpFF![]() |
||
---|---|---|
Version | 1.0 | |
Modified | 07-JUL-2017 13:58:14.00 | |
Kod | nmps_plc.c |
Förflyttar dataobjekt från en ingång på ett cellobjekt till en ingång på ett annat cellobjekt.
Funktionen är i övrigt identisk med ett NMpsTrp objekt Function = 0 bör ej användas (dvs Trp objektet ska hantera fram och bakkant) Om den används kommer objektet att vändas av trp objektet eftersom framkanten måste ligga före bakkanten i cell objekten. Dvs bakkanten kommer att befinna sig samtidigt i båda cellerna. För beskrivning av attribut se NMpsTrp.
RtBody attributes pwr_sClass_NMpsTrpFF | |||
---|---|---|---|
Int32 | In | In | Connection to the front end of a cell object. |
Int32 | Out | Out | Connection to the front 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 | 230 |
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 | TrpFF |
graphname | TrpFF |
Template Object | |
---|---|
Function | 1 |
In Input | ||
---|---|---|
Klass | Input | |
Typ | Int32 | |
Flags | State|Invisible | |
GraphName | In | |
Kropp | RtBody |
Connection to the front end of a cell object.
Out Input | ||
---|---|---|
Klass | Input | |
Typ | Int32 | |
Flags | State|Invisible | |
GraphName | Out | |
Kropp | RtBody |
Connection to the front end of a cell object.
TriggForwFront Input | ||
---|---|---|
Klass | Input | |
Typ | Boolean | |
Flags | Noedit|Noinvert | |
GraphName | f | |
Kropp | RtBody |
Transport a dataobject in forward direction. If Function is 0 only front is transported.
TriggForwBack Input | ||
---|---|---|
Klass | Input | |
Typ | Boolean | |
Flags | Noedit|Noinvert | |
GraphName | fb | |
Kropp | RtBody |
Transport the back of a data object in forward direction. Valid if Function is 0.
TriggReverseFront Input | ||
---|---|---|
Klass | Input | |
Typ | Boolean | |
Flags | Noedit|Noinvert | |
GraphName | r | |
Kropp | RtBody |
Transport a dataobject in reverse direction. If Function is 0 only front is transported.
TriggReverseBack Input | ||
---|---|---|
Klass | Input | |
Typ | Boolean | |
Flags | Noedit|Noinvert | |
GraphName | rb | |
Kropp | RtBody |
Transport the back of a data object in reverse direction. Valid if Function is 0.
Status Output | ||
---|---|---|
Klass | Output | |
Typ | Boolean | |
Flags | Noedit | |
GraphName | sts | |
Kropp | 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 | ||
---|---|---|
Klass | Intern | |
Typ | Mask | |
Flags | ||
Kropp | 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 | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
OldTriggForwBack Intern | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
OldTriggReverseFront Intern | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
OldTriggReverseBack Intern | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
FuncAllForward Intern | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
FuncAllReverse Intern | ||
---|---|---|
Klass | Intern | |
Typ | Boolean | |
Flags | Invisible | |
Kropp | RtBody |
PlcNode Buffer | ||
---|---|---|
Klass | Buffer | |
Typ | pwrs:Class-$PlcNode | |
Flags | Invisible | |
Kropp | DevBody |