Fix osai
This commit is contained in:
@@ -3574,7 +3574,7 @@ namespace CMS_CORE_Library.Osai
|
||||
bitIndex -= 64;
|
||||
|
||||
// First tool id + actual head index
|
||||
int headIndex = (HEADS_DATA.Address + 2) + (bitIndex * 5);
|
||||
int headIndex = (HEADS_DATA.Address + 2) + (bitIndex * 6);
|
||||
cmsError = MEM_RWWord(R, 0, HEADS_DATA.MemType, headIndex, ref toolId);
|
||||
|
||||
if (i < 32)
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace CMS_CORE_Library
|
||||
private static Dictionary<int, string> toolTypeCodeList = new Dictionary<int, string>()
|
||||
{
|
||||
{0, "generic"},
|
||||
{10, "angularTransmission"},
|
||||
{80, "disk"},
|
||||
{81, "cutter50"},
|
||||
{83, "cutter70"},
|
||||
|
||||
Reference in New Issue
Block a user