Text capacity CAPACITY
Dest = the most characters the tag can hold.
Text'BIN-A'
Dest20
| Tag | After two scans |
|---|---|
| Label | 'BIN-A' |
| LabelCap | 20 |
How it's used
Use it to check there is room before joining or inserting text.
Text'BIN-A'
Dest20
| Tag | Value |
|---|---|
| Label | 'BIN-A' |
| LabelCap | 20 |
Label can hold 20 characters.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | DINT | Writes |
Common mistakes
- Mixing up capacity and lengthCapacity is how much the tag can hold. LEN is how much it holds now.