Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically generating stock ground belt flow control program

A process control and automatic generation technology, applied in the field of PLC control, can solve the problems of low efficiency and amazing workload, and achieve the effect of simple initialization and convenient modification

Pending Publication Date: 2021-10-08
HUATIAN ENG & TECH CORP MCC +2
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This requires the control system to define a large number of variables, and each variable needs to be initialized. The change of a device during debugging often leads to changes in the definitions between variables. It needs to be modified in as many as tens of thousands of ST statements without errors. Work Huge amount and less efficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically generating stock ground belt flow control program
  • Method for automatically generating stock ground belt flow control program
  • Method for automatically generating stock ground belt flow control program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] A main process initialization ST statement is generated as follows:

[0032] a) Write engine A, engine A needs to be written according to the generated ST statement. After the writing is completed, it can be recycled many times. The implementation method of engine A adopts java language, but it is not limited to this.

[0033] b) Process initialization The default definition in the PLC is as follows: "MX_Flow".Flow[221].FLOW[464]:=1; the numbers in the square number are automatically generated according to the rules, and other characters are fixed by default. Every initialization statement is the same. The meaning of process initialization is to traverse all processes and devices in each process, and assign a value of 1 to each device in each process number.

[0034] c) Then engine A reads the process definition rule D, removes the starting point and the end point, and reads each device. Since the device and the device number are separated by a space, it is easy to r...

Embodiment 2

[0037] A main flap initialization ST statement is generated as shown below

[0038] a) Write engine A, engine A needs to be written according to the generated ST statement. After the writing is completed, it can be recycled many times. The implementation method of engine A adopts java language, but it is not limited to this.

[0039] b) Read the equipment relationship definition rule C, and obtain that the 201 flap has two corresponding belt conveyor relationships, Z1 belt conveyor and Z2 belt conveyor.

[0040] c) Read the equipment definition rule B to obtain the respective equipment serial numbers of the 201 flap, the Z1 belt conveyor, and the Z2 belt conveyor

[0041] d) and define the variable and immutable parts in the ST text. Among them, the ones in the square brackets below are variable, and the others are immutable parts.

[0042] MX_Mar_K.Device_Infeed[421]:=(MX_POS_K.Device_Pos[463]=1) AND MX_Mar_K.Device_Outfeed[463];

[0043] MX_Mar_K.Device_Infeed[460]:=(MX...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for automatically generating a stock ground belt flow control program. The method comprises the following steps of: (1) compiling an engine according to a generated ST statement; (2) reading each equipment definition rule, each equipment relation definition rule and each process definition rule in sequence by the engine to obtain a relation between a turning plate and a belt conveyor; and (3) processing by the engine according to a preset rule to generate an ST text. According to the method, ST statements are generated by the engine through the agreed compiling rules and meanings of codes, it is guaranteed that the ST statements can be continuously produced only by developing an engine program once and adjusting the rules later, modification is convenient, initialization is simple, and time and labor are saved.

Description

technical field [0001] The invention relates to the field of PLC control. The invention proposes a method for automatically generating a stockyard belt process control program. Through this method, the automatic programming of the PLC program for the process flow of the belt conveyor in the stockyard is realized. Background technique [0002] PLC has five standardized programming languages: Sequential Function Chart (SFC), Ladder Diagram (LD), Function Block Diagram (FBD) three graphical languages ​​and two text languages ​​Statement List (IL) and Structured Text (ST). [0003] The structured text programming language adopts the description method of the computer to describe various operational relationships among various variables in the system to complete the required functions or operations. The structured text programming language used by most PLC manufacturers is similar to high-level languages ​​such as BASIC language, PASCAL language or C language, but for the conve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
CPCG05B19/0423G05B2219/25257
Inventor 周煜申赵旭杨璇康望星马寅晨吴忠华钱小聪
Owner HUATIAN ENG & TECH CORP MCC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products