Founded in 1971 >
Chinese Sci-tech Core Periodicals >
British Science Abstracts (SA, INSPEC) Indexed Journals >
United States, Cambridge Scientific Abstract: Technology (CSA: T) Indexed Journals >
United States, Ulrich's Periodicals Directory(UPD)Indexed Journals >
United States, Cambridge Scientific Abstract: Natural Science (CSA: NS) Indexed Journals >
Poland ,Index of Copernicus(IC) Indexed Journals >
International Standard Serial Number:
ISSN 1001-4551
Sponsor:
Zhejiang University;
Zhejiang Machinery and Electrical Group
Edited by:
Editorial of Journal of Mechanical & Electrical Engineering
Chief Editor:
ZHAO Qun
Vice Chief Editor:
TANG ren-zhong,
LUO Xiang-yang
Tel:
86-571-87041360,87239525
Fax:
86-571-87239571
Add:
No.9 Gaoguannong,Daxue Road,Hangzhou,China
P.C:
310009
E-mail:
meem_contribute@163.com
Method and implementation of constructing numerical control language based on PLC multilayer architecture
DONG Lu,YAN Yi,WU Huifeng
(College of Computer,Hangzhou Dianzi University,Hangzhou 310018,China )
Abstract: In the PLC with motion control functions, it is necessary to modify the PLC control programs and adjust the parameters constantly for motion control programs written with ladder diagram in debugging and optimization process, which will lead to the problem of low development efficiency. Aiming at this problem, a method to construct the numerical control language on the PLC was proposed. The implementation process to construct numerical control language was described in detail, including the design and implementation of the numerical control instructions, the compilation and execution of the numerical control programs. The way to implement the functions of numerical control instructions with PLC modular programming method was stressed, then the resolution and execution control algorithms of the numerical control programs were given out. At last, a specific example of building numerical control language layer on the customized embedded PLC was presented. The results indicate that the approach can conveniently adjust the sequence of motion control and setting parameters, which can effectively reduce the number of PLC control codes and improve the developing efficiency greatly. Besides, the method can quickly customize the corresponding numerical control language according to the different applications, so that it can meet the requirements of flexible control needs, and be suitable for industrial control.
Key words: programmable logic controller (PLC); numerical control language; ladder diagram; motion control