Hi swat cat,
Quote:
1. The tool path in the G viewer is inverted. I`ve tried to invert it by checking the box for " X positive Front" but with no effect.
Well as I said I would expect many issues when trying to use non-standard coordinates.
It may help to select a tool image with the tip forward or backward such as VNMG-1.wrl vs VNMG-1 back.wrl
Quote:
2. I have two sets of axis limit switch (2x +z -z +x -x). First set are the soft limits and the second are power SWITCH OFF; For the first set of limit switches i will like to limit the movement JUST in the direction of that axis that was tripped and i could jog the axis out of that limit. If i configure them in " Config and FLASH", all the axis are disabled when one of the switch is tripped.
What Action did you configure?
Quote:
3. I`ve made a tool Changer Program ( i have a turret with 4 bit code and the controls are with CW or CCW). The program in C++ made by me is at a kindergarden level . please help me to finish it.
The code looks reasonable to me. But you should add an exit ( if (...) break; ) from the "for' loop when finished rotating.
Its actually C code not C++ code.
Quote:
-the C program i will like it to be active just after a M6 command and it will be disabled after finishing the tool change.
-the G code execution needs to wait for the tool change to finish and then resume.
I think you want the C program to run during an M6, not afterward.
Configure the M6 Action to execute the program in an unused Thread and set it to Execute/Wait/Sync so that the Interpreter waits for the tool change to complete before continuing and also re-synchs to the new position if any of the axes were moved by the program.
Quote:
-before the actual tool change, AXIS X and Z axis need to be moved to a safe position ( a value relative to the G54 ).
Normally one would want to move to a fixed machine coordinate, not a value relative to G54.
To move to an absolute Machine coordinate (in motor steps) use the Move() function. Then wait until the Move is finished with a while loop testing CheckDone();
If you really need to move relative to G54 you will need to read the GCode offsets from KMotionCNC
HTH