Imán#

Introduction#

The V5 Electromagnet is designed for use with the V5 Workcell only. The Magnet blocks allow the Workcell Arm to pick up and release objects by controlling the Electromagnet’s strength and activation time.

For more information on coding the V5 Workcell, see the Arm API page.

Below is a list of available blocks:

energize Electromagnet#

The energize Electromagnet block sets the Electromagnet to either boost or drop using the set power and duration.

aria-description goes here#
energizar [Magnet 1 v] a [refuerzo v]

Parameter

Description

device

The Electromagnet to use, configured in the Devices window.

mode

What the magnet should do:

  • boost — Turn on.
  • drop — Turn off.

set Electromagnet power#

The set Electromagnet power block sets how strong the Electromagnet will be when it is boosted.

Establezca la potencia [Magnet v] al [50]%

Parameter

Description

device

The Electromagnet to use, configured in the Devices window.

power

The strength of the Electromagnet from 0% (off) to 100%.

set Electromagnet duration#

The set Electromagnet duration block sets how long the Electromagnet will stay in a boost or drop state after the energize Electromagnet block is used.

Establezca la duración [Magnet 1 v] en [corto v]

Parameter

Description

device

The Electromagnet to use, configured in the Devices window.

duration

How long the Electromagnet will be energized:

  • short — 250 milliseconds
  • medium (default) — 500 milliseconds
  • long — 1000 milliseconds