Skip to content

Commit 348b0d1

Browse files
authored
Merge pull request #2001 from smoe/docs_affecting_src
src: s/ini/INI/ (smoe:docs_affecting_src)
2 parents 123f69e + 2dc8a0d commit 348b0d1

146 files changed

Lines changed: 372 additions & 372 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/hallib/README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This directory contains halfiles (*.hal and *.tcl) that are available
22
using the LinuxCNC halfile search path or by an explicit directive.
33

44
The HALLIB_PATH is '.:HALLIB_DIR'
5-
The '.' specifies the directory containing the ini file.
5+
The '.' specifies the directory containing the INI file.
66
HALIB_DIR specifies this directory.
77

88
The explicit directive uses a prefix (LIB:) to identify halfiles:
@@ -42,7 +42,7 @@ tripodsim.hal simulated tripodkins system
4242
Haltcl Files (*.tcl) Notes
4343
----------------------- ---------------------------------------------
4444
basic_sim.tcl set up a sim config (arbitrary no. of axes)
45-
var_show.tcl show ini variables and context
45+
var_show.tcl show INI variables and context
4646
hookup_moveoff.tcl make connections for a moveoff component
4747
plasmac.tcl common connections for the plasmac component
4848

@@ -66,5 +66,5 @@ sim_lib.tcl simulator config procedures
6666
util_lib.tcl utility procedures
6767
procs:
6868
show_context (calling parms)
69-
show_ini (ini file settings)
69+
show_ini (INI file settings)
7070
show_env (environmental vars)

lib/hallib/basic_sim.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
# this script (and any prior executed hal commands)
1111
#
1212
# Coordinate letters and number_of_joints are determined from the usual
13-
# ini # file settings.
13+
# INI file settings.
1414
#
15-
# Ini file usage:
15+
# INI file usage:
1616
# [HAL]HALFILE = basic_sim.tcl [Options]
1717
# Options:
1818
# -no_make_ddts
@@ -24,7 +24,7 @@
2424
# Notes:
2525
# 1) ::env() is a global associative array of environmental variables
2626
# as exported by the main LinuxCNC script (linuxcnc)
27-
# 2) Settings from the ini file are available as global associative
27+
# 2) Settings from the INI file are available as global associative
2828
# arrays named: ::SECTION(varname)
2929
# example: ::EMCMOT(SERVO_PERIOD)
3030
# 3) procs are from sim_lib.tcl

lib/hallib/core_servo.hal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# first load the core RT modules that will be needed
44
# kinematics
55
loadrt [KINS]KINEMATICS
6-
# motion controller, get name and thread periods from ini file
6+
# motion controller, get name and thread periods from INI file
77
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
88
# PID module, for three PID loops
99
loadrt pid num_chan=3
@@ -30,9 +30,9 @@ setp pid.0.maxoutput [JOINT_0]MAX_VELOCITY
3030
setp pid.1.maxoutput [JOINT_1]MAX_VELOCITY
3131
setp pid.2.maxoutput [JOINT_2]MAX_VELOCITY
3232

33-
# set PID loop gains from inifile
33+
# set PID loop gains from INI file
3434

35-
# the values below come from the ini
35+
# the values below come from the INI
3636
setp pid.0.Pgain [JOINT_0]P
3737
setp pid.0.Igain [JOINT_0]I
3838
setp pid.0.Dgain [JOINT_0]D

lib/hallib/core_sim.hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# first load all the RT modules that will be needed
44
# kinematics
55
loadrt [KINS]KINEMATICS
6-
# motion controller, get name and thread periods from ini file
6+
# motion controller, get name and thread periods from INI file
77
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
88
# load 6 differentiators (for velocity and accel signals
99
loadrt ddt names=ddt_x,ddt_xv,ddt_y,ddt_yv,ddt_z,ddt_zv

lib/hallib/core_sim9.hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# first load all the RT modules that will be needed
77
# kinematics
88
loadrt [KINS]KINEMATICS
9-
# motion controller, get name and thread periods from ini file
9+
# motion controller, get name and thread periods from INI file
1010
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
1111
# load 6 differentiators (for velocity and accel signals
1212
loadrt ddt names=ddt_x,ddt_xv,ddt_y,ddt_yv,ddt_z,ddt_zv

lib/hallib/core_stepper.hal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# first load the core RT modules that will be needed
44
# kinematics
55
loadrt [KINS]KINEMATICS
6-
# motion controller, get name and thread periods from ini file
6+
# motion controller, get name and thread periods from INI file
77
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
88
# stepper module, three step generators, all three using step/dir
99
loadrt stepgen step_type=0,0,0
@@ -41,12 +41,12 @@ net Ydir <= stepgen.1.dir
4141
net Zstep <= stepgen.2.step
4242
net Zdir <= stepgen.2.dir
4343

44-
# set stepgen module scaling - get values from ini file
44+
# set stepgen module scaling - get values from INI file
4545
setp stepgen.0.position-scale [JOINT_0]SCALE
4646
setp stepgen.1.position-scale [JOINT_1]SCALE
4747
setp stepgen.2.position-scale [JOINT_2]SCALE
4848

49-
# set stepgen module accel limits - get values from ini file
49+
# set stepgen module accel limits - get values from INI file
5050
setp stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
5151
setp stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
5252
setp stepgen.2.maxaccel [JOINT_2]STEPGEN_MAXACCEL

lib/hallib/gantrysim.hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
loadrt [KINS]KINEMATICS
22
show comp
33

4-
# motion controller, get name and thread periods from ini file
4+
# motion controller, get name and thread periods from INI file
55
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
66

77
# add motion controller functions to servo thread

lib/hallib/hal_procs_lib.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ proc find_file_in_hallib_path {filename {inifile .}} {
175175
if {[file pathtype $filename] == "absolute"} {
176176
set usehalname $filename
177177
} else {
178-
# relative file specifier (relative to ini file directory)
178+
# relative file specifier (relative to INI file directory)
179179
set usehalname [file join [file dirname $inifile] $halname]
180180
if ![file readable $usehalname] {
181181
# use ::env(HALLIB_DIR)

lib/hallib/halcheck.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# 2) signals with no inputs (not an error)
44
# 3) signals with no output (not an error)
55
#
6-
# Usage in ini file (must be the last HALFILE):
6+
# Usage in INI file (must be the last HALFILE):
77
# [HAL]
88
# ...
99
# HALFILE = LIB:halcheck.tcl

lib/hallib/hookup_moveoff.tcl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,38 @@ source [file join $::env(HALLIB_DIR) hal_procs_lib.tcl]
77
# 3) addf the moveoff component functions in required sequence
88
# 4) reconnect the pos-cmd and pos-fb pins to use the component
99
#
10-
# Support for demo type ini files where the pos-cmd and pos-fb pins are
10+
# Support for demo type INI files where the pos-cmd and pos-fb pins are
1111
# 'shortcircuit' connected together is included.
1212
#
13-
# The moveoff component may be initialized with settings from the ini file
13+
# The moveoff component may be initialized with settings from the INI file
1414
#
1515
# Usage:
16-
# 1) Specify this file in the ini file as [HAL]HALFILE
16+
# 1) Specify this file in the INI file as [HAL]HALFILE
1717
# Its position must follow halfiles that connect the pos-cmd and
1818
# pos-fb pins.
1919
# [HAL]
2020
# ...
2121
# HALFILE = hookup_moveoff.tcl
2222
# ...
2323
#
24-
# 2) Include ini file entries for moveoff component settings:
24+
# 2) Include INI file entries for moveoff component settings:
2525
# [MOVEOFF]
2626
# EPSILON =
2727
# WAYPOINT_SAMPLE_SECS =
2828
# WAYPOINT_THRESHOLD =
2929
# BACKTRACK_ENABLE =
3030
#
31-
# If these settings are not found in the ini file, the moveoff
31+
# If these settings are not found in the INI file, the moveoff
3232
# component defaults will be used.
3333
#
34-
# 3) Include ini file entries for the per-joint settings
34+
# 3) Include INI file entries for the per-joint settings
3535
# [MOVEOFF_n]
3636
# MAX_VELOCITY =
3737
# MAX_ACCELERATION =
3838
# MAX_LIMIT =
3939
# MIN_LIMIT =
4040
#
41-
# If settings are not found in the ini file, the items
41+
# If settings are not found in the INI file, the items
4242
# [JOINT_n]
4343
# MAX_VELOCITY =
4444
# MAX_ACCELERATION =
@@ -48,7 +48,7 @@ source [file join $::env(HALLIB_DIR) hal_procs_lib.tcl]
4848
# defaults are used.
4949
#
5050
# To use the (optional) demonstration gui named moveoff_gui,
51-
# include an ini entry:
51+
# include an INI entry:
5252
#
5353
# [APPLICATIONS]
5454
# APP = moveoff_gui option1 option2 ...

0 commit comments

Comments
 (0)