AxisX2 = 2 AxisZ =4 검증완료
This commit is contained in:
parent
3c1546f840
commit
dbdc759c98
@ -24,10 +24,11 @@ namespace ILSOS_PrismaticScanner
|
|||||||
// TODO: 이정인 선임 ACS 변수 맵 수신 후 실제 번호 검증
|
// TODO: 이정인 선임 ACS 변수 맵 수신 후 실제 번호 검증
|
||||||
public enum eMotorIdx
|
public enum eMotorIdx
|
||||||
{
|
{
|
||||||
AxisX2 = 1,
|
AxisX1 = 0,
|
||||||
AxisY1 = 3,
|
AxisY1 = 1,
|
||||||
AxisY2 = 4,
|
AxisX2 = 2,
|
||||||
AxisZ = 5,
|
AxisY2 = 3,
|
||||||
|
AxisZ = 4,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -172,22 +172,22 @@ namespace ILSOS_PrismaticScanner
|
|||||||
registry.Register(DeviceIds.ACS, () => ACS, new ACSDeviceConfig());
|
registry.Register(DeviceIds.ACS, () => ACS, new ACSDeviceConfig());
|
||||||
|
|
||||||
// TODO: 축 번호는 이정인 선임 변수 맵 수신 후 검증
|
// TODO: 축 번호는 이정인 선임 변수 맵 수신 후 검증
|
||||||
var motorX2 = new ACSMotor(MotorIds.AxisX2, ACS, 1, (int)MotorIds.eMotorIdx.AxisX2);
|
var motorX2 = new ACSMotor(MotorIds.AxisX2, ACS, 2, (int)MotorIds.eMotorIdx.AxisX2);
|
||||||
registry.Register(MotorIds.AxisX2, () => motorX2,
|
registry.Register(MotorIds.AxisX2, () => motorX2,
|
||||||
new ACSMotorConfig(MotorIds.AxisX2),
|
new ACSMotorConfig(MotorIds.AxisX2),
|
||||||
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
||||||
|
|
||||||
var motorY1 = new ACSMotor(MotorIds.AxisY1, ACS, 3, (int)MotorIds.eMotorIdx.AxisY1);
|
//var motorY1 = new ACSMotor(MotorIds.AxisY1, ACS, 3, (int)MotorIds.eMotorIdx.AxisY1);
|
||||||
registry.Register(MotorIds.AxisY1, () => motorY1,
|
//registry.Register(MotorIds.AxisY1, () => motorY1,
|
||||||
new ACSMotorConfig(MotorIds.AxisY1),
|
// new ACSMotorConfig(MotorIds.AxisY1),
|
||||||
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
// motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
||||||
|
|
||||||
var motorY2 = new ACSMotor(MotorIds.AxisY2, ACS, 4, (int)MotorIds.eMotorIdx.AxisY2);
|
//var motorY2 = new ACSMotor(MotorIds.AxisY2, ACS, 4, (int)MotorIds.eMotorIdx.AxisY2);
|
||||||
registry.Register(MotorIds.AxisY2, () => motorY2,
|
//registry.Register(MotorIds.AxisY2, () => motorY2,
|
||||||
new ACSMotorConfig(MotorIds.AxisY2),
|
// new ACSMotorConfig(MotorIds.AxisY2),
|
||||||
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
// motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
||||||
|
|
||||||
var motorZ = new ACSMotor(MotorIds.AxisZ, ACS, 5, (int)MotorIds.eMotorIdx.AxisZ);
|
var motorZ = new ACSMotor(MotorIds.AxisZ, ACS, 4, (int)MotorIds.eMotorIdx.AxisZ);
|
||||||
registry.Register(MotorIds.AxisZ, () => motorZ,
|
registry.Register(MotorIds.AxisZ, () => motorZ,
|
||||||
new ACSMotorConfig(MotorIds.AxisZ),
|
new ACSMotorConfig(MotorIds.AxisZ),
|
||||||
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
motor => new UCACSMotor(AuroraEnv.DeviceManager, motor.DeviceId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user