This commit is contained in:
ChiKyun Kim
2025-09-09 08:25:50 +09:00
parent 9a7d1d27c7
commit adb66451ca
79 changed files with 4195 additions and 2213 deletions

View File

@@ -31,8 +31,8 @@ namespace Project
for (short i = 0; i < PUB.mot.DeviceCount; i++)
{
if (PUB.mot.IsUse(i) == false) continue; //미사용축은 제외한다.
//if (PUB.system.UseAxis(i) == false) continue;
//if (PUB.system.UseOriginSignal(i) == false) continue;
//if (SETTING.System.UseAxis(i) == false) continue;
//if (SETTING.System.UseOriginSignal(i) == false) continue;
if (PUB.mot.IsLimit(i)) return true;
}
return false;
@@ -58,7 +58,7 @@ namespace Project
//accr 범위가 지정되잇다며 ㄴ그것을 사용한다
if (inpaccr == 0f)
inpaccr = 0.1f;// PUB.system.INPAccurary(axis);
inpaccr = 0.1f;// SETTING.System.INPAccurary(axis);
//X축을 그립위치까지 이동함
@@ -377,7 +377,7 @@ namespace Project
retval.Speed = Math.Min(retval.Speed, AR.SETTING.Data.LimitSpeed);
////시스템설정의 속도 체크 220524
//var maxspeed = PUB.system.GetMaxSpeed;
//var maxspeed = SETTING.System.GetMaxSpeed;
//var motidx = (int)axis;
//if (motidx >= 0 && motidx < maxspeed.Length && maxspeed[motidx] > 0)
//{
@@ -385,7 +385,7 @@ namespace Project
//}
////시스템설정의 가속도체크
//var maxAcc = PUB.system.GetMaxAcc;
//var maxAcc = SETTING.System.GetMaxAcc;
//if (motidx >= 0 && motidx < maxAcc.Length && maxAcc[motidx] > 0)
//{
// retval.Acc = Math.Min(retval.Acc, maxAcc[motidx]);