05-17-2023 11:53 AM
I am relatively new to Labview, and I'm taking over a project that requires me to integrate 2 Stepper motors into a large VI. The motors are AMCI SMD24E2 Ethernet Integrated steppers. They do not have any documentation specific to Labview, but have told me the drivers are generic device with 20 bytes of input/output data. I've installed the NI ModbusTCP libraries, as well as the Ethernet/IP.
If anyone have any experience with similar use cases or can point me in the direction of resources that may be helpful I would greatly appreciate it.
Once I can get the thing moving, the rest shouldn't be too hard
05-17-2023 01:42 PM
@NikolasGraham wrote:
They do not have any documentation specific to Labview, but have told me the drivers are generic device with 20 bytes of input/output data. I've installed the NI ModbusTCP libraries, as well as the Ethernet/IP.
Motors seldomly have documentation "specifc to LabVIEW" as they most often follow common protocols!
Your motor driver supports Modbus-TCP and that's what you should be using! (That "20 bytes of I/O data" is quite irrelevant when you don't know the underlying protocol.)
Al you need is a Modbus-TCP library, that you claim to have installed already.
Now connect your computer and your motor using correct IP addresses on both ends. Use example/config software of the motor manufacturer to configure your motor and check correct connection.
Now implement the commands (aka "Modbus register values") as described in the manual of your motor. (Many of them follow the CiA DS402 specs, maybe your manufacturer also implemented it…)