Commit graph

351 commits

Author SHA1 Message Date
andypugh
381bbfeb5d
Merge branch 'master' into typos-docs-tests 2021-05-14 00:00:13 +01:00
andypugh
da81e8ac17 Merge branch '2.8' 2021-05-13 19:44:03 +01:00
andypugh
ad607f03e0
Merge pull request #1138 from hansu/iocontrol-doc
docs: reworked iocontrol/io/iov2 man pages part 2
2021-05-10 21:26:38 +01:00
Hans Unzner
5f1500ccef docs: fixed merge errors
Partly regarding this commit: 2dbb2f640f
2021-04-21 20:29:19 +02:00
andypugh
1c11906e2b Merge branch '2.8'
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-04-18 12:15:49 +01:00
Hans Unzner
2f2442d2d4 docs: reworked iocontrol/io/iov2 man pages part 2 2021-04-18 12:41:22 +02:00
andypugh
78a9bceaeb
Merge pull request #1127 from hansu/iocontrol-doc
docs: reworked iocontrol/io/iov2 man pages
2021-04-18 10:41:41 +01:00
Hans Unzner
3b3b3224ec docs: reworked iocontrol/io/iov2 man pages 2021-04-08 20:05:39 +02:00
andypugh
05f82e72ab Revert "docs: Experimentally unescape the hyphens in man1/halui"
This reverts commit 02387e36e8.

The fix was to switch the documets building buildslave to Buster.
2021-03-20 19:14:44 +00:00
andypugh
02387e36e8 docs: Experimentally unescape the hyphens in man1/halui
There seems to be a problem only when the docs are uploaded and web-served
from wlo that - becomes &minus become –.
And the long dash doesn't work as a HAL pin name.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-05 21:06:41 +00:00
luz paz
fa855db600 fix typos in docs/ and tests/
Found via codespell
2021-02-24 12:25:33 -05:00
Chris Morley
76dc29eaee Merge branch '2.8' 2021-02-11 21:03:10 -08:00
Hans Unzner
a5ab550b22 docs: removed warnings 2021-02-06 18:34:49 +01:00
Håvard Flaget Aasen
a92f32a231
man-page: Minor typo's reported by lintian 2021-02-03 13:37:12 +01:00
Dewey Garrett
2dbb2f640f tooldata: refactor and add database intfc db73
Note: this branch is force pushed, rebased to master at 890187289

================================================================
This commit refactors internal tool data handling to:
1) Update and consolidate functions in a new directory:
     src/emc/tooldata
2) Define an applications interface: src/emc/tooldata/tooldata.hh
3) Support a new interface to a user-provided tool database
   management program specified by [EMCIO]DB_PROGRAM
4) Use a new mmapped tooldata interface between
   EMCIO and TASK while maintaining number of allowed
   pockets specified by CANON_POCKETS_MAX=1001
5) Deprecate tooldata in nml messages between EMCIO and TASK
   (legacy nml message method remains available using
     configure --enable-toolnml until removal)
6) Minimize impact to current users of master branch and
   continue to pass the suite of runtests on all supported
   buildbot machines.
7) Clarify program variable names that use a sequential
   index (idx) for accessing internal tooldata.
   Note: some legacy variable names like:
      pocketPrepped, selected_pocket,current_pocket
   are still used in a few places because of their inclusion
   in fielded user remap scripts or the tests suite.
   These items may be renamed in the future.

================================================================
Change Summary:
 1) new directory: src/emc/tooldata
    tooldata.hh  ------------ api
    tooldata_common.cc  ----- shared functions
    tooldata_mmap.cc  ------- mmap tooldata
    tooldata_nml.cc  -------- nml tooldata
    tooldata_db.cc  --------- database interface functions
    tool_watch.cc  ---------- test utility
    tool_mmap_read.cc  ------ test utility for mmap

 3) updated docs:
    docs/src/getting-started/updating-linuxcnc.txt
    docs/src/config/ini-config.txt
    docs/src/code/code-notes.txt
    docs/src/gcode/overview.txt
    docs/src/gcode/tool-compensation.txt
    docs/src/remap/remap.txt
    docs/man1/iocontrol*.1
    docs/src/tooldatabase/tooldatabase.txt (new)

 3) removed (consolidated into other files):
       src/emc/task/iotaskintf.cc
       src/emc/ini/initool.hh
       src/emc/ini/initool.cc
       src/emc/rs274ngc/tool_parse.h
       src/emc/rs274ngc/tool_parse.cc
       src/emc/toolstore/

 4) emccanon call: removed GET_EXTERNAL_POCKETS_MAX
    (superseded by CANON_POCKETS_MAX)

 5) hal: params to pins:
    iocontrol.N.tool-prep-index

 6) gui updates (axis gui only)
    Print message if both [EMCIO]TOOL_TABLE and DB_PROGRAM
    are specified.  Allow specifying tooleditor for a DB_PROGRAM
    Issue message for db_program/tool_table ambiguities

 7) simulation configs:
      configs/sim/axis/db_demo/db_ran.ini
      configs/sim/axis/db_demo/db_nonran.ini

================================================================
Notes:
    1) Testing has been aided by the extensive set of tests
       exercised by the runtests program employed to ensure
       the integrity of buildbot created deb packages.  However,
       numerous functions are NOT tested by the runtests suite.
       Examples:
         a) remapped tool handling
         b) user-interfaces (ui) support for tool changes
         c) iov2 (ioControl_v2.cc -- no maintainer, deprecated)
    2) Use of the mmapped interface between EMCIO and TASK
       reduces the EMC_TOOL_STAT message size from 112224 bytes
       to 224 bytes (64bit architecture)
    3) The complete toolTable[] data for all (1001)
       CANON_POCKETS_MAX is no longer available should someone
       implement a *remote* ui with TASK and EMCIO
       implemented on *separate* machines via networked (TCP)
       nml messages.  A single tool table instance for
       the current tool in spindle is included in the
       EMC_TOOL_STAT message.
2021-01-31 10:35:55 -07:00
freddii
0a02118a88 fixed typos 2021-01-25 17:36:00 +01:00
Hans Unzner
79bf62ea23 mb2hal: added fcnt_01_read_coils, fnct_05_write_single_coil, updated docs
Tested with SAMSON 5578 / SAMSON SAM Home Gateway
2021-01-08 16:16:59 +01:00
andypugh
f423c5831d
Merge pull request #978 from LinuxCNC/andypugh/2.8_hm2_update
andypugh/2.8 hm2 update
2020-11-29 00:10:30 +00:00
andypugh
db14315e0c hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-24 19:35:30 +00:00
andypugh
7cebbd9a0d Revert "hy_vfd:Allow setting of arbitrary registers"
This reverts commit 2e0901831c.
2020-11-15 20:57:48 +00:00
Håvard Flaget Aasen
e1dae779f7 Fix spelling error reported by lintian 2020-11-15 17:38:55 +00:00
andypugh
2e0901831c hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-15 17:17:42 +00:00
andypugh
7a99a43942 hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-10-20 20:26:09 +01:00
Chris Morley
1922963b5e Merge branch '2.8' 2020-09-08 17:20:43 -07:00
Dewey Garrett
d433aace2b halui man page fix L identifier for selected items
Ref: https://forum.linuxcnc.org/32-documents/39971-possible-error-in-docs-2-8-0-pre1-man-halui#181165

missed earlier at 9d45b153ad
2020-09-07 14:31:49 -07:00
andypugh
0ebc3adef0 Merge branch '2.8'
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 00:43:57 +01:00
andypugh
22f38ae92f Manpages: fix some more lintian manpage errors
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 22:59:37 +01:00
andypugh
ef063a85af Docs: Add a lot of missing manpages
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 19:31:59 +01:00
Håvard Flaget Aasen
13a9824a26 Fix minor typos in man-page 2020-08-24 23:23:16 +02:00
Håvard Flaget Aasen
97ca18c095 Rename man-page from gs2.1 -> gs2_vfd.1 2020-08-24 21:08:54 +02:00
Phillip Carter
a66ec07b19 Merge branch '2.8' 2020-08-12 13:29:58 +10:00
andypugh
335a3da513 Docs: Mention the "dialout" group in the context of hy_vfd
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-10 22:12:07 +01:00
Chris Morley
fd243eeff3 Merge branch '2.8' 2020-06-12 23:42:36 -07:00
andypugh
07dcd21111 rtapi: add a halcmd command to set the messaging level
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-11 23:05:45 +01:00
Phillip Carter
db1d0f168f Merge branch '2.8' 2020-04-28 17:31:08 +10:00
Phillip Carter
1f9f21a698 move pmx485 component from plasmac config to src/hal/usr_comps 2020-04-28 17:30:21 +10:00
andypugh
cac12e2952 Merge branch '2.8' 2020-04-22 02:17:29 +01:00
andypugh
6cb796cab2 Build cleanup: sort out some docs building warnings.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-21 20:36:03 +01:00
Rene Hopf
e287041c0d Merge branch 'master' of https://github.com/alkabal/linuxcnc into alkabal-master 2020-04-19 19:15:33 +01:00
Håvard Flaget Aasen
c108377bb2 Some more spelling errors reported by lintian 2020-04-18 23:16:00 +02:00
Håvard Flaget Aasen
1959bd588b Rename man-page from gs2.1 -> gs2_vfd.1 2020-04-18 17:03:41 +02:00
Håvard Flaget Aasen
375fa9cea5 Fix spelling error reported by lintian 2020-04-18 17:03:41 +02:00
alkabal
310922008d
update doc... 2020-04-12 05:10:19 +02:00
alkabal
8146b7bf07
XHC-WHB04B-6 Remove useless code + patch spindle
corrected toggle spindle direction 
start spindle with 100rpm speed
Redefine some name
Add spindle speed when button Spindle +/- stay pushed
Update doc
2020-04-12 05:06:44 +02:00
alkabal
9b3043534c
XHC-whb04b-6 update help and exemple 2020-04-12 00:26:33 +02:00
alkabal
3f87b875bb
XHC-WHB04B-6 Squashed commit 2020-04-08 13:41:38 +02:00
John Thornton
c0ceb121d8 Docs: fix markup typo 2019-06-30 13:43:05 -05:00
Dewey Garrett
9d45b153ad halui man page remove confusing numerical refs
in the identification of axis (coordinate letter) jogging
2019-06-12 10:54:45 -07:00
andypugh
8841b63097
docs: Explain "alias" behaviour
Note that aliased pins can no longer be seen directly with "show" but are still valid to use in HAL.
2019-03-09 14:57:39 +00:00
Dewey Garrett
0e515b9a6c halcmd: support line extends with backslash (\)
Line continuation using trailing backslash:
1) Adapt halcmd_main.c for scripted & interactive usage
2) Update twopass.tcl to concatenate extended lines
3) Add backslash examples in tests/loadrt.1
4) Update halcmd.1 man page

Notes:
a) The tcl "source" cmd substitutes a trailing '\' with
   a single ' ',  so in twopass.tcl, detect a
   trailing '\' in a .tcl file and line extend
b) haltcl uses the tclreadline package with dubious
   support for prompt2 handling
2019-02-16 09:10:25 -07:00