updates some undocumented details
manpage:
1) add info for 'save' command for the "alias" type
2) note that 'save all' includes the "alias" type
3) list all types available for the 'save' command
(some are redundant)
3) note equivalence of 'save' types:
sig signal
param parameter
netla netal
help save text:
1) include "alias"
2) list all available save types
2) refer to man page for details
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
This fixes some wording problems, simplifies the flow of the text,
and updates the asciidoc documentation to be up-to-date with the manpage.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
Set P144 to "motor speed at 50 Hz", as expected by the VFD. The driver
used to incorrectly set it to "max motor speed", or "max motor speed
divided by 10", due to my misreading of the Huanyang manual.
This makes RoTT and the VFD speed display correct.
Update hy-vfd manpage to match.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
Specify with ini setting:
[XHC_HB04_CONFIG]mpg_accels = a1 a2 a3 a4
If an item is not specified, uses [AXIS_N]MAX_ACCELERATION.
Method uses ini hal pins: ini.N.max_acceleration connected by
an [APPLICATIONS]APP = xhc-hb04-accels
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
Only display a prompt if run in interactive mode, ie if the input is
a terminal. As always, the prompt is "halcmd: " in normal mode and "%"
in script mode.
If the input is not a terminal, do not display a prompt. This is new
behavior, prompted (heh) by ugly output (lots of "%" lines") from stepconf
running halcmd.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
Before this commit it was possible for programs using shcom to set
emcWaitType to EMC_WAIT_NONE, which meant that no wait at all would
happen after a command was put on the Command NML channel.
The programs using shcom are:
* linuxcncrsh
* the Tcl linuxcnc library
* linuxcnclcd
* the schedrmt tool
This wait mode is bug-prone and means messages from these programs to
Task might get overwritten and lost.
This "none" wait type was never explicitly requested by any in-tree code
that I could find, but it's possible that out-of-tree code could use it.
This commit removes EMC_WAIT_NONE entirely, to ensure that it does not
get used.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
comp is part of MH ("compose"), and is also a hal component ("Two input
comparator with hysteresis"), so calling our compiler "comp" causes
trouble, in particular when the shell helpfully suggests you install mh.
This drops:
.output-current-percentage
.current-load-percentage
.err-reset
.output-voltage-percentage
None of these pins were/are created by the vfd-b driver.