Arduino-tomation Part 3

Introduction: Arduino-tomation Part 3


Another machine to tranform in a modern way. What for? In order to learn about automation methods.

Step 1: The Operating Part (OP) Description

This little stupid machine is a small model of a bigger one use in industrial plants for chimical treatments on metal pieces or whatever...

It 's made of a little vehicle which takes a basket full of whatever and moves it from place to place (5 places). Two DC 24V motors allow vertical and horizontal movements. Sensors indicate the various positions of the vehicle.

Step 2: Add Modern Skills

I decided to use an arduino clone based on tha atmega1284P which includes enough I/O to control the system. I also use an industrial touchscreen (my famous COOLMAY MT6037H-W) which communicates with the arduino owing to the W5100 ethernet shield in a modbus-tcp protocol.

Step 3: Schematics and Programs

To describe what I aim to, some great guides are necessary:

-the state machine of the program directly converted in an arduino sketch with the SM library.

-the SFC (GRAFCET in french), with IEC61131 agreement (the industrial method).

I give you too the schematics of the system.

You can also find 2 programs:

-the arduino sketch (TraitSurf1284.rar)

-the HMI sketch (TraitSurf.rar)

Step 4: Emergency Guide: What to Do in Case of Emergency or Power On...

In France we use a guide called GEMMA (Guide des Modes de Marches et d'Arrêt), to describe the different step to make the machine running.

Every buttons and lights of the dashboard are written on this special page and what to do in case of emergency, fault, broken pieces, bad production....

It looks like a crazy picture but it's so usefull when you don't know what to do with this stupid machine.

PS: IC: Initial Conditions : vehicle empty, High and on C1

OP: Operating Part of the system

Step 5: Conclusion

It's a very good machine for students who want to learn automation and programing solutions. Here you can only program your machine with C language (not IEC31131), if you want a LADDER language way, use LDmicro (see one of my previous instructables, IEC61131 agreement). For a state machine programming, use Yakindu (not IEC61131) but it's not running with a clone so change the clone into a MEGA2560 board, for an SFC programming (IEC61131 agreement) use GRAFCET STUDIO with an arduino DUE only (some correction on the schematics will have to be made).

Thanks for all interesting website found all over the world.

Happy instructables!!!

Be the First to Share


    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge
    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Make it Move Challenge

      Make it Move Challenge