Trigger two DO's 2 seconds from point
Hi
How can i trigger two DO's using a TriggL move?
0
Comments
-
The following example illustrates the instruction TriggLIOs:
VAR triggios gunon{2};
gunon{1}.used:=TRUE;
gunon{1}.distance:=3;
gunon{1}.start:=TRUE;
gunon{1}.signalname:="DOutput1";
gunon{1}.equiplag:=0;
gunon{1}.setvalue:=1;
gunon{2}.used:=TRUE;
gunon{2}.distance:=3;
gunon{2}.start:=TRUE;
gunon{2}.signalname:="DOutput2";
gunon{2}.equiplag:=0;
gunon{2}.setvalue:=1;
MoveJ p1, v500, z50, gun1;
TriggLIOs p2, v500, \TriggData1:=gunon, z50, gun1;
MoveL p3, v500, z50, gun1;
The signal gun is set when the TCP is 3 mm after
1 -
Hi Slokko,Thanks for your answer.Is it also possible to use time instead of distance?0
-
Time is an optional argument for the move instruction.Lee Justice0
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)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings