This paper presents a modular, reconfigurable, open system for a virtual axis machine based on the RTLinux, using pre-built software component. The system consists of an interface, a component library, a communication and coordinate subsystem. The interface connects controller software to application software, and provides a configurator that oversees and loads task at run-time or startup. The component library is a dynamically loaded library that provides a portable way to dynamically load task. The communication and coordinate subsystem synchronizes and coordinates all the other subsystems and manages the communication between them.