Skip to content

Commit

Permalink
Turret Rotation Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Oct 14, 2021
1 parent 70d8312 commit a286fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Haas_Lathes_BIDC/Bechtel ST-20Y.cps
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ function onOpen() {
var compensationOffset = tool.isTurningTool() ? tool.compensationOffset : tool.lengthOffset;
var toolPosition = toolFormat.format(tool.number * 100 + compensationOffset % 100);
var writeLoad = getProperty("loadToolsAtStart") ? writeBlock : writeOptionalBlock;
writeLoad("T" + toolFormat.format((tool.number - 3) >= 1 ? tool.number - 3 : tool.number + 9), mFormat.format(6));
writeLoad("T" + toolFormat.format((tool.number - 2) >= 1 ? tool.number - 2 : tool.number + 10), mFormat.format(6));
writeLoad(mFormat.format(0));
writeComment("LOAD T" + tool.number + ": " + tool.description);
writeToolMeasureBlockBIDC(tool);
Expand Down

0 comments on commit a286fa1

Please sign in to comment.