Hi Duy Servo, I'm building a mini plastic injection molding machine using the TC5540H CNC controller and I've encountered a challenge that I can't seem to solve. My goal is that when closing the mold using the X axis, it will automatically stop when a sensor tells it to, but the Y axis will continue moving to inject the plastic into the mold. So far, I haven't been able to get both axes to work this way and I would greatly appreciate your help in reviewing the program I've developed and guiding me on how to set it up correctly. I'm sure your experience with this type of controller can make a difference at this crucial point in my project. N1 G90 N2 G21 N3 G92 X0 N4 M0 N5 G20 N100.999999 N100 G22 N100 N101 G1 X100 F400 N102 G1 Y100 F400 N103 G1 Y90 F200 N104 G92 Y0 N105 M51 N106 G04 K10 N107 M52 N108 G1 X25 F400 N109 G1 X30 F400 N110 G1 X25 F400 N111 G1 X30 F400 N110 G1 X0 F400 N111 G4 K2 N6 G90 N7 G91 N8 G01 C0.001 F10 N9 G90 N10 G92 X0 Y0 N11 G24 N12 M99 Your help would be invaluable, especially for those of us who are just learning. Thanks for all the content you share and I hope you can give me a hand with this! Best regards, Mauricio Ruiz
Muchas gracias
Hi Duy Servo,
I'm building a mini plastic injection molding machine using the TC5540H CNC controller and I've encountered a challenge that I can't seem to solve. My goal is that when closing the mold using the X axis, it will automatically stop when a sensor tells it to, but the Y axis will continue moving to inject the plastic into the mold.
So far, I haven't been able to get both axes to work this way and I would greatly appreciate your help in reviewing the program I've developed and guiding me on how to set it up correctly. I'm sure your experience with this type of controller can make a difference at this crucial point in my project.
N1 G90
N2 G21
N3 G92 X0
N4 M0
N5 G20 N100.999999
N100 G22 N100
N101 G1 X100 F400
N102 G1 Y100 F400
N103 G1 Y90 F200
N104 G92 Y0
N105 M51
N106 G04 K10
N107 M52
N108 G1 X25 F400
N109 G1 X30 F400
N110 G1 X25 F400
N111 G1 X30 F400
N110 G1 X0 F400
N111 G4 K2
N6 G90
N7 G91
N8 G01 C0.001 F10
N9 G90
N10 G92 X0 Y0
N11 G24
N12 M99
Your help would be invaluable, especially for those of us who are just learning. Thanks for all the content you share and I hope you can give me a hand with this!
Best regards,
Mauricio Ruiz