A digital control code encoder and method for establishing digital control system software based on the same

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

Inactive Publication Date: 2006-08-02
SHENZHEN INSTITUTE OF INFORMATION TECHNOLOGY
View PDF0 Cites 14 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
  • A digital control code encoder and method for establishing digital control system software based on the same
  • A digital control code encoder and method for establishing digital control system software based on the same
  • A digital control code encoder and method for establishing digital control system software based on the same

Examples

Experimental program
Comparison scheme
Effect test

example 1

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

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

[0078] Target code of G00 (1000)

command number

9 (length)

X*10000

Y*10000

Z*10000

vs.

Vmo

Ve

[0079] 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 with ID code, and the absolute coordinate shall prevail; Y is the Y-axis coordinate, Y*10000 enlarges the floating-point number and saves it with ID code, and the absolute coordinate is the standard; Z is the Z-axis coordinate, Z*10000 enlarges the floating-point number and saves it with the ID code, and takes the absolute coordinate as Standard; the lower computer divides the coordinate data by 10000 and restores it to floa...

example 2

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

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

[0083] Object code of G01 (1001)

command number

9 (length)

X*10000

Y*10000

Z*10000

vs.

Vm

Ve

[0084] 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.

[0085] 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

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

[0087] 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

[0088] In Table 6, Angle is the sector angle of the arc, in radians, and the magnification factor is 106, and it is stored as an ID code. 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 by the ...

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 numerical control code compiler and a method for establishing numerical control system software based on it. 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...

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