Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

loading values to onboard memory 7344 motion cont.

am trying to get the PCI 7344 board functioning by using the onboard RAM.

I have the system functioning correctly with regard to onboard memory and can drive the system in it's realtime loop.

My problem is that I would like to be able to input values from the user of control to send the motor off to another position whilst it is either in current motion or once it has finished the current move. This will then allow me to cycle the motor between two known points and the user to input the points values.

I can't seem to get the onboard memory to accept user input values. I really want the same as the RDB, but the other direction, where I simply send a value to an on board buffer and that is constantly read by the rea
ltime loop.

This will then allow me to drive the motor, constantly updating the velocity and thus holding a known value even though a load or pressure may be changing.
0 Kudos
Message 1 of 2
(2,936 Views)
Kudi,

Onboard programs are meant to be standalone programs running without interacting with Windows. The design of the onboard programming feature follows this criteria. However, you have options like RDB to transfer data back to the host machine, in the case of doing the opposite thing which is sending data to the controller there are not any designed ways of doing it. Though, you will find that you can use the 'Load Constant To Variable.flx' function and load values to a variable. In my experience it has work in some programs very good but not very good in others, for example, I made a program to monitor Windows, so if Windows crashes or something I stop my onboard program, the onboard program is receiving a changing value from a host program, and if that value does n
ot changes then stop the program. I send the data with the VI I mentioned above. Try that out and see if that works for you.

Nestor.
Nestor
0 Kudos
Message 2 of 2
(2,936 Views)