diff --git a/CMS_CORE_Library/Demo/Nc_Demo.cs b/CMS_CORE_Library/Demo/Nc_Demo.cs
index ed01d45..562c1a9 100644
--- a/CMS_CORE_Library/Demo/Nc_Demo.cs
+++ b/CMS_CORE_Library/Demo/Nc_Demo.cs
@@ -3222,6 +3222,27 @@ namespace CMS_CORE_Library.Demo
return NO_ERROR;
}
+
+ public override CmsError TOOLS_RAdatpivePathStep(ref Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(R, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
+ public override CmsError TOOLS_WAdatpivePathStep(Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(W, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
#endregion ToolTable
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -3526,8 +3547,8 @@ namespace CMS_CORE_Library.Demo
internal static MEMORY_CELL UNIT_OF_MEASURE = new MEMORY_CELL(MEMORY_TYPE.Demo, 470, 1);
internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Demo, 471, 1);
internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Demo, 472, 1);
-
internal static MEMORY_CELL HEADS_WORKED_TIMES = new MEMORY_CELL(MEMORY_TYPE.Demo, 480, 4);
+ internal static MEMORY_CELL SELF_ADAPTIVE_PATH = new MEMORY_CELL(MEMORY_TYPE.Demo, 560, 4);
}
diff --git a/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs b/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs
index 22298a9..57445f3 100644
--- a/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs
+++ b/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs
@@ -3965,6 +3965,26 @@ namespace CMS_CORE_Library.Fanuc
}
return output;
}
+
+ public override CmsError TOOLS_RAdatpivePathStep(ref Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(R, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
+ public override CmsError TOOLS_WAdatpivePathStep(Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(W, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
#endregion Nc Tool Manager
@@ -4686,8 +4706,6 @@ namespace CMS_CORE_Library.Fanuc
internal static MEMORY_CELL AXES_BUTTON_VISIBLE = new MEMORY_CELL(MEMORY_TYPE.Fanuc_R, STARTING_ADDRESS + 3033, 16);
- internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7222, 1);
- internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7217, 1);
// Tool manager areas
internal static MEMORY_CELL MAGAZINE_ACTION = new MEMORY_CELL(MEMORY_TYPE.Fanuc_R, STARTING_ADDRESS + 4000, 16);
@@ -4731,5 +4749,9 @@ namespace CMS_CORE_Library.Fanuc
internal static MEMORY_CELL HEAD_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7217, 4);
internal static MEMORY_CELL MACHINE_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7213, 4);
internal static MEMORY_CELL MACHINE_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7212, 4);
+ internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7222, 1);
+ internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 7217, 1);
+ internal static MEMORY_CELL SELF_ADAPTIVE_PATH = new MEMORY_CELL(MEMORY_TYPE.Fanuc_D, 8816, 4);
+
}
}
\ No newline at end of file
diff --git a/CMS_CORE_Library/Nc.cs b/CMS_CORE_Library/Nc.cs
index 773dec3..392e000 100644
--- a/CMS_CORE_Library/Nc.cs
+++ b/CMS_CORE_Library/Nc.cs
@@ -1332,6 +1332,30 @@ namespace CMS_CORE_Library
#region Tool Table Siemens
+ /**
+ * Read Adatpive Path Step
+ *
+ * Compatibility: Siemens
+ *
+ *
+ * Returns an error when an internal or a library error occours
+ * Reference to the tool table configuration data
+ **/
+
+ public abstract CmsError TOOLS_RAdatpivePathStep(ref Byte step);
+
+ /**
+ * Write Adatpive Path Step
+ *
+ * Compatibility: Siemens
+ *
+ *
+ * Returns an error when an internal or a library error occours
+ * Reference to the tool table configuration data
+ **/
+
+ public abstract CmsError TOOLS_WAdatpivePathStep(Byte step);
+
/**
* Read tool table configuration
*
diff --git a/CMS_CORE_Library/Osai/Nc_Osai.cs b/CMS_CORE_Library/Osai/Nc_Osai.cs
index ef1a83f..d7cbc68 100644
--- a/CMS_CORE_Library/Osai/Nc_Osai.cs
+++ b/CMS_CORE_Library/Osai/Nc_Osai.cs
@@ -3868,6 +3868,26 @@ namespace CMS_CORE_Library.Osai
return NO_ERROR;
}
+ public override CmsError TOOLS_RAdatpivePathStep(ref Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(R, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
+ public override CmsError TOOLS_WAdatpivePathStep(Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(W, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
#endregion Nc Tool Manager
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -4470,8 +4490,6 @@ namespace CMS_CORE_Library.Osai
internal static MEMORY_CELL M154_ACK = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 4312, 1);
internal static MEMORY_CELL AXES_BUTTON_VISIBLE = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 4320, 16);
- internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Osai_GW, 303, 1);
- internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Osai_GW, 302, 1);
// Tool manager areas
internal static MEMORY_CELL MAGAZINE_ACTION = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 4350, 16);
@@ -4509,6 +4527,9 @@ namespace CMS_CORE_Library.Osai
internal static MEMORY_CELL HEAD_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 3458, 4);
internal static MEMORY_CELL MACHINE_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 3455, 4);
internal static MEMORY_CELL MACHINE_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 3454, 4);
+ internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Osai_GW, 303, 1);
+ internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Osai_GW, 302, 1);
+ internal static MEMORY_CELL SELF_ADAPTIVE_PATH = new MEMORY_CELL(MEMORY_TYPE.Osai_MW, 4058, 4);
}
diff --git a/CMS_CORE_Library/Siemens/Nc_Siemens.cs b/CMS_CORE_Library/Siemens/Nc_Siemens.cs
index 7f5b7bb..7250852 100644
--- a/CMS_CORE_Library/Siemens/Nc_Siemens.cs
+++ b/CMS_CORE_Library/Siemens/Nc_Siemens.cs
@@ -4277,6 +4277,26 @@ namespace CMS_CORE_Library.Siemens
{
return FUNCTION_NOT_ALLOWED_ERROR;
}
+
+ public override CmsError TOOLS_RAdatpivePathStep(ref Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(R, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, SELF_ADAPTIVE_PATH.SubAddress, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
+
+ public override CmsError TOOLS_WAdatpivePathStep(Byte step)
+ {
+ // Check ACK
+ CmsError cmsError = MEM_RWByte(W, 0, SELF_ADAPTIVE_PATH.MemType, SELF_ADAPTIVE_PATH.Address, SELF_ADAPTIVE_PATH.SubAddress, 0, ref step);
+ if (cmsError.IsError())
+ return cmsError;
+
+ return NO_ERROR;
+ }
#endregion Nc Tool Manager
@@ -6095,13 +6115,15 @@ namespace CMS_CORE_Library.Siemens
internal static MEMORY_CELL AXES_BUTTON_VISIBLE = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, TABLE, 3044, 16);
internal static MEMORY_CELL MAGAZINE_ACTION = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, TABLE, 4000, 16);
- internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 120, 1);
- internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 92, 1);
//old CMS-Control variables
internal static MEMORY_CELL HEADS_WORKED_TIMES = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 254, 60, 4);
internal static MEMORY_CELL HEAD_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 92, 4);
internal static MEMORY_CELL MACHINE_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 94, 4);
internal static MEMORY_CELL MACHINE_RESET_WORKED_TIME = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 98, 92, 4);
+ internal static MEMORY_CELL CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 120, 1);
+ internal static MEMORY_CELL EXP_CANDY_MEM = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 255, 92, 1);
+ internal static MEMORY_CELL SELF_ADAPTIVE_PATH = new MEMORY_CELL(MEMORY_TYPE.Siemens_DB, 253, 16, 4);
+
}
}
\ No newline at end of file