| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class CStoIi
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_io.h | |
Conditional Storage Integer input.

Conditional storage of an integer value on a specified local Ii-signal (= Ii object). Conditional is aimed at the con-input, which is supposed to be connected.Note!
This object is used for simulation purposes. SimulFlag will be set TRUE and ReadWriteFlag FALSE in the IOHandler object, i.e. any physical I/O-hardware may not be used on the node in connection to this object.
| RtBody attributes pwr_sClass_cstoii | |||
|---|---|---|---|
| Int32 | In | VAL | The input is connected to an integer signal or left open. In the latter case the In value is considered to be stored. |
| Boolean | Cond | con | Specifies whether a storage will be done or not. FALSE means no storage and TRUE means storage of an integer value. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | IiObject | In | Specifies the name of the Ii object where to store the value. |
| AttrRef | SigChanCon | Used by the PLC Editor. | |
| Int32 | IiObjectSegments | Specifies how many segments of the Ii object name that is to be displayed in the symbol of the CStoIi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of |
|
| Boolean | ShowSigChanCon | Specifies if the name on the channel object ( associated with the signal object) is to be displayed in the symbol of the CStoIi object or not. FALSE means no displaying and TRUE displaying. See also SigChanConSegments. |
|
| Int32 | SigChanConSegments | Specifies, when ShowSigChanCon = TRUE, how many segments of the channel object name that is to be displayed in the symbol of the CStoIi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the channel object name. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 268 |
| parameters[0] | 2 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 15 |
| graphindex | 1 |
| default_mask[0] | 3 |
| default_mask[1] | 0 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 38 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 1 |
| connectmethod | 22 |
| executeordermethod | 2 |
| objname | CStoIi |
| graphname | CStoIi |
| debugpar | Cond |
| Template Object | |
|---|---|
| IiObjectSegments | 2 |
| ShowSigChanCon | 1 |
| SigChanConSegments | 2 |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | RTVIRTUAL | DEVBODYREF | |
| GraphName | VAL | |
| Body | RtBody | |
The input is connected to an integer signal or left open. In the latter case the In value is considered to be stored.
| Cond Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | DEVBODYREF | NOEDIT | |
| GraphName | con | |
| Body | RtBody | |
Specifies whether a storage will be done or not. FALSE means no storage and TRUE means storage of an integer value.
| IiObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| GraphName | In | |
| Body | DevBody | |
Specifies the name of the Ii object where to store the value.
| SigChanCon Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | INVISIBLE | |
| Body | DevBody | |
Used by the PLC Editor.
| IiObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the Ii object name that is to be displayed in the symbol of the CStoIi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of
| ShowSigChanCon Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | ||
| Body | DevBody | |
Specifies if the name on the channel object ( associated with the signal object) is to be displayed in the symbol of the CStoIi object or not. FALSE means no displaying and TRUE displaying. See also SigChanConSegments.
| SigChanConSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies, when ShowSigChanCon = TRUE, how many segments of the channel object name that is to be displayed in the symbol of the CStoIi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the channel object name.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |