Long longarraysetelement(long element, long data), Non-volatile array services, Long floatarrayselect(char* name) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 98: Long longarrayselect(char* name), Non-volatile array services -58, Longarraysetelement, Floatarrayselect • longarrayselect

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

2-58

Referencing the Motion Library

long LongArraySetElement(long element, long data);

Stores data into a previously selected zero-based, long integer array.
The element argument indicates which cell of the array to access. The
data argument is the new value to be stored in the specified element.

Returns 0 if successful, or -1 on an error.

Non-Volatile Array Services

long FloatArraySelect(char* name);

Selects the active floating point array for access by the program. The
name argument is the case sensitive name of a valid array.

Returns 0 if successful, or -1 on an error.
An error may consist of:

• Arrayname not found
• Array not floating point
• Other errors

long LongArraySelect(char* name);

Selects the active long array for access by the program. The name
argument is the case sensitive name of a valid array.

Returns 0 if successful, or -1 on an error.
An error may consist of:

• Arrayname not found
• Array not long integer
• Other errors

Advertising