trigger num/dnum
Comments
-
Maybe I am misunderstanding, but why can't you use MoveLSync? It allows you to trigger a procedure, just like this:
MoveLSync p2, v1000, z30, tool2, "my_proc;"
The proc could be as simple as setting your num/dnum to your desired value.
0 -
I would like to give some positions a number with is triggered in the point (without stopping robot)
If I use:
MoveLSync p2, v1000, z30, tool2, "my_proc;"
I need to create as much procedures as points.
The solution could be to call procedure with argument:
MoveLSync p2, v1000, z30, tool2, "my_proc(55) ;"
Proc my_proc(num number)
PosNumber:=number;
EndProc
But this doesn't work.
0 -
Check out triggiosdnum in the Technical Reference Manual page 17110
-
It wouldn't work.
According to the manual:
triggiosdnum is used to define conditions and actions for setting a digital output signal, a group of digital output signals or an analog output signal at a fixed position along the robot’s movement path.
The only solution what I see is to create Virtual GO and use MoveJGO0 -
I think you can convert analog output signals to a number.VAR num my_num;my_num:=AOutput(AO_signal);0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings