03-24-2021 11:52 AM
Hi Friends,
Currently, I am working on the Stepper motor + Encoder system for my application.
Stepper Model is as Follow: STM23Q-3AE
Commands Type : A. Motion Command B. Configure Command C. Servo Command D. Communication command E. IO command
Command Mode: A. NV B. Read Only C. Write Only D. Intermediate
Initial Problem:
I tried to follow the initial as step as :
a. Create basic program on the LabVIEW to check the response of the motor. Program is quite simple and easy to follow. ( I enclosed the file)
b. I started with the Configure Command: Well it worked! , I started initially with the Configure Command Like ME(Motor Enable) and Later on with AC (Accelerate motor 25 rev/sec). But even with my basic command, I cant able to see any motion on the motor shaft. Its like stall or something I am not sure of it.
c. Is there any basic way to check the motor is working properly. any suggestion will be really helpful.
Thanks.
Kind Regards
03-24-2021 11:48 PM - edited 03-24-2021 11:50 PM
03-25-2021 11:41 AM - edited 03-25-2021 11:42 AM
Hi,
Tried using all the possible command suggested but didnt seen any motion on the motor shaft. I can see the response in the Reading buffer but no motion, its really frustrating! any suggestion will be really helpful
03-25-2021 12:05 PM - edited 03-25-2021 12:09 PM
Well if all of the commands are being received and acknowledged but none of them are working.
I would say you need to check your hardware, but after a quick look at the website and I have to ask:
Have you ran the SCL Configurator? Maybe you have to configure it first?
Have you tried using the SCL Utility to get it working to eliminate any hardware issues?
Also there is some sample code available on the website, take a look at it and see if you are doing it right.
03-25-2021 02:59 PM
Hi,
Thanks for your earlier reply, I was looking to the SCL Configurator, But I didn't understand when I try to run my LabVIEW script with the com port 1,it work well, when I try to choose the com port 1 in the SCL configurator, it was missing not sure what's going out there. I check the device manager and MAX Labview panel, it shows me the COM port1. I have directly connect my cable to the NI PXle-1078(Labview DAQ). Is there any issue with the com port?
03-25-2021 03:04 PM - edited 03-25-2021 03:05 PM
It's hard to tell from your picture but here's a couple things to think about...
03-26-2021 05:36 PM
Thanks for your response,
I just check the motor with the self drive test, and i still find that motor shaft is not moving. I think there is serious issue with the hardware.
a. It show that it is connected
b. it show that it is trying the drive test
c. It is responding all the commands in SCA utility as well as in my LabVIEW program
03-31-2021 10:22 AM
Hi,
I tried to use the SCL configurator and the stepper motor is working, It is responding to all the commands in SCL terminal (utility) and there is shaft movement. But later on I tried my LabVIEW code, now its not working, I am not sure, why it is showing error. Earlier it was having the response with the motor but no shaft movement. I need to design my application in LabVIEW . I just use the SCL configurator for my drive test. any suggestion?.
03-31-2021 02:12 PM
Are you sure your serial port settings are correct? You didn't wire anything into the Serial Port Configuration which means it will use the defaults of 9600-8-none-1.
Are you sure the termination character is a carriage return and not a line feed character?
03-31-2021 02:48 PM
Yea Raven, Port are correct I am bit surprise last day, I was using the same program and it was responding to my all configure commands except the motion one. So I use the SCL configurator to test my system (to check if there is any issue with the motor) and it work. Later on I tried to use both configure and motion command now, none of them working.
I am thinking that I connected the other device to the same port, does it affects the measurement of current device ? I restarted the system and both the device and still I am having using with response. The termination character is return.