Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading PID Parameter and Reading Back

Hello,

 

Currently,  I'm developing NI-Motion Driver for 7358 motion control card. My environment is QNX 6.5 realtime OS.

According to NI Motion Driver Developer's Kit document basically i'm sending packages to board to set values, to start motion etc.

Now, i'm can drive brushed motor with given velocity and acceleration parameters. I want to ask you that is it possible to read back

values that written to board.

For example,

To load PID parameters i'm using command 32 as given in DDK with axis information, pid parameters and input vector (0xFF). It should

work same like flex_load_pid_parameters function given in FlexMotion Software Reference Manual.

 

I want to check that PID values has been set correctly with my own function. But i could not find any way to do this. There is no command

as i see to read back these values from board. The thing i learnt from DDK is if command package is wrong board gives package error in

csr. If something goes wrong during run time, board gives modal error. So, i want to check if there is direct way to read parameters i set?

 

Best regards.

0 Kudos
Message 1 of 2
(4,716 Views)

Hey Erhan,

 

There isn't a way you can check the values corresponding to the PID effect because this is done in FPGA and cannot be accessed. 

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(4,691 Views)