In this tutorial (below link), you can find free tools ,to simulate PLC with Mango M2M

http://scadaforplcs.blogspot.com/