
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
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[] array is dynamically indexed and valued by elements of the UI
array.
See also:
UF
SimplIQ Command Reference Manual Alphabetical Listing
MAN-SIMCR (Ver. 4.5)
3-147
Commentaires sur ces manuels