Introduction: Dye Mixer Plc Program/simulation

About: bachelors degree in Electrical Engineering, love developing hardware systems on both microcontrollers and PLC.

Programmable Logic Controllers,are for industrial use mostly.They are robost and expensive because the can be installed in areas with harsh weather conditions and are expected to last for longer periods of time.

Here we look at the use of a PLC in an industrial dye mixer.

Problem description

The problem is to implement an automation of a dye mixing machine.

Dye mixer operation starts by the press of a Start push-button and stops at anytime by Stop push-button press.During the operation green indicator Lamp should light permanently.

The dye from the three basic dye (Green, Red, Blue) tanks goes to the mixing tank through magnetic valves. PLC controls opening / closing of all magnetic valves. The machine has to mix a given color. The red dye is filling to mix tank for 2 s, the green one for 3 s, and the blue one for 4 s. Filling of the dye starts simultaneously with 2 s delay after the press of start push button.

If all necessary dyes are in the mixing tank, then after 3 s the mixing motor starts and mixes dye for 8 s. The motor is a 3-phase asynchronous motor that needs star-delta start up. Start-delta switching time is 3 s.

After mixing the drain magnetic valve is necessary to open immediately. If the tank becomes empty, the magnetic valve i needed to close and the mixing process has finished. The level-switch indicates if the tank is empty.

The dye mixing can be restarted by Start Push button repress.

The first to solving any electrical problem is to know the Number of I/O devices,function block and as well as their address.The program is attached and you can download and walk through and study it,you can run the simulation as well while looking at the description. This program was written using an easysoft coDesys or easy800

Both the easysoft and easy800 programs are attached here.I hope this can help people familiar with this programing environment.

For people who are not, the problem description is really catchy and can also be solved using arduino or raspberry or any other kind of microcontroller. Enjoy.