Skip to main content

CNC Machine Ontology

Manufacturing Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 24 November 2026
Audio Overview
flow "CNCMachine" v1.0

# Kireth Research Semantic Library — CNC Machine Ontology
# Original domain-based Flow Algebra representation (not a verified extraction)

IDENTITY:
  name: "CNC Machine"
  class: "ManufacturingEngineeringEntity > MachineTool > CNCMachine"
  domain: [manufacturing, numerical_control, machining, automation, metrology]
  definition: "A computer numerically controlled machine that executes programmed motion and auxiliary operations to manufacture or process workpieces."
  distinctions:
    - "CNC describes a control method; milling, turning, grinding and other machine types describe physical processes."
    - "A CNC machine is not synonymous with its controller, programme, cutting tool or machining cell."

AUTHORS:
  primary: "Mark Higgins — Kireth Research"
  collaborator: "Sky — Recursive AI"
  licence: "Kireth Open Research Licence — free reuse with citation required"

SOURCE:
  ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/manufacturing-entities/cnc-machine-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/manufacturing-entities/cnc-machine-ontology.html"
  provenance: "Original semantic model based on established engineering concepts; source page has not been verified."

PURPOSE:
  - "Identify CNC machine components, operating states, capabilities and relationships."
  - "Connect part geometry, process planning, NC programmes, toolpaths and inspection evidence."
  - "Represent safety interlocks, operating envelopes and traceable manufacturing decisions."
  - "Support fault diagnosis, maintenance and evidence-qualified process optimisation."

STATE_MODEL:
  S = (I, R, B, K)
  I: "Machine identity, current state, work order, programme, tooling, fixture, offsets, sensor readings and measured outcomes."
  R: "Relationships among machine, controller, axes, spindle, workpiece, tool, fixture, process, operator and quality record."
  B: "Kinematic, travel, power, thermal, dimensional, procedural and safety constraints."
  K: "Validated machine specifications, drawings, programmes, calibration data, inspection results and documented assumptions."
  lifecycle: [specified, designed, built, commissioned, qualified, operational, maintained, retrofitted, decommissioned]
  operating_states: [powered_off, initialising, homing, ready, setup, programme_verified, running, feed_hold, paused, tool_change, alarm, emergency_stop, maintenance, isolated]
  transitions:
    powered_off_to_initialising: "Power and permitted start-up checks completed."
    initialising_to_homing: "Controller and safety systems report readiness."
    homing_to_ready: "Required reference positions and axis health confirmed."
    ready_to_setup: "Authorised setup procedure initiated."
    setup_to_programme_verified: "Tooling, workholding, offsets and programme checks documented."
    programme_verified_to_running: "Required safeguards, permissions and start conditions satisfied."
    running_to_feed_hold: "Controlled programme pause requested or triggered."
    any_to_emergency_stop: "Emergency stop initiated; safe state depends on machine architecture."
    alarm_to_ready: "Cause corrected, safety checks completed and authorised reset performed."

ENTITIES:
  CNCMachine:
    attributes: [machine_id, manufacturer, model, serial_number, process_type, axis_configuration, working_envelope, rated_power, controller_version, status]
  MachineController:
    attributes: [controller_id, firmware_version, interpolation_modes, supported_programme_format, alarm_register, access_level]
  MotionAxis:
    attributes: [axis_id, axis_type, linear_or_rotary, travel_limits, position, velocity, acceleration, positioning_accuracy, encoder_status]
  Spindle:
    attributes: [spindle_id, rotational_speed, power, torque, runout, temperature, bearing_condition]
  ServoDrive:
    attributes: [drive_id, commanded_position, feedback_position, following_error, current, fault_state]
  Tool:
    attributes: [tool_id, tool_type, geometry, diameter, length, wear, remaining_life, material]
  ToolHolder:
    attributes: [holder_id, interface, clamping_status, runout, compatibility]
  ToolMagazine:
    attributes: [magazine_id, pocket_count, tool_assignments, change_status]
  Workpiece:
    attributes: [part_id, material_grade, batch_id, blank_geometry, target_geometry, datum_scheme]
  WorkholdingFixture:
    attributes: [fixture_id, clamping_method, clamp_state, reference_datums, rated_load]
  NCProgramme:
    attributes: [programme_id, revision, source, coordinate_system, tool_calls, operations, checksum, approval_status]
  Toolpath:
    attributes: [path_id, operation, motion_segments, feed_rate, spindle_speed, clearance_planes, collision_check_status]
  OffsetSet:
    attributes: [work_offset, tool_length_offset, radius_compensation, origin_reference, verification_record]
  MachiningOperation:
    attributes: [operation_id, operation_type, sequence, target_feature, stock_allowance, estimated_cycle_time]
  CoolantSystem:
    attributes: [coolant_type, concentration, flow, temperature, filtration_status]
  LubricationSystem:
    attributes: [lubricant_type, delivery_status, pressure, service_interval]
  ChipManagementSystem:
    attributes: [conveyor_status, chip_load, collection_status]
  SafetySystem:
    attributes: [guard_state, door_interlock_state, emergency_stop_state, protective_functions, validation_record]
  MachineSensor:
    attributes: [sensor_id, measured_quantity, reading, unit, calibration_status, timestamp]
  Operator:
    attributes: [operator_id, authorisation, training_status, assigned_role]
  InspectionRecord:
    attributes: [record_id, part_id, feature_id, nominal_value, measured_value, tolerance, uncertainty, method, disposition]
  MaintenanceRecord:
    attributes: [record_id, machine_id, fault, action, component, date, verification_result]
  ProductionOrder:
    attributes: [order_id, quantity, part_revision, due_date, routing, quality_requirements]

RELATIONSHIPS:
  - "CNCMachine has_controller MachineController"
  - "CNCMachine has_axis MotionAxis"
  - "MotionAxis actuated_by ServoDrive"
  - "CNCMachine has_spindle Spindle"
  - "Spindle holds ToolHolder"
  - "ToolHolder holds Tool"
  - "CNCMachine may_have ToolMagazine"
  - "WorkholdingFixture locates_and_secures Workpiece"
  - "NCProgramme contains MachiningOperation"
  - "MachiningOperation follows Toolpath"
  - "NCProgramme references OffsetSet"
  - "MachineController executes NCProgramme"
  - "SafetySystem constrains CNCMachine operation"
  - "InspectionRecord evaluates Workpiece"
  - "MaintenanceRecord documents CNCMachine condition"
  - "ProductionOrder authorises production of Workpiece"

PATHWAYS:
  production:
    - "Receive approved order and part revision."
    - "Verify machine capability, workpiece material, fixture and tooling."
    - "Generate or select NC programme with revision and provenance."
    - "Verify machine-specific syntax, coordinates, limits and toolpaths."
    - "Install fixture and workpiece; establish datums and offsets."
    - "Complete prescribed safeguarding and first-off verification."
    - "Execute machining under monitored conditions."
    - "Inspect required features and record traceable results."
    - "Release, rework or reject based on authorised acceptance criteria."
  control:
    - "Parse programme commands and interpret modal state."
    - "Apply coordinate transformations and tool compensation."
    - "Interpolate commanded paths and apply motion limits."
    - "Drive axes and spindle; compare feedback with command."
    - "Evaluate alarms, limits, interlocks and supervisory conditions."
  quality:
    - "Connect drawing requirements to measurable features."
    - "Associate measurement uncertainty and instrument calibration."
    - "Compare measurements with specified tolerances."
    - "Preserve programme, setup, material and inspection provenance."
  maintenance:
    - "Detect abnormal vibration, heat, following error or surface finish."
    - "Separate tool wear, fixture issues, machine faults and measurement error."
    - "Isolate equipment using approved procedures before intervention."
    - "Record corrective work and verify machine readiness."

CONSTRAINTS:
  geometry: "All commanded positions must remain within verified machine and setup envelopes."
  collision: "Tool, holder, spindle, fixture and workpiece clearances require machine-specific verification."
  process: "Cutting parameters must respect material, tool, spindle, power and workholding limitations."
  interlocks: "Never infer safe operation from a single sensor or a programme simulation alone."
  tolerances: "Acceptance requires specified measurement method, tolerance and uncertainty handling."
  versioning: "Programme, tool list, offsets, drawings and fixture revisions must be mutually consistent."
  safety: "Emergency stop, guarding and isolation requirements are governed by the actual validated equipment and applicable rules."
  cybersecurity: "Programme and firmware changes require access control, integrity checks and traceability."
  authority: "Automated reasoning must not override authorised operators or validated safety controls."

MEASURES:
  dimensional: [positioning_accuracy, repeatability, surface_roughness, geometric_error, tool_runout]
  performance: [cycle_time, setup_time, spindle_utilisation, availability, throughput, scrap_rate]
  process: [cutting_speed, feed_per_tooth, feed_rate, depth_of_cut, material_removal_rate]
  condition: [vibration, bearing_temperature, spindle_load, following_error, tool_wear]
  quality: [tolerance_conformance, first_pass_yield, measurement_uncertainty, process_capability]
  units_policy: "Declare units and coordinate conventions for every quantitative comparison."
  illustrative_equations:
    spindle_speed: "n = (1000 * Vc) / (pi * D), where Vc is m/min, D is mm and n is rev/min."
    milling_feed: "Vf = fz * z * n, where fz is mm/tooth, z is effective tooth count and n is rev/min."
    machining_time: "t = travel_length / feed_rate for a constant-feed segment; real cycle time includes non-cutting events."

MINI_RECURSION_ENGINE:
  state: "S_t = (I_t, R_t, B_t, K_t)"
  expand: "E_t = expand(I_t, R_t)"
  validate: "V_t = {x in E_t | compatible(x, machine, tooling, workpiece) and satisfies(x, B_t) and supported(x, K_t)}"
  select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
  update: "I_(t+1) = incorporate(I_t, x_star, measurements, inspection_results, provenance)"
  stop: "Stop when verified requirements are met, no admissible candidate exists or escalation is required."
  recursion_guard: "Do not autonomously execute new NC programmes or modify safety-critical settings."

INFERENCE_RULES:
  R01: "IF a commanded move exceeds a verified axis limit THEN classify the path as inadmissible."
  R02: "IF programme revision differs from approved part revision THEN require reconciliation before execution."
  R03: "IF tool geometry differs from the active offset record THEN flag a setup inconsistency."
  R04: "IF fixture clearance is unverified THEN do not infer collision-free machining."
  R05: "IF spindle load rises with unchanged cutting conditions THEN consider wear, material variation or mechanical resistance as hypotheses."
  R06: "IF following error exceeds a validated threshold THEN record a motion-control anomaly."
  R07: "IF machine thermal state changes THEN assess possible dimensional drift using validated compensation evidence."
  R08: "IF inspection results exceed specified limits THEN classify the feature as nonconforming subject to the measurement decision rule."
  R09: "IF instrument calibration is invalid THEN reduce confidence in affected measurements."
  R10: "IF a protective interlock is open THEN prohibit normal automatic-cycle authorisation."
  R11: "IF emergency stop is active THEN require the prescribed recovery sequence, not automatic restart."
  R12: "IF tool life is uncertain THEN require inspection or approved conservative limits before reliance."
  R13: "IF surface roughness worsens THEN investigate tool wear, vibration, feeds, material and coolant condition."
  R14: "IF cycle time rises THEN separate setup, cutting, tool-change, idle and alarm contributions."
  R15: "IF programme checksum changes unexpectedly THEN quarantine the revision pending authorisation."
  R16: "IF recurring faults correlate with a component THEN prioritise evidence-led maintenance assessment."
  R17: "IF part and material batch identifiers are absent THEN flag incomplete production traceability."
  R18: "IF measurement evidence conflicts THEN preserve both records and request investigation."

CONFIDENCE:
  levels: [verified, high, moderate, low, unknown]
  verified: "Supported by current approved specification, calibrated measurement or validated machine record."
  high: "Supported by consistent recent records with known limitations."
  moderate: "Plausible but incomplete evidence or model dependence."
  low: "Weak, indirect or outdated evidence."
  unknown: "No sufficient evidence."
  propagation: "Derived claims must not be more confident than their critical unverified premises."
  evidence: [approved_drawing, machine_manual, controller_log, calibration_certificate, inspection_record, maintenance_record]

SEMANTIC_EQUIVALENCE:
  canonical: "CNC Machine"
  near_terms: ["computer numerical control machine", "numerically controlled machine tool", "CNC machining equipment"]
  related_not_equivalent: ["machine tool", "CNC controller", "machining centre", "NC programme", "industrial robot", "manufacturing cell"]
  disambiguation: "A machining centre is a particular CNC machine configuration; CNC is a control approach rather than a single machining process."

FLOW_HASH:
  method: "SHA-256 over canonical UTF-8 content excluding the hash value itself"
  value: "COMPUTE_ON_PUBLICATION"

UPDATE_MODEL:
  triggers: [machine_upgrade, controller_firmware_change, tooling_change, process_revision, safety_review, calibration_update, failure_analysis]
  process:
    - "Collect revised specifications and evidence with provenance."
    - "Reconcile affected entities, relationships and constraints."
    - "Validate against approved engineering and safety requirements."
    - "Record change history and issue a versioned replacement."
  rollback: "Retain the prior approved model and restore it if validation fails."
  governance: "Human-reviewed changes for safety-relevant operating assumptions and production releases."

END_FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ