Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling ISM-7413 Stepper Motors with CRIO

I have successfully controlled my ISM-7413 stepper motors by connecting them via ethernet switch to my host computer and connecting to their specific IP address that is physically set on their drive. However, I would actually like to connect to them through my cRIO. I tried connecting the primary ethernet port on my cRIO to the same ethernet switch and dragging my Axis Straight Line Move VI from My Computer to the cRIO in my LV project, but I can't connect to the ISM-7413 using the IP address I previously used. Does anyone have any experience controlling an ISM through a cRIO?

 

Thanks,

Nick

0 Kudos
Message 1 of 2
(1,646 Views)

Hi Nick,

 

Looks like you were successful using PC, but now you are having problems with cRIO.  Couple of suggestions:

 

1. What's the error code or error message that you're getting?  And which VI is causing the error? 

2. Using the ISM motors requires the NI SoftMotion engine to be installed on the cRIO as well.  You can follow the general steps here, and explicitly install Softmotion as a custom option.  https://www.ni.com/getting-started/set-up-hardware/compactrio/controller-software

3. Are you able to ping the ISM motor from cRIO?  If not, try using a tool like this: https://forums.ni.com/t5/Example-Code/Ping-Network-Device-and-Retreive-IP-Address/ta-p/3536737

 

Connection failures are often caused by the 2 devices not being able to ping each other.  I would start looking in this direction.

0 Kudos
Message 2 of 2
(1,618 Views)