> This article mainly introduced center reaches
the electricity to pass the H4 numerical control system and reaches
PLC, in the customer Shanghai some hardware cutting tool limited
company's service condition, and with two kind of products ingenious
combinations, has realized five axes special-purpose knife grinders
special demand. Some cutter finishing machine mainly is uses for to process the
milling cutter and the drill bit high accuracy tool grinder, is
composed by five axes. X, Y is the radio station crosswise and
longitudinal 运动? Z is the good material dividing spindle is a
rotation axis, these three axes control the cutting tool the
processing. X1 is material plate shifting shaft control material
plate about moves, Y1 is on the mechanical arm the lifting shaft
control mechanical arm rises and falls. First, technological requirement and precision request Minute request, when processing time-sharing rotation of
axis minute mainly has two technological requirements, one is does not
permit a change minute direction in the processing process, only can
unidirectionally revolve with eliminates the mechanical device
counter- 线误? Two is divides when a processing has the
special request to the trench processing order, moreover the edge
number also has the difference for the even number or the odd number.  Chart two good materials transverse cutting charts The even number take a 8 edges numbers milling
cutter as an example, each trench processing order is 1, 5, 2, 6, 3,
7, 4, 8, its expression is:  After namely the first edge processing completes, the first edge
the knife gets up the knife angle difference with the next edge is A,
after the next edge processing completes this edge the knife with the
latter edge the knife angle difference is B, to this analogizes until
processes completes to last the edge.  The odd number take a 9 edges numbers milling cutter as an
example, each trench processing order is 1, 5, 9, 4, 8, 3, 7, 2, 6,
its expression is:  Namely each edge gets up the knife between angle difference is
C. The mechanical arm movement request, take the most left
underneath material mouth as the zero spot, each time puts in the
milling cutter which the processing finished simultaneously to take
the place above the good material, rises in turn after puts in the
most upper extreme the material mouth to trade the row, takes another
row most lower extremity the good material, so the movement all will
process until completely 500 good materials finished, will stop
waiting for will trade the material plate. Precision request: Radial direction 0.005mm, axial 0.03mm,
mechanical arm 0.01mm, expects plate 0.01mm. Second, implementation plan Uses HUST H4 the M control system to connect 3 to reach
the ASD-A0421LA servo to take the processing and the minute control
system, use to reach 5.7 inches single colors to touch screen + to
reach ES 24 +24 PLC to connect 2 to reach the ASD-A0421LA servo to
take the mechanical arm and the material plate control system. Third, implementation step Instruction carries on using H4 the system MACRO to the
user from the hypothesis parameter calculates obtains X, Y, the Z
three axle movement essential data, again through G00, localization
and so on G01 and inserts makes up the instruction to realize the
processing milling cutter drill bit function. Meanwhile divides
into the laevo rotatory and the dextrorotation two MACRO procedure,
two between difference only is different in and a minute direction. Two procedures flow chart like charts 4 show:  Attempts 42 procedures the flow charts Is sends the pulse regarding Y1 using PLC to carry
on the control and to the servo reaches ASD-A0421LA the servo the Pr
control pattern to return to the zero function to realize the
mechanical arm to reciprocate the localization; Also is use
reaches ASD-A0421LA regarding X1 the servo the Pr control pattern, PLC
I/O controls the material plate the about running fix. Other related rub to clamp, expects the plate to turn over, in
front of the mechanical arm turns, after the mechanical arm turns, is,
but with the processing related 切削?switch which controls
through PLC, 沙轮 revolves, is sets at PLC by H4 system in to
control through I/O. Fourth, concluding remark This project is in a use reaches the product on the tool
grinder the application typical case, uses three axle numerical
control system +PLC to realize five axes grinders special-purpose
numerical control system function, enormous has saved the cost for the
customer, simultaneously also unfolded to reach the servo electrical
machinery product good control performance. After (attaches the MACRO procedure) Attaches: The MACRO procedure (O0000~O0008 is
dextrorotation, O0100~O0108 is laevo rotatory) O0000 N09 G11 P-03 N10 G65 L4 P#16 A#15 B3.140 N15 G65 L2 P#60 A#88 B2.500 N18 G65 L32 P#17 A1.000 B#89 N20 G65 L31 P#18 A1.000 B#89 N25 G65 L4 P#19 A1.000 B#18 N30 G65 L26 P#17 A#16 B#19 N35 G65 L1 P#23 A#87 N36 G65 L1 P#40 A0 N37 G65 L1 P#41 A0 N40 G65 L26 P#23 A360.00 B#17 N45 G65 L5 P#20 A360.00 B#10 N50 G65 L5 P#24 A#10 B2 N55 G65 L2 P#25 A#24 B1 N60 G65 L23 P#26 A#10 B2 N65 G65 L4 P#27 A#20 B#24 N70 G65 L4 P#28 A#20 B#25 N71 G65 L5 P#35 A#23 B360.00 N72 G65 L2 P#31 A#35 B1 N73 G65 L4 P#36 A#31 B360.00 N75 G65 L3 P#29 A#27 B#23 N80 G65 L3 P#30 A#28 B#23 N81 G65 L2 P#44 A#48 B#21 N82 G65 L2 P#43 A#49 B#22 N83 G65 L2 P#42 A#39 B#44 N86 G65 L81 P97 A#35 B0 N#87 G65 L2 P#32 A#36 B#29 N95 G65 L2 P#33 A#36 B#30 N96 G65 L80 P100 N97 G65 L2 P#32 A360.00 B#29 N98 G65 L2 P#33 A360.00 B#30 N100 G65 L50 N101 G12 P06 N102 G00 X0 Y0 N103 G04 X0.2 N104 G00 Y#43 N105 M08 N106 G00 X#42 N109 G65 L83 P140 A#23 B#28 N110 G65 L86 P165 A#23 B#27 N115 G65 L81 P130 A#26 B1 N120 M98 P04 L#24 N125 G65 L80 P185 N130 M98 P03 L#10 N135 G65 L80 P185 N140 G65 L81 P155 A#26 B1 N145 M98 P02 L#24 N150 G65 L80 P185 N155 M98 P01 L#10 N160 G65 L80 P185 N165 G65 L81 P180 A#26 B1 N170 M98 P08 L#24 N175 G65 L80 P185 N180 M98 P07 L#10 N185 G00 X0 Y0 N186 M09 N187 G11 P03 N1#87 M30 O0001 N210 G65 L2 P#40 A#40 B1 N211 G01 U#88 V-#87 W#23 F#14 N212 G65 L81 P214 A#40 B#10 N213 G00 U-#60 V#87 U2.500 W#32 N214 M99 O0002 N220 G65 L2 P#41 A#41 B1 N221 G01 U#88 V-#87 W#23 F#14 N222 G00 U-#60 V#87 U2.500 W#32 N223 G01 U#88 V-#87 W#23 F#14 N224 G65 L81 P226 A#41 B#24 N225 G00 U-#60 V#87 U2.500 W#33 N226 M99 O0003 N230 G65 L2 P#40 A#40 B1 N231 G01 U#88 V-#87 W#23 F#14 N232 G65 L81 P235 A#40 B#10 N234 G00 U-#60 V#87 U2.500 W#32 N235 M99 O0004 N239 G65 L2 P#41 A#41 B1 N240 G01 U#88 V-#87 W#23 F#14 N241 G00 U-#60 V#87 U2.500 W#32 N242 G01 U#88 V-#87 W#23 F#14 N243 G65 L81 P245 A#41 B#24 N244 G00 U-#60 V#87 U2.500 W#30 N245 M99 O0007 N270 G65 L2 P#40 A#40 B1 N271 G01 U#88 V-#87 W#23 F#14 N272 G65 L81 P274 A#40 B#10 N273 G00 U-#60 V#87 U2.500 W#29 N274 M99 O0008 N280 G65 L2 P#41 A#41 B1 N281 G01 U#88 V-#87 W#23 F#14 N282 G00 U-#60 V#87 U2.500 W#29 N283 G01 U#88 V-#87 W#23 F#14 N284 G65 L81 P286 A#41 B#24 N285 G00 U-#60 V#87 U2.500 W#30 N286 M99 00,100 N09 G11 P-03 N10 G65 L4 P#16 A#15 B3.140 N11 G65 L2 P#44 A#48 B#21 N12 G65 L2 P#43 A#49 B#22 N13 G65 L2 P#42 A#39 B#44 N14 G65 L2 P#60 A#88 B2.500 N18 G65 L32 P#17 A1.000 B#89 N20 G65 L31 P#18 A1.000 B#89 N25 G65 L4 P#19 A1.000 B#18 N30 G65 L26 P#17 A#16 B#19 N35 G65 L1 P#23 A#87 N36 G65 L1 P#40 A0 N37 G65 L1 P#41 A0 N40 G65 L26 P#23 A360.00 B#17 N45 G65 L5 P#20 A360.00 B#10 N50 G65 L5 P#24 A#10 B2 N55 G65 L2 P#25 A#24 B1 N60 G65 L23 P#26 A#10 B2 N65 G65 L4 P#27 A#20 B#24 N70 G65 L4 P#28 A#20 B#25 N71 G65 L5 P#35 A#23 B360.00 N72 G65 L2 P#31 A#35 B1 N73 G65 L4 P#36 A#31 B360.00 N75 G65 L3 P#29 A#27 B#23 N80 G65 L3 P#30 A#28 B#23 N86 G65 L81 P97 A#35 B0 N#87 G65 L2 P#32 A#36 B#29 N95 G65 L2 P#33 A#36 B#30 N96 G65 L80 P100 N97 G65 L2 P#32 A360.00 B#29 N98 G65 L2 P#33 A360.00 B#30 N100 G65 L50 N101 G12 P06 N102 G00 X0 Y0 N103 G04 X0.2 N104 G00 Y#43 N105 M08 N106 G00 X#42 N109 G65 L83 P140 A#23 B#28 N110 G65 L86 P165 A#23 B#27 N115 G65 L81 P130 A#26 B1 N120 M98 P104 L#24 N125 G65 L80 P185 N130 M98 P103 L#10 N135 G65 L80 P185 N140 G65 L81 P155 A#26 B1 N145 M98 P102 L#24 N150 G65 L80 P185 N155 M98 P101 L#10 N160 G65 L80 P185 N165 G65 L81 P180 A#26 B1 N170 M98 P108 L#24 N175 G65 L80 P185 N180 M98 P107 L#10 N185 G00 X0 Y0 N186 M09 N187 G11 P03 N1#87 M30 O0101 N210 G65 L2 P#40 A#40 B1 N211 G01 U#88 V-#87 W-#23 F#14 N212 G65 L81 P214 A#40 B#10 N213 G00 U-#60 V#87 U2.500 W-#32 N214 M99 O0102 N220 G65 L2 P#41 A#41 B1 N221 G01 U#88 V-#87 W-#23 F#14 N222 G00 U-#60 V#87 U2.5000 W-#32 N223 G01 U#88 V-#87 W-#23 F#14 N224 G65 L81 P226 A#41 B#24 N225 G00 U-#60 V#87 U2.500 W-#33 N226 M99 O0103 N230 G65 L2 P#40 A#40 B1 N231 G01 U#88 V-#87 W#-23 F#14 N232 G65 L81 P235 A#40 B#10 N234 G00 U-#60 V#87 U2.500 W-#32 N235 M99 O0104 N239 G65 L2 P#41 A#41 B1 N240 G01 U#88 V-#87 W-#23 F#14 N241 G00 U-#60 V#87 U2.500 W-#32 N242 G01 U#88 V-#87 W-#23 F#14 N243 G65 L81 P245 A#41 B#24 N244 G00 U-#60 V#87 U2.500 W-#30 N245 M99 O0107 N270 G65 L2 P#40 A#40 B1 N271 G01 U#88 V-#87 W-#23 F#14 N272 G65 L81 P274 A#40 B#10 N273 G00 U-#60 V#87 U2.500 W-#29 N274 M99 O0108 N280 G65 L2 P#41 A#41 B1 N281 G01 U#88 V-#87 W-#23 F#14 N282 G00 U-#60 V#87 U2.500 W-#29 N283 G01 U#88 V-#87 W-#23 F#14 N284 G65 L81 P286 A#41 B#24 N285 G00 U-#60 V#87 U2.500 W-#30 N286 M99 |