| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class Reset_SO
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_grafcet.h | |
Resets a stored Grafcet order when the input is TRUE.

If the Order object has no S-order attribute nothing will happens. Usually, the Reset_SO is located in a Grafcet program, but it is not necessary. It does no matter if it is located in an ordinary PLC program. Contains no relevant information (=data) in rtdb.Hints
One way to specify the complete name of the Order object in the Reset_SO object is to: - Selects, in the Navigator, the actual Order object. - Double click with Ctrl/ MB1 (= the left button of a 3-button mouse) on the right part of the Reset_SO's symbol. - The last segment name of the Order object is then shown in the symbol of Reset_SO. In figure below the last segment name of the Order object is Ord1.

Reset of an S-order
| RtBody attributes pwr_sClass_reset_so | |||
|---|---|---|---|
| Boolean | In | in | Specifies whether a reset will be done or not. FALSE means no reset and TRUE means reset on the stored order. |
| DevBody attributes | |||
|---|---|---|---|
| Objid | OrderObject | Order | Specifies the complete name of the Order object. Used by the PLC Editor |
| Int32 | OrderObjectSegments | Specifies how many segments of the Order object name that is to be displayed in the symbol of the Reset_SO object. The segments are counted from behind. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 35 |
| parameters[0] | 1 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 1 |
| default_mask[0] | 1 |
| default_mask[1] | 0 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 18 |
| compindex | 0 |
| tracemethod | 3 |
| traceindex | 1 |
| connectmethod | 11 |
| executeordermethod | 6 |
| objname | ResSO |
| graphname | ResSO |
| debugpar | In |
| Template Object | |
|---|---|
| In | 0 |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
| GraphName | in | |
| Body | RtBody | |
Specifies whether a reset will be done or not. FALSE means no reset and TRUE means reset on the stored order.
| OrderObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Objid | |
| Flags | ||
| GraphName | Order | |
| Body | DevBody | |
Specifies the complete name of the Order object. Used by the PLC Editor
| OrderObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the Order object name that is to be displayed in the symbol of the Reset_SO object. The segments are counted from behind.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |