Popis: |
For the traditional PLC compatibility and poor scalability problems, this article developed a soft PLC running and simulation system. The system compatible with Mitsubishi FX2N series PLC instruction set. RTX was used to serve as the real-time kernel, ensured the real-time performance of the control, introduced the using method of RTX timer, multithreading and shared memory, emphasized the decoding function realization, also developed a soft PLC simulation system. Finally, through an example program verify the correctness of the running and simulation system. |