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.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings