rename aree memoria path (lettura) che mascheravano type
This commit is contained in:
@@ -1175,16 +1175,16 @@ namespace MTC_Adapter
|
||||
FeedRate = allDynData.actf;
|
||||
|
||||
int memIndex = 12000;
|
||||
byte[] PathData = new byte[4];
|
||||
byte[] PathData_mem = new byte[4];
|
||||
inizio = DateTime.Now;
|
||||
FanucMemRW(R, FANUC.MemType.R, memIndex, ref PathData);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-PathData", PathData.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
FanucMemRW(R, FANUC.MemType.R, memIndex, ref PathData_mem);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-PathData", PathData_mem.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
|
||||
// 2016.07.19 mod con Fabio
|
||||
//JogRateOver = PathData[0];
|
||||
FeedRateOver = PathData[1];
|
||||
RapidOver = PathData[2];
|
||||
SpeedRateOver = PathData[3];
|
||||
//JogRateOver = PathData_mem[0];
|
||||
FeedRateOver = PathData_mem[1];
|
||||
RapidOver = PathData_mem[2];
|
||||
SpeedRateOver = PathData_mem[3];
|
||||
|
||||
sb.AppendLine(string.Format("FeedRate: {0} mm/min", FeedRate));
|
||||
sb.AppendLine(string.Format("FeedRateOver: {0} %", FeedRateOver));
|
||||
|
||||
@@ -1112,16 +1112,16 @@ namespace MTC_Adapter
|
||||
FeedRate = allDynData.actf;
|
||||
|
||||
int memIndex = 12000;
|
||||
byte[] PathData = new byte[4];
|
||||
byte[] PathData_mem = new byte[4];
|
||||
inizio = DateTime.Now;
|
||||
FanucMemRW(R, FANUC.MemType.R, memIndex, ref PathData);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-PathData", PathData.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
FanucMemRW(R, FANUC.MemType.R, memIndex, ref PathData_mem);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-PathData", PathData_mem.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
|
||||
// 2016.07.19 mod con Fabio
|
||||
//JogRateOver = PathData[0];
|
||||
FeedRateOver = PathData[1];
|
||||
RapidOver = PathData[2];
|
||||
SpeedRateOver = PathData[3];
|
||||
//JogRateOver = PathData_mem[0];
|
||||
FeedRateOver = PathData_mem[1];
|
||||
RapidOver = PathData_mem[2];
|
||||
SpeedRateOver = PathData_mem[3];
|
||||
|
||||
sb.AppendLine(string.Format("FeedRate: {0} mm/min", FeedRate));
|
||||
sb.AppendLine(string.Format("FeedRateOver: {0} %", FeedRateOver));
|
||||
|
||||
Reference in New Issue
Block a user