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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings