About TPWrite concatenations
Hello from Spain...
I want to write a text to a flexpendant, but, i need to concatenate a text + numeric Variable + text + numeric variable in a single line.
I Know how to concatenate in a single line, text + num like this...
TPWrite "ROBOT 1 ";
TPWrite "";
TPWrite "ALTURA ------ "\Num:=AltBobR1;
The result will be something like that:
ROBOT 1
ALTURA ------ 1000
But I need to get this result:
R1 R2
ALTURA ------ 1000 - 1500
Numeric value below text R1 is AltBobR1 variable and Numeric value below text R2 is AltBobR2 variable.
Can someone guide me how to achieve this result?
I want to write a text to a flexpendant, but, i need to concatenate a text + numeric Variable + text + numeric variable in a single line.
I Know how to concatenate in a single line, text + num like this...
TPWrite "ROBOT 1 ";
TPWrite "";
TPWrite "ALTURA ------ "\Num:=AltBobR1;
The result will be something like that:
ROBOT 1
ALTURA ------ 1000
But I need to get this result:
R1 R2
ALTURA ------ 1000 - 1500
Numeric value below text R1 is AltBobR1 variable and Numeric value below text R2 is AltBobR2 variable.
Can someone guide me how to achieve this result?
0
Answers
-
Concatenate it into a string variable and then TPWrite stVariable;Lee Justice0
-
Ok Lemster68, thanks for the answer0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings