This paper proposes a step-by-step approach for developing modular and reusable logic controllers of mechatronic systems. Following that, it presents the results of employing three distributed control methods, including master-slave, peer-to-peer and independent controllers on a pick-and-place robot as a simple showcase of implementing a distributed control system on industrial applications, using the emerged IEC 61499 standard. Moreover, it addresses possibilities and challenges of using each approach.