QTPlasmac and mesa7I96 questions
- RDA
- Offline
- Premium Member
Less
More
- Posts: 135
- Thank you received: 36
10 Nov 2021 10:50 - 10 Nov 2021 10:51 #225951
by RDA
QTPlasmac and mesa7I96 questions was created by RDA
Hello,
Im trying to take a peek at qtplasmac and mesa. I dont have an actual machine but I was thinking about spinning some motors and just playing around with it. I have 2 questions:
- I am not able to home the Y-axis and I dont seem to be able to disable homing. I assumed that NO_FORCE_HOMING = 1 would allow me to hog without homing but seems thats not the case? I have almost everything disbaled but cant get the machine to "Power ON"
- Laser button, I wanted a user button to toggle an output and thought to use the laser, im doing something incorrectly as I get an error about the button code
BUTTON_7_NAME = LASER
BUTTON_7_CODE = toggle-halpin qtplasmac.laser_on runcritical
Im trying to take a peek at qtplasmac and mesa. I dont have an actual machine but I was thinking about spinning some motors and just playing around with it. I have 2 questions:
- I am not able to home the Y-axis and I dont seem to be able to disable homing. I assumed that NO_FORCE_HOMING = 1 would allow me to hog without homing but seems thats not the case? I have almost everything disbaled but cant get the machine to "Power ON"
- Laser button, I wanted a user button to toggle an output and thought to use the laser, im doing something incorrectly as I get an error about the button code
BUTTON_7_NAME = LASER
BUTTON_7_CODE = toggle-halpin qtplasmac.laser_on runcritical
Attachments:
Last edit: 10 Nov 2021 10:51 by RDA.
Please Log in or Create an account to join the conversation.
- RNJFAB
- Offline
- Elite Member
Less
More
- Posts: 194
- Thank you received: 45
10 Nov 2021 11:15 #225952
by RNJFAB
Replied by RNJFAB on topic QTPlasmac and mesa7I96 questions
when you config the machine you can choose the force home before being able to do anything. disable this when you set it up.
Laser button to toggle laser on and off. I haven't got this worked out yet but others have. I'm sure they will add to this soon.
Laser button to toggle laser on and off. I haven't got this worked out yet but others have. I'm sure they will add to this soon.
Please Log in or Create an account to join the conversation.
- RDA
- Offline
- Premium Member
Less
More
- Posts: 135
- Thank you received: 36
10 Nov 2021 11:27 #225958
by RDA
Replied by RDA on topic QTPlasmac and mesa7I96 questions
Hello,
Thanks the box for "require homing" is already unchecked. I am able to Click home on y and z but not Y (can it be ralted to having a sync axis on y?)
Thanks the box for "require homing" is already unchecked. I am able to Click home on y and z but not Y (can it be ralted to having a sync axis on y?)
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10738
- Thank you received: 3541
10 Nov 2021 11:58 #225963
by rodw
Replied by rodw on topic QTPlasmac and mesa7I96 questions
If you check homing configuration in the docs, ther is a heading for immediate homing. I would set up for that. Not sure you can use 2 motors on the gantry that way without home switches so just male it a XYZ machine with 3 motorx.
Please Log in or Create an account to join the conversation.
- RDA
- Offline
- Premium Member
Less
More
- Posts: 135
- Thank you received: 36
10 Nov 2021 12:08 #225968
by RDA
Replied by RDA on topic QTPlasmac and mesa7I96 questions
Hello,
Which doc you refer? I wasnt able find anything from the QTPlasmac doc.
Which doc you refer? I wasnt able find anything from the QTPlasmac doc.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10738
- Thank you received: 3541
10 Nov 2021 12:12 #225970
by rodw
Replied by rodw on topic QTPlasmac and mesa7I96 questions
Its nothing to do with QTplasmac. It part of the linuxcnc core.
From the main docs, click open Configuration and there is a link to this. Probably the most important page in the docs!
linuxcnc.org/docs/devel/html/config/ini-homing.html
From the main docs, click open Configuration and there is a link to this. Probably the most important page in the docs!
linuxcnc.org/docs/devel/html/config/ini-homing.html
Please Log in or Create an account to join the conversation.
- RDA
- Offline
- Premium Member
Less
More
- Posts: 135
- Thank you received: 36
10 Nov 2021 12:26 #225976
by RDA
Replied by RDA on topic QTPlasmac and mesa7I96 questions
Aah thanks, also the homing issue was about the tandem axis...
Any tips on the user button to toggle an output (I dont need to use the laser, just an output from the mesa).
Any tips on the user button to toggle an output (I dont need to use the laser, just an output from the mesa).
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1945
- Thank you received: 335
10 Nov 2021 12:51 #225978
by bevins
Replied by bevins on topic QTPlasmac and mesa7I96 questions
I am pretty sure you can manually home and jog with a gantry. I have done it before.
Adding a button in QTplasmac is pretty well documented.
Add a User Button
Then you can manually edit hal files to do whatever you want.
Adding a button in QTplasmac is pretty well documented.
Add a User Button
Then you can manually edit hal files to do whatever you want.
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
- RDA
- Offline
- Premium Member
Less
More
- Posts: 135
- Thank you received: 36
11 Nov 2021 09:11 #226084
by RDA
Replied by RDA on topic QTPlasmac and mesa7I96 questions
Ok so I´m a bit lost, something just doesn click in my head...
From the plasmac manual:
The following HAL bit output pins are always created and can be used by either the Toggle HAL Pin or Pulse HAL Pin custom user buttons to change the state of an output.
qtplasmac.ext_out_0
qtplasmac.ext_out_1
qtplasmac.ext_out_2
I cant find these from HAL show or from my "mesa_test.hal". But I tried this anyway:
Mesa_test.ini:
Mesa_test.halBut no dice, I have tried to look from the manuals and the mighty google but there is something that I dont understand or maybe I am doing it wrong.
As far as I understand in the button code I refer to a pin to be toggled and then in the hal file I map the pin to an output. Could someone please point me to the correct direction or give me some bed time reading?
Dont mind the # in the files.
.ext_out_0
From the plasmac manual:
The following HAL bit output pins are always created and can be used by either the Toggle HAL Pin or Pulse HAL Pin custom user buttons to change the state of an output.
qtplasmac.ext_out_0
qtplasmac.ext_out_1
qtplasmac.ext_out_2
I cant find these from HAL show or from my "mesa_test.hal". But I tried this anyway:
Mesa_test.ini:
BUTTON_7_NAME = ENABLE
BUTTON_7_CODE = toggle-halpin qtplasmac.ext_out0 runcritical
Mesa_test.hal
# --- DOUT-00 ---
net qtplasmac.ext_out0 => hm2_7i96.0.ssr.00.out-00
As far as I understand in the button code I refer to a pin to be toggled and then in the hal file I map the pin to an output. Could someone please point me to the correct direction or give me some bed time reading?
Dont mind the # in the files.
.ext_out_0
Attachments:
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10738
- Thank you received: 3541
11 Nov 2021 11:00 #226092
by rodw
Replied by rodw on topic QTPlasmac and mesa7I96 questions
TryYou need a signal name
# --- DOUT-00 ---
net critical-pin qtplasmac.ext_out0 => hm2_7i96.0.ssr.00.out-00
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.074 seconds