Trigger - Events Table
liken
✭
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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 802 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings