Configuring double axis stepper motor
17 Feb 2020 11:20 - 17 Feb 2020 11:51 #157581
by Arro
Configuring double axis stepper motor was created 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
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
Last edit: 17 Feb 2020 11:51 by Arro. Reason: completing
Please Log in or Create an account to join the conversation.
17 Feb 2020 12:13 #157589
by bbsr_5a
Replied by bbsr_5a on topic Configuring double axis stepper motor
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
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.
17 Feb 2020 12:40 #157595
by cmorley
Replied by cmorley on topic Configuring double axis stepper motor
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
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.
17 Feb 2020 13:13 #157600
by Arro
Replied by Arro on topic Configuring double axis stepper motor
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
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
Attachments:
Please Log in or Create an account to join the conversation.
17 Feb 2020 13:31 #157601
by cmorley
Replied by cmorley on topic Configuring double axis stepper motor
you are missing HOME_SEQUENCE entries for each joint in the INI file.
Dp you have home/limit switches?
Dp you have home/limit switches?
Please Log in or Create an account to join the conversation.
17 Feb 2020 13:37 #157602
by Arro
Replied by Arro on topic Configuring double axis stepper motor
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
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.
17 Feb 2020 13:40 #157603
by Arro
Replied by Arro on topic Configuring double axis stepper motor
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
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.
17 Feb 2020 13:55 #157604
by cmorley
Replied by cmorley on topic Configuring double axis stepper motor
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
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.
17 Feb 2020 13:57 #157605
by cmorley
Replied by cmorley on topic Configuring double axis stepper motor
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
Chris
Please Log in or Create an account to join the conversation.
17 Feb 2020 14:03 #157608
by Arro
Replied by Arro on topic Configuring double axis stepper motor
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 !
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