|
145 | 145 | | 0x0bh 11 | uint8 | extra_load_distance | 00h 0 | 1eh 30 | unit mm | Read / Write | M707 A0x0b | M708 A0x0b Xnn
|
146 | 146 | | 0x0ch 12 | uint8 | FSensor_unload_check_dist. | 00h 0 | 28h 30 | unit mm | Read / Write | M707 A0x0c | M708 A0x0c Xnn
|
147 | 147 | | 0x0dh 13 | uint16 | Pulley_unload_feedrate | 0000h 0 | 005fh 95 | unit mm/s | Read / Write | M707 A0x0d | M708 A0x0d Xnnnn
|
148 |
| -| 0x0eh 14 | uint16 | Pulley_acceleration | 0000h 0 | 320h 800.0 | unit mm/s² | Read (Write) | M707 A0x0e | (M708 A0x0e Xnnnn) |
149 |
| -| 0x0fh 15 | uint16 | Selector_acceleration | 0000h 0 | 00c8h 200.0 | unit mm/s² | Read (Write) | M707 A0x0f | (M708 A0x0f Xnnnn) |
150 |
| -| 0x10h 16 | uint16 | Idler_acceleration | 0000h 0 | 01f4h 500.0 | unit deg/s² | Read (Write) | M707 A0x10 | (M708 A0x10 Xnnnn) |
| 148 | +| 0x0eh 14 | uint16 | Pulley_acceleration | 0000h 0 | 320h 800.0 | unit mm/s² | Read / Write | M707 A0x0e | M708 A0x0e Xnnnn |
| 149 | +| 0x0fh 15 | uint16 | Selector_acceleration | 0000h 0 | 00c8h 200.0 | unit mm/s² | Read / Write | M707 A0x0f | M708 A0x0f Xnnnn |
| 150 | +| 0x10h 16 | uint16 | Idler_acceleration | 0000h 0 | 01f4h 500.0 | unit deg/s² | Read / Write | M707 A0x10 | M708 A0x10 Xnnnn |
151 | 151 | | 0x11h 17 | uint16 | Pulley_load_feedrate | 0000h 0 | 005fh 95 | unit mm/s | Read / Write | M707 A0x11 | M708 A0x11 Xnnnn
|
152 | 152 | | 0x12h 18 | uint16 | Selector_nominal_feedrate | 0000h 0 | 002dh 45 | unit mm/s | Read / Write | M707 A0x12 | M708 A0x12 Xnnnn
|
153 | 153 | | 0x13h 19 | uint16 | Idler_nominal_feedrate | 0000h 0 | 012ch 300 | unit deg/s | Read / Write | M707 A0x13 | M708 A0x13 Xnnnn
|
@@ -331,18 +331,18 @@ static const RegisterRec registers[] PROGMEM = {
|
331 | 331 |
|
332 | 332 | // 0xe Pulley acceleration [mm/s2] RW
|
333 | 333 | RegisterRec(
|
334 |
| - []() -> uint16_t { return config::pulleyLimits.accel.v; }, |
335 |
| - //@@TODO please update documentation as well |
| 334 | + []() -> uint16_t { return mm::motion.Acceleration(config::Pulley); }, |
| 335 | + [](uint16_t d) { mm::motion.SetAcceleration(config::Pulley, d); }, |
336 | 336 | 2),
|
337 | 337 | // 0xf Selector acceleration [mm/s2] RW
|
338 | 338 | RegisterRec(
|
339 |
| - []() -> uint16_t { return config::selectorLimits.accel.v; }, |
340 |
| - //@@TODO please update documentation as well |
| 339 | + []() -> uint16_t { return mm::motion.Acceleration(config::Selector); }, |
| 340 | + [](uint16_t d) { mm::motion.SetAcceleration(config::Selector, d); }, |
341 | 341 | 2),
|
342 | 342 | // 0x10 Idler acceleration [deg/s2] RW
|
343 | 343 | RegisterRec(
|
344 |
| - []() -> uint16_t { return config::idlerLimits.accel.v; }, |
345 |
| - //@@TODO please update documentation as well |
| 344 | + []() -> uint16_t { return mm::motion.Acceleration(config::Idler); }, |
| 345 | + [](uint16_t d) { mm::motion.SetAcceleration(config::Idler, d); }, |
346 | 346 | 2),
|
347 | 347 |
|
348 | 348 | // 0x11 Pulley load feedrate [mm/s] RW
|
|
0 commit comments