||Programmable Logic Controller (PLC) is indispensable automation equipment in industry. While the traditional closed control system cannot meet the needs of future intellectual manufacturing, with the emergence of industrial 4.0 trends, the new PLC technology will make it possible to have an open and standardized hardware platform deployment, capable of having efficient and effective developments and deployments. Based on the open architecture of PLCopen standard, this study is to propose a new PLC hardware and software development platform. This platform uses open source editor for editing PLC application system using SFC language, which is saved as XML file. We design an XML parser and C code generator for converting the XML to low-level ANSI C program. In order to achieve a completely embedded PLC system development, based on low-cost microcontroller solution, we design and implement an embedded PLC middleware in line with the IEC61131-3 standard as PLC run-time engine. Finally, we integrate STM32F207 microcontroller with divers PLC peripherals, including DIO, RS485 communication, and stepper motor drivers to form an evaluation board. In combination with the above software, we have completed an embedded PLC rapid development platform. In conclusion of this paper, we use a number of application examples to validate and demonstrate the functionalities of this development platform.|
||PLC, “Programmable logic controller”, [Online].Avaliable: http://en.wikipedia.org/wiki/Programmable_logic_controller|
Dong Yulin, Zheng Chunjiao, “Design and Research of Embedded PLC Development System”, Computer Research and Development (ICCRD), Volume: 3 pp. 226-228, 11-13 March 2011.
R. W. Lewis, “Programming Industrial Control System using IEC1131-3”, 1995.
S.J. Song, X.F. Lin, Q.B. Huang, C.H. Wang, “An Embedded SoftLogic Control System Based on S3C44BOX and IEC 61131-3 Standard”, Control and Automation, pp. 2060-2064, May 30 2007-June 1 2007.
Eelco van der Wal, “Introduction into IEC 1131-3 and PLCopen”, The Application of IEC 61131 to Industrial Control: Improve Your Bottom Line Through High Value Industrial Control Systems (Ref. No. 1999/076), pp. 2/1-2/8, 1999.
PLCopen Technical Committee 6, “XML Formats for IEC 61131-3,Ver 1.0”, April 2005.
浯陽科技, “MIAT-STM32嵌入式ARM Cortex M3開發平台”, [Online].Avaliable: http://www.wu-yang.com.tw/p_info.php?p_type=1
PLCopen Editor, “PLCopen Editor”, [Online].Avaliable: http://www.beremiz.org/
TC6-XML, “PLCopen TC6-XML”, [Online].Avaliable: http://www.plcopen.org/
E.Estevez, M.Marcos, E.Irisarri, “Analysis of IEC 61131-3 Compliance through PLCopen XML Interface”, 7th IEEE International Conference on Industrial Informatics, pp. 757-762, 23-26 June 2009.
R.J.Mayer, “IDEF0 Function Modeling”, Air Force Systems Command, May 1992.
匯誠科技, “四路光電隔離模塊”, [Online].Avaliable: http://item.taobao.com/item.htm?spm=a1z10.3.w4002-2585687092.46.apOuAJ&id=14944629600/
宏遠電子, “8路繼電器模塊”, [Online].Avaliable: http://item.taobao.com/item.htm?id=16208263577/
宏遠電子, “步進電機驅動板+步進電機”, [Online].Avaliable: http://item.taobao.com/item.htm?spm=a1z10.3.w4002-2910568053.19.aawa54&id=35464431412/
柏毅電子, “MAX485模組”, [Online].Avaliable: http://goods.ruten.com.tw/item/show?21303030169468/
Modbus-IDA, “Modbus Application Protocol Specification Version 1.1b”, 2006.
Ching-Han Chen,Chia-Ming Kuo,Chen-Yuan Chen and Jia-Hong Dai, “The design and synthesis using hierarchical robotic discrete-event modeling”, Journal of Vibration and Control, 2012.
Keil Corporation, “Keil uVersion4 IDE”, [Online].Avaliable: http://www.keil.com/uvision/uv4.asp/