Method for randomly setting functions of all points of PLC

A technology of functions and function names, applied in the direction of program control, instruments, control/adjustment systems in sequence/logic controllers, etc., can solve problems such as inconvenience in use and service, increase in debugging difficulty and cost, and achieve perfect debuggable functions , convenient debugging method, and the effect of reducing work difficulty

Inactive Publication Date: 2016-04-20
TIANJIN PUDA SOFTWARE TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the backup point of the PLC starts to be used, professional programmers need to modify the corresponding code through the PLC compiler. This modification achieves the purpose of backup, but ordinary debuggers cannot complete this work, which increases the difficulty of debugging and cost, causing inconvenience to subsequent use and services

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 randomly setting functions of all points of PLC
  • Method for randomly setting functions of all points of PLC
  • Method for randomly setting functions of all points of PLC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0016] 1) if figure 1 As shown, when the debugger wants to change the input / output according to the actual needs of the customer, he can debug the data in the data frame. After the content of the debug data frame changes, the value of the corresponding PLC internal memory D10 will also change accordingly. . The guide algorithm is used inside the PLC to map the specific function points of the predetermined system to the corresponding external input / output connection points of the PLC ( figure 2 ).

[0017] 2) When the PLC program requires a certain function point to be set ( image 3 ), the program internal register W0.00 is set to 1, the rising edge of W0.00 is valid, and the SETBW10D10 instruction is executed. The SETB command sets the bit corresponding to W10 to 1 according to the parameters in D10. Figure 4 Step 1 shows that the initial val...

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 relates to a method for randomly setting the functions of all points of a PLC, and the method comprises the steps: designing a plurality of modifiable numerical value frames on a man-machine interface which is used for debugging; pre-defining the function names of all external input / output connection points of the PLC for all numerical value frames; enabling all function names to be correlated with all function points of the PLC through the numbers in the corresponding numerical value frames; debugging the data in the numerical value frames when a debugging person wants to make input / output interface change according to the actual need of a customer; enabling numerical value of a corresponding internal storage unit of the PLC to be correspondingly change with the change of the contents of the numerical value frames; using a guide algorithm in the PLC, and enabling the specific function point of a preset system to be mapped to the corresponding external input / output connection point of the PLC. The method can randomly change the positions of all function points relative to a PLC terminal number under the condition of no PLC compiler.

Description

technical field [0001] The invention relates to a method for freely setting functions of PLC points in a detection system. Background technique [0002] In the industrial machine vision inspection system, PLC (programmable controller for short, the same below) is responsible for almost all peripheral logic control other than image detection. A single detection system generally has relatively fixed peripheral logic control points, including light source control output, camera trigger Specific function points such as output, result sorting output, and start detection input. The role of these specific input / output points in the control system is more important and indispensable, and some fixed points are reserved as spares when selecting the PLC, and the PLC points are affected by external factors (such as individual point aging, short circuit, etc.) Cause damage) can not work normally, enable the backup point of the PLC, that is, it can work normally by modifying the correspo...

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/05
CPCG05B19/054G05B2219/13144
Inventor 张向阳余天洪李波
Owner TIANJIN PUDA SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products