diff --git a/Rs.Motion/GugaoEcat/GugaoAxis.cs b/Rs.Motion/GugaoEcat/GugaoAxis.cs index 212387d..48fb546 100644 --- a/Rs.Motion/GugaoEcat/GugaoAxis.cs +++ b/Rs.Motion/GugaoEcat/GugaoAxis.cs @@ -1005,7 +1005,7 @@ namespace Rs.Motion.GugaoEcat { return ErrorCode.Fail; } - bIsOn = (pValue >> Config.AxisId & 0x01) == 1; + bIsOn = (pValue >> Config.AxisId-1 & 0x01) == 1; return ErrorCode.Ok; }