Ui[n] – user integer – ElmoMC SimplIQ Digital Servo Drives-Bell Command Reference User Manual

Page 177

Advertising
background image

UI[N] – User Integer

Purpose:
Provides an array of 24 integer numbers for general-purpose use.

Attributes:

Type: Parameter,

Integer

Source:

Program, RS-232, CANopen

Restrictions: None

Default values:

0 (RS), Non-volatile

Range: [(–2

30

+1)…(2

30

–1)]

Index range: [1…24]
Unit modes: All
Activation: Immediate
SimplIQ: Similar

Typical applications:
General look-up tables of real numbers and parameters for machine task definition.
Example:

MO=0;

int MY_VAR ;

MY_VAR=10 ;

UI[2]=MY_VAR ;

for UI[1]=1:10

UF[UI[1]]=UI[2]*SP/UI[4];

end

In this example, the UF[N] array is dynamically indexed and valued by elements of
the UI array.

See also:

UF[N]

SimplIQ for Steppers Command Reference Manual

Alphabetical Listing

MAN-STECR (Ver. 1.1)

169

Advertising