Eliminates multiple file copies and removes unneeded sym links by
taking advantage of the search path (HALLIB_PATH) used by the
linuxcnc script
0) move most configs/common/*.hal files to lib/hallib/
1) eliminate copy_configs etc. from Makefile
2) remove sym links that are no longer needed for
the relocated hal files
3) also move most-used halfiles (not managed by make)
simulated_home.hal
sim_spindle_encoder.hal
locking_indexer.hal
lathe.hal
gantrysim.hal
simulated-gantry-home.hal
simulated_limits.hal
tripodsim.hal
servo_sim.hal
4) lib/hallib/README: update and reorganize
5) pickconfig: make convenience link for HALLIB_DIR
The linuxcnc script prints the name of halfiles when they
are found using the search path (.:HALLIB_DIR) but the
HALLIB_DIR pathname may be long so this patch has pickconfig.tcl
make a sym link in the copied config directory
A user can use the link to copy a halfile to make local modifications,
for example:
$ cd ~/linuxcnc/configs/sim.config.name # sim config created by pickconfig
$ cp hallib/halfilename halfilename # copy lib file for local mods
6) update docs: Running-linuxCNC.txt
Notes:
a) affected configs require no changes as the linuxcnc script will
find files using HALLIB_PATH (defined in scripts/linuxcnc.in)
b) postgui halfiles are not affected since processing depends on gui
c) not working (but has not for a long time):
configs/sim/axis/remap/iocontrol-removed/iocontrol-removed.ini
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
11 lines
297 B
Text
11 lines
297 B
Text
# simulate a locking rotary axis B
|
|
|
|
loadrt timedelay names=timedelay_unlock
|
|
addf timedelay_unlock servo-thread
|
|
|
|
net B-unlock axis.4.unlock => timedelay_unlock.in
|
|
net B-is-unlocked timedelay_unlock.out => axis.4.is-unlocked
|
|
|
|
setp timedelay_unlock.on-delay 0.75
|
|
setp timedelay_unlock.off-delay 0.5
|
|
|