This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

Table of Contents

1 Halui

1.1 Introduction

Halui is a HAL based user interface for EMC, it connects HAL pins to NML commands. Most of the functionality (buttons, indicators etc.) that is provided by a traditional GUI (mini, Axis, etc.), is provided by HAL pins in Halui.

The easiest way to add halui is to add the following to the [HAL] section of the ini file.

HALUI = halui

An alternate way to invoke it (especially when using a stepconf generated config file) is to include the following in your custom.hal file. Make sure you use the actual path to your ini file.

loadusr halui -ini /path/to/inifile.ini

in your custom.hal file.

1.2 Halui pin reference

1.2.1 Machine

1.2.2 E-Stop

1.2.3 Mode

1.2.4 Mist, Flood, Lube

1.2.5 Spindle

1.2.6 Joints

<channel> is a number between 0 and 7 and 'selected'.

1.2.7 Jogging

<channel> is a number between 0 and 7 and 'selected'.

1.2.8 Selecting a joint

1.2.9 Feed override

1.2.10 Spindle override

1.2.11 Tool

1.2.12 Program

1.2.13 General

1.2.14 MDI

Sometimes the user wants to add more complicated tasks to be performed by the activation of a HAL pin. This is possible using the following MDI commands scheme:

1.3 Case - Studies

User descriptions of working halui and hardware EMC control panels here.