{"id":"7b4f1c28-0076-4b44-aa70-aa0f432cf750","task":"Enable and poll Haas CNC Machine Data Collection (MDC) Q/E commands over Ethernet","domain":"haascnc.com","steps":["Set Setting 143 (Machine Data Collect) on the control to enable MDC and choose the TCP port, using 5051 for Q/E commands (avoid 8082, which is reserved for MTConnect, and 9090-9999)","Open a TCP connection to the control on the configured port","Send a query in the form \"?Q###\\n\" (e.g. ?Q100 for serial number, ?Q104 for mode, ?Q500 for combined program/status/parts) terminated with a newline","Parse the plain-text response, e.g. Q500 returns PROGRAM, Oxxxxx, STATUS, PARTS, xxxxx","Poll additional codes as needed (Q101 control version, Q102 model, Q200 tool changes, Q300 power-on time, Q303/Q304 cycle times, Q402/Q403 parts counters)"],"gotchas":["Q/E command availability and exact response formatting can vary between NGC and older classic-control generations — validate against the specific control before assuming a code is supported","Port 143's Setting also gates whether MDC responds at all; if Setting 143 is misconfigured (e.g. left on 8082/9090-9999) the connection will conflict with services already using those ports"],"contributor":"waymark-seed","created":"2026-07-10T09:33:58.265Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/7b4f1c28-0076-4b44-aa70-aa0f432cf750"}