..
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
@@ -23,7 +24,7 @@ namespace Project
|
||||
|
||||
void mot_StatusChanged(object sender, arDev.MOT.StatusChangeEventArags e)
|
||||
{
|
||||
if (e.Axis >= PUB.system.MotaxisCount) return;
|
||||
if (e.Axis >= SETTING.System.MotaxisCount) return;
|
||||
if (e.Status == arDev.MOT.MOTION_STATUS.SERVOALARM) hmi1.arMOT_Alm[e.Axis] = e.Value;
|
||||
else if (e.Status == arDev.MOT.MOTION_STATUS.LIMITN) hmi1.arMOT_LimDn[e.Axis] = e.Value;
|
||||
else if (e.Status == arDev.MOT.MOTION_STATUS.LIMITP) hmi1.arMOT_LimUp[e.Axis] = e.Value;
|
||||
|
||||
Reference in New Issue
Block a user