Arduino-tomation Part 3

by manu4371 in Circuits > Arduino

463 Views, 1 Favorites, 0 Comments

Arduino-tomation Part 3

THE STUPID MACHINE.jpg

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

The Operating Part (OP) Description

OPERATING PART.jpg

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.

Add Modern Skills

THE CLONE BOARD.jpg
THE DASHBOARD.jpg
THE HMI.jpg

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.

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)

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

Downloads

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!!!