Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 70037 - NIMC_irrelevantAttributeError

Hello all,

 

I am trying to configure the stepper controller limit switches. But I get this error, and I have no idea what is causing it. Could anyone help me with this?

 

Thanks

0 Kudos
Message 1 of 6
(3,149 Views)

Hi 

 

We're going to need more info than this. 

 

- what have you done up until this point? what debugging have you done? 

- were you able to run the example you based your code on? 

- what hardware are you using? 

 

i know there is a known issue causing this error described here. have you seen this? 

Help us help you 😉 

There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Unofficial Forum Rules and Guidelines
Message 2 of 6
(3,131 Views)

Hello Andreas_OP,

 

For the debugging part I added every argument under a property node as seen in the VI attached.

I am using SMD-7615 stepper controller with Soft Motion.

I was able to run the hardware using the default example code provided by NI.

 

The issue described in the page you have suggested is for Read Motion I/O, which I am able to do it after the motor state is active.

What I am not able to do is to configure the stepper axis for a mechanical limit. 

0 Kudos
Message 3 of 6
(3,128 Views)

Hi NavinTerabee

 

I see that it's the "enable forward limit" that is causing you the errors. 

I know that LabVIEW has a couple of known issues related to Ethernet steppers property and invoke nodes. 

 

What happens if you disable automatic Error handling, and clear the error after the property node?

Auto Error handling should almost always be disabled anyway. 

 

 

Cheers 

There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Unofficial Forum Rules and Guidelines
Message 4 of 6
(3,122 Views)

Do you use an external limit switch?

If yes, make sure that it is connected to the corrrect digital port on the motor drive. In SoftMotion, you can configure the behaviour when the limit switch engages, by right-clicking on the Axis in the project tree and going on Axis Configuration. There you have to choose the correct digital ports.

As far as I know, Labview produces and error or warning when a limit switch engages. Remember that limit switches can be active high and active low.



Message 5 of 6
(3,087 Views)

Thank you Lysandros89 for the response. I designed a program to control the stepper motor using the software CW and CCW limits. It does exactly what it is supposed to, which is to stop exactly when a limit switch is pressed. I don't get an error when a limit switch is active. 

0 Kudos
Message 6 of 6
(3,081 Views)