hal-core

More
4 years 9 months ago #232120 by bkt
Replied by bkt on topic hal-core

 If this is what you want, then pls give a short description of the i/o and functions. Then i can make a honey pot.

Need to use classic ladder and simply connect some push button or toggle button to "lcec.0.0.dout-0 to dout.14" and the same with din from 0 to 14 ... for example ... or connect classicladder.0.out-00 from classicladder.0.out-14 and the same with input .... nothing of difficult .... is for choose some simply static option (pneumatic cylinder always ON ... or always OFF) or for choose if use a sub routine "A" ladder or soubroutine "B" ladder ....

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

More
4 years 9 months ago #232529 by Grotius
Replied by Grotius on topic hal-core
Hi btk,

If i make a example gui with some buttons that produces a hal output and some input pins that will fire up a led.
Is that good enough? You than can connect to classicladder in hal. etc


 
The following user(s) said Thank You: bkt

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

More
4 years 9 months ago - 4 years 9 months ago #232534 by Grotius
Replied by Grotius on topic hal-core
A tiny update.

In general the program is working.
I think it is usable to perform a plasma cut or a complex 3d mill operation with the program now.

Specs until now:
1. Run a gcode forward or reversed during the full gcode file, full scurve implementation.
2. Run a gcode file containing a 3d motion. cartesian xyz=XYZ euler xyz=ABC
3. Run a multiline mdi command.
4. Run the machine in manual mode, Offline will jump to target pos. Online will perform the scurve motion.
5. Run multiple machines at the same time, each machine may load a gcode file.
6. Run a gcode from a certain line nr. It will ask to get in position with a Mdi multiline safe height move.
7. Hal outputs available for joint positions and basic Mcode's like m3,m5,m7,m8,m9.
8. Load a different machine models, like a robot on a track or a gantry.
9. Load a different (exotic) kinematic model.
10. Code your own user tab.
11. It can rotate and translate the gcode workframe in any position.
12. This is a realtime program, driven by a kernel module.
Todo : look ahead function.



Last edit: 4 years 9 months ago by Grotius.

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

More
4 years 9 months ago - 4 years 9 months ago #232539 by bkt
Replied by bkt on topic hal-core

Hi btk,

If i make a example gui with some buttons that produces a hal output and some input pins that will fire up a led.
Is that good enough? You than can connect to classicladder in hal. etc
 
  These for sure .... but maybe your hal_widget is enought ....
bkt
Last edit: 4 years 9 months ago by bkt.

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

More
4 years 9 months ago - 4 years 9 months ago #232616 by bkt
Replied by bkt on topic hal-core
seems I have some problem with your hal_widget .... I copy libhalwidgetsplugin.so on my INSTALL_PATH_QT/Tools/QtCreator/lib/Qt/plugins/designer ..... but when try to run "untitled" example obtain these error:
Code:
hal_widgets-main/build-untitled-Desktop_Qt_5_15_2_GCC_64bit-Release/untitled: error while loading shared libraries: libhalwidgetsplugin.so: cannot open shared object file: No such file or directory
Last edit: 4 years 9 months ago by bkt.

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

More
4 years 9 months ago #232900 by Grotius
Replied by Grotius on topic hal-core
Hi Bkt,

I usually don't do that, in fact never did that.
If you want to compile a program yourself.
First remove the .pro_user file if it was there. Then start the project again and the project configure option pops up.

Are you looking at this code? :
github.com/grotius-cnc/universal_graphic...t/releases/tag/1.0.0
Then try this first, and remove the .pro.user file in that dir first:
~/universal_widget/Qt_Occ_Python/src/cplusplus_testgui/cplusplus_testgui.pro
The following user(s) said Thank You: bkt

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

Time to create page: 0.921 seconds
Powered by Kunena Forum