Drilling — 스핀들 + Z축 + 쿨런트 Multi-Action
PCB 드릴링 · 금속 가공 · 자동차 부품 천공 · 알루미늄 프로파일
S06 · Drilling
·
0.00s / 6.0s
·
IDLE
🖱️ 드래그 회전 · 휠 줌 · 우클릭 드래그 팬 · 슬라이더로 시간 스크럽
⏱ 동작 타이밍 (TCT 6.0s · Work = Capa)
OUT (Cmd)IN (Sensor)Spindle (0.0–0.8s)Coolant (0.8–1.0s)Plunge (1.0–2.5s)Dwell (2.5–3.0s)Retract (3.0–4.5s)▬▬ Work = Capa 단위 (라인 위 동시 제품)
📋 IO Table (LS XGI)
| Tag | Dir | Addr |
|---|---|---|
Spindle_RunCmd | OUT | %QX0.0.5.0 |
Spindle_RPM | OUT | %QW0.0.5 |
Spindle_RunOK | IN | %IX0.0.5.0 |
Z_DownCmd | OUT | %QX0.0.5.1 |
Z_UpCmd | OUT | %QX0.0.5.2 |
Z_BottomOK | IN | %IX0.0.5.1 |
Z_TopOK | IN | %IX0.0.5.2 |
Coolant_OnCmd | OUT | %QX0.0.5.3 |
Drill_State | MEM | %MW105 |
🔧 자산 구성
- Spindle1 — ACServoMotor 3000-12000 RPM
- ZAxis — LinearServo 행정 200mm ±0.01mm
- Coolant — CoolantPump 절삭유
- ZHome/ZBottom — LimitSwitch ×2
🧩 Ds2 모델
Device: DrillCell ├─ ApiDef: SpinUp [Normal·Normal] ├─ ApiDef: CoolantOn [Normal·Virtual] ├─ ApiDef: Plunge [TimeAppend(500)·VirtualDebounce(50)] ├─ ApiDef: Retract [TimeAppend(500)·VirtualDebounce(50)] └─ ApiDef: SpinDown [Normal·Virtual] Flow: Drill_Cycle (TCT 6.0s) W1 → SpinUp + CoolantOn (Join) W2 → Plunge | W3 → Dwell(0.5s) W4 → Retract | W5 → SpinDown
🎯 학습 포인트
- Tier 2 #33 — 3 Sub-asset 통합 Device
- Tier 2 #41 — Join ArrowWork
- Tier 2 #60 — Normal Action 혼합 혼합
- Tier 2 #70 — Timeout Dwell
- Tier 3 #81 — Multi-Action Flow
- Tier 3 #85 — SensingType.Virtual
⚠️ 자주 발생하는 실수
- SpinUp 을 Normal 로 모델링
- Plunge 직후 Retract — Dwell 누락
- 쿨런트 종료 시점 오류 (Retract 후 OFF)
- Spindle_RunOK 인터록 누락