Text to number TEXT → SINT
Reads text as a number, like "42" → 42.
Source"7"
To
Dest7
| Tag | After two scans |
|---|---|
| ZoneIn | '7' |
| ZoneNum | 7 |
How it's used
Use it to read a small number typed as text.
Source"7"
To
Dest7
| Tag | Value |
|---|---|
| ZoneIn | '7' |
| Zone | 7 |
Zone is the number 7.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | SINT | Writes |
Common mistakes
- Reading a number that does not fitSINT holds -128 to 127. Use INT or DINT for more.