Let me know

More
22 Jun 2014 20:29 #48179 by nissjay
Let me know was created by nissjay
Hi Big John T/ Arceye,
I step config 4 axis and manually modified ini file for 6 axis (works ok) but I so far could not get get
modified my hal file.
I entered parport1=0 and parport2= 1 and as soon as I entered 5th axis (axis b) came up with an error
cmd axis.0.motor-pos-cmd command already used in x axis.
Please let me know how I config second parport axis.
Hal file is attached.

Thanking you
Regards

Nissjay

File Attachment:

File Name: TESTING_2.hal
File Size:5 KB
Attachments:

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

More
22 Jun 2014 20:56 #48180 by ArcEye
Replied by ArcEye on topic Let me know

loadrt hal_parport cfg="0x378 out 0X278 out "


Is your second parport really 0x278 ?
That is normally a hardware address, any add on PCI cards are normally in a much higher address

loadrt stepgen step_type=0,0,0,0


You still only have 4 stepgens-
loadrt stepgen step_type=0,0,0,0,0,0 will give 6 of type 0

axis.0.motor-pos-cmd command already used in x axis.


So it is, the number denotes the axis, axis 5 is 4, axis 6 is 5, because they are zero based

Please let me know how I config second parport axis.


You basically copy all the settings for the first parport in relation to X and Y and change the parport number, the axis number etc to match B and C

You will also need to add the axes to your ini file and ensure that
[TRAJ]
AXES = 6
COORDINATES = X Y Z A B C
(or whatever is correct, however if you are using U V W, you need to declare all the axes ie 9 and just use 0 1 2 6 7 8)

regards

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

Time to create page: 0.065 seconds
Powered by Kunena Forum