Running a program in the twin

_Draft (round 14): the text is being written; the sections may still grow._

What the twin is

The machine in the window is a digital twin of the MC-1: the Twinwright controller (kernel) runs in it, the same code as on the machine, and a physical model stands for the motors, the drives, the spindle, the switches and the cut. A program runs in the twin as it would on the machine, and the twin cuts its own workpiece. Every number it gives about the physical world is an estimate.

Before you run

The twin checks a program against the setup you give it, so set it up as the real machine is:

File > Example parts… sets all of these and loads a program in one go.

Caution

A check is only as good as the setup: a different blank, fixture, tool or work zero on the real machine is not what the twin checked.

Run a program

  1. Open the program: File > Open program…
  2. Check it first: Program > Check program runs it through the controller's check mode, so the controller reads every line and the machine does not move.
  3. Run it: Cycle start (F5). Feed hold (F6) pauses it, Cycle start goes on, Stop (F7) stops it. Single block runs it line by line, Next block runs the next line.

The twin runs in real time unless you choose otherwise: Simulation > Speed runs it from half to 200 times real time, or Fastest - as fast as this computer can - and Simulation > Pause the simulation stops the twin's time (the machine's state does not change while it stands). A click on the clock at the right of the machine bar opens the same list.

From ×100, at Fastest and while computing to the end the twin is Lite (the tag beside the clock): the chatter check and the forces may come a little later to the curves, the picture uses coarser cells and a thinner trail. What the program does - the material removed, collisions, soft limits, alarms - is judged as at ×1, and the result and report are the same. Settings > General > Full precision at high speed too (slower) turns Lite off.

When the computer cannot keep up, the clock says how fast it really runs, in amber; its tip names the busiest part of the twin (for example the material removal on fine cells) and what to do.

Simulation > Speed > Compute to the end (no playback) runs the loaded program to its end without showing it frame by frame: the machine bar shows how far it is and the time left, the 3D view stays at the start and changes when it is done, and the Analysis workspace's last run is filled in as usual. Stop beside the program stops it where it is. Connected to a real machine (shadow mode) only ×1 is possible: the twin follows the machine's time.

What the twin checks

What follows from the program and the setup's geometry:

The findings appear in the dock's Messages tab as they happen.

What the twin estimates

What the physical model works out:

The trail can be coloured by the feed rate, the cutting force or the chip thickness as well (View > Colouring), and the dock's Curves tab plots the run over time.

Note

The estimates use typical parameters - published cutting data, sharp carbide tools, the machine's design values - until your machine is measured. Use them to compare programs and to find problems before you cut, not as a measurement of the part.

What the twin does not model

Plastics and micro tools

Cutting PMMA (acrylic) with tools of 0.1–0.5 mm - microfluidic channels, for example - the twin also leaves out:

The models and what they assume: Twin models.

The results and the report