setup of etch servo for 3 axis

More
03 Aug 2012 20:59 #22739 by jancu
Can anyone please help me to convert etch servo from a two axis to a 3 axis.When i try to use pncconf wizard i cant find the etch servo pncconf file to be able to edit it.

thanks

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

More
03 Aug 2012 23:47 #22749 by andypugh
jancu wrote:

Can anyone please help me to convert etch servo from a two axis to a 3 axis.When i try to use pncconf wizard i cant find the etch servo pncconf file to be able to edit it.s


Pncconf is for Mesa hardware, stepconf is for stepper systems.
The only solution for etch-servo is to hand edit.

Which I did because it seemed easy, then I realised that it isn't possible because a parport doesn't have enough IO lines of the right sort.

But here is the config anyway.

File Attachment:

File Name: etch_servo.zip
File Size:5 KB
Attachments:

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

More
04 Aug 2012 17:25 #22783 by jancu
is it possible to use a second lpt card and then run the 3 rd servo from it?
where do you enter the amount of encoder inputs for one motor rotation?

thanks for your help

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

More
04 Aug 2012 17:36 #22784 by andypugh
jancu wrote:

is it possible to use a second lpt card and then run the 3 rd servo from it?

Yes, that is what you would have to do. Then you would need to alter that version of the config that I posted to suit. (It ought to work, expect for having a missing encoder channel)

where do you enter the amount of encoder inputs for one motor rotation?

In that config the values are read by the HAL file from the INI file. [AXIS_N] ENCODER_SCALE

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

More
04 Aug 2012 18:56 #22789 by jancu
cant find encoder scale,only input scale in ini file,is this right

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

More
04 Aug 2012 19:04 #22790 by andypugh
jancu wrote:

cant find encoder scale,only input scale in ini file,is this right

Probably :-)
What does the HAL file have in it?

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

More
11 Nov 2013 02:34 - 11 Nov 2013 02:44 #40708 by Boogie
bit old topic but:

i think 'etch servo' project can be slightly modificated to save LPT pins. Look at my schematic. I used 4011 NAND gates to invert direction sinal from LPT port instead of software inverting in HAL file. I also used 4081 AND gates to put the same propagation time between LPT and L298 to make both enable lines switching at the same time. According to schematic up to four DC motors can be driven for XYZA operation or XY axis plus Z axis motor with doubled current (by shorting jumpers JP1, JP2 and JP3). I searched the web to find if L298 can be used in such a configuration and some sources said it does, the other said it doesn't. Got to try:)


Using this mod HAL file should be modificated:

net Xdir => parport.0.pin-02-out
net Xdir => parport.0.pin-07-out
setp parport.0.pin-07-out-invert TRUE

net Xpwm => parport.0.pin-03-out

Red coloured lines should be deleted as invertion is done by cheap logic gates on PCB.
All encoder inputs (including MPG) will be hooked up to the second parport but there are many I/O's left on the first parport.
Hope this will work. I'll check it as soon as possible and let ya know.
Attachments:
Last edit: 11 Nov 2013 02:44 by Boogie. Reason: forgot attach an image

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

Time to create page: 0.238 seconds
Powered by Kunena Forum