LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Motor shutdown

Hi guys ,

I am using a faulhaber motor DC motor where I wanna run it by specifying the postion and speed.

After the motor starts running I want to stop the motor immediately using a stop button and exit the program.

Even though it exit from the program but the motor is still running?

Has someone face such kinda problem?

Boldness has genius, power and magic in it!'
0 Kudos
Message 1 of 6
(2,977 Views)

Hi Maveen,

 

how do you control the motor? CAN? Or some simple AO/DO signals?

 

Anyway: you should send a stop signal to the motor on exiting your VI. Whatever that "stop signal" may be...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,967 Views)

Thanks for your answers.

I can control the motor using USB COM port.

I use this set of command for

enabling -EN

Disable -DI

position move- M

.   The problem is in my main program i am supposed to run with definite speed and position , But if the motor drivers the force sensors too hard till 12N . It should stop abruptly.

Boldness has genius, power and magic in it!'
0 Kudos
Message 3 of 6
(2,951 Views)

Hi Maveen,

 


run with definite speed and position , But if the motor drivers the force sensors too hard till 12N . It should stop abruptly.


 

Can you explain that in more detail? It's quite hard to understand...

 

Send a "DI" command on exit to stop your motor...

 

Btw. why do your error i/o terminals don't have labels? Why are there hidden wires?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,947 Views)

Sorry was in a hurry.

So, I set the postion 100 and speed 200m/s .

I have connected a needle where it meets a  nozzle with force sensors.  If the needle  gets more than 10 or 12 N . We need have stop the motor . so that the needle should not be damaged .

 

This VI was done by faulhaber motor people, they have called the lib files and Definite commands are sent to access the motor .

 

For example DI is sent to the motor so that it stops .

Boldness has genius, power and magic in it!'
0 Kudos
Message 5 of 6
(2,936 Views)

Hi Maveen,

 

connect your force sensors to your DAQ device and read their signal. When the signal exceeds 10N you should send "DI" to the motor...

 

Sounds quite easy (in the beginning)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,929 Views)