Wireless Sensors Network (WSN) integration in a Cyber Physical System (CPS) is becoming one of the most important research topics for increasing the adaptability, autonomy, efficiency, functionality, reliability, safety, and usability in the wireless automation systems. Due the complexity of the CPS, simulators and emulators have to be used to replace the real experiments in order to provide necessary feedback and facilities for this regard. Although the simulators are open source, flexible, extensible and full integrated in a mathematical modelling tools, the external connection at a physical level and the direct interaction with the process control via the WSN in the CPSs is very poor. This paper proposes a new simulation module to contro...