Download This user manual describes all items concerning the operation of the
Transcript
GSK928TEa Turning CNC System the User Manual program. Suppose the pin of UO31 and UO32 control a . In the batch cycle machining, when the handlers want to make the random sample to the workpiece, press G key, the loader collects a sample in automatically. %104 N0010 G00 Z200 X100 N0020 G00 Z180 X80 N0030 G01 Z100 F200 N1000 when (r4009=71) N1010 G01 X0 F200 N1020 r2031=1 N1030 r2032=1 N1040 M20 N2000 r2031=0 N2010 r2032=0 N2010 r4009=0 N2020 M99 then ; ; ; cut outer circle H2000; When “G” key is pressed in forestall, then call N2000 ; cut off ; loader returns to original position ; ; loader goes forward ; ; clear “G” state 【Program example 3】 In the following program, it mainly demonstrates the function operation. According to the elliptic parameter equation finger out that the point in ellipse are moving along the ellipse path by short line approaching method. The parameter equation of ellipse is X=50*sin(a),Z=100*cos(a);because the X is diameter program, so X=100*sin(a)。 %103 N0010 G00 Z0 X0 N0020 G00 Z200 X200 N0022 G00 Z190 X110 N0030 r1=0000 N0040 r12=100000*sin(r1) N0050 r13=100000*cos(r1) N0060 r12=r12-110000 ; confirm the start point of G01 path ; the initial value of r1 is 0° ; 100000 the angle sine value multiplies 100000 ; 100000 the angle cosine value multiplies 100000 ; finger out the relative difference of ellipse start point path and G01 start point N0070 r13=r13-190000 N1000 r2=100000*sin(r1) ; The angel sine value multiply 100000 giving to r2 N1010 r3=100000*cos(r1) ; The angel cosine value multiply 100000 giving to r3 N1020 r2 = r2 - r12 N1030 r3 = r3 - r13 N1040 G1 Xr2 Zr3 F500 ; Moving along the ellipse path N1050 when(r1=360000) then P1080 ; When the angel equals to 360°, then escape N1060 r1=r1+1000 ; The value of r1 pluses 1000 (angel pluses 1) N1070 M97 P1000 ; cycle N1080 M02 9.3 Process Monitoring and Execution The common part program is executed according to the designed path one by one in advance, it can’t make the prompt response for the real time happened matter in the command executive midway. In the system, there are ten inspector which are numbered according to 0# to 9# turn, called 0# inspector, 1# inspector… 9# inspector. Their work is called process monitor; in the same time of 290