How to Use the I/O with the UR10 Robot and Festo Solenoid Valve VUVG-LK10-M52
Step 1: Connect Power to the Valve
- Connect one side of a cable to the 24V input on the solenoid valve.
- Connect the other side of the cable to 0V and the Digital Output (DO) of the UR10 controller.
Step 2: Set Up the Digital Output in Code
- Write the Code : Use the set_digital_output function to control the valve programmatically.
- Syntax: set_digital_output(output_number, True/False)
- Replace output_number with the desired output port (e.g., 0, 1, 2, etc.).
- Set the second parameter to True to activate the valve or False to deactivate it.
- Example Code:
- set_digital_output(0, True) # Activates output 0
- set_digital_output(0, False) # Deactivates output 0
Step 3: Use the Teach Pendant for Manual Control
- Navigate to the I/O Tab on the teach pendant.
- Locate the Digital Outputs section.
- Identify the desired output number you want to control.
- Toggle the output using the button next to the output number:
- Press the button to activate the valve (the button will indicate an active state).
- Press it again to deactivate the valve.
Step 4: Verify the Setup
- Ensure the solenoid valve activates and deactivates as expected when controlled via the teach pendant or programmatically.
- Test the valve with a small load to confirm functionality.
This process ensures proper integration of the Festo solenoid valve with the UR10 robot for controlling pneumatic systems.