Skip to content

Commit 03db7f2

Browse files
committed
docs: update gmoccapy docs regarding INI values
1 parent 86cdee2 commit 03db7f2

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

configs/sim/gmoccapy/gmoccapy.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ MAX_LINEAR_VELOCITY = 166
3030
DEFAULT_LINEAR_VELOCITY = 100
3131
MAX_ANGULAR_VELOCITY = 234
3232
DEFAULT_SPINDLE_SPEED = 450
33+
# Initial value for spindle speed
34+
DEFAULT_SPINDLE_SPEED = 500
35+
36+
# The following are not used, added here to suppress warnings (from qt_istat/logger).
37+
MIN_LINEAR_VELOCITY = 0
38+
DEFAULT_SPINDLE_0_SPEED = 500
39+
MIN_SPINDLE_0_SPEED = 0
40+
MAX_SPINDLE_0_SPEED = 3000
41+
MAX_SPINDLE_0_OVERRIDE = 1.2
42+
MIN_SPINDLE_0_OVERRIDE = 0.5
43+
# The following are not relevant for this machine, added here to suppress warinings.
44+
MIN_ANGULAR_VELOCITY = 0.1
45+
DEFAULT_ANGULAR_VELOCITY = 360
3346

3447
# Prefix to be used
3548
PROGRAM_PREFIX = ../../nc_files/

docs/src/gui/gmoccapy.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ PREFERENCE_FILE_PATH = gmoccapy_preferences
115115
MAX_FEED_OVERRIDE = 1.5
116116
MAX_SPINDLE_OVERRIDE = 1.2
117117
MIN_SPINDLE_OVERRIDE = 0.5
118+
DEFAULT_SPINDLE_SPEED = 500
118119
LATHE = 1
119120
BACK_TOOL_LATHE = 1
120121
PROGRAM_PREFIX = ../../nc_files/
@@ -156,6 +157,11 @@ See also the <<gmoccapy:lathe-section,Lathe Specific Section>>.
156157
If not specified, GMOCCAPY will look in the following order for NGC files:
157158
First `linuxcnc/nc_files` and then the users home directory.
158159

160+
- _DEFAULT_SPINDLE_SPEED_ - Start value for <<gmoccapy-settings-spindle,"Starting RPM">> if value not present in preferences file or file is not present. Will have no effect with valid preferences file.
161+
162+
- _MIN_ANGULAR_VELOCITY_ - Sets the minimal jog velocity of the machine for rotary axes.
163+
- _MAX_ANGULAR_VELOCITY_ - Sets the maximal jog velocity of the machine for rotary axes.
164+
- _DEFAULT_ANGULAR_VELOCITY_ - Sets the default jog velocity of the machine for rotary axes.
159165

160166
[[gmoccapy:traj-section]]
161167
=== The TRAJ Section
@@ -166,8 +172,8 @@ First `linuxcnc/nc_files` and then the users home directory.
166172
If not set, half of 'MAX_LINEAR_VELOCITY' will be used.
167173
If that value is also not given, it will default to 180.
168174

169-
// max. jog velocity?
170175
- _MAX_LINEAR_VELOCITY = 230.0_ - Sets the maximal velocity of the machine.
176+
This value will also be the maximum linear jog velocity.
171177
+
172178
[NOTE]
173179
Defaults to 600 if not set.
@@ -1291,7 +1297,7 @@ By default all scales are set using the calculation:
12911297
(MAX - MIN)/100
12921298
----
12931299

1294-
1300+
[[gmoccapy-settings-spindle]]
12951301
.Spindle
12961302
* _Starting RPM_ - Sets the rpm to be used if the spindle is started and no S value has been set.
12971303
+

0 commit comments

Comments
 (0)