Text to number TEXT → INT
Reads text as a number, like "42" → 42.
Source"1450"
To
Dest1450
| Tag | After two scans |
|---|---|
| RpmIn | '1450' |
| RpmNum | 1450 |
How it's used
Use it to read a number typed as text.
Source"1450"
To
Dest1450
| Tag | Value |
|---|---|
| RpmIn | '1450' |
| Rpm | 1450 |
Rpm is the number 1450.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | INT | Writes |
Common mistakes
- Reading a number that does not fitINT holds -32768 to 32767. Use DINT for more.