NAME
moveoff_gui - a GUI for the moveoff componentSYNOPSIS
moveoff_gui [--help | -- -h | -?]DESCRIPTION
Moveoff_gui is a sample graphical user interface (GUI) for controlling a HAL moveoff component to implement HAL-only offsets. See the manpage (man moveoff) for IMPORTANT limitations and warnings.trivkins
OPTIONS
- --help | -? | -- -h
- Show options and exit
- -mode onpause | always
-
- -axes axis-names
-
- -inc incrementvalue
-
- -size integer
-
- -loc center | +x+y
-
- -autoresume
-
- -delay delay secs
-
OTHER OPTIONS
These options are available for special cases:- -noentry
-
- -no_resume_inhibit
-
- -no_pause_requirement
-
- -no_cancel_autoresume
-
- -no_display
-
NOTES
LinuxCNC must be running. Halui must be loaded, typical INI file setting:[HAL]HALUI = halui. The moveoff component must be loaded with the name 'mv' as:
loadrt moveoff names=mv personality=number_of_axes If the pin mv.motion-enable is not connected when moveoff_gui is started, controls will be provided to enable offsets and set offset values. If the pin is connected, only a display of offsets is shown and control must be made by external HAL connections. If a pin named *.resume-inhibit exists and is not connected, it will be set while offsets are applied. This pin may be provided by the controlling LinuxCNC GUI in use. Use of the pin may be disabled with the option -no_resume_inhibit. The -autoresume option uses halui.program.resume to automatically resume program execution when the move-enable pin is deactivated and all offsets are removed. The resume pin is not activated until an additional interval (-delay delay_secs) elapses. This delay interval may be useful for restarting related equipment (a spindle motor for example) While timing the delay, a popup is offered to cancel the automatic program resumption.
USAGE
The INI file in the configuration directory must provide HALFILEs to loadrt the moveoff component, connect its pins, and addf its read and write functions in the proper order. These steps can be done at runtime using an existing configuration INI file and specifying a system library HALFILE hookup_moveoff.tcl as illustrated below: [HAL]SEE ALSO
Simulation configurations that demonstrate the moveoff_gui and the moveoff component are located in:configs/sim/axis/moveoff (axis-ui)
configs/sim/touchy/ngcgui (touchy-ui)
2014-12-18 | LinuxCNC Documentation |