Skip to content

Commit 87fa030

Browse files
authored
Merge pull request #3477 from Sigma1912/Docs_clarify-python-status-spindle-speed
clarify documentation on stat 'gcodes' and (spindle)'speed' attributes
2 parents c07dfed + 2eab281 commit 87fa030

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

docs/src/config/python-interface.adoc

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,8 @@ machine angular units per deg, reflects [TRAJ]ANGULAR_UNITS INI value.
195195
pose of the current g92 offset.
196196

197197
*gcodes*:: '(returns tuple of integers)' -
198-
Active G-codes for each modal group.
199-
G-code constants
200-
G_0, G_1, G_2, G_3, G_4, G_5, G_5_1, G_5_2, G_5_3, G_7, G_8, G_100, G_17,
201-
G_17_1, G_18, G_18_1, G_19, G_19_1, G_20, G_21, G_28, G_28_1, G_30, G_30_1,
202-
G_33, G_33_1, G_38_2, G_38_3, G_38_4, G_38_5, G_40, G_41, G_41_1, G_42, G_42_1,
203-
G_43, G_43_1, G_43_2, G_49, G_50, G_51, G_53, G_54, G_55, G_56, G_57, G_58,
204-
G_59, G_59_1, G_59_2, G_59_3, G_61, G_61_1, G_64, G_73, G_76, G_80, G_81, G_82,
205-
G_83, G_84, G_85, G_86, G_87, G_88, G_89, G_90, G_90_1, G_91, G_91_1, G_92,
206-
G_92_1, G_92_2, G_92_3, G_93, G_94, G_95, G_96, G_97, G_98, G_99
198+
Active G-codes for each modal group. +
199+
The integer values reflect the nominal G-code numbers multiplied by 10. (Examples: 10 = 'G1', 430 = 'G43', 923 = 'G92.3')
207200

208201
*homed*:: '(returns tuple of integers)' -
209202
currently homed joints, 0 = not homed, 1 = homed.
@@ -536,8 +529,8 @@ For each joint, the following dictionary keys are available:
536529
value of the spindle override enabled flag.
537530

538531
*speed*:: '(returns float)' -
539-
spindle speed value, rpm, > 0: clockwise, < 0:
540-
counterclockwise.
532+
spindle speed value, rpm, > 0: clockwise, < 0: counterclockwise. +
533+
With G96 active this reflects the maximum speed set by the optional G96 'D'-word or, if the 'D'-word was missing, the default values +/-1e30
541534

542535
== Preparing to send commands
543536

0 commit comments

Comments
 (0)