Commit graph

383 commits

Author SHA1 Message Date
Sebastian Kuzminsky
9f68ea1003 rebrand motion manpage 2012-01-27 22:15:17 -07:00
Michael Haberler
cf41ac29cf Merge branch 'v2.5_branch' 2012-01-27 20:16:12 +01:00
Sebastian Kuzminsky
d772e9d510 hm2: let the watchdog sleep until we access the board for the first time
Before this commit, the watchdog used to run all the time, starting when
the llio driver was loaded.  Since it can take a while between loading
the driver and running pet_watchdog() the first time, the watchdog needed
a stupidly long timeout (1 second by default).

This commit changes the watchdog to be asleep when the llio driver loads,
and be woken up the first time you access the board by calling any of the
hm2 read(), write(), or pet_watchdog() functions in HAL.  Once you wake
the watchdog up you need to keep petting it (by calling pet_watchdog())
or it will bite, just like before.

This lets us decrease the default watchdog timeout to something much
shorter, just a few times the expected servo period.  I chose 5 ms
as the default, but just like before you can change it by setting the
watchdog.timeout_ns parameter any time you want.

Thanks to Jeff Epler for suggesting this improvement.
2012-01-26 10:48:36 -07:00
John Thornton
3c4aba6019 Docs: update see also section
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2012-01-26 07:32:33 -06:00
Sebastian Kuzminsky
b9baa4d105 Merge remote branch 'origin/v2.5_branch'
Conflicts:
	docs/src/gcode/overview.txt
	scripts/linuxcnc.in
2012-01-21 12:40:55 -07:00
Jeff Epler
5c8811c2b4 ignore more generated manpages 2012-01-21 10:13:38 -06:00
Jeff Epler
f34124af79 manpages: say "LinuxCNC" 2012-01-19 18:31:23 -06:00
Sebastian Kuzminsky
7d4fd90759 renames in hm2 and shuttlexpress manpages 2012-01-19 14:20:46 -07:00
Jeff Epler
65cf9ebed4 Merge remote-tracking branch 'origin/v2.5_branch'
Conflicts:
	docs/man/man9/motion.9
	docs/src/Submakefile
	docs/src/gcode/overview.txt
	scripts/linuxcnc.in
	src/Makefile
	src/emc/rs274ngc/Submakefile
	src/emc/task/Submakefile
	src/emc/usr_intf/emcsh.cc
2012-01-18 17:06:00 -06:00
Jeff Epler
c56d0eae73 motion: don't duplicate documentation of debugging pins
instead, document them just once below the heading that explains they're
subject to removal.
2012-01-17 09:17:43 -06:00
Jeff Epler
d237611b81 motion: these pins do not exist
they were part of a feature that was partially implemented and later
reverted
2012-01-17 09:14:20 -06:00
John Thornton
b6e7ae5fc2 Docs: add locked rotary and clean up man page
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2012-01-17 08:21:44 -06:00
Jeff Epler
68e5271ad3 Merge remote branch 'origin/v2.5_branch'
Conflicts:
	docs/src/Submakefile
	docs/src/config/ini_config.txt
	docs/src/gcode/gcode.txt
	docs/src/gcode/overview.txt
	src/hal/drivers/mesa-hostmot2/pins.c
2011-12-26 11:24:07 -06:00
John Thornton
11849b0efb Git: add multiswitch.6 to gitignore
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2011-12-23 06:13:15 -06:00
Michael Haberler
679c66243d Merge branch 'v2.5_branch'
Conflicts removed:
	debian/control.in
	docs/man/man9/.gitignore
	docs/src/Submakefile
	docs/src/gcode/gcode.txt
	docs/src/gcode/overview.txt
	src/emc/rs274ngc/interp_convert.cc
2011-12-14 22:51:11 +01:00
Andy Pugh
31d13bba13 Remove a spurious check (which always fails) from SSLBP setup.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-11-21 22:27:08 +00:00
Francis Tisserant
cc587b4786 add message.9 in .gitignore
Signed-off-by: Francis Tisserant <tissf@free.fr>
2011-11-21 23:14:37 +01:00
Francis Tisserant
639bc73393 add docs/man/man9/message.9 in docs/man/man9/.gitignore
Signed-off-by: Francis Tisserant <tissf@free.fr>
2011-11-19 00:14:35 +01:00
Michael Haberler
cd86522e83 Merge branch 'v2.5_branch'
Conflicts resolve resolved:
	docs/src/gcode/overview.txt
2011-11-17 20:30:00 +01:00
Chris Radek
4bf27f9e13 This is auto-generated and should not be in git 2011-11-17 10:58:01 -06:00
Francis Tisserant
0819e8bcf2 French docs - bad .gitignore reported by Sebastian - I am sorry
Signed-off-by: Francis Tisserant <tissf@free.fr>
2011-11-17 17:35:08 +01:00
Andy Pugh
dbc3440002 Add support for the Mesa Hostmot2 Resolver interface.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-11-16 00:09:11 +00:00
Andy Pugh
7e0f3dbe58 Typos.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-11-15 23:51:49 +00:00
Michael Haberler
ae38d8ea7f Merge branch 'remapping-preview-2' 2011-11-03 09:29:07 +01:00
Chris Radek
9ce0d17a35 Merge branch 'v2.5_branch'
Conflicts:
	src/hal/drivers/mesa-hostmot2/hostmot2.h
2011-11-02 18:21:43 -05:00
Michael Haberler
eb0efef8bb docs: add orient.9, mesa_7i65.9 to docs/man/man9/.gitignore 2011-10-30 07:42:37 +01:00
Andy Pugh
89341b9869 Change the sserial (SSLBP) mode setting modparam clearer, and
make it consistent with the docs.

Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-10-29 01:20:37 +01:00
Michael Haberler
14b5ab1bf7 ignore bldc.9 2011-10-28 08:26:10 +02:00
Michael Haberler
a2ab87600b M19 orient spindle: improve usefulness of the P word
0: rotate clockwise or counterclockwise for smallest angular movement
1: always rotate clockwise
2: always rotate counterclockwise

Adapt interpretation of the ORIEN_SPINDLE second parameter.
Add range check in interp_check.cc
Adapt regression test output.
Adapt docs.
2011-10-20 15:58:47 +02:00
Michael Haberler
c9574cd2f4 M19 orient spindle: document 2011-10-20 07:50:31 +02:00
Andy Pugh
715c18fbef Add support for multi-mode Mesa SSLBP (Smart serial) cards.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-10-12 00:52:47 +01:00
Sebastian Kuzminsky
a4f10e63e9 Merge branch 'v2.5_branch'
The 1034gecko.ini file was accidentally added in both 2.4 and master.
The version in the 2.4 branch then got modified by subsequent commits,
but the version in master didn't.  The 2.4 branch was merged into 2.5,
and this commit merges 2.5 into master, causing a conflict with the
1034gecko.ini.  I resolved the conflict by consulting with the author,
Matt Shaver, and the current setup is what he wants (for now, more
commits coming, i think).

Conflicts:
	configs/smithy/1034gecko.ini
2011-10-06 18:52:42 -06:00
Sebastian Kuzminsky
10c304966f Merge branch 'v2.4_branch' (early part) into v2.5_branch 2011-10-05 23:47:25 -06:00
Chris Radek
24c3f4238a Merge branch 'v2.5_branch'
Conflicts:
	VERSION
2011-09-28 21:41:55 -05:00
Dewey Garrett
799075f235 encoder_ratio: support names= option 2011-09-28 21:06:43 -05:00
Dewey Garrett
d782cf575d sim_encoder: support names= option 2011-09-28 21:06:43 -05:00
Dewey Garrett
7e7158a554 at_pid: support names= option 2011-09-28 21:06:43 -05:00
Dewey Garrett
8afcf3700d siggen: support names= option 2011-09-28 21:06:43 -05:00
Dewey Garrett
77a0082cad pid: bugfix: use howmany not num_chan in test
also: reduce parameters of export_pid()
try to clarify man page for naming of pins, parameters, functions
2011-09-28 21:06:43 -05:00
Dewey Garrett
bc5b33c97c encoder: rename export_counter to export_encoder
and reduce its parameters
try to clarify man page for naming of pins and parameters
2011-09-28 21:06:43 -05:00
Sebastian Kuzminsky
6a2808ddaa docs: add a note about homing & jogging gantrykins 2011-09-27 17:11:40 -06:00
Sebastian Kuzminsky
0bcf519c20 docs: fix a typo in gantrykins manpage 2011-09-27 17:11:40 -06:00
Andy Pugh
0a29971d1d Corrections to docs to suit new 7i64 pin names.
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-09-22 19:12:41 +01:00
Chris Radek
58d9f8eb80 Merge branch 'v2.5_branch' 2011-08-22 11:28:01 -05:00
Sebastian Kuzminsky
c040d5fd57 ignore a new comp-generated manpage 2011-08-18 15:25:25 -06:00
Chris Radek
2897816963 Merge branch 'v2.5_branch' 2011-08-17 21:55:13 -05:00
Dewey Garrett
35e3377a80 pid: support names= option
For consistency with components created with the comp utility
and for improved modularity when using [HAL]TWOPASS processing
2011-08-17 21:55:00 -05:00
Dewey Garrett
25eb078da6 encoder: support names= option
For consistency with components created with the comp utility
and for improved modularity when using [HAL]TWOPASS processing
2011-08-17 21:55:00 -05:00
Andy
d696bccee3 Some part of my workstream has been randomly setting execute bits.
This commit resets all the ones I have spotted.


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-08-16 00:41:53 +01:00
Andy
5e25d17f1a Add a drive for the Mesa 7i65 card
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-08-15 23:32:53 +01:00
Andy Pugh
ae88038288 Documentation for the Hostmot2 BSPI Driver
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-08-15 23:32:53 +01:00
Andy Pugh
91a64a3c03 Add support for second user register in Smart Serial, and improve the handling of errors. 2011-08-14 02:05:02 +01:00
Sebastian Kuzminsky
9431edcfe6 hostmot2 docs: firmware is packaged separately now 2011-08-02 23:36:51 -06:00
Sebastian Kuzminsky
42dc27c9dc ignore another manpage generated from a .comp 2011-07-15 18:35:37 -07:00
Sebastian Kuzminsky
7fd555421f Merge branch 'v2.4_branch' into v2.5_branch
* v2.4_branch:
  hostmot2 manpage: add missing pin name info for raw mode & watchdog
2011-03-10 13:11:42 -07:00
Sebastian Kuzminsky
9d38e9bac3 hostmot2 manpage: add missing pin name info for raw mode & watchdog
Thanks to danimal on IRC for reporting the problem.
2011-03-10 13:07:31 -07:00
Sebastian Kuzminsky
e7822915ff hostmot2 manpage: fix an indentation error 2011-03-10 13:01:44 -07:00
Matt Shaver
5199f1ddcd Add a bit type clock output to the siggen component.
Signed-off-by: Matt Shaver <matt@mattshaver.com>
2011-02-12 14:30:49 -05:00
Andy Pugh
bd86e13529 Corrections to Hostmot2 manpage
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-01-28 17:59:13 -06:00
Andy Pugh
edd9e8d544 Add support for Mesa 8i20 and 7i64 2011-01-26 21:45:00 -06:00
Jeff Epler
4570332ff8 remove stray sentence 2011-01-17 11:32:26 -06:00
Sebastian Kuzminsky
776529f6b1 new comp to compute abs of s32 data 2011-01-14 19:13:37 -07:00
Jeff Epler
af40e5d290 ignore generated file 2010-11-30 14:47:03 -06:00
Michael Haberler
6c3c38c5ee gladevcp: make -h give usage, use -H <halfile> 2010-11-26 00:00:58 +01:00
Michael Haberler
84ff560c4e fix gladevcp_makepins warning 2010-11-26 00:00:58 +01:00
Sebastian Kuzminsky
e89557d6d4 Oops, kilohertz is spelled kHz, not KHz 2010-11-12 17:09:00 -06:00
Sebastian Kuzminsky
5a687d5360 Note defaults for pwmgen scale and pwm & pdm freq
Just so that Jeff and Chris will stop picking on me.
2010-11-12 16:07:26 -06:00
Jeff Epler
3986754221 pid: index-enable is related to -deriv inputs too 2010-11-07 12:29:21 -06:00
Jeff Epler
159df2fdba Merge branch 'v2.4_branch' of ../emc2.4 2010-11-07 12:27:24 -06:00
Jeff Epler
5237b3b14b pid: document index-enable pin 2010-11-07 12:27:11 -06:00
Jeff Epler
44586b831e pid: accept external command-deriv, feedback-deriv
One problem frequently identified with pid is that the D term is
excessively noisy due to quantization (particularly of feedback position).

Introduce command-deriv and feedback-deriv pins.  These can be connected
to some (hopefully superior) source of the derivative.  For example, a
system with an analog tach signal in hal could use that value for
feedback-deriv.  It also becomes easier to test different derivative
computation functions, such as explicit smoothing of the D term or
the five-point method mentioned on wikipedia
    http://en.wikipedia.org/wiki/Numerical_differentiation#Higher_order_methods

Zero, one, or both of the -deriv pins may be connected.  When a -deriv
pin is not connected, the  related value input is computed by the
traditional two-point difference method.  This means that when neither
pin is connected the behavior is the same as before (except for rounding
differences).
2010-10-27 09:37:24 -05:00
Jeff Epler
928bfb34b6 Merge remote branch 'origin/v2.4_branch'
Conflicts:
	VERSION
	debian/changelog
2010-10-23 11:45:01 -05:00
Sebastian Kuzminsky
0b98210f67 better 3x20 info in hostmot2 and hm2_pci manpages 2010-10-02 16:54:13 -05:00
Chris Morley
fff1916175 addbasic man page for gladevcp 2010-08-27 15:47:14 -07:00
Michael Geszkiewicz
bf0cccc807 add bldc_hall3.9 to .gitignore
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2010-08-07 17:55:46 +02:00
Michael Geszkiewicz
be6381b74c Add mux16.9, bldc_sine.9 and bldc_hall3.9
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2010-08-03 21:18:14 +02:00
Stephen Wille Padnos
d99ce7617c New HAL component: watchdog
The watchdog component can monitor several inputs for "heartbeats", with
independent tiemouts per input.  This may be used in connjunction with
e.g. charge-pump to provide a heartbeat to the outside world.
2010-06-24 13:45:56 -04:00
Jeff Epler
f69625b9d0 Merge remote branch 'origin/v2.4_branch'
Conflicts:
	VERSION
	debian/changelog
	src/emc/usr_intf/axis/scripts/axis.py
	src/hal/user_comps/devices/Submakefile
2010-05-30 14:01:21 -05:00
Jeff Epler
43c2039a7c fix markup problem 2010-05-29 09:57:27 -05:00
Sebastian Kuzminsky
41c8ee3e19 Fix hm2 stepgen.enable=0 behavior
This commit fixes SF#2985881 "stepgen bug in hostmot2".

This commit changes the hm2 stepgen.enable behavior.  When .enable is
true it behaves like before, but now when .enable is False it behaves
like this instead:

    No steps are generated (if the stepgen was moving at the time enable
    went false it stops immediately, without obeying the maxaccel limit).

    .velocity-fb goes immediately to 0.

This makes it so that when .enable later becomes true again, no abrupt
motion takes place.

[This is a combination of the following two commits from master:
da68626 Don't change hm2 stepgen position when .enable is low
1f75173 Fix hm2 stepgen.enable=0 behavior
 -- jepler]
2010-05-23 10:33:10 -05:00
Jeff Epler
ab151d6dae Merge branch 'mesa-3pwm-led' 2010-05-15 10:10:56 -05:00
Andy Pugh
920b18a1e3 hostmot2: add support for onboard diagnostic LEDs 2010-05-15 10:07:59 -05:00
Andy Pugh
c9add70ba1 hostmot2: add support for three-phase pwm 2010-05-15 10:07:59 -05:00
Sebastian Kuzminsky
da68626985 Don't change hm2 stepgen position when .enable is low
This commit makes the hm2 stepgen *not* change its .counts and
.position-fb pins when .enable is low.

When emc2 disables a stepgen (for example when the user hits E-stop,
or when the joint ferrors), it copies the joint's position-fb to its
position-cmd, to avoid abrupt motion when the joint is enabled again.
Therefore my previous commit, which made the stepgen count and position-fb
track the position-cmd from emc2, was redundant and potentially risky.

Thanks to Jeff Epler for setting me straight on this.
2010-05-08 08:43:46 -06:00
Sebastian Kuzminsky
1f75173a38 Fix hm2 stepgen.enable=0 behavior
This commit fixes SF#2985881 "stepgen bug in hostmot2".

This commit changes the hm2 stepgen.enable behavior.  When .enable is
true it behaves like before, but now when .enable is False it behaves
like this instead:

    No steps are generated (if the stepgen was moving at the time enable
    went false it stops immediately, without obeying the maxaccel limit).

    .position-fb starts tracking .position-cmd, and .counts changes to
    match (even though no motion is taking place).

    .velocity-fb goes immediately to 0.

This makes it so that when .enable later becomes true again, no abrupt
motion takes place.
2010-05-06 22:20:13 -06:00
Jeff Epler
733af60863 Allow the user to specify a stepping waveform
Slavko Kocjancic wanted a custom step type for his homemade stepper
driver.  This adds a (single) customizable step waveform.  These
waveforms have the same limitations as the existing ones: up to 5 output
phases, and up to 10 steps per cycle.
2010-02-28 09:27:32 -06:00
John Thornton
5d7cc06ca8 parameters were converted to pins on 2008-10-26
Signed-off-by: John Thornton <bjt128@gmail.com>
2010-01-15 07:24:13 -06:00
Jeff Epler
5854faac24 document scarakins 2010-01-12 13:51:39 -06:00
Jeff Epler
96a77ae071 document pumakins 2010-01-12 13:51:39 -06:00
Jeff Epler
e86c08726f document genserkins 2010-01-12 13:51:39 -06:00
Jeff Epler
894a41a13c document maxkins 2010-01-12 13:51:39 -06:00
Jeff Epler
8c5738b130 refine markup 2010-01-12 13:51:39 -06:00
Jeff Epler
ae00a7e072 refer to gantrykins manpage 2010-01-12 13:51:38 -06:00
Jeff Epler
2626ab7581 document gantrykins 2010-01-12 13:51:38 -06:00
John Thornton
d4331a3776 update the motion man page
add info on loading options

Signed-off-by: John Thornton <bjt128@gmail.com>
2010-01-09 18:37:17 -06:00
Sebastian Kuzminsky
6d9c3dd131 fix the syntax of the name of this manpage, for mandb 2009-12-29 15:52:26 -07:00
Sebastian Kuzminsky
c8a4b98b49 shorter simpler path, to squelch a groff warning 2009-12-29 15:30:48 -07:00
Sebastian Kuzminsky
b8c99e4f00 add support for the 3x20 boards 2009-12-13 15:27:49 -07:00
Jeff Epler
cdbf449d26 Revert "provide additional probing-related outputs"
This reverts commit af1cced0e0.

New probing is not ready for primetime.
2009-11-10 15:07:15 -06:00
Jeff Epler
af1cced0e0 provide additional probing-related outputs
drivers (specifically hm2) will benefit from knowing these things
2009-10-31 17:10:39 -05:00
John Thornton
901bf98b7c Add sphereprobe.9
Signed-off-by: John Thornton <bjt128@gmail.com>
2009-10-30 19:52:33 -05:00
Chris Radek
bb0039c7a7 Revert "clarify hm2 encoder x1 mode"
This reverts commit 7c7714bd83.

x1 quadrature mode is not the same as step/dir, as discussed on emc-users.
2009-10-23 15:46:39 -05:00
Sebastian Kuzminsky
7c7714bd83 clarify hm2 encoder x1 mode 2009-10-23 13:00:41 -06:00
Jeff Epler
d6d41e6eda document new functionality 2009-10-22 14:00:44 -05:00
Jeff Epler
5a39e13fc0 fix redundant markup 2009-10-22 13:57:22 -05:00
Sebastian Kuzminsky
2e4c3ee417 the hm2 encoder with the mode-bit set expects step/dir, not up/down 2009-08-01 21:32:58 -06:00
Jeff Epler
7058bc071c add a spindle speed output which is in revolutions per second
revolutions per second is more sensible, because it lets the scale
(e.g., of a stepgen being used in velocity mode) be 1 = 1 revolution,
rather than 1 = 1/60 revolution
2009-07-04 08:02:54 -05:00
Jeff Epler
39c6a375a1 get rid of a lot of mentions of cvs 2009-06-20 13:28:49 -05:00
Jeff Epler
8d29048f8c convert cvs ignores to git ignores 2009-06-20 11:35:29 -05:00
Sebastian Kuzminsky
e55e686d5d Describe stepgen velocity control mode better, and note maxaccel default value. 2009-05-23 20:23:13 +00:00
Sebastian Kuzminsky
f9193703f1 Support hm2 stepgen.maxvel=0 properly 2009-05-23 17:12:27 +00:00
Sebastian Kuzminsky
d68a34e48b This improves the hm2 stepgen - less position& velocity hunting.
Also makes hm2's stepgen.position-fb have sub-step resolution (like the
sw stepgen does).
2009-05-22 17:48:43 +00:00
Jeff Epler
7077457df0 improve discussion of estimated modes 2009-05-13 14:18:48 +00:00
John Thornton
af013d4136 add thc.9 2009-05-11 12:58:05 +00:00
John Thornton
2506ee1e4e file should not have been added 2009-05-11 12:56:32 +00:00
John Thornton
0e0d897cb3 new manpage 2009-05-11 12:42:39 +00:00
Chris Radek
50d8262da1 quiet 2009-04-27 19:34:29 +00:00
Chris Radek
9faa6e12d6 quiet 2009-04-27 14:24:25 +00:00
Sebastian Kuzminsky
8807d775f0 document new maxaccel=0 behavior 2009-04-16 06:43:37 +00:00
John Thornton
cb9a0dde5e update pins and parameters 2009-04-15 12:41:53 +00:00
Sebastian Kuzminsky
73d458d4b1 minor documentation fixes for hostmot2 2009-04-15 02:34:49 +00:00
Sebastian Kuzminsky
728f37e4e5 update manpage to reflect new stepgen maxaccel behavior 2009-03-19 16:27:32 +00:00
Sebastian Kuzminsky
ff60274c85 Added HAL object name examples to the manpage. 2009-03-03 23:58:55 +00:00
Ben Lipkowitz
772eeb5e01 clarify units on spindle-speed-in 2009-03-01 16:14:39 +00:00
Sebastian Kuzminsky
0f1a087137 better function descriptions (thanks to Walt Rogers for the feedback) 2009-03-01 03:21:29 +00:00
Sebastian Kuzminsky
f9cf7b5fb8 minor changes, polishing the docs 2009-02-11 05:50:12 +00:00
Sebastian Kuzminsky
51dca75dd1 Removed the hm2_5i20 driver, as per the prophecy.
No one cares, because everyone's already switched to the hm2_pci driver
like I asked them to, right?  ;-)
2009-02-10 18:21:57 +00:00
Sebastian Kuzminsky
6d4c510f11 Note that the config modparam is really an array of strings. 2009-02-10 18:20:58 +00:00
Sebastian Kuzminsky
ea395cbb07 Attempt to clarify the config modparam (though i'm no BJT) 2009-02-10 06:29:06 +00:00
Jeff Epler
af317701df convert most 'axis.#.*' and 'motion.*' params to pins
based on a patch by Michał Geszkiewicz
2009-01-31 18:12:54 +00:00
John Kasunich
bdc8408d01 change name of spindle-at-speed pin, add pin to manpage 2008-12-16 17:07:58 +00:00
Sebastian Kuzminsky
35196572d2 Misc minor changes:
* made encoder velocity timeout a hal parameter

    * removed the stepgen.velocity-cmd pin

    * made stepgen.velocity-fb show requested (not estimated) speed

    * update manpage and TODO file to reflect reality

    * misc minor cleanups & updates
2008-12-12 07:02:29 +00:00
Sebastian Kuzminsky
e1da6300fb Update 7i43 manpage to reflect new firmware, & add a warning about the MosChip 9805. 2008-12-10 05:56:38 +00:00
Sebastian Kuzminsky
10193adf03 add a note to load probe_parport before hm2_7i43 2008-11-25 04:01:54 +00:00
Sebastian Kuzminsky
63b0b8daf9 note stepgen quadrature mode behavior 2008-11-23 16:26:48 +00:00
Chris Morley
1976475878 Update classicladder man page a little 2008-11-23 08:41:37 +00:00
Sebastian Kuzminsky
1d6a36ef01 Add support for three of the four hm2 step_types: step/dir, up/down, and quadrature 2008-11-23 06:53:01 +00:00
Sebastian Kuzminsky
dd9ffcd2b4 describe encoder.reset better 2008-11-23 06:06:31 +00:00
Sebastian Kuzminsky
a5f4dac5aa note EPP 1.9 is required for the 7i43 2008-11-19 02:49:09 +00:00
Sebastian Kuzminsky
5ed7308d06 This commit contains a GPIO rename that breaks configs!!
Only configs that monkey with the GPIOs are affected (that's you, cradek);
all other configs will work without change.

Before this, GPIOs had names like "hm2_5i22.0.gpio.P5.095", with
the connector name and the IO number.  Now, GPIOs have names like
"hm2_5i22.0.gpio.095" (ie, without the connector name, with just the
IO number).

The mapping between IO number and (connector and pin-on-that-connector)
is shown at driver load-time (even without messing with the debug level!),
and it's also printed in Mesa's Anything I/O board manuals.
2008-11-18 05:29:30 +00:00
Sebastian Kuzminsky
a951337c6b these are EMC2 HAL drivers, not RTAI (JMK & SWP's suggestion) 2008-11-17 01:58:40 +00:00
Chris Radek
9497ae5a92 new component 2008-11-14 16:01:41 +00:00
Sebastian Kuzminsky
534edd5bc5 Encoder index mask and filter support is now complete. 2008-11-14 08:14:37 +00:00
Sebastian Kuzminsky
2c65fd6bc3 fix a couple of 404 typos 2008-11-13 20:06:05 +00:00
Sebastian Kuzminsky
a84f3f86e6 updated hostmot2 manpage & todo file 2008-10-30 19:33:03 +00:00
Jeff Epler
18bb2e1c41 remove bogus text 2008-10-30 12:41:44 +00:00
Sebastian Kuzminsky
fa8b2d2aee This adds support for the 5i23 and 4i68.
All EPP, PCI, and PC-104/Plus AnyIO boards are now supported.
2008-10-29 03:59:15 +00:00
Sebastian Kuzminsky
3481f573c7 support the 5i22 in hm2_pci (as well as the 5i20 and 4i65)
hm2_5i20 is now deprecated, users should switch to hm2_pci
2008-10-28 08:33:45 +00:00
Sebastian Kuzminsky
0648e3cabd Started adding support for the 5i22 (doesnt work yet). 2008-10-25 04:54:39 +00:00
Sebastian Kuzminsky
14e0fc0b2b This makes the pwmgen support in hostmot2 feature complete.
Supports PWM & Dir, Up & Down, PDM & Dir, and Dir & PWM ("for locked antiphase").

    PWM and PDM frequencies are both selectable by the user via HAL.

    No known bugs at this time :-)
2008-10-06 04:34:45 +00:00
Sebastian Kuzminsky
0191f5adbf update manpage to reflect new pdm feature in pwmgen 2008-09-26 03:52:52 +00:00
Sebastian Kuzminsky
b8f612bf4b This adds support for PDM mode for the hm2 pwmgens. I think.
Without breaking PWM mode.  I think.
2008-09-26 03:45:17 +00:00
Sebastian Kuzminsky
55762d3219 This checkin fixes the pwmgen problem reported by Eric Johnson
(cut-n-paste error).

Adds a pwmgen.frequency parameter, so the user can control the pwm
frequency.

Fixes a buglet in watchdog initialization error handling.

Turns off an annoying stepgen debug message.
2008-09-23 06:08:05 +00:00
Sebastian Kuzminsky
ee15bc764a Made raw.dump_state a HAL_IO pin, which is what it is. Minor documentation improvements. 2008-09-20 17:54:55 +00:00
Sebastian Kuzminsky
cbbc4968aa hm2 0.12:
* fixed a bug with negative stepgen.position_scale

    * fixed a bug with negative pwmgen.scale

    * support stepgen.maxvel=0 (use fastest allowed by waveform timing)

    * support stepgen.maxaccel=0 (don't limit accel at all)

    * misc cleanup & documentation of new encoder features
2008-09-20 07:18:37 +00:00
Sebastian Kuzminsky
df126a373a update hm2_5i20 manpage (and todo file) to indicate that the 4i65 is now supported 2008-09-14 21:37:22 +00:00
Jeff Epler
5ab29a463c velocity and dtg as pins of motion 2008-09-09 20:38:09 +00:00
Sebastian Kuzminsky
264cf3e774 describe stepgen.maxaccel and stepgen.velocity-cmd in the hostmot2 manpage 2008-08-22 06:52:49 +00:00
Sebastian Kuzminsky
045a32a2b7 hostmot2 release 0.9:
Fixed stepgen.stepspace, it was not getting set correctly on the FPGA.

    Fixed stepgen.position-fb, it was not getting set reported correctly
    to HAL.

    Added stepgen.maxvel.

    Added raw.dump_state, a way to cause hostmot2 to dump its internal
    state to the syslog for debugging.
2008-08-21 07:21:31 +00:00
Jeff Epler
03bf7a3325 add outputs related to saturation
pid saturation is another way to detect a fault in the servo amplifier or feedback.  the exact policy for fault detection via saturation is left to the integrator.
2008-08-19 15:10:23 +00:00
Sebastian Kuzminsky
d9c9e9a0cd This changes stepgen timing parameters from "float seconds" to "u32 nanoseconds".
NOTE: This will break existing configs that change the stepgen timing registers!
2008-08-19 06:43:04 +00:00
Sebastian Kuzminsky
87f0d341c4 This adds an "enable" pin to the hm2 stepgen. 2008-08-19 06:38:00 +00:00
Sebastian Kuzminsky
75d4948653 Give HAL interfaces to all IO pins, not just the full GPIOs. IO pins
used by active module instances have restricted interfaces.

Improved IO Port handling.  Support open-drain pins.

Updated README to reflect reality.

Report firmware timestamp when loading.

Improved config string parsing.
2008-08-17 07:36:10 +00:00
Sebastian Kuzminsky
c2844b87c1 Low-level driver may now export a "threadsafe" flag, which if set causes
the hostmot2 driver to export (on their behalf) a pair of functions
called read_gpio and write_gpio.  These do just what you'd think.
2008-08-11 03:14:57 +00:00
Chris Morley
2ca00955ac Info about HAL pin vrs connector header pin 2008-08-07 05:15:07 +00:00
Jeff Epler
b134eb8713 some rewordings, typo fixes, and additional information 2008-08-05 12:40:23 +00:00
Chris Morley
cb0c5ef1d9 man page for opto_ac5 driver 2008-08-05 06:37:49 +00:00
Sebastian Kuzminsky
7da8c736de This switches to in-kernel firmware loading. 2008-08-04 05:38:29 +00:00
John Thornton
a27e716c33 ignore gearchange and invert 2008-07-12 19:52:25 +00:00
John Kasunich
b0dfeb4655 rename interpolated position output for clarity, update man page 2008-07-11 03:24:17 +00:00
Jeff Epler
765bdd1ef2 new generated file 2008-07-04 22:15:26 +00:00
Sebastian Kuzminsky
2397f4334e Finish removing the old removed "blocks" component. 2008-06-23 19:23:06 +00:00
Sebastian Kuzminsky
91559c0292 Release 0.3 of the hostmot2 driver.
* This adds a Raw mode, which lets the user peek & poke the HM2
      firmware registers from HAL.  This is disabled by default but the
      user can enable it with a load-time modparam.

    * Better load-time initialization of gpios.

    * Added some debug HAL pins to the stepgen module.
2008-06-18 05:42:38 +00:00
Alex Joni
a97840d0ec more silencing 2008-05-22 18:27:53 +00:00
Sebastian Kuzminsky
d155e5e42f First release of the new hostmot2 driver.
* Supports the 5i20 and 7i43.
    * Basic support for encoders, pwmgens, stepgens, and gpios.
    * More to come...
2008-05-14 06:20:22 +00:00
Jeff Epler
8bd25e3dbc document the 'offset' parameter 2008-03-13 16:36:44 +00:00
Jeff Epler
9cc112692b from branch: acemi noted that these are signed, not unsigned 2008-02-09 15:58:19 +00:00
John Kasunich
566bb1c9d5 fix typo 2008-02-09 15:15:30 +00:00
Chris Radek
a78760b9b0 ignores 2008-01-22 01:48:14 +00:00
Jeff Epler
4be5df9b28 motion.probe-input is used for all probing moves, not just G38.2 2007-11-09 17:41:13 +00:00
Jeff Epler
c6d01a3834 refers to removed manpage 2007-10-13 22:29:37 +00:00
Jeff Epler
0f50779a5e iocontrol belongs in section 1; only realtime/kernel modules go in 9 2007-10-13 14:22:57 +00:00
Ben Lipkowitz
73426d54db i love writing docs for things i dont understand 2007-09-27 03:09:13 +00:00
Jeff Epler
f37e7389f0 add stepconf 2007-09-16 16:50:12 +00:00
Jeff Epler
ef6035eaf4 there is no need for the 'doublestep' parameter; stepspace=0 on its own is enough. The default remains stepspace=1 (smallest nonzero step space possible) 2007-09-11 13:01:15 +00:00
John Kasunich
6c28506b0f fix man page - encoder 'counter mode' counts only on rising edge, not both edges. (Both edges would give inaccurate results if the signal isn't a 50/50 duty cycle.) 2007-09-03 14:45:59 +00:00
Jeff Epler
940aadc6de doubled step rate for software step+direction on parport 2007-08-27 14:59:49 +00:00
Jeff Epler
65590a5bad fix step timing diagrams in pdf version 2007-08-27 14:57:48 +00:00
Jeff Epler
42c446a22d fix step waveform diagrams 2007-08-27 14:32:57 +00:00
Ben Lipkowitz
692945531c symlinks for common search attempts for manpages 2007-08-25 17:13:17 +00:00
Ben Lipkowitz
0719c21d27 I took the stuff from docs/src/config/emc2hal.lyx and made a real manpage out of it. also started writing descriptions and completed some incompletions 2007-08-25 17:11:49 +00:00
Chris Radek
3a754473b7 . 2007-08-17 04:02:17 +00:00
Chris Radek
bdc1e951a8 new pluto step docs 2007-07-14 21:45:07 +00:00
Chris Radek
76a0206fad new comps 2007-07-01 22:25:43 +00:00
Peter G. Vavaroutsos
f46632cd2e -Added comment about adjusting FERROR when running with EMC. 2007-06-25 05:28:27 +00:00
Chris Radek
2e3d48b3f3 new manpage 2007-06-13 15:36:12 +00:00
Jeff Epler
9fb85143bc ignore new generated page 2007-06-11 00:51:30 +00:00
Peter G. Vavaroutsos
bdeb51b813 -Fixed some inconsistencies.
-Added some more information on auto tuning.
2007-05-16 05:27:57 +00:00
Peter G. Vavaroutsos
66760772f4 -Added more information on auto tuning. 2007-05-15 20:55:21 +00:00
Jeff Epler
adceea6e80 document the new counter mode for the encoder component, and note that the old, separate counter component is deprecated 2007-05-15 01:11:19 +00:00