ht9045-shuttle-flow

Explains HT9045 IC test handler Shuttle state machine flows and debugging paths.

Updated May 28, 2026
One-click install
npx skills add https://github.com/HPI-Jimmy-Chiu/HT904_V899 --skill ht9045-shuttle-flow-hpi-jimmy-chiu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ht9045-shuttle-flow
Source: https://github.com/HPI-Jimmy-Chiu/HT904_V899/tree/main/.agents/skills/ht9045-shuttle-flow
Command: npx skills add https://github.com/HPI-Jimmy-Chiu/HT904_V899 --skill ht9045-shuttle-flow-hpi-jimmy-chiu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineers maintaining the HT9045 IC Test Handler struggle to interpret Shuttle 1/2 state machine behavior (Do_Auto_SHT1/Do_Auto_SHT2) when diagnosing jams, floating ICs, residual material, or sensor failures in the Borland C++ Builder codebase. ## Core Features & Use Cases - State Machine Reference: Maps every case value (1, 100, 200, 400, 2300, etc.) in AutoSHT1Task/AutoSHT2Task to left-move, right-move, barcode, floating, and retry branches. - Mode-Based Sub-Switches: Documents CheckShuttleOutputHasICError and CheckShuttleSensorBroken_1/_2 logic keyed on TestIF.iTestMode for residual IC and sensor-broken detection across 16+ test modes. - Debugging Entry Points: Provides a step-by-step diagnostic order for stuck shuttles, retry loops, and safety interlocks with InArm/OutArm/Index. - Use Case: When a Shuttle 2 right-move hangs, read AutoSHT2Task's live value, locate the case in the flow map, and follow the documented branch to identify whether the cause is a floating check, 2D barcode scan, or HTTP retry path. ## Quick Start Ask the AI to explain why Shuttle 1 is stuck at case 400 in Do_Auto_SHT1 and what retry path it follows.

Frequently Asked Questions about ht9045-shuttle-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a stuck Shuttle in the HT9045 test handler?▼

Read the live value of AutoSHT1Task or AutoSHT2Task to identify the current case, then locate that case in the documented flow map. Left-move issues involve cases 100/120/130/135, right-move issues involve 200/201/210, and unrecoverable retries loop through 400/500/110.

What do the case values in Do_Auto_SHT1 and Do_Auto_SHT2 mean?▼

Each case number is a state in the shuttle state machine: 1-10 is initialization, 100-140 is the left-move branch, 200-235 is the right-move branch, 2300 handles floating ICs, 2400/2500 handle 2D barcode, and 400/500 form the error retry loop.

How does the HT9045 detect residual or floating ICs on the shuttle?▼

CheckShuttleOutputHasICError compares shuttle sensors against CarryKit data per test mode via a switch on TestIF.iTestMode, supporting modes like SingleSite, DualSite, QualSite2X2, and up to _32Site4X8N. Floating detection runs through the dedicated case 2300 branch.

What is the difference between Shuttle 1 and Shuttle 2 flows?▼

Do_Auto_SHT2 mirrors Do_Auto_SHT1 with nearly identical case structure, differing mainly in the hardware objects used: MInShuttle2 motor and BRCarryKit/BLCarryKit instead of the Shuttle 1 equivalents. SHT2 also includes one-cycle conditional branches.

Why does the shuttle keep retrying without recovering?▼

Repeated entry into cases 400/500/110 indicates the retry loop cannot clear its error condition. Check whether the underlying cause is a sensor-broken detection from CheckShuttleSensorBroken_1/_2 or a safety interlock from DoInOutARM_SHT_MoveSafe blocking movement.