Encoder Output Scaling

Join Date
Apr 2002
Location
Just a bit northeast of nowhere
Posts
1,117
Hi all!

I'm looking to check my math on some calculations, and I'd appreciate any feedback:

I've got a Yaskawa sigma-5 servo setup. I've connected the encoder output from the drive to a Trio 405 motion controller.

The motor is connected by a 15:1 gearbox to a 10mm pitch ball screw. I am scaling to inches, so I'd like to get 25400 pulses at the Trio per inch of mechanical travel.

The Yaskawa drive allows you to assign a number of output pulses per motor revolution. So here are my calculations:

One inch of travel on the screw is 2.54 revolutions. With the gearbox, that means 38.1 revolutions on the motor shaft per inch of travel.

Pn212 in the Sigma5 drive is the number of output pulses per revolution of the motor. I calculate this as:

25400 / 38.1 = 666.66667 pulses per revolution to achieve scaling of 25400 pulses per inch.

Question 1 – is my math right?

Question 2 = can anyone recommend how should I handle a repeating number like this? Round up or round down?

Question 3 – should I instead go to 667 pulses and change my Trio parameter to 25412?

Or should I be looking at a different approach?

Thanks,

TM
 
Been a while since I played with a Trio, but if memory serves, you can just use an equation as the UNITS value in the Trio.

Suppose you set the drive to output 'n' pulses per revolution... You know that 1" of travel is exactly 38.1 revolutions, so 38.1 x 'n' = pulses per inch

In the Trio, just enter the equation:

UNITS=38.1*n/1

Then you should be able to enter distances directly as inches in the Trio program. A value of 1.375" should move exactly 1-3/8".

🍻

-Eric
 

Similar Topics

Hello everyone. I'm new to the forum. I have a problem with the encoder and PID. We need to turn an encoder controlled rollover. I am using...
Replies
1
Views
1,385
Hi all, I have an incremental encoder that is currently feeding into a high speed counter on a micrologix 1500. We have two new ink jet printers...
Replies
8
Views
3,109
Hi, I'm just a complete newbie on ladder logic and plc programming and I started a few weeks working with that, also it's my first post here, I'm...
Replies
0
Views
1,079
Hi I need a safety system with safety encoders as input (profisafe bus) and digital outputs. When position or speed of some rotating device...
Replies
2
Views
1,710
I have few existing machines with Omron PLCs in them that I need to get the output from an encoder into. There are several output options...
Replies
1
Views
4,016
Back
Top Bottom