LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop motion not functioning

Hi,

 

I am using PCI-7356 motion controller card, built in a PC with LabView RT operating system. I am trying to control a stepper motor which is configured to run in open loop.

I have built a program which first loads velocity, then acceleration and finally position. Motion of the motor is started with start motion function.

 I am controlling a position of drive rod (linear stepper motor) with encoder which is connected directly to encoder inputs of the 7356 controller card. I read a position with

“read encoder” function. Control algorithm is written so, that target position (loaded with “load position” function) is all the time compared with current position

(from “read encoder position” function). As soon as both positions are equal, I activate stop motion function (with “case” structure). Comparison of both positions is done with “equals function”

which is guided in case structure.

 

Problem is that this function is not responding. Either if it is set as decelerate, halt or kill, motor still runs. I have tried to stop motor with setting the speed to 0. Motor still runs.

 

How can I stop the motor?

 

I am trying to build my own control algorithm therefore closed loop control is not suitable for me.

 

Thank you,

Gregor

0 Kudos
Message 1 of 2
(2,681 Views)
0 Kudos
Message 2 of 2
(2,620 Views)