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?
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?