Trigger - Events Table
Options
Hi,
We have a sensor installed on the gripper to detect the part in the gripper. The sensor is connected to DI1 on the board of the S4C + controller.
Here is an example of how the program work
----------
main
"Home"
"Pick"
"To load"
"FromLoad"
"Leave"
-----------
I want add after the "Pick" procedure that if the DI1 is not activated, waiting to execute the next program procedure.
In the events table, the event is set to DI1 and action is set to macro.
However, I'm not familiar with VBA programming to build the macro.
Is there any possibility to program the trigger directly in the RAPID program without VBA macro?
Thanks
0
Comments
-
Hi,In this case it's no need to use an event.It's enough to add the rapid instruction "WaitDI DI,1;" in your robot program.See the Rapid Reference manual form more information about "WaitDI".Best regards,
Anders Spaak
ABB Robotics0
Categories
- All Categories
- 5.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings