CN113625661A - Design method of numerical control embedded PLC intermediate file conversion instruction list - Google Patents

Design method of numerical control embedded PLC intermediate file conversion instruction list Download PDF

Info

Publication number
CN113625661A
CN113625661A CN202110867151.7A CN202110867151A CN113625661A CN 113625661 A CN113625661 A CN 113625661A CN 202110867151 A CN202110867151 A CN 202110867151A CN 113625661 A CN113625661 A CN 113625661A
Authority
CN
China
Prior art keywords
plc
bincode
intermediate file
cmd
num
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110867151.7A
Other languages
Chinese (zh)
Other versions
CN113625661B (en
Inventor
王庆华
胡延华
傅仁轩
何军拥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong College of Industry and Commerce
Original Assignee
Guangdong College of Industry and Commerce
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong College of Industry and Commerce filed Critical Guangdong College of Industry and Commerce
Priority to CN202110867151.7A priority Critical patent/CN113625661B/en
Publication of CN113625661A publication Critical patent/CN113625661A/en
Application granted granted Critical
Publication of CN113625661B publication Critical patent/CN113625661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4147Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using a programmable interface controller [PIC]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34013Servocontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a design method of a numerical control embedded PLC intermediate file conversion instruction list, which defines the data structure BinCode of an intermediate file, each BinCode occupies two long int spaces, each instruction can be represented by one or more BinCode data structures, and finally compiled into a binary intermediate file plc.bin, and the binary intermediate file plc.bin is stored for later program processing, and the generated binary intermediate file plc.bin can be compiled and executed by a PLC compiling actuator, thereby realizing the input and output control of the whole process flow. The invention can meet the requirements of different manufacturers by compiling different configuration files, generates instruction list languages of different manufacturers, and provides a solution for engineers or students learning different instructions to understand the PLC code function more quickly.

Description

Design method of numerical control embedded PLC intermediate file conversion instruction list
Technical Field
The invention relates to the technical field of Programmable Logic Controllers (PLC) embedded in a numerical control system or an industrial robot control system, in particular to a design method of a numerical control embedded PLC intermediate file conversion instruction list.
Background
Programmable Logic Controllers (PLCs) are special purpose computers designed to perform industrial automation tasks. It uses a programmable memory, in which the instructions for implementing logical operation, sequence control, timing, counting and arithmetic operation are stored, and utilizes digital or analog input and output to control various mechanical equipments or production processes. In the PLC system, a control program represented in a form of an instruction list obtained by converting a ladder diagram is downloaded from an upper computer to a PLC main controller, the control logic of the PLC program can be realized by compiling (see figure 1) or explaining and executing the instruction list, and the field equipment is driven to execute a control task through a corresponding IO port module.
Chinese patent (CN101364098A) gefen et al discloses an example of a ladder diagram conversion into an instruction list in a PLC. Chinese patent (CN10104317631A) discloses an example of converting a command table into a ladder diagram in a PLC. Chinese patent (CN101957745A) discloses an example of a ladder diagram conversion to a structured text language in a PLC. The article "PLC source program coding method and interpretation execution algorithm design" discloses an algorithm design for structured text interpretation execution. The study and implementation of a Lex & Yacc-based PLC instruction compiler discloses a design method for instruction list compilation. The article "design and implementation of compiled PLC" discloses another design method for compiling an instruction list. The paper "software implementation of embedded PLC ladder programming in numerical control system" simply introduces the implementation method of PLC ladder software of a certain manufacturer.
The above patents and papers are examples of several programming languages for general purpose or embedded PLC and the transformation of the intermediate files, and little to no description of the structure compiled into the intermediate files and the intermediate files, resulting in no better utilization of the intermediate files for greater energy efficiency.
In production, because the programming methods of products of various manufacturers are very different and the technical specificity is strong, a worker can master the programming method of a certain product only through long-time professional training, so that the PLC application is not smooth, and particularly, the direct reading of a binary (intermediate) target file is not particularly convenient to understand.
Disclosure of Invention
Based on this, in order to solve the above problems, the primary object of the present invention is to provide a method for designing a numerical control embedded PLC intermediate file conversion instruction list, which is capable of reading and understanding the functions implemented by PLC codes more quickly.
The invention also aims to provide a design method of the numerical control embedded PLC intermediate file conversion instruction list, which can load the converted instruction list codes of different manufacturers into the PLC compiling environment of the manufacturer or a third party, directly compile and download, realize code intercommunication, function intercommunication and result intercommunication with little or no modification of the codes, thereby realizing the cross-platform transplantation of the PLC codes.
In order to achieve the purpose, the invention provides the following technical scheme:
a design method for a numerical control embedded PLC intermediate file conversion instruction list defines the data structure BinCode of an intermediate file, each BinCode occupies two long int spaces, and each instruction can be represented by one or more BinCode data structures, so that the operation of people on the instruction list can be facilitated; and finally compiling the file into a binary intermediate file plc. The generated binary intermediate file plc.bin can be compiled and executed by a PLC compiling executor, thereby realizing input and output control of the whole process flow.
Wherein, the data structure BinCode defining such an intermediate file is:
typedef struct{
char cmd;
char arg_t;
union{
unsigned int num;
struct{
unsigned char reg;
unsigned short no;
unsigned char bit;
}reg_no_bit;
}arg;
}BinCode;
the whole intermediate file consists of an array containing n BinCode structure bodies, and the specific meaning and value range of each member in the BinCode structure bodies are defined; cmd denotes an instruction code, which is divided into a basic instruction and a functional instruction; arg _ t denotes a parameter type for indicating the meaning of data in the common volume. 0: no parameters, 1: register-set number-bit number, 2: register-set number, 3: constant, 4: a status word; arg determines the information of the common body according to the meaning of arg _ t; the structure reg _ no _ bit represents a register-group number-bit number; num represents a constant or state word.
The generated binary intermediate file plc.bin is compiled and executed by a PLC compiling executor, so that the input and output control of the whole process flow is realized, and the cross-platform transplantation utility of the binary intermediate file plc.bin can be expanded, wherein the cross-platform translation process is as follows:
101. the intermediate file plc. bin and the vendor profile toir. txt are read in.
The method specifically comprises the following steps: reading in ToIR, txt, and acquiring a relay list and a command list; reading in plc.bin; 102. writing a file, and opening the instruction list file plc.ir in a writing mode;
103. judging whether the BinCode is empty, if so, closing plc.ir, and exiting; otherwise, carrying out the next step;
whether the plc. bin file organized in BinCode is read in and processed is judged. If the translation is finished, closing the plc.ir file and exiting, thereby finishing the whole translation process; if not, the command is fetched.
104. Reading rGetCmd (); reading cmd and possible parameters in the BinCode;
105. judging whether the cmd _ num is legal or not, if so, continuing the next step, and writing the cmd _ name [ cmd _ num ] into plc.ir;
judging whether cmd _ num is legal or not is judging whether cmd exceeds the maximum range or not. If the range is legal, writing cmd _ name [ cmd _ num ] into plc.ir; if not, a command overrun is indicated.
106. Judging whether the R _ num is legal or not, if so, continuing the next step, and writing the R _ name [ R _ num ] into plc.ir;
and judging whether the R _ num address exceeds the maximum range. If it is in legal range, write R _ name [ R _ num ] into plc.ir; if not, an address overrun is indicated.
107. Line feed is written into plc.ir; and returns to step 103.
Therefore, this intermediate file of PLC bins (containing basic instructions) can be translated into instruction list languages of different vendors by defining the configuration files of PLCs of different vendors. For more functional instructions with the characteristics of each manufacturer, more relays and registers and more practical functional instructions can be expanded through the data structure and definition, so that the cross-platform translator is more flexible and has more powerful functions.
Compared with the prior art, the invention has the beneficial effects that:
the invention can meet the requirements of different manufacturers by compiling different configuration files, generates instruction list languages of different manufacturers, and provides a solution for engineers or students learning different instructions to understand the PLC code function more quickly.
Meanwhile, the invention can load the converted instruction table codes of different manufacturers into the PLC compiling environment of the manufacturer or a third party, and directly compile and download, and the code intercommunication, function intercommunication and result intercommunication can be realized with little or no modification of the codes, thereby realizing the cross-platform transplantation of the PLC codes; and more relays and registers and more practical functional instructions are expanded through the data structure and the definition, so that the cross-platform translator is more flexible and has more powerful functions.
Drawings
FIG. 1 is a flow chart of an embedded PLC intermediate file compiler.
Fig. 2 is a flowchart of an embedded PLC intermediate file conversion instruction table according to the present invention.
Fig. 3 is an intermediate file of the embedded PLC of the present invention.
FIG. 4 is a configuration file ToIR. txt implementing custom IR, Siemens S7-200 STL, and FANUC instruction sheet in accordance with the present invention.
Fig. 5 is a plc. ir file of custom, S7-200, and FANUC transformed according to fig. 3 and 4 in accordance with the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The design method of the numerical control embedded PLC intermediate file conversion instruction list comprises the steps of firstly defining the data structures BinCodes of the intermediate files, wherein each BinCode occupies two long int spaces, and each instruction can be represented by one or more BinCode data structures, so that the operation of people on the instruction list can be facilitated; and finally compiling the file into a binary intermediate file plc. The generated binary intermediate file plc.bin can be compiled and executed by a PLC compiling executor, thereby realizing input and output control of the whole process flow.
Wherein, the data structure BinCode defining such an intermediate file is:
typedef struct{
char cmd;
char arg_t;
union{
unsigned int num;
struct{
unsigned char reg;
unsigned short no;
unsigned char bit;
}reg_no_bit;
}arg;
}BinCode;
the whole intermediate file consists of an array containing n BinCode structure bodies, and the specific meaning and value range of each member in the BinCode structure bodies are defined; cmd denotes an instruction code, which is divided into a basic instruction and a functional instruction; arg _ t denotes a parameter type for indicating the meaning of data in the common volume. 0: no parameters, 1: register-set number-bit number, 2: register-set number, 3: constant, 4: a status word; arg determines the information of the common body according to the meaning of arg _ t; the structure reg _ no _ bit represents a register-group number-bit number; num represents a constant or state word.
The generated binary intermediate file plc.bin is compiled and executed by a PLC compiling executor, so that input and output control of the whole process flow is realized, and the cross-platform migration utility of the binary intermediate file plc.bin can be expanded, wherein the cross-platform translation process is shown in fig. 2:
101. the intermediate file plc. bin and the vendor profile toir. txt are read in.
102. Writing a file, and opening the instruction list file plc.ir in a writing mode;
103. judging whether the BinCode is empty, if so, closing plc.ir, and exiting; otherwise, carrying out the next step;
104. reading rGetCmd (); reading cmd and possible parameters in the BinCode;
105. judging whether the cmd _ num is legal or not, if so, continuing the next step, and writing the cmd _ name [ cmd _ num ] into plc.ir;
106. judging whether the R _ num is legal or not, if so, continuing the next step, and writing the R _ name [ R _ num ] into plc.ir;
107. line feed is written into plc.ir; and returns to step 103.
Therefore, this intermediate file of PLC bins (containing basic instructions) can be translated into instruction list languages of different vendors by defining the configuration files of PLCs of different vendors. For more function instructions with the characteristics of each manufacturer, an example plc. More relays and registers and more practical functional instructions can be expanded through the data structure and the definition, so that the cross-platform translator is more flexible and has more powerful functions.
One embodiment is as follows:
writing a basic instruction list of a PLC with a two-stage structure to realize some basic operation requirements on a numerical control machine tool, such as:
//EMERGENCY
1 LD X3.1
2 ORI F3.0
3 OUT G3.1
4 END1
5 LDI X5.4
6 SET R5.3
7 LD F0.4
8 OR X0.1
9 ANI X0.2
10 AND X0.4
11 RST Y5.4
12 END2
bin, as shown in fig. 3, a binary intermediate file plc. bin compiled according to the above method.
The flow of translating the intermediate file is as follows:
s1, reading a file;
as shown in fig. 2, the intermediate file plc.bin and the vendor profile toir.txt are read in. Briefly introduce the format of the toir.
Sequence numbers 1-20 are address tables for the PLC, as shown in table 1:
Figure BDA0003187737270000081
currently 14, 15-20 for expansion. As shown in fig. 4, the address tables of different manufacturers are configured according to the labels in table 1, and if they do not exist, they can be replaced by other addresses that do not affect the program, such as M relay for F relay and G relay.
S2, writing a file;
open the command table file plc. The method can generate instruction formats of different manufacturers according to different configuration files.
S3, judging whether the BinCode is empty;
whether the plc. bin file organized in BinCode is read in and processed is judged. If the translation is finished, closing the plc.ir file and exiting, thereby finishing the whole translation process; if not, the command is fetched.
S4, reading cmd;
reading cmd in BinCode and possible parameters: some commands may not have parameters, such as END 1; there are commands with a parameter, such as LD; there are commands with two parameters, such as TMRC; some commands have multiple parameters, and all the parameters are read.
S5, judging whether the cmd is legal or not;
and judging whether the cmd exceeds the maximum range. If the range is legal, writing cmd _ name [ cmd _ num ] into plc.ir; if not, a command overrun is indicated.
S6, judging whether R _ num is legal or not
And judging whether the R _ num address exceeds the maximum range. If it is in legal range, write R _ name [ R _ num ] into plc.ir; if not, an address overrun is indicated.
S7, write plc.ir; and returns to the loop for translation.
In the specific translation process, as shown in fig. 2, under the condition that the address and the command are legal, the content after the configuration file tag is replaced, and finally the content is written into plc.
And (3) translating the intermediate file extension: for more functional instructions with the characteristics of each manufacturer, more relays and registers and more practical functional instructions can be expanded through the data structure and definition, so that the cross-platform translator is more flexible and has more powerful functions.
Instruction list transplanting: and loading or copying the converted instruction list codes plc.ir of different manufacturers to a PLC compiling environment of the manufacturer or a third party, directly compiling and downloading, and realizing code intercommunication, function intercommunication and result intercommunication by slightly modifying or even not modifying the codes, thereby realizing cross-platform transplantation of the PLC codes.
In a word, the invention can meet the requirements of different manufacturers by compiling different configuration files, generate instruction list languages of different manufacturers and provide a solution for engineers or students learning different instructions to understand the PLC code function more quickly.
Meanwhile, the invention can load the converted instruction table codes of different manufacturers into the PLC compiling environment of the manufacturer or a third party, and directly compile and download, and the code intercommunication, function intercommunication and result intercommunication can be realized with little or no modification of the codes, thereby realizing the cross-platform transplantation of the PLC codes; and more relays and registers and more practical functional instructions are expanded through the data structure and the definition, so that the cross-platform translator is more flexible and has more powerful functions.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be able to cover the technical solutions and the inventive concepts of the present invention within the technical scope of the present invention.

Claims (6)

1. A design and compiling method of numerical control embedded PLC intermediate file is characterized in that the method defines the data structure BinCode of the intermediate file, each BinCode occupies two long int spaces, each instruction can be represented by one or more BinCode data structures, and finally, the BinCode data structures are compiled into a binary intermediate file plc.bin and stored for the processing of a subsequent program;
wherein, the data structure BinCode defining such an intermediate file is:
typedef struct{
char cmd;
char arg_t;
union{
unsigned int num;
struct{
unsigned char reg;
unsigned short no;
unsigned char bit;
}reg_no_bit;
}arg;
}BinCode;
the whole intermediate file consists of an array containing n BinCode structure bodies, and the specific meaning and value range of each member in the BinCode structure bodies are defined; cmd denotes an instruction code, which is divided into a basic instruction and a functional instruction; arg _ t represents a parameter type for indicating the meaning of data in the community; the structure reg _ no _ bit represents a register-group number-bit number; num represents a constant or state word.
2. The method for designing and compiling a numerical control embedded PLC intermediate file as claimed in claim 1, wherein the utility of cross-platform migration of the method can be further expanded, and the cross-platform translation process is as follows:
101. the intermediate file plc. bin and the vendor profile toir. txt are read in.
102. Writing a file, and opening the instruction list file plc.ir in a writing mode;
103. judging whether the BinCode is empty, if so, closing plc.ir, and exiting; otherwise, carrying out the next step;
104. reading rGetCmd (); reading cmd and possible parameters in the BinCode;
105. judging whether the cmd _ num is legal or not, if so, continuing the next step, and writing the cmd _ name [ cmd _ num ] into plc.ir;
106. judging whether the R _ num is legal or not, if so, continuing the next step, and writing the R _ name [ R _ num ] into plc.ir;
107. line feed is written to plc.
3. The method for designing and compiling a numerical control embedded PLC intermediate file as claimed in claim 2, wherein the step 101 specifically comprises: reading in ToIR, txt, and acquiring a relay list and a command list; bin is read in plc.
4. The method as claimed in claim 2, wherein in step 103, it is determined whether the PLC. If the translation is finished, closing the plc.ir file and exiting, thereby finishing the whole translation process; if not, the command is fetched.
5. The method for designing and compiling numerical control embedded PLC intermediate files as claimed in claim 2, wherein in the step 105, judging whether cmd _ num is legal is judging whether cmd exceeds a maximum range. If the range is legal, writing cmd _ name [ cmd _ num ] into plc.ir; if not, a command overrun is indicated.
6. The method for designing and compiling a digitally controlled embedded PLC intermediate file as recited in claim 2, wherein in step 106, it is determined whether an R _ num address exceeds a maximum range. If it is in legal range, write R _ name [ R _ num ] into plc.ir; if not, an address overrun is indicated.
CN202110867151.7A 2021-07-29 2021-07-29 Design method of numerical control embedded PLC intermediate file conversion instruction table Active CN113625661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110867151.7A CN113625661B (en) 2021-07-29 2021-07-29 Design method of numerical control embedded PLC intermediate file conversion instruction table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110867151.7A CN113625661B (en) 2021-07-29 2021-07-29 Design method of numerical control embedded PLC intermediate file conversion instruction table

Publications (2)

Publication Number Publication Date
CN113625661A true CN113625661A (en) 2021-11-09
CN113625661B CN113625661B (en) 2023-07-04

Family

ID=78381649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110867151.7A Active CN113625661B (en) 2021-07-29 2021-07-29 Design method of numerical control embedded PLC intermediate file conversion instruction table

Country Status (1)

Country Link
CN (1) CN113625661B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4972365A (en) * 1987-05-01 1990-11-20 Allen-Bradley Company, Inc. Executing downloaded user programs in a programmable controller
US5128871A (en) * 1990-03-07 1992-07-07 Advanced Micro Devices, Inc. Apparatus and method for allocation of resoures in programmable logic devices
US5453933A (en) * 1993-09-08 1995-09-26 Hurco Companies, Inc. CNC control system
US5764507A (en) * 1996-01-02 1998-06-09 Chuo; Po-Chou Programmable controller with personal computerized ladder diagram
JP2005141435A (en) * 2003-11-05 2005-06-02 Omron Corp Tool
US20080235355A1 (en) * 2004-10-20 2008-09-25 Electro Industries/Gauge Tech. Intelligent Electronic Device for Receiving and Sending Data at High Speeds Over a Network
JP2009086898A (en) * 2007-09-28 2009-04-23 Delta Electronics Inc Method for compiling machine code program for programmable logic controller
EP2169547A1 (en) * 2008-09-30 2010-03-31 ICS Triplex ISaGRAF Inc. Compilation model for programmable logic controllers (PLC)
CN103123590A (en) * 2011-11-18 2013-05-29 中国科学院沈阳计算技术研究所有限公司 Compiling method from intermediate language (IL) program to C language program of instruction list
US8751480B1 (en) * 2008-01-31 2014-06-10 The Mathworks, Inc. Virtual arrays in an array-based language
CN104239115A (en) * 2014-07-24 2014-12-24 汕头大学 Programming language compiling method of PLC (Programmable Logic Controller)
CN104267654A (en) * 2014-08-01 2015-01-07 中南大学 Method and system for converting ladder diagram program into instruction list program and compiling instruction list program
CN107193534A (en) * 2017-05-15 2017-09-22 华南理工大学 A kind of method that PLC ladder diagrams are converted into instruction catalogue and explain execution
US20180032055A1 (en) * 2015-04-09 2018-02-01 Beckhoff Automation Gmbh Translation module, processing module and control system
CN108681444A (en) * 2018-04-12 2018-10-19 华中科技大学 A kind of Soft- PLC configuration development approach based on XML technology
CN110625615A (en) * 2019-09-25 2019-12-31 华中科技大学 Robot off-line programming information processing system and method
US20200050167A1 (en) * 2017-03-24 2020-02-13 Siemens Aktiengesellschaft Resilient failover of industrial programmable logic controllers
CN110989487A (en) * 2019-12-23 2020-04-10 北京东土科技股份有限公司 PLC initialization method and device for industrial server and readable storage medium
US20200394028A1 (en) * 2019-06-14 2020-12-17 International Business Machines Corporation Identification of components used in software binaries through approximate concrete execution

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4972365A (en) * 1987-05-01 1990-11-20 Allen-Bradley Company, Inc. Executing downloaded user programs in a programmable controller
US5128871A (en) * 1990-03-07 1992-07-07 Advanced Micro Devices, Inc. Apparatus and method for allocation of resoures in programmable logic devices
US5453933A (en) * 1993-09-08 1995-09-26 Hurco Companies, Inc. CNC control system
US5764507A (en) * 1996-01-02 1998-06-09 Chuo; Po-Chou Programmable controller with personal computerized ladder diagram
JP2005141435A (en) * 2003-11-05 2005-06-02 Omron Corp Tool
US20080235355A1 (en) * 2004-10-20 2008-09-25 Electro Industries/Gauge Tech. Intelligent Electronic Device for Receiving and Sending Data at High Speeds Over a Network
JP2009086898A (en) * 2007-09-28 2009-04-23 Delta Electronics Inc Method for compiling machine code program for programmable logic controller
US8751480B1 (en) * 2008-01-31 2014-06-10 The Mathworks, Inc. Virtual arrays in an array-based language
EP2169547A1 (en) * 2008-09-30 2010-03-31 ICS Triplex ISaGRAF Inc. Compilation model for programmable logic controllers (PLC)
CN103123590A (en) * 2011-11-18 2013-05-29 中国科学院沈阳计算技术研究所有限公司 Compiling method from intermediate language (IL) program to C language program of instruction list
CN104239115A (en) * 2014-07-24 2014-12-24 汕头大学 Programming language compiling method of PLC (Programmable Logic Controller)
CN104267654A (en) * 2014-08-01 2015-01-07 中南大学 Method and system for converting ladder diagram program into instruction list program and compiling instruction list program
US20180032055A1 (en) * 2015-04-09 2018-02-01 Beckhoff Automation Gmbh Translation module, processing module and control system
US20200050167A1 (en) * 2017-03-24 2020-02-13 Siemens Aktiengesellschaft Resilient failover of industrial programmable logic controllers
CN107193534A (en) * 2017-05-15 2017-09-22 华南理工大学 A kind of method that PLC ladder diagrams are converted into instruction catalogue and explain execution
CN108681444A (en) * 2018-04-12 2018-10-19 华中科技大学 A kind of Soft- PLC configuration development approach based on XML technology
US20200394028A1 (en) * 2019-06-14 2020-12-17 International Business Machines Corporation Identification of components used in software binaries through approximate concrete execution
CN110625615A (en) * 2019-09-25 2019-12-31 华中科技大学 Robot off-line programming information processing system and method
CN110989487A (en) * 2019-12-23 2020-04-10 北京东土科技股份有限公司 PLC initialization method and device for industrial server and readable storage medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
何敏佳等: "梯形图与指令表互译算法的设计与实现", 《计算机技术与发展》 *
姚远等: "软PLC编程开发系统的设计和实现", 《组合机床与自动化加工技术》 *
杨惠灵: "嵌入式数控系统中PLC模块的开发", 《机电技术》 *
莫易敏等: "PLC梯形图转化为指令表算法及实现", 《控制工程》 *
韩俊平等: "可编程逻辑控制器编辑软件的研究及实现", 《机电工程技术》 *
高丽等: "一种软PLC编译执行方法", 《组合机床与自动化加工技术》 *

Also Published As

Publication number Publication date
CN113625661B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
US10732608B2 (en) Translation module, processing module and control system
EP2169547B1 (en) Compilation model for programmable logic controllers (PLC).
CN104239115A (en) Programming language compiling method of PLC (Programmable Logic Controller)
CN101673104B (en) Processing control method of industrial robot based on G code conversion method
US11294356B2 (en) Production control system
CN113625661B (en) Design method of numerical control embedded PLC intermediate file conversion instruction table
CN107024900B (en) Method for optimally compiling PLC commands
Schmidl et al. Knowledge-based generation of a plant-specific reinforcement learning framework for energy reduction of production plants
CN113561173B (en) Coding, decoding and track planning method of motion controller based on WINCE platform
US5060133A (en) Transputer CNC processor
CN114327628A (en) Hierarchical control method, system, terminal device and storage medium
CN101576820A (en) Method for realizing IEC61131-3 standard function block by software
CN113360142B (en) Design and compiling method for numerical control embedded PLC intermediate file
CN1936746A (en) Inlaid numerical control system G code interpretative device based on ARM
CN113625652B (en) Numerical control embedded PLC intermediate file processing and decoding execution method
CN113760298A (en) Method for embedding C language into PLC ladder diagram
Slavov et al. Extending the capabilities of mitsubishi MELFA industrial robot with Raspberry Pi microcomputer–Part 1 (the potential for Raspberry Pi integration)
CN107678393B (en) Intelligent spraying control system and method based on soft PLC
Herfs et al. An approach on simplifying the commissioning of collaborative assembly workstations based on product-lifecycle-management and intuitive robot programming
US7231272B2 (en) System and method for programming and/or operating an automation system with execution-oriented combination logic
Deveza et al. PLC control and Matlab/Simulink simulations. A translation approach
de Mello et al. A transcription tool from petri net to clp programming languages
CN111413918B (en) Method, system and storage medium for processing creation data of OPC communication label
KR102268795B1 (en) A Method of Memory Mapping for Mixing Programming Language and Manufacturer-defined Language
Ramasamy et al. Online Path Planning in a Multi-agent-Controlled Manufacturing System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant