This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. 

Try our online PLC Simulator FREE. Click here now to try it. 
January 29th, 2013, 11:08 AM  #1 
Member

Encoder Output Scaling
Hi all!
I'm looking to check my math on some calculations, and I'd appreciate any feedback: I've got a Yaskawa sigma5 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
__________________
"Making no mistakes is what establishes the certainty of victory, for it means conquering an enemy that is already defeated."  Sun Tzu 
January 29th, 2013, 05:45 PM  #2 
Lifetime Supporting Member + Moderator

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 13/8". Eric 
January 31st, 2013, 09:47 AM  #3 
Member

Thanks Eric, got it worked out.
In case anybody else looks at this  I forgot the quadrature Luckily, I caught it before downloading. TM
__________________
"Making no mistakes is what establishes the certainty of victory, for it means conquering an enemy that is already defeated."  Sun Tzu 
Bookmarks 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)  
Thread Tools  
Display Modes  


Similar Topics  
Thread  Thread Starter  Forum  Replies  Last Post 
Scaling output for VFD speed control.  Elcan  LIVE PLC Questions And Answers  4  March 11th, 2009 06:06 PM 
Encoder output types  Orn Jonsson  LIVE PLC Questions And Answers  10  May 9th, 2007 05:25 PM 
Forcing OFF  josesaucedo  LIVE PLC Questions And Answers  21  March 29th, 2007 04:06 PM 
PID output scaling PLC5  russrmartin  LIVE PLC Questions And Answers  2  January 30th, 2004 05:45 PM 
does the gear box affecting the positioning value????  common  LIVE PLC Questions And Answers  3  July 6th, 2002 05:11 PM 