Lathe Macros

More
3 years 7 months ago #267099 by O.R
Replied by O.R on topic Lathe Macros
I moved button different places and tried add different types of buttons, only Hal_LightButton showed up, but i'm not is it suitable for play button.

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

More
3 years 7 months ago #267100 by andypugh
Replied by andypugh on topic Lathe Macros
Sorry, I really have no idea what the problem is.
You might have to put the button in a frame, and make the frame visible too. (you can see the object hierarchy on the tree browser on the top right)
The v3 macros might work better. They will work on Buster if you install LinuxCNC 2.9.

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

More
3 years 7 months ago #267184 by O.R
Replied by O.R on topic Lathe Macros
Do you have example how can I start macro cycle with external switch, which is connected to parallel port input?

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

More
3 years 7 months ago #267188 by andypugh
Replied by andypugh on topic Lathe Macros
If you look in the HAL with the macros loaded you should find a pin called "cycle_start" (probably something like lathemacro.cycle_start but the exact name will depend on how you loaded it.

Then just connect it in HAL.
Code:
net cycle_start parport.0.pin-01-in => lathemacros.cycle_start

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

More
3 years 5 months ago #271546 by Baldorcete
Replied by Baldorcete on topic Lathe Macros
Just to let you know, I'm having exactly the same problem, you are not alone. Button doesn't show. 

I'm pretty sure the button is under the image, take a look at this screenshot

 

I didn't want to dive ni glade and other things, but since i'm at it, I will reread the late pages of this post and try to find why the button is so timid.

LinuxCNC 2.8, raspbery pi 4, whatever debian is in the downlodoable image for LinuxCNC 2.8 for pi.

 

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

More
3 years 5 months ago #271551 by Baldorcete
Replied by Baldorcete on topic Lathe Macros
Firts data entry. sim-gmoccapy-lathe-lathe-macros works as expected (I did't know it existed). Time to start comparing files Hopefully I do not need to start glade SDK.

More than two months since I last had a look at this threas, plenty of usefull information here for my problem.

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

Time to create page: 0.647 seconds
Powered by Kunena Forum