Commit 179022c
ds402: Support checking the homing status. (#248)
Implement a new method BaseNode402.is_homed() which will switch to the
corresponding operation mode HOMING and then examine the Statusword
for the homing status bits.
This allows to skip the homing procedure in case the drive controller
still knows its position, but e.g. the Python application was
restarted.
Co-authored-by: André Filipe Silva <af-silva@users.noreply.github.com>1 parent 509f553 commit 179022c
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
277 | 292 | | |
278 | 293 | | |
279 | 294 | | |
| |||
0 commit comments