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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 