| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class Trans
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_grafcet.h | |
A Grafcet transition condition.

If the transition condition (see below) is satisfied,
and every step object (i.e. an object by the type Step,
InitStep, or SubStep) directly connected to the input
of the Trans object is active, the active status will
be transferred to all the step objects directly
connected to the output of the Trans object, while the
earlier active step objects become inactive.
The possible transition conditions are as follows:
1 an underlying conditional window. The objects in the
window get a WindowCond object (see p. 3-394) as
parent object. The status of the conditional window
is stored in the Trans object by means of a SetCond
object in the window.
2 directly in a combinational circuit connected to the
left horizontal part of the symbol (see T4 in figure
3-55 on p. 3-366).
3 the condition is set as always TRUE ( Cond = 1 ) or
always FALSE ( Cond = 0 ) at the configuring.
To the vertical line of the symbol step objects are
connected. When status is transferred it is always from
the step/s/ that precede the Trans object to the
step/s/ that follow the Trans object.
The operator gets the opportunity to control the
transition condition manually by setting Man = 1. The
conditional window is being executed as usual, but the
operator can override the transition condition by
setting OpCond. As soon as a manually initiated
transition has taken place the OpCond flag is cleared
by the ProviewR system which implies that the operator
has to set the OpCond flag to trigger each transition.
The Man flag remains set until cleared by the operator.
At reset of a sequential chain ( see the description of
InitStep, are neither the Man flag nor the
OpCond flag is cleared.
Example
Transition Condition with Different Types of Conditions. Parallel Sequences In figure Transition Condition with Different Types of Conditions. Parallel Sequences the thick vertical lines indicate that the transition conditions T5, T6, and T7 have underlying conditional windows. The transition condition T4 has its transition condition directly accessible.
| RtBody attributes pwr_sClass_trans | |||
|---|---|---|---|
| Boolean | InStep | In | |
| Boolean | OutStep | Out | |
| Boolean | Cond | Cond | Specifies the conditional status. The condition is set in one of the following ways: · a SetCond object in an underlying conditional window · a direct connection to the transition |
| Boolean | ActOld | ActOld | Saves the status of preceding steps. Used to limit the maximum of transitions to one per sequential chain and executing cycle. |
| Boolean | Man | Man | Specifies whether to enable or disable a manually initiated transition. FALSE disables a manually initiated transition and TRUE enables it. |
| Boolean | OpCond | OpCond | Specifies the status of the manual condition. The transition takes place when OpCond and Man both are TRUE. The OpCond flag is cleared by the ProviewR system after the transition. |
| Int32 | Acc | Acc | The operator's authorities to initiate a transition manually. 0 -- Changes not allowed. != 0 -- Changes allowed. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 33 |
| parameters[0] | 3 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| subwindows | 1 |
| subwindow_class[0] | pwrb:Class-WindowCond |
| graphmethod | 4 (special) |
| graphindex | 5 |
| default_mask[0] | 3 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 15 |
| compindex | 1 |
| tracemethod | 3 |
| traceindex | 1 |
| executeordermethod | 3 |
| objname | T |
| graphname | T |
| debugpar | Cond |
| Template Object | |
|---|---|
| Cond | 1 |
| InStep Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | INVISIBLE | |
| GraphName | In | |
| Body | RtBody | |
| OutStep Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | INVISIBLE | |
| GraphName | Out | |
| Body | RtBody | |
| Cond Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | NOINVERT | REDUTRANSFER | |
| GraphName | Cond | |
| Body | RtBody | |
Specifies the conditional status. The condition is set
in one of the following ways:
· a SetCond object in an underlying conditional
window
· a direct connection to the transition
| ActOld Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | STATE | NOEDIT | INVISIBLE | REDUTRANSFER | |
| GraphName | ActOld | |
| Body | RtBody | |
Saves the status of preceding steps. Used to limit the maximum of transitions to one per sequential chain and executing cycle.
| Man Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | Man | |
| Body | RtBody | |
Specifies whether to enable or disable a manually initiated transition. FALSE disables a manually initiated transition and TRUE enables it.
| OpCond Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | OpCond | |
| Body | RtBody | |
Specifies the status of the manual condition. The transition takes place when OpCond and Man both are TRUE. The OpCond flag is cleared by the ProviewR system after the transition.
| Acc Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| GraphName | Acc | |
| Body | RtBody | |
The operator's authorities to initiate a transition manually. 0 -- Changes not allowed. != 0 -- Changes allowed.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |