Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with code example [analog input control of motion (joystick)]

I tried running [Analog Input to Control Velocity of Motion (Joystick)] -example code but it didn't work. I got respose "Modal Error Occured.." on MAX. My motion controller is PCI7244 with UMI-7774 and I use LabView 8.0 and MAX version 4.0.

What could be the reason for this? I haven't too much experience in labview programming, so this can be some very basic problem.
0 Kudos
Message 1 of 5
(4,332 Views)
Could you please provide the modal error number? Without this information it's hard to get an idea what's going on.
Which NI-Motion version are you using? I guess it's 7.1 but I want to make sure.
Have you run the firmware update for the board?
Is the board initialized?
Are you able to execute normal moves?

Best regards,

Jochen Klier
National Instruments Germany




0 Kudos
Message 2 of 5
(4,330 Views)
Joechen,

Thanks for your answer.

I use NI-motion 7.1 and firmware update has been done. Axis can be driven normally through MAX and AD channel works ok. Initialization could be the problem. I thought that example code would do that. Error code.. I don't remember, but can find it out as go back to workshop again.

Tommi
0 Kudos
Message 3 of 5
(4,316 Views)
Tommi,

for safety reasons NI-Motion examples in general never contain the initialization routine of the board as we can't know the parameters that are needed for the specific mechanical setup. If an example initialized the board with a default parameter set this could easily result in a hazardeous situation (e. g. wrong PID parameters for servo motors, wrong limit switch settings,...) so we want to make sure that you know what your are doing when energizing the axes.

Jochen

0 Kudos
Message 4 of 5
(4,314 Views)
Ok, back to the manual.. Smiley Happy

Thank you,
Tommi
0 Kudos
Message 5 of 5
(4,309 Views)