WHB04B Handrad

More
09 Sep 2019 13:03 #144601 by pl7i92
Replied by pl7i92 on topic WHB04B Handrad
nein das muss erst kompiliert werden

da sind alle kexypress codes drinn KLASSE

das müsste jemand als neuien comp in den master übernemen

Please Log in or Create an account to join the conversation.

More
10 Sep 2019 06:23 #144666 by blue0cean
Replied by blue0cean on topic WHB04B Handrad
ok danke für den Tipp, ich scheiter am Kompillieren.

Gruß Hermann

Please Log in or Create an account to join the conversation.

More
15 Sep 2019 07:58 #145212 by Talla
Replied by Talla on topic WHB04B Handrad
Ich hab das Handrad zum laufen bekommen.



Gruß Peter
The following user(s) said Thank You: tommylight, Tchefter, Weiler810T, OE5AMP, blue0cean, DC67, jjgocnc

Please Log in or Create an account to join the conversation.

More
15 Sep 2019 10:39 #145231 by tommylight
Replied by tommylight on topic WHB04B Handrad
Danke fur alles.
MFG
Tom

Please Log in or Create an account to join the conversation.

More
19 Sep 2019 16:36 - 19 Sep 2019 16:37 #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.
Attachments:
Last edit: 19 Sep 2019 16:37 by blue0cean.
The following user(s) said Thank You: Tchefter

Please Log in or Create an account to join the conversation.

More
29 Sep 2019 14:43 #146578 by pl7i92
Replied by pl7i92 on topic WHB04B Handrad
du könntest die COMP mal hier einstellen
und die Tastenbelegung
sowie den ini bereich zum WHB

das verhalten ist aj individuell die einen mögen das die anderen eben was anderes
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Sep 2019 09:25 #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
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Oct 2019 10:25 #147182 by Weiler810T
Replied by Weiler810T on topic WHB04B Handrad
Hallo

Ich kriege beim kompilieren Fehlermeldungen, ist das normal?

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.

More
06 Oct 2019 15:16 #147250 by blue0cean
Replied by blue0cean on topic WHB04B Handrad
Hast Du die Reihenfolge von Talla eingehalten?
Ich habe die 2.9 verwendet und das ganze Projekt kompiliert. Bitte vorher die Bibliotheken Aktualisieren -> sudo apt-get update.

Please Log in or Create an account to join the conversation.

More
10 Oct 2019 12:55 #147637 by pl7i92
Replied by pl7i92 on topic WHB04B Handrad
da ist nur eine warnuing keine fehlermeldung die COMP wurde ordnungsgemäs verlinkt

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds
Powered by Kunena Forum