Motor count values to distance

pauly

Member
Join Date
May 2002
Location
South Wales,U.k
Posts
244
I have a drive sending me a value of its encoder. This clocks uo from zero to 1024 and back for every rotation of the motor. What I want to do is use this value and convert it into a value for length using the multiple turns of the drive (encoder) but for the life of me I have no idea how to approach doing this. I have a Siemens S7 1500 PLC
Has anybody else done any thing similar?
Any help appreciated
 
Assuming you are getting the encoder position via fieldbus of some sort.
You need to be refreshing at least a couple of timer per rev at max speed to capture turns.

Record the position before moving
Use the direction and increment turns every time the value crosses 512
Position = rotations *1024 +current position - start position
 

Similar Topics

Hi all, I am currently working on a software in Automation Studio that is supposed to detect when effort is inputted by a user. This is done via...
Replies
0
Views
584
Hello, It is mandatory to use VFD IF i use IE5 electrical motor? What happens If connect it directly as delta without VFD? Please look at motor...
Replies
1
Views
100
Here's what happened, Operator turned on the disconnect for an auger while it was still running to cut power. Auger DID in fact turn off, but the...
Replies
8
Views
322
Hello all, In my facility we have multiple 3HP 460V motors that are being controlled by VFDs which drive conveyor belts. The drives are randomly...
Replies
2
Views
194
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
929
Back
Top Bottom