How to use a festo solenoid valve

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

  1. 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.
  1. Example Code:
  2. set_digital_output(0, True) # Activates output 0
  3. set_digital_output(0, False) # Deactivates output 0

Step 3: Use the Teach Pendant for Manual Control

  1. Navigate to the I/O Tab on the teach pendant.
  2. Locate the Digital Outputs section.
  3. Identify the desired output number you want to control.
  4. 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.