QTPlasmac and mesa7I96 questions

More
10 Nov 2021 10:50 - 10 Nov 2021 10:51 #225951 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

 

File Attachment:

File Name: Mesa_test_...6.tar.gz
File Size:11 KB

 
Attachments:
Last edit: 10 Nov 2021 10:51 by RDA.

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

More
10 Nov 2021 11:15 #225952 by RNJFAB
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.

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

More
10 Nov 2021 11:27 #225958 by RDA
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?)

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

More
10 Nov 2021 11:58 #225963 by rodw
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.

More
10 Nov 2021 12:08 #225968 by RDA
Hello,

Which doc you refer? I wasnt able find anything from the QTPlasmac doc.

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

More
10 Nov 2021 12:12 #225970 by rodw
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
 

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

More
10 Nov 2021 12:26 #225976 by RDA
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).

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

More
10 Nov 2021 12:51 #225978 by bevins
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.
The following user(s) said Thank You: snowgoer540

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

More
11 Nov 2021 09:11 #226084 by RDA
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:
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
But 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.

File Attachment:

File Name: Mesa_test.hal
File Size:12 KB
 

File Attachment:

File Name: Mesa_test.ini
File Size:5 KB
.ext_out_0
Attachments:

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

More
11 Nov 2021 11:00 #226092 by rodw
Try
# --- DOUT-00 ---
net critical-pin qtplasmac.ext_out0  =>     hm2_7i96.0.ssr.00.out-00
You need a signal name

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

Moderators: snowgoer540
Time to create page: 0.188 seconds
Powered by Kunena Forum