FPGA Implementation of IEC 61131-3-Based Hardware-Aided Timers for Programmable Logic Controllers

被引:1
作者
Chmiel, Miroslaw [1 ]
Czerwinski, Robert [1 ]
Malcher, Andrzej [2 ]
机构
[1] Silesian Tech Univ, Dept Digital Syst, PL-44100 Gliwice, Poland
[2] Silesian Tech Univ, Dept Elect Elect Engn & Microelect, PL-44100 Gliwice, Poland
关键词
IEC-61131-3; timers; field programmable gate array; function block; programmable logic controller; PLC;
D O I
10.3390/electronics12204255
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Designs of timer function blocks (FBs) are presented in the article. The developed modules are IEC 61131-3. An analysis of IEC 61131-3 in terms of timer functionality and implementation options is presented. Three types are presented, timer-on, timer-off, and timer-pulse, with each type designed to be fully hardware or software-like. Both designs, hardware or software-like, can operate as multi-channel timers. Particularly noteworthy is the software-like design, for which a solution without edge detectors was achieved. Such a feature was obtained by reversing the method of time determination by counting the difference between the start and end times and by using specific features of the D flip-flops, that is, clock-enable inputs. The presented timers were written in Verilog language and implemented in an FPGA chip. Thanks to the universal design of the interface, the proposed FBs can be used for the hardware support of existing programmable logic controllers (PLCs) or as an integral part of newly built PLC CPUs. The idea of a CPU architecture with hardware support is proposed. The paper presents the results of the implementation in an FPGA of the Kintex UltraScale+ family from AMD-Xilinx.
引用
收藏
页数:23
相关论文
共 33 条
[1]  
3S-Smart Software Solutions GmbH, 2010, User Manual for PLC Programming with CoDeSys 2.3
[2]  
[Anonymous], 2013, EN 61131-3:2013
[3]  
Carrillo S., 2005, P IEEE INT C REC COM, P28
[4]   FPGA Implementation of IEC-61131-3-Based Hardware Aided Counters for PLC [J].
Chmiel, Miroslaw ;
Czerwinski, Robert ;
Malcher, Andrzej .
APPLIED SCIENCES-BASEL, 2021, 11 (21)
[5]  
Chmiel M, 2018, INT CONF SIGNALS ELE, P13, DOI 10.1109/ICSES.2018.8507283
[6]   FPGA-Based Two-Processor CPU for PLC [J].
Chmiel, Miroslaw ;
Kloska, Wojciech ;
Polok, Dariusz ;
Mocha, Jan .
2016 INTERNATIONAL CONFERENCE ON SIGNALS AND ELECTRONIC SYSTEMS (ICSES) PROCEEDINGS, 2016, :247-252
[7]  
Chmiel M, 2010, CONTROL CYBERN, V39, P559
[8]  
de Sousa M., 2012, Emerging Technologies Factory Automation (ETFA), 2012 IEEE 17th Conference on, P1
[9]   Proposed corrections to the IEC 61131-3 standard [J].
de Sousa, Mario .
COMPUTER STANDARDS & INTERFACES, 2010, 32 (5-6) :312-320
[10]   Study on LD-VHDL conversion for FPGA-based PLC implementation [J].
Du, Daoshan ;
Liu, Yadong ;
Guo, Xingui ;
Yamazaki, Kazuo ;
Fujishima, Makoto .
INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2009, 40 (11-12) :1181-1190