ADM Activity 1.2.2

Transporting and Palletizing Objects

Use a magnetic end effector to move and place cubes in a planned layout.

Your lesson guide

Objective

Work toward the lesson goal: Transporting and Palletizing Objects. Use the directions and success criteria in the activity below.

Materials

For the online work: a browser and your engineering notebook. Follow the activity’s materials list for any physical build, and get teacher approval before using equipment.

Plan your time

Suggested work block: 45–60 minutes. Physical builds and projects may span several classes; follow your teacher’s schedule.

Lesson Overview

In this lesson, you will explore how automated systems move, organize, and palletize objects in manufacturing and warehouse environments. The example uses loops, variables, and a magnetic end effector to pick up and place cubes in rows.

Notes

  • Set the correct end effector before attempting to pick up objects.
  • Use safe approach and lift heights when moving between pickup and drop-off locations.
  • Variables such as yPos and xPos control where each cube is placed.
  • Loops make the palletizing process repeatable and easier to adjust.
  • Final submissions must include comments that explain pickup, transport, placement, and loop logic.
Code example

1.2.2: Transporting and Palletizing Objects

Review the code, copy it when needed, and add comments before submitting your final version.

VEXcode Python Example
Code examples may be incomplete or missing comments. Comments are required for code submissions.
def main():
    arm.set_end_effector_type(Arm.MAGNET)
    arm.set_speed(100)

    cubes = 2
    yPos = 185
    arm.move_to(180, 0, 180)
    #place cubes in back row
    for x in range(cubes):
        #move to pick up cube

        arm.move_to(48, 152, 30)
        arm.move_to(48, 152, 25)
        arm.set_end_effector_magnet(True)
        #move to drop off cube
        arm.move_to(48, 152, 60)
        arm.move_to(200, yPos, 45)
        arm.move_to(200, yPos, 41)
        arm.set_end_effector_magnet(False)
        arm.move_to(168, 160, 100)
        yPos = yPos - 50
    xPos = 135

    #front row cubes
    for x in range(cubes):
       #move to pickup cubes
        arm.move_to(48, 152, 30)
        arm.move_to(48, 152, 25)
        arm.set_end_effector_magnet(True)
        #move to drop off cubes
        arm.move_to(48, 152, 60)
        arm.move_to(150, xPos, 45)
        arm.move_to(150, xPos, 41)
        arm.set_end_effector_magnet(False)
        arm.move_to(168, 160, 100)
        xPos = xPos + 50

Build your lesson report

Checkpoint: is your evidence ready?
  • Check calculations, units, labels, and measurements against the activity requirements.
  • Record what actually happened, including unexpected results.
  • Explain what you changed and why; attach required drawings, photos, CAD, or code in your classroom assignment.

Submit the evidence specified in the activity and your classroom assignment. The report below collects your notes, calculations, observations, and reflections; attach any required drawings, photos, CAD, or code separately.

A PDF download is not a submission. Review it, then upload it and any required attachments through your classroom assignment system.