メッセージ1/3
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- パーマリンクを表示
- 印刷
- 報告
I really don't understand what I am seeing. Here the first output, which is exactly what I am expecting:
G0 G99 X150. Z150. T0100 (LINE 4582 - XPOS=150 ZPOS=150)
now, here is the second one:
G0 G99 T0600 (LINE 4582 - XPOS=150 ZPOS=150)
You can notice that in both cases, the variables contains the proper values
Here is the writeBlock in question:
if ((getProperty("useTailStock") == "false") || !machineState.tailstockIsActive) { // don't retract B-axis if used as a tailstock
// writeDebug("homePositionX = " + tmpXPos);
// writeDebug("homePositionZ = " + tmpZPos);
writeBlock(
gMotionModal.format(0),
gFormat.format(99),
xOutput.format(tmpXPos / 2),
zOutput.format(tmpZPos),
cmbiToolInit.format(currentToolCode),
formatComment("line 4582 - XPos=" + tmpXPos + " ZPos=" + tmpZPos )
) ;
//conditional(_comment, formatComment(_comment))
}
As I thought the problem was that, in one case, it was not able to get the properties values, I made the call to getProperty above, but the end result is exactly the same.
Any one would have a brilliant idea to help me ? I am really stuck here.
Thanks for you help,
Bernard Grosperrin, Retired, Maker, and Autodesk Certified Instructor
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file
解決済! 解決策の投稿を見る。