Table of Contents

Controller Page

The Controller Page is responsible for configuring and managing the CNC controller settings for the machine tool.

Key Models

The key models used by the Controller Page are:

The MachiningProjectDisplayee contains IsoCoordinateEntryDisplayee and HeidenhainCoordinateEntryDisplayee. They are used in this GUI.

Connection with Main Panel

The Controller Page is activated through the Main Panel's Environment menu. It retrieves the MachiningProject from the Main Panel and updates the model.

Layout

Tip

Viewer Panel is not essential in the single user desktop application if this page raises a new window so that there arises a duplicate rendering content with the Main Window. This page should have a code-behind boolean property to add / remove the Viewer Panel. There should not preserve space for the un-existed Viewer Panel.

Apply SetViewToIsometricView() on initialization if Viewer Panel has enabled.

Tip

Add a resizable splitter between the Manage Panel and Viewer Panel to allow users to customize the interface layout according to their needs.

Behavior

ISO Coordinate Table

The ISO coordinate table allows users to edit and manage coordinates for the IsoCoordinateTable. Each entry consists of:

  • An index identifier
  • X, Y, Z coordinate values
  • Action buttons to set the entry to program zero or machine zero

Datum Preset and Shift Tables (Heidenhain)

These tables are specific to Heidenhain controllers and provide interfaces for:

Offset Table

Manages tool offsets with the following capabilities:

  • Display and edit ideal radius and height values in MillingToolOffsetTable
  • Configure radial and axial wear values
  • Option to automatically set ideal offset based on the MachiningToolHouse configuration
  • Add new tool offset entries (when not using tool house dependency)

Machine Configuration

Controls machine-specific settings:

Brand Selection

Allows switching between different CNC controller brands via CncBrand:

Each brand may have specialized settings that appear when selected.

Config Options

General configuration options including:

Single-User WPF Application Source Code Path

  • Numerical/Controller/ControllerWindow
  • Numerical/Controller/IsoCoordinateTablePanel
  • Numerical/Controller/DatumPresetTablePanel
  • Numerical/Controller/DatumShiftTablePanel
  • Numerical/Controller/ControllerExtendedRenderingCanvasToolBar

see this page for git repository.