- Posts: 23
- Thank you received: 11
WHB04B Handrad
- Talla
- Offline
- Junior Member
-
Less
More
7 years 1 month ago #145212
by Talla
Replied by Talla on topic WHB04B Handrad
Ich hab das Handrad zum laufen bekommen.
Gruß Peter
Gruß Peter
The following user(s) said Thank You: tommylight, Tchefter, OE5AMP, blue0cean, DC67, jjgocnc
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
7 years 1 month ago #145231
by tommylight
Replied by tommylight on topic WHB04B Handrad
Danke fur alles.
MFG
Tom
MFG
Tom
Please Log in or Create an account to join the conversation.
- blue0cean
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 3
7 years 1 month ago - 7 years 1 month ago #145600
by blue0cean
Replied by blue0cean on topic WHB04B Handrad
Hier noch eine Erweiterung der xhc-whb04b-6.hal zum Spindel Starten von Talla83
wegen der Spindel gibt es 2 Varianten.
Beispiel 1
Ini Datei:
MDI_COMMAND= M3 (debug,macro8)
...
MDI_COMMAND= M5 (debug,macro17)
Nun würde mit FN+Macro8 die Spindel an gehen und ohne FN würde sie wieder aus gehen.
Beispiel 2
In der xhc-whb04b-6.hal gleich am Anfang diese Zeilen einkommentieren.
net spindle.start halui.spindle.start
net spindle.stop halui.spindle.stop
net spindle.forward halui.spindle.forward
Dann kannst du die Spindel mit Son anschalten und mit FN+Son und nochmal Son ohne FN die Drehrichtung ändern.
Mit Stop oben neben Reset kann du sie dann wieder anhalten.
oder ab der 2.9 lauten die Spindelbefehle
net spindle.start halui.spindle.0.start
net spindle.stop halui.spindle.0.stop
net spindle.forward halui.spindle.0.forward
net spindle.reverse halui.spindle.0.reverse
net spindle.increase halui.spindle.0.increase
net spindle.decrease halui.spindle.0.decrease
net spindle.spindle-override.value halui.spindle.0.override.value
net spindle.spindle-override.increase halui.spindle.0.override.increase
net spindle.spindle-override.decrease halui.spindle.0.override.decrease
net spindle.velocity.abs-rpm spindle.0.speed-out-abs
meine hal im Anhang.
Danke Peter.
wegen der Spindel gibt es 2 Varianten.
Beispiel 1
Ini Datei:
MDI_COMMAND= M3 (debug,macro8)
...
MDI_COMMAND= M5 (debug,macro17)
Nun würde mit FN+Macro8 die Spindel an gehen und ohne FN würde sie wieder aus gehen.
Beispiel 2
In der xhc-whb04b-6.hal gleich am Anfang diese Zeilen einkommentieren.
net spindle.start halui.spindle.start
net spindle.stop halui.spindle.stop
net spindle.forward halui.spindle.forward
Dann kannst du die Spindel mit Son anschalten und mit FN+Son und nochmal Son ohne FN die Drehrichtung ändern.
Mit Stop oben neben Reset kann du sie dann wieder anhalten.
oder ab der 2.9 lauten die Spindelbefehle
net spindle.start halui.spindle.0.start
net spindle.stop halui.spindle.0.stop
net spindle.forward halui.spindle.0.forward
net spindle.reverse halui.spindle.0.reverse
net spindle.increase halui.spindle.0.increase
net spindle.decrease halui.spindle.0.decrease
net spindle.spindle-override.value halui.spindle.0.override.value
net spindle.spindle-override.increase halui.spindle.0.override.increase
net spindle.spindle-override.decrease halui.spindle.0.override.decrease
net spindle.velocity.abs-rpm spindle.0.speed-out-abs
meine hal im Anhang.
Danke Peter.
Last edit: 7 years 1 month ago by blue0cean.
The following user(s) said Thank You: Tchefter
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
-
Less
More
- Posts: 1872
- Thank you received: 358
7 years 1 month ago #146578
by pl7i92
Replied by pl7i92 on topic WHB04B Handrad
Please Log in or Create an account to join the conversation.
- blue0cean
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 3
7 years 1 month ago #146698
by blue0cean
Replied by blue0cean on topic WHB04B Handrad
klar mach ich. Basis ist die Vorlage von talla83
www.talla83.de/linuxcnc/XHC-WHB04B-6.zip
Please Log in or Create an account to join the conversation.
- Weiler810T
- Visitor
-
7 years 3 weeks ago #147182
by Weiler810T
Replied by Weiler810T on topic WHB04B Handrad
Hallo
Ich kriege beim kompilieren Fehlermeldungen, ist das normal?
Ich kriege beim kompilieren Fehlermeldungen, ist das normal?
Code:
Linking halscope
Compiling hal/user_comps/xhc-whb04b-6/hal.cc
Compiling hal/user_comps/xhc-whb04b-6/usb.cc
In file included from hal/user_comps/xhc-whb04b-6/usb.cc:26:0:
/usr/include/libusb-1.0/libusb.h:736:4: Warnung: ISO-C++ verbietet Feld »dev_capability_data« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:767:4: Warnung: ISO-C++ verbietet Feld »dev_capability« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:1263:4: Warnung: ISO-C++ verbietet Feld »iso_packet_desc« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
Compiling hal/user_comps/xhc-whb04b-6/pendant-types.cc
Compiling hal/user_comps/xhc-whb04b-6/pendant.cc
hal/user_comps/xhc-whb04b-6/pendant.cc: In Elementfunktion »const XhcWhb04b6::HandWheelCounters& XhcWhb04b6::Handwheel::counters() const«:
hal/user_comps/xhc-whb04b-6/pendant.cc:802:5: Warnung: Funktion liefert Adresse einer lokalen Variablen zurück [-Wreturn-local-addr]
);
^
hal/user_comps/xhc-whb04b-6/pendant.cc:801:37: Anmerkung: hier deklariert
static_cast<Handwheel>(*this).counters()
^
Compiling hal/user_comps/xhc-whb04b-6/xhc-whb04b6.cc
In file included from hal/user_comps/xhc-whb04b-6/xhc-whb04b6.cc:26:0:
/usr/include/libusb-1.0/libusb.h:736:4: Warnung: ISO-C++ verbietet Feld »dev_capability_data« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:767:4: Warnung: ISO-C++ verbietet Feld »dev_capability« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:1263:4: Warnung: ISO-C++ verbietet Feld »iso_packet_desc« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
Compiling hal/user_comps/xhc-whb04b-6/main.cc
Linking xhc-whb04b-6
Please Log in or Create an account to join the conversation.
Moderators: Muecke
Time to create page: 0.478 seconds