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

Method for establishing digital control system software based on digital control code encoder

A technology of numerical control code and numerical control system, applied in the field of code compilation, can solve the problems of resource shortage, one-time feeding, and complex control software of the lower computer, and achieve the effect of solving jump and return, simple control software and easy identification.

Inactive Publication Date: 2009-04-22
SHENZHEN INSTITUTE OF INFORMATION TECHNOLOGY
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are problems in this method of establishing numerical control system software. One is that the NC code compiler and the control program jointly occupy the CPU and RAM resources of the lower computer, resulting in resource shortage, which is not conducive to the operation of the advanced control algorithm by the lower computer to achieve high-precision control, and is not conducive to The realization of multi-axis real-time control; the second is that the NC code compiler is embedded in the real-time control software, which makes the control software of the lower computer complicated; in addition, there are subroutines in the NC program, and large NC programs cannot be sent all at once , but need to be downloaded multiple times in batches, there are very big obstacles in solving the jump and return of calling NC subroutines, and ensuring the real-time control

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 establishing digital control system software based on digital control code encoder
  • Method for establishing digital control system software based on digital control code encoder
  • Method for establishing digital control system software based on digital control code encoder

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0077] Example 1: Quickly locate the target code and PIDP format of G00

[0078] Refer to Table 4 for the target code and PIDP encoding format of the G00 or G0 command.

[0079] Table 4

[0080] Target code of G00 (1000) command number 9 (length) X * 10000 Y * 10000 Z * 10000 vs. Vmo Ve

[0081] In Table 4, 1000 is the target code of the G00 or G0 command; the length of 9 means that the command occupies 9 ID units; X is the X-axis coordinate, and X * 10000 enlarges the floating-point number and saves it as an ID code, and the absolute coordinates shall prevail; Y is the coordinate of the Y axis, and Y * 10000 enlarges the floating-point number and saves it as an ID code, and the absolute coordinates shall prevail; Z is the Z-axis coordinate, Z * 10000 enlarges the floating-point number and saves it with ID code, and the absolute coordinates shall prevail; the lower computer divides the coordinate data by 10000 and restores ...

example 2

[0083] Example 2: The target code and PIDP format of linear motion G01

[0084] Refer to Table 5 for the target code and PIDP encoding format of the G01 or G1 command.

[0085] table 5

[0086] Object code of G01 (1001) command number 9 (length) X * 10000 Y * 10000 Z * 10000 vs. Vm Ve

[0087] In Table 5, 1001 is the command target code of G01 or G1; the length of 9 means that the command occupies 9 ID units; X, Y, Z are the same as G00.

[0088] Vs is the starting speed, Vm is the steady speed, which is the middle speed, and Ve is the end speed. These speed data are obtained through the speed calculation function, and multiplied by 1000 to save as ID.

example 3

[0089] Example 3: Refer to Table 6 for the target code and PIDP code format of arc motion G02 (or G03).

[0090] Table 6

[0091] The target code of G02 (G03) is 1002 (1003)

Arc displacement clockwise (counterclockwise) command number 13(length) X0 (center of circle) * 10000 Y0 (center of circle) * 10000 Z0 (center of circle) * 10000 Xe * 10000 Ye * 10000 Ze * 10000 vs. Vm Ve angle * 1000000

[0092] Angle in Table 6 is the sector angle of the arc, in radians, and the magnification factor is 10 6 , and save with ID encoding. The starting point of the arc is the current point, the end point of the arc is (Xe, Ye, Ze), the starting speed Vs, the stable speed Vm, and the ending speed Ve. These speed data are given according to the requirements of the control algorithm to further reduce the calculation load of the lower computer. Generally, the speed data provided by the NC program is multiplied...

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 present invention discloses a numeric control code compiler, and also discloses a method for creating numeric control system software by using said numeric control code compiler. It is characterized by that it includes the following several steps: (1), constructing PIDP_NC code compiler; (2), in upper-position machine adopting PIDP_NC code compiler to compile NC program into object code file with specific data format and complete sequence execution signification; (3), upper-position machine can feed the PIDP object codes into lower-position machine circulation buffer zone in batches according to sequence; and (4), lower-position machine can read out PIDP object codes from circulation buffer zone according to sequence, identify the data in PIDP and judge the significance correspondent to NC command, at the same time obtain correspondent data and call correspondent motion control function according to significance of command so as to implement processing control.

Description

technical field [0001] The invention relates to code compilation, in particular to a method for establishing numerical control system software based on a numerical control code compiler. Background technique [0002] The numerical control system composed of the general trajectory motion control module as the lower computer and the industrial control computer as the upper computer is a new type of hardware structure of the numerical control system. In the process of developing the numerical control system of this structure, the numerical control system software must be used . When the numerical control system software implements the control of workpiece processing, it must translate the syntax and meaning of the code in the numerical control (Numerical Control, referred to as NC) program, and call the corresponding control function according to the translation result to complete the control of each axis , that is, to realize processing control. At present, most of the above-...

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 Patents(China)
IPC IPC(8): G05B19/18
Inventor 唐强平姜家吉周学才黄锐军覃国蓉吴瑜
Owner SHENZHEN INSTITUTE OF INFORMATION TECHNOLOGY