breezy
Moderator
This query is about inserting manual commands into gCode through Fusion 360.
Back story is I'm machining tops for portable picnic wine tables. These tops (6 in a 3 x 2 matrix) have two holes (handle & bottle storage) and four slots (wine glass holder), after machining the topside, the 1200 by 800 sheet is flipped over to machine the bottom. This is where I want to insert a manual Stop command so that I can move the spindle out of the way to install clamps to hold the tops down for the final part of machining. There are 4 steps to machining the bottom side, drill holes for the hinges, roundover the edges of the handle & bottle hole, complete machining the outside and roundover the outer edge. Between steps 2 & 3 is where I need to move the spindle, which seems simple enough, in Fusion just insert a manual NC Stop command between steps 2 & 3. But the problem is when Fusion then generates the NC gCode, the stop command is not where I expected it to be. Now I could separate this operation into two files, but I want to keep it as one file to make it easier for other members of the shed to be able to run the machine.
Below is part of the gCode generated by Fusion.
When I generate without the manual Stop the gCode retracts the spindle to Z15 followed by home the Z axis command, then it proceeds to the tool change for the next section of work. What I want to do is stop the machine before the tool change so that clamps can be added. But Fusion is inserting the stop command before the Z axis home command not after as I expected. Now I could just edit the file to move the manual NC Stop command & comment to the logical end of the roundover section, but I would like to get Fusion to insert the command where I expected it to be. So if anyone knows how to adjust Fusion or the post processor for MASSO to insert manual commands to the logical end of a section I would appreciate your help.
There is an optional stop command just before the tool change command but I don't want to rely on that because there are more optional stop commands before each tool change which would just confuse the members and the current version of MASSO doesn't remember if optional stop has been turned on between power cycles.
(ROUNDOVER BOTTLE HANDLE)
N900 G0 X-761.5 Y400.
N905 Z15.
N910 Z5.
N915 G1 Z-2.5 F1500.
N920 G3 X-838.5 I-38.5 J0. F5000.
N925 X-761.5 I38.5 J0.
N930 G0 Z5.
N935 X-764.013 Y517.171
N940 G1 Z-2.5 F1500.
N945 G3 X-836.273 Y517.109 I-35.987 J-167.171 F5000.
N950 X-840.864 Y509.973 I1.272 J-5.864
N955 X-833.727 Y505.382 I5.864 J1.273
N960 G2 X-766.273 I33.727 J-155.382
N965 G3 X-759.136 Y509.973 I1.273 J5.863
N970 X-763.727 Y517.109 I-5.864 J1.273
N975 X-764.013 Y517.171 I-36.273 J-167.109
N980 G0 Z15.
(ADD CLAMPS)
N985 M0
N990 G28 G91 Z0.
N995 G90
(TABLE TOP SHAPE)
N1000 M5
N1005 M1
N1010 T5 M6
N1015 S20000 M3
N1020 G56
N1025 G0 X81.99 Y-185.519
N1030 Z15.
N1035 Z5.
N1040 G1 Z-4. F5000.
Regards,
Arie.
Back story is I'm machining tops for portable picnic wine tables. These tops (6 in a 3 x 2 matrix) have two holes (handle & bottle storage) and four slots (wine glass holder), after machining the topside, the 1200 by 800 sheet is flipped over to machine the bottom. This is where I want to insert a manual Stop command so that I can move the spindle out of the way to install clamps to hold the tops down for the final part of machining. There are 4 steps to machining the bottom side, drill holes for the hinges, roundover the edges of the handle & bottle hole, complete machining the outside and roundover the outer edge. Between steps 2 & 3 is where I need to move the spindle, which seems simple enough, in Fusion just insert a manual NC Stop command between steps 2 & 3. But the problem is when Fusion then generates the NC gCode, the stop command is not where I expected it to be. Now I could separate this operation into two files, but I want to keep it as one file to make it easier for other members of the shed to be able to run the machine.
Below is part of the gCode generated by Fusion.
When I generate without the manual Stop the gCode retracts the spindle to Z15 followed by home the Z axis command, then it proceeds to the tool change for the next section of work. What I want to do is stop the machine before the tool change so that clamps can be added. But Fusion is inserting the stop command before the Z axis home command not after as I expected. Now I could just edit the file to move the manual NC Stop command & comment to the logical end of the roundover section, but I would like to get Fusion to insert the command where I expected it to be. So if anyone knows how to adjust Fusion or the post processor for MASSO to insert manual commands to the logical end of a section I would appreciate your help.
There is an optional stop command just before the tool change command but I don't want to rely on that because there are more optional stop commands before each tool change which would just confuse the members and the current version of MASSO doesn't remember if optional stop has been turned on between power cycles.
(ROUNDOVER BOTTLE HANDLE)
N900 G0 X-761.5 Y400.
N905 Z15.
N910 Z5.
N915 G1 Z-2.5 F1500.
N920 G3 X-838.5 I-38.5 J0. F5000.
N925 X-761.5 I38.5 J0.
N930 G0 Z5.
N935 X-764.013 Y517.171
N940 G1 Z-2.5 F1500.
N945 G3 X-836.273 Y517.109 I-35.987 J-167.171 F5000.
N950 X-840.864 Y509.973 I1.272 J-5.864
N955 X-833.727 Y505.382 I5.864 J1.273
N960 G2 X-766.273 I33.727 J-155.382
N965 G3 X-759.136 Y509.973 I1.273 J5.863
N970 X-763.727 Y517.109 I-5.864 J1.273
N975 X-764.013 Y517.171 I-36.273 J-167.109
N980 G0 Z15.
(ADD CLAMPS)
N985 M0
N990 G28 G91 Z0.
N995 G90
(TABLE TOP SHAPE)
N1000 M5
N1005 M1
N1010 T5 M6
N1015 S20000 M3
N1020 G56
N1025 G0 X81.99 Y-185.519
N1030 Z15.
N1035 Z5.
N1040 G1 Z-4. F5000.
Regards,
Arie.