Micro PLC designed to support data collection and Machine to Machine communication