Unlock instant, AI-driven research and patent intelligence for your innovation.

Analog quantity conversion method and analog quantity conversion system based on programmable controller

A programming controller and conversion method technology, applied in the general control system, control/regulation system, program control, etc., can solve problems such as difficult to troubleshoot and identify, use too much data, redundant and complex program structure segments, etc., and achieve a program logic framework Simple, reduced labor and time costs, and easy troubleshooting

Inactive Publication Date: 2019-01-18
SICHUAN CRUN CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, each analog conversion process requires a dedicated program, and multi-segment analog conversion requires repeated writing of programs with similar structural logic, but the variables of the program are different each time, resulting in more data usage and redundant program structure. More complex, difficult to troubleshoot and identify

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
  • Analog quantity conversion method and analog quantity conversion system based on programmable controller
  • Analog quantity conversion method and analog quantity conversion system based on programmable controller
  • Analog quantity conversion method and analog quantity conversion system based on programmable controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0037] The specific implementation method is as follows:

[0038] Create a subroutine in the programming software STEP 7-MicroWIN SMART of the Siemens S7-200Smart programmable controller. All data in the subroutine use local variables. The specific methods for establishing the subroutine include:

[0039]Set at subroutine input IN:

[0040] "Analog input port" data type select "WORD", this port is the 4-20mA analog input address collected by the programmable controller (the programmable controller will automatically convert the collected 4-20mA signal into the corresponding digital quantity) , that is, the "C" value in the analog conversion formula;

[0041] Select "REAL" as the data type of "Sensor Range Upper Limit", and this port is the sensor range upper limit;

[0042] Select "REAL" as the data type of "Sensor Range Lower Limit", and this port is the lower limit of the sensor range;

[0043] Set in the subroutine output OUT:

[0044] "Analog data actual value" data ty...

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 an analog quantity conversion method and an analog quantity conversion system based on a programmable controller. Based on a Siemens S7-200 Smart programmable controller, the control method includes all series of CPUs of the Siemens S7-200 Smart programmable controller, the Siemens S7-200 Smart programmable controller, and any 4-20mA sensor. The invention improves the shortcomings of the conventional 4-20mA analog quantity conversion, completes the program modularization in the programmable controller through the existing hardware and conditions, and realizes that the 4-20mA analog quantity program can be repeatedly called and written in the programmable controller with no need to over-convert the analog quantity, which causes the global variables (the flag memory (M) of the programmable controller and the variable memory (V)) to be used too much. The entire program is also relatively simple in logic framework and easy to troubleshoot, thereby reducing labor andtime costs.

Description

technical field [0001] The invention relates to the technical field of programmable logic controller (PLC) control, in particular to an analog quantity conversion method and system based on a programmable logic controller. Background technique [0002] At present, in the conversion of PLC analog quantity, the flag bit (M) or register (V) in the variable range controller is mainly used. The above two types of data belong to global variables, and data commands or stored data cannot be repeated. And the amount of data itself is limited (for example: the flag (M) has only 16 bytes MW0~MW32). Therefore, each analog conversion process requires a dedicated program, and multi-segment analog conversion requires repeated writing of programs with similar structural logic, but the variables of the program are different each time, resulting in more data usage and redundant program structure. It is more complex and difficult to troubleshoot and identify. Contents of the invention [...

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/1105
Inventor 余海余东泽王成鑫
Owner SICHUAN CRUN CO LTD