Fix Siemens axis selection

This commit is contained in:
NICOLA CARMINATI
2020-08-26 10:27:44 +02:00
parent 5825b66838
commit 7bc97876af
+1 -1
View File
@@ -2727,7 +2727,7 @@ namespace CMS_CORE_Library.Siemens
// Set the path to read on which process is the axis
ncAxes[i - 1] = new Item("/Nck/MachineAxis/chanNoAxisIsActive[" + i + "]");
// Set the path in order to find which axes are visible
ncAxes[i - 1 + MAX_AXES_FOR_PROCESS] = new Item("/NC/_N_CH_TEA_ACX/$MC_DISPLAY_AXIS[u" + channel + "," + i + "]");
ncAxes[i - 1 + MAX_AXES_FOR_PROCESS] = new Item("/Nck/MachineAxis/displayAxis[" + i + "]");
// Set the path of the axes type
ncAxes[i - 1 + (MAX_AXES_FOR_PROCESS * 2)] = new Item("/Nck/Configuration/axisType[" + i + "]");
}