- WeldingCommon/Devices/ACS/ 에 ScannerACS 3개 파일 추가 (ScannerACS.cs / ScannerACS.Parameter.cs / MotionVariable.cs) - Gun 프로젝트 참조 제거, ScannerACS로 독립 분리 - WeldingCommon에 AuroraACS / AuroraMotor / ACS.SPiiPlusNET 참조 추가 - Scanner EquipmentSetup.RegisterDevices()에 ScannerACS 및 모터 등록 - EquipDef.cs에 MotorIds 추가 - AuroraEx.IsAutoActivation Device 네임스페이스 충돌 수정 - CommonEquipmentSetup.ActivateDevices() Aurora.Api.Device 타입 명시 TODO: 이정인 선임 ACS 변수 맵 수신 후 축 번호 및 변수명 검증 필요
38 lines
2.0 KiB
C#
38 lines
2.0 KiB
C#
// WeldingCommon/Devices/ACS/ScannerACS.Parameter.cs
|
|
namespace WeldingCommon.Devices.ACS
|
|
{
|
|
public partial class ScannerACS
|
|
{
|
|
// ── 알람 ──────────────────────────────────────────
|
|
const string AlarmReset = "iAlarmreset";
|
|
const string HeavyAlarm = "iAlarm";
|
|
const string LightAlarm = "iLightAlarm";
|
|
const string AlarmCodes = "iPCAlarmNo";
|
|
|
|
// ── 홈 ───────────────────────────────────────────
|
|
const string iAllAxisHomeComplete = "iPCget_ALLAXIS_HOMECOMP";
|
|
|
|
// ── MOTF (Mark On The Fly) ────────────────────────
|
|
// TODO: 이정인 선임 ACS 변수 맵 수신 후 실제 변수명으로 교체
|
|
const string iMOTFStart = "iPCset_SCANNER_MOTF_START"; // placeholder
|
|
const string iMOTFComplete = "iPCget_SCANNER_MOTF_COMP"; // placeholder
|
|
const string rMOTFVelocity = "rPCset_SCANNER_MOTF_VEL"; // placeholder
|
|
const string rMOTFAcc = "rPCset_SCANNER_MOTF_ACC"; // placeholder
|
|
|
|
// ── 레이저 ───────────────────────────────────────
|
|
const string IsLaserOn = "LCI_DEVICE.LaserEnabled";
|
|
const string iLaserUse = "iPCset_LASER_USE";
|
|
|
|
// ── 축 번호 ──────────────────────────────────────
|
|
const string iXAxisNumber = "iPCget_LCI_ASMASK_X";
|
|
|
|
// ── 버퍼 ─────────────────────────────────────────
|
|
private enum eBuffer
|
|
{
|
|
All_Axis_Home = 0,
|
|
|
|
// TODO: Scanner MOTF 버퍼 번호 확인 후 수정
|
|
MOTF_Start = 11,
|
|
}
|
|
}
|
|
} |