Text to number TEXT → REAL
Reads text as a number, like "2.5" → 2.5.
Source"72.5"
To
Dest72.5
| Tag | After two scans |
|---|---|
| SetIn | '72.5' |
| SetPoint | 72.5 |
How it's used
Use it to read a setpoint typed as text.
Source"72.5"
To
Dest72.5
| Tag | Value |
|---|---|
| SetIn | '72.5' |
| SetPoint | 72.5 |
SetPoint is 72.5.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | REAL | Writes |
Common mistakes
- Reading text that is not a numberText that is not a number is a fault, and Dest keeps its old value.