Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Onboard programming the 7344...creating data arrays?

I would like to use the onboard programming capability of the 7344.
I have a requirement to set up a data array of X and Y coordinates that would be accessed via an incremental loop.
I guess the array data can be entered into a buffer object, but is there anyway of getting the data from the buffer using a pointer. From what I see the data has to be retrieved from the start of the buffer, or sequentially using the read_buffer function, but on certain conditions I may want to access random sets of coordinates, from within the array, and do not want to ue up all the general purpose variables to do this.
0 Kudos
Message 1 of 2
(3,153 Views)
Hi,

The onboard programming of 7344 supports the FIFO architecture.You can run onboard programs from RAM or optionally save them to flash ROM.

The 7344 doesnot support the pointer functions(due to memory size).

The 7344 controllers have 64 KB of RAM and 128 KB of ROM(divided into two 64 KB sectors) for program and object storage.

You can run programs from either RAM or ROM, but you cannot split programs between the two, and you cannot split programs between the two 64 KB ROMsectors.

With an average command size of 10 bytes, a single program can be as large as 6,400 commands.

For example, the 7344 controllers can
simultaneously execute 10 programs, five from RAM and five from ROM,with each program up to 1,280 commands long.


Also R
efer to the Onboard Programming Functions section of the FlexMotion Software Reference Manual for detailed information on all of these onboard programming features.


Please do post any findings that may seem significant to our discussion on the onboard-programming of the 7344.

Best Regards

Atul Wahi
Applications Engineer
www.ni.com
0 Kudos
Message 2 of 2
(3,153 Views)