Hello Guest it is October 16, 2019, 06:33:26 AM

Author Topic: How to config a linear scale?  (Read 3040 times)

0 Members and 1 Guest are viewing this topic.

How to config a linear scale?
« on: April 17, 2008, 02:38:12 PM »
How to config a linear scale ? I know the pins on parallel port (A pin9 , B pin10, R pin11) but I dont know where I should put these pins numbers to make the scale works.
I tried to config on Config -> Port and pins -> Encoders/MPG's (A-Port # and B-Port #), but nothing happened.

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: How to config a linear scale?
« Reply #1 on: April 17, 2008, 04:09:15 PM »
What is the R to pin 11 for?

Hood

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: How to config a linear scale?
« Reply #2 on: April 17, 2008, 05:31:32 PM »
Hi, Danie

If you set a,b, to #1 MPG pin's and use the TAB key "Jog" window you should see movement on the DRO for the axis selected, See pic. Below.

Use the Jog Mode button to set to MPG, then Alt A to select Axis X, then move the lin. scale.

Hope this Helps, Chip
« Last Edit: April 17, 2008, 05:39:32 PM by Chip »
Re: How to config a linear scale?
« Reply #3 on: April 22, 2008, 06:45:19 AM »
Hi Hood

Sorry instead of R is Z pin, I read on datasheet that this pin is used to reference or zero pulse.

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: How to config a linear scale?
« Reply #4 on: April 22, 2008, 08:09:25 AM »
ok you dont need the Index if you are just using it for measurement.
What you want to do is put the A and B to 2 pins and then configure in ports and pins/  encoder as you mentioned earlier. You will also have to have a power source to your encoder, make sure your encoder is 5v.
Hood
Re: How to config a linear scale?
« Reply #5 on: April 22, 2008, 08:34:48 AM »
Ok I will take the pins of the linear scale DB9 connector (only A, B, 5VCC and GND).
For the source I used the 24VAC that source de Motors Drive and a bridge rectifier , LM7805 and some capacitors to make 5VCC.  ;D