Problem
Hallo,
können Sie mir bitte ein Beispiel schicken, in dem deutlich wird wie ich den aktuellen Achsstatus, dh Enabled und Homed-Status abfragen kann.
Solution
Hello,
Can you please send me an example that shows how I can query the current axis status, i.e. enabled and homed status.
Solution
The command to query the enabled and homed status isder Befehl zur Abfrage des Enabled- und Homed-Status lautet:
Panel | ||
---|---|---|
| ||
printf("Retrieving Homedstatus for the first axis.\n"); if (!A3200StatusGetItem(handle, 0, STATUSITEM_AxisStatus, AXISSTATUS_Homed, &HomedAxis)) { PrintError(); goto cleanup; } printf("Homed X-Axis : %f\n", HomedAxis);
2. printf("Retrieving Enabledstatus for the first axis.\n"); if (!A3200StatusGetItem(handle, 0, STATUSITEM_DriveStatus, DRIVESTATUS_Enabled, &EnabledAxis)) { PrintError(); goto cleanup; } printf("Enabled X-Axis : %f\n", EnabledAxis); |
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page properties | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|