ht9045-autostart-flow

Documents the HT9045 Handler AutoStart TCP communication flow and OLP command protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Engineers integrating the HT9045 Handler with GTK Loader and Agent systems lack a consolidated reference for the AutoStart communication flow, OLP command mappings, and validation logic, leading to integration errors and vendor miscommunication. ## Core Features & Use Cases - Five-Phase Flow Reference: Covers Handshake, End Lot, Start Lot, Auto Start, and SOT/EOT signal exchange between GTK Loader, Agent, and HT9045 Handler. - OLP Command Mapping: Maps spec HTSET codes (333/700/702) to actual HT9045 OLP commands like START_REQUEST, CLEAR_REPORT_REQUEST, and LotInfo_REQUEST with C++ handler functions. - Error Handling & Validation: Documents Info Mismatch verification, Safety Interlock (bLockByServer), retry logic, and open vendor requirements. - Use Case: When implementing an Agent that remotely starts the HT9045 Handler, consult this Skill to confirm START_REQUEST preconditions (HALT status, SystemStart=false, Interlock unlocked) and the correct OLP packet format. ## Quick Start Ask the AI to explain the HT9045 AutoStart handshake sequence and the OLP commands required to remotely start a lot.

Frequently Asked Questions about ht9045-autostart-flow

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

FAQPage Schema
How does the HT9045 AutoStart handshake flow work?▼

The GTK Loader sends Ready with MO, Flow, and Ticket data to the Agent after loading the test program, retrying up to 3 times at 3-second intervals. The Agent then sends End Lot, Start Lot, and Auto Start commands to the HT9045 Handler in sequence.

What OLP command triggers Auto Start on the HT9045 Handler?▼

START_REQUEST triggers Auto Start by calling fMain->Start(), but only when the machine status shows HALT and SystemStart is false. The spec code HTSET 333 maps to this OLP command, though final codes require vendor confirmation.

How does Safety Interlock work on the HT9045?▼

PAUSE_REQUEST sets bLockByServer=true and SoftStop=true to lock the machine, while RESUME_REQUEST clears bLockByServer to unlock it. When locked, the Handler refuses to enter Run state even if START_REQUEST arrives.

What is the HT9045 OLP packet format?▼

Packets use ASCII framing with STX (0x02) at start, SOH (0x01) as field separator, and ETX (0x03) at end. The structure is STX + Command + SOH + field count + data fields + ETX, for example STX + START_REQUEST + SOH + 0 + ETX.

Why does ONECYCLE_REQUEST not work on production HT9045 builds?▼

ONECYCLE_REQUEST is wrapped in the DEBUG_DUTONOFF preprocessor condition, so release builds exclude it entirely. Enabling One Cycle mode requires the vendor to provide a build with DEBUG_DUTONOFF enabled or an alternative command.

What happens when Start Lot returns an Info Mismatch?▼

The Agent compares the MO, Flow, and Ticket values from the Start Lot Ack against the values stored during Handshake. If any field differs or the Ack status is Fail, the Agent aborts the flow and displays Expected versus Actual values.