Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Some mistakes with TPWrite in the flexpendant
Hello again
I'm having some problems with printing text in the flexpendant, and I don`t know where is the problem, because, same instructions in other side of the program, work well and in other sides, not
The problem is, that, when I use this part of the program:
TPErase;
TPWrite " ROBOT-1";
TPWrite " ";
TPWrite " 1-ESTACION-1";
TPWrite " 2-ESTACION-2";
TPWrite " 3-SEPARACION";
TPWrite " 4-NUM.BOBINAS";
TPWrite "";
TPWrite " SALIR";
TPReadFK Var1R2,"","1","2","3", "4","SALIR";
The result in the flexpendant is this:
1-ESTACION-1
2-ESTACION-2
3-SEPARACION
4-NUM.BOBINAS
SALIR";
| 1 | 2 | 3 | 4 | SALIR |
The Title ROBOT-1 it's shown a second, and then it's erased when the instruction TPReadFK is executed.
In other sides I used this same part of the program, but with other text like this:
TPWrite " ROBOT 1";
TPWrite " ";
TPWrite " 1-PALET NORMAL";
TPWrite " 2-PALET EUROPALET";
TPWrite "";
TPWrite " 5-SOLO RETENCION DE BOBINAS";
TPReadFK CodigoR2, "", "1", "2", stEmpty, stEmpty, "5";
The result in the flexpendant is this:
ROBOT 1
1-PALET NORMAL
2-PALET EUROPALET
5-SOLO RETENCION DE BOBINAS
| 1 | 2 | | | 5 |
Could you be so kind of show me why this mistake appears and how to solve it?
Thanks
I'm having some problems with printing text in the flexpendant, and I don`t know where is the problem, because, same instructions in other side of the program, work well and in other sides, not
The problem is, that, when I use this part of the program:
TPErase;
TPWrite " ROBOT-1";
TPWrite " ";
TPWrite " 1-ESTACION-1";
TPWrite " 2-ESTACION-2";
TPWrite " 3-SEPARACION";
TPWrite " 4-NUM.BOBINAS";
TPWrite "";
TPWrite " SALIR";
TPReadFK Var1R2,"","1","2","3", "4","SALIR";
The result in the flexpendant is this:
1-ESTACION-1
2-ESTACION-2
3-SEPARACION
4-NUM.BOBINAS
SALIR";
| 1 | 2 | 3 | 4 | SALIR |
The Title ROBOT-1 it's shown a second, and then it's erased when the instruction TPReadFK is executed.
In other sides I used this same part of the program, but with other text like this:
TPWrite " ROBOT 1";
TPWrite " ";
TPWrite " 1-PALET NORMAL";
TPWrite " 2-PALET EUROPALET";
TPWrite "";
TPWrite " 5-SOLO RETENCION DE BOBINAS";
TPReadFK CodigoR2, "", "1", "2", stEmpty, stEmpty, "5";
The result in the flexpendant is this:
ROBOT 1
1-PALET NORMAL
2-PALET EUROPALET
5-SOLO RETENCION DE BOBINAS
| 1 | 2 | | | 5 |
Could you be so kind of show me why this mistake appears and how to solve it?
Thanks
0
Best Answer
-
There can be only so many lines displayed. When you exceed the maximum, the top line is flushed out. It is like first in, first out. Remove one of the TPWrite " ";Lee Justice0
Answers
-
Thanks again, problem fixed.0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
