You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These pins, parameters, and functions are created by the realtime 'motmod'
99
-
module.
98
+
These pins, parameters, and functions are created by the realtime 'motmod' module.
100
99
101
100
* 'motion.adaptive-feed' - (float, in) When adaptive feed is enabled with 'M52 P1' , the
102
101
commanded velocity is multiplied by this value. This effect is
@@ -109,13 +108,10 @@ module.
109
108
controlled by M67 or M68.
110
109
* 'motion.coord-error' - (bit, out) TRUE when motion has encountered an error, such as
111
110
exceeding a soft limit
112
-
* 'motion.coord-mode' - (bit, out) TRUE when motion is in 'coordinated mode', as opposed to
113
-
'teleop mode'
111
+
* 'motion.coord-mode' - (bit, out) TRUE when motion is in 'coordinated mode', as opposed to 'teleop mode'
114
112
* 'motion.current-vel' - (float, out) The current tool velocity in user units per second.
115
-
* 'motion.digital-in-00' - (bit, in) These pins (00, 01, 02, 03 or more if configured) are
116
-
controlled by M62-65.
117
-
* 'motion.digital-out-00' - (bit, out) These pins (00, 01, 02, 03 or more if configured) are
118
-
controlled by the 'M62-65'.
113
+
* 'motion.digital-in-00' - (bit, in) These pins (00, 01, 02, 03 or more if configured) are controlled by M62-65.
114
+
* 'motion.digital-out-00' - (bit, out) These pins (00, 01, 02, 03 or more if configured) are controlled by the 'M62-65'.
119
115
* 'motion.distance-to-go' - (float,out) The distance remaining in the current move.
120
116
* 'motion.enable' - (bit, in) If this bit is driven FALSE, motion stops, the machine is
121
117
placed in the 'machine off' state, and a message is displayed for the
@@ -147,32 +143,18 @@ module.
147
143
* 'motion.teleop-mode' - (bit, out) TRUE when motion is in 'teleop mode', as opposed to 'coordinated mode'
148
144
* 'motion.tooloffset.x ... motion.tooloffset.w' - (float, out, one per axis) shows the tool offset in effect;
149
145
it could come from the tool table ('G43' active), or it could come from the G-code ('G43.1' active)
150
-
151
-
* 'motion.on-soft-limit' -
152
-
(bit, out) TRUE when the machine is on a soft limit.
153
-
* 'motion.probe-input' -
154
-
(bit, in) 'G38.n' uses the value on this pin to determine when the
155
-
probe has made contact.
146
+
* 'motion.on-soft-limit' - (bit, out) TRUE when the machine is on a soft limit.
147
+
* 'motion.probe-input' - (bit, in) 'G38.n' uses the value on this pin to determine when the probe has made contact.
156
148
TRUE for probe contact closed (touching),
157
149
FALSE for probe contact open.
158
-
* 'motion.program-line' -
159
-
(s32, out) The current program line while executing. Zero if not
160
-
running or between lines while single stepping.
161
-
* 'motion.requested-vel' -
162
-
(float, out) The current requested velocity in user units per
163
-
second. This value is the F-word setting from the G-code file,
164
-
possibly reduced to accommodate machine velocity and acceleration
165
-
limits. The value on this pin does not reflect the feed override or
166
-
any other adjustments.
167
-
168
-
* 'motion.teleop-mode' -
169
-
(bit, out) TRUE when motion is in 'teleop mode', as opposed to
170
-
'coordinated mode'
171
-
172
-
* 'motion.tooloffset.x ... motion.tooloffset.w' -
173
-
(float, out, one per axis) shows the tool offset in effect;
174
-
it could come from the tool table ('G43' active), or it could
175
-
come from the G-code ('G43.1' active)
150
+
* 'motion.program-line' - (s32, out) The current program line while executing.
151
+
Zero if not running or between lines while single stepping.
152
+
* 'motion.requested-vel' - (float, out) The current requested velocity in user units per second.
153
+
This value is the F-word setting from the G-code file, possibly reduced to accommodate machine velocity and acceleration limits.
154
+
The value on this pin does not reflect the feed override or any other adjustments.
155
+
* 'motion.teleop-mode' - (bit, out) TRUE when motion is in 'teleop mode', as opposed to 'coordinated mode'
156
+
* 'motion.tooloffset.x ... motion.tooloffset.w' - (float, out, one per axis) shows the tool offset in effect;
157
+
it could come from the tool table ('G43' active), or it could come from the G-code ('G43.1' active)
176
158
177
159
=== Parameters
178
160
@@ -191,10 +173,9 @@ change or removal at any time.
191
173
* 'motion.debug-float-3' - (float, RO) This is used for debugging purposes.
192
174
* 'motion.debug-s32-0' - (s32, RO) This is used for debugging purposes.
193
175
* 'motion.debug-s32-1' - (s32, RO) This is used for debugging purposes.
194
-
* 'motion.servo.last-period' - (u32, RO) The number of CPU cycles between invocations of the servo
195
-
thread. Typically, this number divided by the CPU speed gives the time
196
-
in seconds, and can be used to determine whether the realtime motion
197
-
controller is meeting its timing constraints
176
+
* 'motion.servo.last-period' - (u32, RO) The number of CPU cycles between invocations of the servo thread.
177
+
Typically, this number divided by the CPU speed gives the time in seconds,
178
+
and can be used to determine whether the realtime motion controller is meeting its timing constraints
198
179
* 'motion.servo.last-period-ns' - (float, RO)
199
180
200
181
=== Functions
@@ -316,7 +297,7 @@ See the motion man page 'motion(9)' for details on the pins and parameters.
316
297
317
298
== iocontrol
318
299
319
-
iocontrol - accepts non-realtime I/O commands via NML, interacts with HAL.
300
+
iocontrol - accepts non-realtime I/O commands via NML, interacts with HAL.
320
301
321
302
iocontrol's HAL pins are turned on and off in non-realtime context. If you have strict timing requirements or simply need more I/O, consider using the realtime synchronized I/O provided by <<sec:motion,motion>> instead.
0 commit comments