Hello, I have an NI SISU 1004 Module that I am trying to use it to drive an ISM 7402 Stepper motor. I am using the example program provided with the kit, to get an idea of how it works, and learn how to program with it. Hopefully in the future I will be able to use it for PID motor control using an encoder feedback, which was my original intent up until now. My problem starts after compilation of the FPGA VI, it executes, and then I execute the RT VI. After waiting an X amount of time, the "Ready" light goes green and I press "Move", the motor moves as expected. However, if I stop the VI and then start again, I am presented with the following error message.
"Error: -70227"
"Straight-Line Move when executing 'Start' on Axis 2 at Invoke Node in nimc.ax.straightLineMove.startStraightLineMove.axis.modeVelocity.0.vi:5440002->SISU-1004 NI SoftMotion UDV 4-Axis Ex RT.vi"
The example program was designed for a cRIO 9073, I am using a 9074, and I changed the project chassis to reflect this. The only seeming way to solve the issue is to recompile the FPGA VI, which takes over an hour to do. Another method I arrived at to working around is by randomly running and stopping the FPGA VI, and the RT VI several times, but this too is time consuming. It had come to the point where I just couldn't ignore anymore. I have spent several hours trying to figure out the problem. I cannot find any documentation, or previous user issues that lead me solution to this problem.
The only thing that I found for -70227 was NIMC_driveNotEnabledError in the Help for SoftMotion. I searched online and the solutions I arrived at were to:
- Redeploy all
- Deploy axis before running VI
- Use the Power command or enable the Enable Drive on Transition to Active Mode checkbox on the Axis Setup page of the Axis Configuration dialog box to enable the drive.
I tried the first two with no success. I also attempted doing the third method, same issue. Infact, I can't even Enable Drive because it's grayed out.
I am new to this program, and its concepts, still learning. Is there anyone who can help me?
Thanks