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 Abort

1.2.2 Axis

1.2.3 E-Stop

1.2.4 Feed Override

1.2.5 Flood

1.2.6 Jog

<n> is a number between 0 and 8 and 'selected'.

1.2.7 Joint

<n> is a number between 0 and 8 and 'selected'.

1.2.8 Lube

1.2.9 Machine

1.2.10 Max Velocity

The maximum linear velocity can be adjusted from 0 to the MAX_VELOCITY that is set in the [TRAJ] section of the ini file.

1.2.11 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:

[HALUI]
MDI_COMMAND = G0 X0

1.2.12 Mist

1.2.13 Mode

1.2.14 Program

1.2.15 Spindle Override

1.2.16 Spindle

1.2.17 Tool