Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
bgColor#fff

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);

Content by Label
showLabelsfalse
max5
spacesAKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "AKB"
labelskb-troubleshooting-article

...

Page properties
hiddentrue


Related issues
Jira
serverId9f03b1ba-4414-3107-bcb5-da553cbefa90
keyGTSE-2173