Encoder.9
19 Jun 2010 09:36 #3172
by molotow
Hello,
I am new to this forum and also new to HAL.
I want to create G-code by hand.
The idea is:
3 Encoders, which are connected in a linear axis system. If i move any axis by hand, then
the Encoder will recognise and return the coordinates of the way that has been covered.
For this i want to use the HAL Component "encoder.9".
Is this possibly?
if it is:
Where can i get such an encoder and how are they called?
Greetz
Sebastian
I am new to this forum and also new to HAL.
I want to create G-code by hand.
The idea is:
3 Encoders, which are connected in a linear axis system. If i move any axis by hand, then
the Encoder will recognise and return the coordinates of the way that has been covered.
For this i want to use the HAL Component "encoder.9".
Is this possibly?
if it is:
Where can i get such an encoder and how are they called?
Greetz
Sebastian
Please Log in or Create an account to join the conversation.
19 Jun 2010 16:04 #3176
by PCW
Replied by PCW on topic Re:Encoder.9
Yes, the HAL encoder component will work for this.
There is also a a HAL component caller HALSampler than can store sampled positions from the encoders in a file.
These encoders are called incremental or quadrature encoders. They come in both rotary
and linear versions (linear ones are usually more expensive)
Machine tools often have rotary encoders on their lead screws.
If you are only measuring and this is not part of a material shaping machine
there are probably easier ways to do what you want (3D air mice?)
There is also a a HAL component caller HALSampler than can store sampled positions from the encoders in a file.
These encoders are called incremental or quadrature encoders. They come in both rotary
and linear versions (linear ones are usually more expensive)
Machine tools often have rotary encoders on their lead screws.
If you are only measuring and this is not part of a material shaping machine
there are probably easier ways to do what you want (3D air mice?)
Please Log in or Create an account to join the conversation.
21 Jun 2010 14:57 #3189
by molotow
Replied by molotow on topic Re:Encoder.9
Hello,
thx for your reply...
First:
Yes, it is part of a material shapping machine.
I've found this quadrature encoder:
www.alliedelec.com/Images/Products/DataS...-Control_9196053.pdf
But now i don't know if i need a special PCI-Card, or will it work with my regular card.
If yes:
Does anyone know a PCI-Card that works for EMC?
Greetz
Sebastian
thx for your reply...
First:
Yes, it is part of a material shapping machine.
I've found this quadrature encoder:
www.alliedelec.com/Images/Products/DataS...-Control_9196053.pdf
But now i don't know if i need a special PCI-Card, or will it work with my regular card.
If yes:
Does anyone know a PCI-Card that works for EMC?
Greetz
Sebastian
Please Log in or Create an account to join the conversation.
21 Jun 2010 16:01 #3190
by PCW
Replied by PCW on topic Re:Encoder.9
usdigital.com/
is a good and inexpensive source of encoders
If you already have a machine, does it have encoders already or is is a step motor based machine?
are you running the machine now under EMC?
Depending on how fast the maximum encoder count rate rate is (this is proportional to velocity* encoder resolution)
you can count with just parallel port inputs (using the HAL Encoder component) or you may need fancier hardware
faster than 50 KHz or so would likely require a special quadrature counter card (Mesa,Pico,Motenc etc)
is a good and inexpensive source of encoders
If you already have a machine, does it have encoders already or is is a step motor based machine?
are you running the machine now under EMC?
Depending on how fast the maximum encoder count rate rate is (this is proportional to velocity* encoder resolution)
you can count with just parallel port inputs (using the HAL Encoder component) or you may need fancier hardware
faster than 50 KHz or so would likely require a special quadrature counter card (Mesa,Pico,Motenc etc)
Please Log in or Create an account to join the conversation.
22 Jun 2010 06:50 #3194
by molotow
Replied by molotow on topic Re:Encoder.9
Yes, i already have a machine, but just a step motor based one.
Yes, it is running under EMC.
But i don't think that i'll get faster then 50KHz, because i just wanna use the encoders by hand, without a motor.
So, do i just need an encoder for my project?
Yes, it is running under EMC.
But i don't think that i'll get faster then 50KHz, because i just wanna use the encoders by hand, without a motor.
So, do i just need an encoder for my project?
Please Log in or Create an account to join the conversation.
15 Jul 2010 09:57 #3358
by Zig
Replied by Zig on topic Re:Encoder.9
Molotow,
You wish to implement a digital read out of XYZ values.
To do that You will need a number of LPT ports or an interface card.
The LPT port has 8 outputs and three( i think) inputs ( bidirectional pins)
The Encoder outputs ( usually ) two pulse trains which are 90 degrees apart. This way You can determiine both distance traveled and direction of movement.
Two input lines per encoder. Very soon You will run out of input pins.
I have just had some good experience with Mesa Electronics 5I20 PCI card . Price approximately USD 200. Mesa have an interface card which plugs in via paralell port. It has many more IO lines and may be a good solution for Your needs. I think it is about 70 USD.
On the other hand an LPT card with two ports ( in addition to what You have ) will be a lot cheaper and will have enough IO lines.
You wish to implement a digital read out of XYZ values.
To do that You will need a number of LPT ports or an interface card.
The LPT port has 8 outputs and three( i think) inputs ( bidirectional pins)
The Encoder outputs ( usually ) two pulse trains which are 90 degrees apart. This way You can determiine both distance traveled and direction of movement.
Two input lines per encoder. Very soon You will run out of input pins.
I have just had some good experience with Mesa Electronics 5I20 PCI card . Price approximately USD 200. Mesa have an interface card which plugs in via paralell port. It has many more IO lines and may be a good solution for Your needs. I think it is about 70 USD.
On the other hand an LPT card with two ports ( in addition to what You have ) will be a lot cheaper and will have enough IO lines.
Please Log in or Create an account to join the conversation.
16 Jul 2010 13:14 #3363
by andypugh
Replied by andypugh on topic Re:Encoder.9
Zig wrote:
You can configure the LPT port for input. That gives you 13 inputs. That is enough for 4 axes of encoders.The LPT port has 8 outputs and three( i think) inputs ( bidirectional pins)
Please Log in or Create an account to join the conversation.
16 Jul 2010 23:31 #3380
by Zig
Replied by Zig on topic Re:Encoder.9
OK so its five not three bidirectional pins.
I do sincerey doubt You can configure the eight output pins into input pins.
I do sincerey doubt You can configure the eight output pins into input pins.
Please Log in or Create an account to join the conversation.
17 Jul 2010 00:06 #3381
by andypugh
Replied by andypugh on topic Re:Encoder.9
Please Log in or Create an account to join the conversation.
17 Jul 2010 00:35 #3382
by Zig
Replied by Zig on topic Re:Encoder.9
Andypugh,
I stand corrected, Thank you .. it is possible to get a larger number of Input pins than I understood.
I stand corrected, Thank you .. it is possible to get a larger number of Input pins than I understood.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds