ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 103

Advertising
background image

Maestro

Software Manual

MAXL Program Language

MAN-MASSW (Ver. Q)

5-41

4. The following dialog box will open for a single Static Variable (Figure 5-4).

The user can select a variable type – INT or FLOAT- and a unique variable
name. For Static Array creation, the user can mark the “Create Array” check
box (Figure 5-5) and select the array size in the list box at the bottom of
dialog.

Figure 5-4: Single Static Variable Dialog

Figure 5-5: Static Array Dialog

For removing Static Variable use the context
menu (Fig. 4).

Figure 5-6: Remove Static Variable

5.9.3

Working with Static Variables in the Maestro

Command Interpreter

1. Get the Static Variable syntax

[Static Variable Name]

[Static Variable Name][index],

where index need if Static Variable is an array.

For example:

fVar
iArr4[0]
a1.px= iArr34[2, 3]

Advertising