×
Forum Header
X,Y,Z,A axis OK.How config. "C" axis ?
16 Feb 2010 23:27 #1936
by Banda
X,Y,Z,A axis OK.How config. "C" axis ? was created by Banda
Hello to everybody!!
from a few months i apprcciate a lot EMC2!
So in this time i have build my machine with 4 axis (X,Y,Z,A) and all work perfectly.
Using stepper motors i have build it using the EMC2's wizard config.
Now i wold like add a new axis "C" to have the fifth axis. (X,Y,Z,A,C) .
I have installed the second parallel port for the I/O connections .
Please can somebody HELP me to configurate the C Axis in the files and in python for the Axis interface ?
With the wizard is possible configurate just 4 axis.
I wold like use the mine current configuration wich work properly.
How i must do to integrate the "C" axis in it?
I'm a new user so I hope somebody can understand me now!
I try to add the code in the files like for the others axis but the result is not so nice...
Please can somebody send me in atthachment of the message an example of this new configuration?
Very Thanks a lot and Ciao from Italy!!!
from a few months i apprcciate a lot EMC2!
So in this time i have build my machine with 4 axis (X,Y,Z,A) and all work perfectly.
Using stepper motors i have build it using the EMC2's wizard config.
Now i wold like add a new axis "C" to have the fifth axis. (X,Y,Z,A,C) .
I have installed the second parallel port for the I/O connections .
Please can somebody HELP me to configurate the C Axis in the files and in python for the Axis interface ?
With the wizard is possible configurate just 4 axis.
I wold like use the mine current configuration wich work properly.
How i must do to integrate the "C" axis in it?
I'm a new user so I hope somebody can understand me now!
I try to add the code in the files like for the others axis but the result is not so nice...
Please can somebody send me in atthachment of the message an example of this new configuration?
Very Thanks a lot and Ciao from Italy!!!
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
17 Feb 2010 07:20 #1939
by step4linux
Replied by step4linux on topic Re:X,Y,Z,A axis OK.How config. "C" axis ?
As far as my experiences are, EMC2 does not like "gaps" in axis config, so you shall add axis B and C to use C.
Why not use B ?
What means exactly "result looks not so nice" ?
Would be easier to help if you publish what you have added to ini and hal.
rgds, Gerd
Why not use B ?
What means exactly "result looks not so nice" ?
Would be easier to help if you publish what you have added to ini and hal.
rgds, Gerd
Please Log in or Create an account to join the conversation.
19 Feb 2010 00:16 #1960
by Banda
Replied by Banda on topic X,Y,Z,A axis OK.How config. "C" axis ?
Dear Gerd!
Very Thanks for Your quick answer to me!!
Excusme but i'm a new user of EMC2 and so apologize me if i ask to you very elementary concepts.
Ok I understand about B axis. I must configure it to use Axis C.
I have configurated my machine using the wizard in EMC2.
I use it with the configuration of axis X,Y,Z,A and was very easy for me all connections and setup of the machine.
My machine is working well.
Now i wold like use a new axis C (rotative of Z axis)
Ok i understand i need use the configuration with axis B too to no have any problem with C.
Mine problem is configure this 2 new axis in mine .ini and .hal files.
So please can you send to me a complete configuration born from the wizard with X,Y,Z,A axis and than the code to add to it to configure the new axis B and C?
I will apprrecciate a lot because in this mode i can understand where make the rigth changes to the mine current configuration.
Very Thanks for your help!!!
This is the mine first machine with EMC2.
So please understand me!
Very,Very, Thanks,
kind Regards,
Luciano.
Very Thanks for Your quick answer to me!!
Excusme but i'm a new user of EMC2 and so apologize me if i ask to you very elementary concepts.
Ok I understand about B axis. I must configure it to use Axis C.
I have configurated my machine using the wizard in EMC2.
I use it with the configuration of axis X,Y,Z,A and was very easy for me all connections and setup of the machine.
My machine is working well.
Now i wold like use a new axis C (rotative of Z axis)
Ok i understand i need use the configuration with axis B too to no have any problem with C.
Mine problem is configure this 2 new axis in mine .ini and .hal files.
So please can you send to me a complete configuration born from the wizard with X,Y,Z,A axis and than the code to add to it to configure the new axis B and C?
I will apprrecciate a lot because in this mode i can understand where make the rigth changes to the mine current configuration.
Very Thanks for your help!!!
This is the mine first machine with EMC2.
So please understand me!
Very,Very, Thanks,
kind Regards,
Luciano.
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
19 Feb 2010 07:18 #1961
by step4linux
Replied by step4linux on topic Re:X,Y,Z,A axis OK.How config. "C" axis ?
Luciano,
in ini file
change these lines in TRAJ section:
add axis sections (just copy the complete section AXIS_3 and rename the sections)
in hal:
add axis sections like this by copy and paste, but be sure to rename everything properly.
3 becomes 4 and 5
a becomes b and c
add the apropriate lines in the parport section, to output cstep, cdir.
out of my head, this should do it.
rgds, Gerd
in ini file
change these lines in TRAJ section:
AXES = 6
COORDINATES = X Y Z A B C
add axis sections (just copy the complete section AXIS_3 and rename the sections)
[AXIS_4]
[AXIS_5]
in hal:
add axis sections like this by copy and paste, but be sure to rename everything properly.
3 becomes 4 and 5
a becomes b and c
setp stepgen.3.position-scale [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 35000
setp stepgen.3.dirsetup 35000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable
add the apropriate lines in the parport section, to output cstep, cdir.
out of my head, this should do it.
rgds, Gerd
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
19 Feb 2010 07:27 #1962
by step4linux
Replied by step4linux on topic Re:X,Y,Z,A axis OK.How config.
forgot (at least) one thing in hal:
loadrt stepgen step_type=0,0,0,0,0,0
(six times "0")
loadrt stepgen step_type=0,0,0,0,0,0
(six times "0")
Please Log in or Create an account to join the conversation.
20 Feb 2010 12:19 #1967
by Banda
Replied by Banda on topic Re:X,Y,Z,A axis OK.How config.
Dear Gerd!!
It's Fantastic for me Your Help!!!
I have to try the modification you comunicate to me but now the concept is really more clear for me !
In a few days i try and than i comunicate to You the result.
With this help to me i'm sure will be perfect!!|
Very Very Thanks for Your Courtesy and patience with me!!!
Grazie ,
Kind Regards,
Luciano.
It's Fantastic for me Your Help!!!
I have to try the modification you comunicate to me but now the concept is really more clear for me !
In a few days i try and than i comunicate to You the result.
With this help to me i'm sure will be perfect!!|
Very Very Thanks for Your Courtesy and patience with me!!!
Grazie ,
Kind Regards,
Luciano.
Please Log in or Create an account to join the conversation.
27 Feb 2010 16:13 #2094
by Banda
Replied by Banda on topic Re:X,Y,Z,A axis OK.How config.
Dear Gerd!!
All is perfect and working!
Very, Very Thanks for Your help to me!!!
Ciao a presto,
Kind Regards!
Luciano
All is perfect and working!
Very, Very Thanks for Your help to me!!!
Ciao a presto,
Kind Regards!
Luciano
Please Log in or Create an account to join the conversation.
22 Mar 2010 23:47 #2416
by m8298
Replied by m8298 on topic Re:X,Y,Z,A axis OK.How config.
Hello,
I am also a new user, trying to grasp the same basic concepts. I am trying to implement a n XZC axis configuration on what would be a lathe, using axis C in place of a spindle motor. If I read this post correctly, in EMC I would have to configure unused axis A and B to be able to configure axis C?
I am also a new user, trying to grasp the same basic concepts. I am trying to implement a n XZC axis configuration on what would be a lathe, using axis C in place of a spindle motor. If I read this post correctly, in EMC I would have to configure unused axis A and B to be able to configure axis C?
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
24 Mar 2010 06:24 #2427
by step4linux
Replied by step4linux on topic Re:X,Y,Z,A axis OK.How config.
m8298 wrote:
From my experience, I would say yes, but I would appreciate a comment of an EMC insider.
- Gerd
If I read this post correctly, in EMC I would have to configure unused axis A and B to be able to configure axis C?
From my experience, I would say yes, but I would appreciate a comment of an EMC insider.
- Gerd
Please Log in or Create an account to join the conversation.
25 Mar 2010 23:48 #2447
by Banda
Replied by Banda on topic Re:X,Y,Z,A axis OK.How config.
Hello m 8298!
I'm working with this configuration:
Axis X,Y,Z,A,B(not used),C used.
All is perfectly working.
I think you have to configure A,B and no use those for work with C axis.
Pratically i have the same condition.
Kind Regards,
Banda
I'm working with this configuration:
Axis X,Y,Z,A,B(not used),C used.
All is perfectly working.
I think you have to configure A,B and no use those for work with C axis.
Pratically i have the same condition.
Kind Regards,
Banda
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds