Configuring double axis stepper motor

More
17 Feb 2020 11:20 - 17 Feb 2020 11:51 #157581 by Arro
Hallo everybody,

I'm trying to run a double stepper motor (e.g for Y-axis) with the following setup:

- LinuxCNC version: LinuxCNC-uspace 2.9.0
- Communication card: MESA 7i76e (Ethernet connection)

The configuration of the axis-motor is made withing the MESA I/O Connector 1
With the setup of one motor per axis there is no problem, everything working fine.

Issues setting up tandem motor:
1) configuring a tandem STPGEN the XYZ-display mode desappears automatically (maintaining the XYZ config) and the Joint-mode appears instead.
2) configuration of two main STPGEN (no tandem STPGEN ) for a single axis maintains the XYZ-mode on display but does not run both motors together
3) the definition of a tandem STPGEN switches directly to the Joint-mode and gives the test-results as shown on the attachment

Note: test result on case C1 is giving the correct XYZ-mode, so you can select Y for ex to run the Y-axis

Somehow/Somewhen I was able to run two STPGEN simultaneously, unfortunately I don't remember the configuration cause I had to re-install all the OS :((

thanks for sharing
Attachments:
Last edit: 17 Feb 2020 11:51 by Arro. Reason: completing

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

More
17 Feb 2020 12:13 #157589 by bbsr_5a
Hi Welcome
the setupwizard is only for making BASIC setup
open up your TEXTeditor
go to the Folder of the Machine
open up INI File and copy past the JOINT you need to add
XYYZ in Kinetics section and then open up the
HAL File and copy the Y axis to the tird or wherever you connected it STEPGEN

if you add your INI and HAL file here someone will do it for YOU

I myself had to learn that the Wizards are most BASIC and the main thing is to Control it by Texteditor
as of HAL INI you will Very quick understand how to do it and get a better machining
It's not like "ein/Mach3" all in the setup Gui

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

More
17 Feb 2020 12:40 #157595 by cmorley
What is it that you are looking for ? tandem y axis that homes together (so it doesn't show the joint mode first?)

What home switch options did you select?
Could ypu post your config files.

Chris

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

More
17 Feb 2020 13:13 #157600 by Arro
Thank you for the quick reply !

Pls find attached the .ini and .hal files

Seems the XYYZ configuration is already set up. Maybe some other details missing.

Answering to cmorley: the target is... having X Y Z in the display graphics for axis selection and two motors (STEPGEN 1 and STEPGEN 2) running together

Appreciated
Aronne


File Attachment:

File Name: my_LinuxCN...hine.hal
File Size:11 KB

File Attachment:

File Name: my_LinuxCN...hine.ini
File Size:4 KB
Attachments:

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

More
17 Feb 2020 13:31 #157601 by cmorley
you are missing HOME_SEQUENCE entries for each joint in the INI file.
Dp you have home/limit switches?

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

More
17 Feb 2020 13:37 #157602 by Arro
I got it guys...

The problem was the switch from Joint-view to the World-view.
To do this the joint-homing process was necessary and I did not perfomr it...

After homing, just switch to the world-mode and both motors are moving with Y-axis selection

Another new topic learned :)

Cheers for now
Aronne

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

More
17 Feb 2020 13:40 #157603 by Arro
I did not install the limit switch yet, but "forced" the homing process with the "Home Joint" button

Anyway: how do you perform the homing process in the right way ?

It would be the next step... somewhen

Thanks cmorley

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

More
17 Feb 2020 13:55 #157604 by cmorley
There are many options - depends on what you want to do. If you don't home consistently then soft limits become useless.

If you add 'HOME_SEQUENCE = 0' in the INI to each joint then AXIS should pop up a HOME_ALL button rather then having to home each joint - might be handier.

Chris

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

More
17 Feb 2020 13:57 #157605 by cmorley
Without home switches usually one homes to visual marks by jogging the joints to marks then pressing the home button, but that reuires some changes in the INI/HAL

Chris

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

More
17 Feb 2020 14:03 #157608 by Arro
Every time I start the configured LinuxCNC before reaching the world-mode I need to re-perform the Axis-homing.
Is there a way to save it for the next start ?

Just found out.... when you need to re-home a "tandem or master" axis, first you need to un-home both of them and than homing both again !

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

Moderators: cmorley
Time to create page: 0.077 seconds
Powered by Kunena Forum