LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use labview to control smart motor

 

I'm using smart motor SM34165DT in my project.

I need to control the motor using labview, what I need is very simple:

1. control the timing of the starting and stopping of the motor, i.e. tell when to start and stop.

2. control the speed of motor.

Is there any related labview code can help me achieve these?

Thanks.

0 Kudos
Message 1 of 7
(3,550 Views)

Hi conanxzy,

 

that motor allows for RS232 and CAN communication. It also supports analog and digital i/o signals.

 

Which method/bus do you want to use?

Did you read the motor's manual for all those options?

Best regards,
GerdW


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

I will use RS 232.

0 Kudos
Message 3 of 7
(3,543 Views)

Hi conan,

 

then read the manual to know which commands you need to send and what kind of answers/parameters you may read from the motor...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,533 Views)

Thanks for your concern.

I hope if there is any exist labview codes I can use or modify.

 

0 Kudos
Message 5 of 7
(3,531 Views)

Hi conan,

 

you may start with "Advanced Serial Read and Write" from the example finder...

Best regards,
GerdW


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

Search the forum/boards for the correct terms. The company is 'Animatics' and the product type is 'smartmotor'. There are several threads.

0 Kudos
Message 7 of 7
(3,512 Views)