| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class ItoStr
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_string.h | |
Convert integer value to string.

The ItoStr object converts the value of the integer input to at string stored in ActVal. Note that an erroneous format specification may cause the plcprogram to terminate. The size of the output of the conversion should not exceed 79 characters.
| RtBody attributes pwr_sClass_ItoStr | |||
|---|---|---|---|
| Int32 | In | In | Integer input that will be converted to string. |
| String80 | Format | c-format that specifies the conversion. | |
| String80 | ActVal | Val | Output that contains the string. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 1 |
| parameters[1] | 1 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 1 (standard, common attributes) |
| graphindex | 0 |
| default_mask[0] | 1 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 5 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| executeordermethod | 2 |
| objname | ItoStr |
| graphname | ItoStr |
| Template Object | |
|---|---|
| Format | %d |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
| GraphName | In | |
| Body | RtBody | |
Integer input that will be converted to string.
| Format Intern | ||
|---|---|---|
| Class | Intern | |
| Type | String80 | |
| Flags | ||
| Body | RtBody | |
c-format that specifies the conversion.
| ActVal Output | ||
|---|---|---|
| Class | Output | |
| Type | String80 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | Val | |
| Body | RtBody | |
Output that contains the string.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |