Research of a RTX-based Soft-PLC Multi-task System

MA Xiong-bo,HAN zhen-yu,WANG Yong-zhang,XU Hai-jun
DOI: https://doi.org/10.3969/j.issn.1001-2265.2007.01.010
2007-01-01
Abstract:The properties and advantages of RTX(Real-Time Extension),which is used to add hard real-time capabilities to Windows operating systems,are analyzed firstly.According to IEC61131-3,the paper develops a soft-PLC(Programmable Logical Controller) multi-task system based on the object-oriented approach in Visual C++ IDE(Integrated Development Environment).Where PLC is to be used in an open soft-CNC(Computer Numerical Control) system we are developing in the same operating system,i.e.Windows NT operating system extended with RTX.The soft-PLC system's modular structure is plotted by functions and the concrete function of different modules is realized by respective task thread or interface functions.Thereafter the system's task is particularly plotted and it includes system-level task and two different user-level tasks which are extendable.The timing plot when the!tasks are executing is particularly described.The switch of tasks is smoothly disposed by direct or indirect scheduling regime.Program instruction set,logic stack and data type of I/O memory which are tied up with tasks in the soft-PLC system are analyzed and studied.
What problem does this paper attempt to address?