developing a stepper with encoder config

More
02 Apr 2011 03:53 #8380 by cmorley
This continues zig's offer of testing a sample config (check out feature requests)


So a basic XYZ METRIC machine.
Leadscrews are 5 mm pitch.
Servo motors are directly coupled to the screws.
Linear scale has a basic resolution of 20 micron but in quadrature mode the resolution is 5 micron.
The reader head on the scale outputs an Index pulse for homing as well as an end of travel flag ( a single flag for both positive and negative limits).

Zig what is the stepper drive timings?

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

More
02 Apr 2011 04:27 #8382 by cmorley
here is the basic config files.
stepper timing is not set and PID settings will need to be adjusted.
I didn't add the joystick jogging feature - that can be added later.
I assume the drive steps one step per encoder count.
If you read the read_me that should help with what the connector / pins are.
Check it out to see if there are any obvious thing you would like to changed.
for instance the input / output could be different or moved to different positions.

File Attachment:

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

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

More
02 Apr 2011 04:35 #8384 by cmorley
maybe this is easier:
Attachments:

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

More
02 Apr 2011 04:36 - 02 Apr 2011 04:36 #8385 by cmorley
Attachments:
Last edit: 02 Apr 2011 04:36 by cmorley.

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

More
10 Apr 2011 21:42 #8751 by Zig
Apologies have been away..

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

More
13 Apr 2011 07:36 #8824 by Zig
Chris,

Back on task.

Going through the readme file and looking at pin assignments:

MESA connector 4 pins #20,21 and 22are labeled home-z , home-x and home -y I take it these are home signal inputs.

However...

MESA connector 2 pins #4,5 and 16 are labeled x-encoder-i, y-encoder-i and z-encoder-i index signal inputs used as homing signal inputs by hostmot2 .

What is the difference between these two groups of pins?

File Attachment:

File Name: 5i20interface.zip
File Size:0 KB
Attachments:

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

More
13 Apr 2011 07:38 - 13 Apr 2011 07:42 #8825 by Zig
attachment problems again...



file is a zipped up pdf file.. renamed to jpg so as to may be fool the software to accept a file 128K large


EDIT : no joy in transmitting the large zip file
Attachments:
Last edit: 13 Apr 2011 07:42 by Zig.

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

More
13 Apr 2011 07:51 #8827 by cmorley
the home switch eg home-x is for actual switches.
Usually these are course position switches used with rotary encoders since they have an index pulse every rotation and you need to let EMC know when your close.
The x encoder index is from the encoder for precise home position.
But I guess in your situation you don't need the home-x course switch inputs as you have only one index for home.

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

More
13 Apr 2011 07:57 #8828 by Zig
Chris,

Thanks. I am just going through the design of the interface card which will interface the drivers and Mesa card.

Unfortunately the Zipped up PDF containing the schematic is at 127K .. just a bit too large for the gate to squeeze through.

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

More
13 Apr 2011 08:12 #8829 by Zig
Ok,

Based on previous explanation a circuit reduction has occured whihc now makes for a smaller sipped up pdf .

File Attachment:

File Name: 5i20interf...cae6.zip
File Size:78 KB
Attachments:

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

Moderators: cmorley
Time to create page: 0.146 seconds
Powered by Kunena Forum