indicates the action triggered in the transfer process
of object.
Figure5: Change of FSM state.
As shown above, it is very convenient and
efficient to change status table with the method
provided by FSM base class library. In addition,
module developers still need to complete the
programming of
AdjustAction and
DoneAction.The following is part codes of
AdjustAction (), it can realize the function of
speed adjustment.
Currently popular adaptive speed control
algorithm can be added in the above codes to satisfy
all kinds of needs of users. According to adding
speed regulating adaptive control functions in three
axis CNC milling machine, the open CNC system
can integrate other external sensor signals to
implement users’ unique control strategy.
5 CONCLUSIONS
As the dynamic behavior model of the system, FSM
has the ability of behavior reconstruction. This
method greatly increases the openness of the system.
The model of behavior which is based on finite state
machine stipulates the system behavior and control
flow, cuts down the development cycle of the CNC
system and enhances the reliability of the system. At
the same time, FSM model can realize the function
definition and control logic separation of software
unit. It can improve flexibility of system
reconstruction. Finally, the system’s reconstruction
based on finite state machine represents the
reconstruction of state table. This can simplify the
reconstruction process of the numerical control
system absolutely.
ACKNOWLEDGEMENTS
This work was supported by Major national science
and technology special projects during the 10th five-
year plan (No. 2006BAF01A19), Key Scientific and
Technological Project of Liaoning Province (No.
2006219008), Key Scientific and Technological
Project of Shenyang City (No. 1071114-2-00),
Postdoctoral Science Foundation under Grant
20080441093 and Key Laboratory Foundation of
Liaoning Province under Grant 2008S088.
REFERENCES
Kruth, J. P., Van Ginderachter, T., Tanaya, P.I.,
Valckenaers, P. (2001). The use of finite state machines
for task-based machine tool control. Computers in
Industry, 46(3), pp. 247-258.
Li D. Y., Wang Y. Z., Fu H. Y. (2008). An open
architecture motion controller for CNC machine tools.
2008 2nd International Symposium on Systems and
Control in Aerospace and Astronautics, Publisher: Inst.
of Elec. and Elec. Eng.
Li X., Wang Y. Z., Liang H. B., Zhong L. (2005). Finite
state machine application in open CNC. Computer
Integrated Manufacturing Systems, 11(3), pp. 428-432.
Ma X. B., Han Z. Y., Wang Y. Z., Fu H. Y. (2007).
Development of a PC-based open architecture software-
CNC. Chinese Journal of Aeronautics, 20(3), pp. 272-
281.
Pritschow G., Sperling W. (1993). Open controllers -a
challenge for the future of the machine tool industry,
Ann. CIRP 42 (1).
Wang Y. H. (2003). Study on a reconfigurable model of an
open CNC kernel. Journal of Materials Processing
Technology, 138(1-3), pp. 472-474.
Wang Y. Z., Liu T., Fu H. Y., Han Z. Y. (2007). Open
architecture CNC system HITCNC and key technology.
Chinese Journal of Mechanical Engineering, 20(2), pp.
13-16.
APPLICATION OF HIERARCHICAL MODEL METHOD ON OPEN CNC SYSTEM'S BEHAVIOR
RECONSTRUCTION
175