03-26-2018 10:12 AM - edited 03-26-2018 10:28 AM
I am currently working on a project controlling linear actuators powered by stepper motors.
Even though I can control the direction and speed of the motor I cannot control the steps it will do.
I remember on LIFA there was StepsToMove function?
How can I specify the exact steps? Which block should I use?
The duration should be an answer to that. (calculating frequency x time to get distance) but it does not work. The motor continues after the specified time.
Bonus Question: How can I stop the stepper in an emergency situation through the front panel?
03-27-2018 04:08 AM
What is the taboo about it? Some official member should respond and let us know. I have spent valuable time experimenting with LINX only to find out that I cannot specify the stepstomove (distance) of my stepper motor?
So what should I do with them? Just spin them fast/slow clockwise/anticlockwise etc?
....tsakitsan
03-27-2018 04:50 AM - edited 03-27-2018 04:55 AM
This is not the official forum for LINX. You will likely have better responses over on the LabVIEW Maker Hub. While National Instruments did provide substantial help in creating LINX it is not a National Instruments product in itself. The LabVIEW Maker Hub is the maintainer of LINX and other similar projects.
Most users on this forum have never seriously worked with LINX and use the professional LabVIEW Realtime versions running with the National Instrument CompactRIO realtime platforms.
Besides, getting impatient after less than 24 hours of your first post is not going to help you. People on this forum are either volunteers who will step in if they have any substantial information to provide, or if they are National Instruments support people they may never have worked with LINX as that is not a product NI sells and is not laying around on every table inside NI.
03-27-2018 05:07 AM
Thanks for the reply anyway. but I could see my post going down without any answer..
By LINX Forum you mean this?:
https://www.labviewmakerhub.com/forums/viewforum.php?f=12
I have tried to upload a week ago and also to reply to a thread yesterday and apparently everything is still being moderated. If you are talking about this forum, that is dead..
It is enthusiasm rather than impatience.
05-15-2019 03:37 AM
Please use this code for stepper.
I have written this.
05-15-2019 03:39 AM
Pin 3 is for steps and pin 2 for direction
12-01-2020 06:50 PM
Hi there,
Just wondering what I am doing wrong. When I load the firmware from the LINX firmware wizard and run the LED example that appears I can connect no problem to my arduino uno. However when I downloaded your VI and ran it, after choosing the com port, I am getting error 5001.
Any help would be greatly appreciated.
Thanks,
Ben
03-31-2021 04:21 PM
FutureTECH Can you explain which pins are used for connection?
06-26-2022 09:43 AM
Hello,
I used your code and works well however, I needed to switch pins 2 and 3. I have pin 2 going to Pul+ (steps) and Pin 3 going to Dir+ (direction) I am using a Microstepper driver that I got off of amazon, your standard black box with green headers out of the top and heatsink on the back. Below is the VI i downloaded from the link. it shows pin 3 for diection and pin 2 for Steps.