explicit settings for 4 axis xyuv ,please
03 Feb 2011 20:02 - 03 Feb 2011 20:07 #6981
by dark star
explicit settings for 4 axis xyuv ,please was created by dark star
hello everybody. greetings for Romania,... I'm new on emc2 and linux too. i want to please to help me to
settings on emc2 for 4 axis foam configuration. i read many post's and i am very confused about these settings. i have buy a electronic for 4 axis (stepper motors) with 4 output axes : x,y,a,b .Any sugestion are welcome. Emc2 is great software
i Attached the electronics configuration...please rename as .PDF
Thanks a lot
Sincerelly, Dan Rusu
settings on emc2 for 4 axis foam configuration. i read many post's and i am very confused about these settings. i have buy a electronic for 4 axis (stepper motors) with 4 output axes : x,y,a,b .Any sugestion are welcome. Emc2 is great software
i Attached the electronics configuration...please rename as .PDF
Thanks a lot
Sincerelly, Dan Rusu
Last edit: 03 Feb 2011 20:07 by dark star.
Please Log in or Create an account to join the conversation.
04 Feb 2011 21:58 #6997
by andypugh
Replied by andypugh on topic Re:explicit settings for 4 axis xyuv ,please
Start with stepconf and create an XYZA configuration to start with, using the pin assignments and timings from that document.
You will then need to edit the HAL and INI files by hand to make an XYUV machine. These will be found in ~/emc/configs/
Start with the INI file. You will need to define 8 axes (unfortunately). Simply copy and paste the [AXIS_0] to [AXIS_3] sections and rename to [AXIS_5] to [AXIS_7]
Set COORDINATES to XYUV
In the HAL file you will then need to change all axis.2…… occurrences to axis.6 and axis.3 to axis.7. That should be enough.
In future versions of EMC2 it will be possible to have only 4 motors and 4 axes, but at the moment EMC2 assumes that you have Z, A, B and C if you have U.
Start emc2 by typing emc at the command line rather than using the icons, that way you will see a lot more debug information. I doubt it will work first time, to feel free to paste error lists and dmesg output to www.pastebin.com or www.pastebin.ca so we can tell you what is wrong.
By the way, we have several other users (and one developer) in Romania.
www.linuxcnc.org/component/option,com_go...t/Itemid,19/lang,en/
You will then need to edit the HAL and INI files by hand to make an XYUV machine. These will be found in ~/emc/configs/
Start with the INI file. You will need to define 8 axes (unfortunately). Simply copy and paste the [AXIS_0] to [AXIS_3] sections and rename to [AXIS_5] to [AXIS_7]
Set COORDINATES to XYUV
In the HAL file you will then need to change all axis.2…… occurrences to axis.6 and axis.3 to axis.7. That should be enough.
In future versions of EMC2 it will be possible to have only 4 motors and 4 axes, but at the moment EMC2 assumes that you have Z, A, B and C if you have U.
Start emc2 by typing emc at the command line rather than using the icons, that way you will see a lot more debug information. I doubt it will work first time, to feel free to paste error lists and dmesg output to www.pastebin.com or www.pastebin.ca so we can tell you what is wrong.
By the way, we have several other users (and one developer) in Romania.
www.linuxcnc.org/component/option,com_go...t/Itemid,19/lang,en/
Please Log in or Create an account to join the conversation.
04 Feb 2011 23:36 #7000
by dark star
Replied by dark star on topic Re:explicit settings for 4 axis xyuv ,please
well is not work,..something is wrong...
i post the error messages
pastebin.com/C0u217Rc
also i will attach the configuration .ini and .hal
i post the error messages
pastebin.com/C0u217Rc
also i will attach the configuration .ini and .hal
Please Log in or Create an account to join the conversation.
05 Feb 2011 00:13 #7001
by andypugh
Replied by andypugh on topic Re:explicit settings for 4 axis xyuv ,please
Is that the dmesg output? It seems unusually unhelpful.
Please Log in or Create an account to join the conversation.
05 Feb 2011 00:20 #7002
by andypugh
Replied by andypugh on topic Re:explicit settings for 4 axis xyuv ,please
I think I see it, you only have 4 stepgens and 8 axes.
As it happens, you only need (or want) 4 stepgens, as running extra ones wastes CPU
change the HAL file so that
stepgen.0 == axis.0
stepgen.1 == axis.1
stepgen.2 == axis.6
stepgen.3 == axis.7
Also, I forgot than in the INI file you need [TRAJ] AXES = 8
As it happens, you only need (or want) 4 stepgens, as running extra ones wastes CPU
change the HAL file so that
stepgen.0 == axis.0
stepgen.1 == axis.1
stepgen.2 == axis.6
stepgen.3 == axis.7
Also, I forgot than in the INI file you need [TRAJ] AXES = 8
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
05 Feb 2011 10:57 - 05 Feb 2011 11:00 #7007
by step4linux
Replied by step4linux on topic Re:explicit settings for 4 axis xyuv ,please
There is a complete config here:
code.google.com/p/emc2hotwinch/
Take the "hotwire", not the "hotwinch" version, I assume you have linear axes.
Unfortunately some parts are only in German language, because I was too lazy to translate.
Gerd
code.google.com/p/emc2hotwinch/
Take the "hotwire", not the "hotwinch" version, I assume you have linear axes.
Unfortunately some parts are only in German language, because I was too lazy to translate.
Gerd
Last edit: 05 Feb 2011 11:00 by step4linux.
Please Log in or Create an account to join the conversation.
- jpratt3000@gmail.com
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
24 Dec 2012 07:40 #27993
by jpratt3000@gmail.com
Replied by jpratt3000@gmail.com on topic explicit settings for 4 axis xyuv ,please
Hello - I to am having issues with getting an XYUV setup working. The debug says there is an issue with the scale for axis 0, but its there. i've pasted the code here - pastebin.com/UFX2b3VW
Any help would be great!
Jason
Any help would be great!
Jason
Please Log in or Create an account to join the conversation.
24 Dec 2012 16:23 #27998
by cncbasher
Replied by cncbasher on topic explicit settings for 4 axis xyuv ,please
mdf-foam_cutter.hal:37: Ini variable '[AXIS_0]SCALE' not found.
if you look in your INI file you do not have an value for entry called SCALE under AXIS_0
although you do have one called INPUT_SCALE and OUTPUT_SCALE
rename the one you wish to select etc , you will find it will error on all axis as they all appear to be the same format
if you look in your INI file you do not have an value for entry called SCALE under AXIS_0
although you do have one called INPUT_SCALE and OUTPUT_SCALE
rename the one you wish to select etc , you will find it will error on all axis as they all appear to be the same format
Please Log in or Create an account to join the conversation.
- jpratt3000@gmail.com
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
24 Dec 2012 16:42 #27999
by jpratt3000@gmail.com
Replied by jpratt3000@gmail.com on topic explicit settings for 4 axis xyuv ,please
I caught that shortly after I posted it. However, now it seems to be crashing the app. I am using the latest from the 2.6 branch.
Is this available in the 2.5 stable trunk?
Is this available in the 2.5 stable trunk?
Please Log in or Create an account to join the conversation.
24 Dec 2012 17:12 #28000
by cncbasher
Replied by cncbasher on topic explicit settings for 4 axis xyuv ,please
add under each axis in your ini STEPGEN_MAXACCELL = 30
30 is just an arbatary value tweak it later ...
30 is just an arbatary value tweak it later ...
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds