jbm
May 1, 2018, 9:27am
2
Take a look at this sample, it reads the collection of I/O’s and allows the user to toggle them by button push.
It sounds like what you are looking for.
IO Manipulator
Description of functionality:
This URCap simulates functionality for operating an open/close type gripper directly from the Tool IO of the robot.
User can test open/close of gripper by using buttons in UI, and select whether the program node should grip or release when executed
Actual status of the gripper is read from the IO’s in the API domain.io interface.
What topics are covered:
IO, DigitalIO, AnalogIO, com.ur.urcap.api.domain.io
Find it on Github!