top of page

Box Wrapper PLC

Disclaimer: This project was part of Udacity's "From Wire to PLC, A Bootcamp In Industrial Automation" course. I completed this project with help from the videos in the class and my final product was ultimately checked against the solution provided.

​

Link to Coursehttps://www.udemy.com/course/from-wire-to-plc-a-to-z-compilation/

​

I took Udemy's "From Wire to PLC, A Bootcamp In Industrial Automation" course because I became very interested in manufacturing after working at Tesla and wanted to learn more about it. The course covered topics such as:

​

  1. Basic electrical concepts and components and how they operate

  2. Traditional motor driving control circuits and modern motor driving equipment

  3. Protection components and how to choose them

  4. Wiring and cable sizing

  5. Sensors and their utilization in real projects

  6. Electrical Panel Troubleshooting

  7. Schematics drawing and design

  8. PLC programming using Ladder Logic, Structured Text, and Functional Block Diagrams

  9. Allen Bradley - RsLogix 500, RsEmulate 500 and Rslinx Training

  10. Human User Interface design and Animation

UC-848cba61-ac87-41d4-9642-eafbb2238489.jpg

Completion Certificate

Box Wrapper Project

Goal: Design the control logic for a box wrapper machine and build an animated visual to simulate the machine.

Main Components

  1. Motor 1: to move the wrap up and down

  2. Motor 2: to rotate the platform under the box

  3. High limit switch: to sense when the wrap is at the top

  4. Low limit switch: to sense when the wrap is at the bottom

  5. Rotation count proximity sensor: to count the number of box rotations

  6. Wrap empty proximity sensor: to stop the machine when there is no more wrap

wrapper.JPG

Example of a Box Wrapper

Choosing Power Components and Cabling

Motor 1

Given criteria:

  • 0.37kW 380VAC 3-Phase

  • Speed control: 0.37kW VFD

  • Distance from the panel: 1m

Calculations:

  • I = W/(V*0.7*1.73) = 0.8A

  • Overload not required

  • From cable size table: 1.5mm diameter cable

Motor 2

Given criteria:

  • 0.55kW 380VAC 3-Phase

  • Speed control: 0.55kW VFD

  • Distance from the panel: 1m

Calculations:

  • I = W/(V*0.7*1.73) = 1.2A

  • Overload not required

  • From cable size table: 1.5mm diameter cable

Total power = 0.37kW + 0.55kW = 0.92kW

Need 6m of 1x1.5mm cable

Choosing Sensors and their Cabling

table1new.JPG

Current = 12mA per PLC input = 12mA * 4 = 48mA

Power = 48mA * 24VDC = 1.1W

Need:

  • 3m of 2x0.75mm cable

  • 3m of 3x0.75mm cable

table2.JPG

Current = 12mA per PLC input + 9mA per relay coil

Current = (12mA + 9mA) * 4 = 84mA

Power = 84mA * 24VDC = 2W

Choosing PLC and IO

Digital Outputs (12mA each)

  1. Motor 1 (rotation)

  2. Motor 2 (Up_Down)

  3. Motor 2 (Down_Up)

  4. Spare

Digital Inputs (12mA each)

  1. High limit SW

  2. Low limit SW

  3. Wrap proximity

  4. Count proximity

  5. Motor1 OVLD

  6. Motor2 OVLD

  7. EMGC stop

  8. Spare 1

  9. Spare 2

Analog Outputs (12mA each)

  1. VFD1 frequency

  2. VFD2 frequency

Current = DOs + DIs + AOs + Relays + PLC Internal + VFD Internal

Current = (12mA * 4) + (12mA * 9) + (12mA * 4) + (9mA * 4) + 20mA + (5mA * 2) = 246mA

1A 24VDC power supply with shortcircuit protection is more than enough.

Choosing Circuit Breakers

Main Breaker

Total power = 920W + (PLC IO + PLC internal power + Relay) + 20% = 1.1kW

Total current = 1.1kW / (380 * 0.7 * 1.73) = 2.4A * 10 (worst case inrush current) = 24A

Cable length from power source to breaker = 10m

​

Is 1.5mm enough? In other words, is voltage drop less than 3%?

Voltage drop % = (1.73 * current * cable_imp._per_meter * cable length * 100) / voltage source

Voltage drop % = (1.73 * 24 * 0.0138 * 10 * 100)/380 = 1.5% < 3% -- 1.5mm is acceptable

 

MCBs

From cable size table, max current for 1.5mm cable is 25A. Main input MCB should be rated at 25A type C to account for inrush currents.

table3.JPG

Since these are only for switching, any rating higher than the device max rating is enough.

Internal Panel Cabling

Follow US color coding

  • DC Control (Relays & PLC): 0.75mm

  • VFDs: 1.5mm

  • Main circuit breaker input: 1.5mm

Fuses

Since total PLC current is 246mA, choose next highest fuse which is 500mA.

Schematics

schem1.JPG

MCB Schematic

Schem3.JPG

Control Schematic

schem2.JPG

Motors Schematic

schem4.JPG

Sensors and Button Schematic

CodeSys Demonstration

bottom of page