Encoder with Powerflex 755

Status
Not open for further replies.

janasamara

Member
Location
Portugal
Hi , guys

I'm working with the Powerflex 755 that has an encoder card. I´m trying to read the encoder value in studio 5000 throught "UnitsTraveled " variable but I'm not getting a positive result.
What I want to do is read this variable and compare it to a value. While the value of the variable is less than the stipulated value the motor moves to the right. If the equal the motor stop.
I tried to use the less than and equal block but it does not work.
The variable is ignore.
I do not know what I'm doing wrong.
Can someone help me?
 
As a general programming practice you should definitely check for greater than or equal, not just equal, to generate the stop command.
That way an encoder glitch or timing coincidence that misses the equal state will not leave the motor running.

But I have no idea what your actual problem is.

Sent from my XT1585 using Tapatalk
 
Last edited:
Are you sure you have the encoder card properly configured in the drive? A 755 can accept up to 5 accessory boards into expansion slots, can use several different types of encoder cards and some encoder cards can be configured for several different types of encoders. So installing the card is not the entire process, you must program the drive as to what slot /port it is installed in, which card it is and what encoder is connected to it. Don't make any assumptions, all data is specific.
 
Status
Not open for further replies.
Top