janasamara
Member
Hi everyone,
I'm working with the powerflex755 that has an encoder card. I'm trying to read the encoder value in studio 5000 through "Traveled" 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 valor is equal the motor stop.
I tried to use the less than and equal block but it does not work.
The motor ignore the value variable.
I do not know what I'm doing wrong.
Can someone help me please?
I'm working with the powerflex755 that has an encoder card. I'm trying to read the encoder value in studio 5000 through "Traveled" 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 valor is equal the motor stop.
I tried to use the less than and equal block but it does not work.
The motor ignore the value variable.
I do not know what I'm doing wrong.
Can someone help me please?