explicit settings for 4 axis xyuv ,please

More
03 Feb 2011 20:02 - 03 Feb 2011 20:07 #6981 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

File Attachment:

File Name: controller_4axe.txt
File Size:74 KB
Attachments:
Last edit: 03 Feb 2011 20:07 by dark star.

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

More
04 Feb 2011 21:58 #6997 by andypugh
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/

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

More
04 Feb 2011 23:36 #7000 by dark star
well is not work,..something is wrong...
i post the error messages
pastebin.com/C0u217Rc
also i will attach the configuration .ini and .hal

File Attachment:

File Name: freza_mea.gz
File Size:3 KB
Attachments:

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

More
05 Feb 2011 00:13 #7001 by andypugh
Is that the dmesg output? It seems unusually unhelpful.

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

More
05 Feb 2011 00:20 #7002 by andypugh
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

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

More
05 Feb 2011 10:57 - 05 Feb 2011 11:00 #7007 by step4linux
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
Last edit: 05 Feb 2011 11:00 by step4linux.

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

More
24 Dec 2012 07:40 #27993 by jpratt3000@gmail.com
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
Attachments:

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

More
24 Dec 2012 16:23 #27998 by cncbasher
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

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

More
24 Dec 2012 16:42 #27999 by jpratt3000@gmail.com
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?

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

More
24 Dec 2012 17:12 #28000 by cncbasher
add under each axis in your ini STEPGEN_MAXACCELL = 30

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.186 seconds
Powered by Kunena Forum