Elmomc Multi-Axis Motion Controller-Maestro Manuel d'utilisateur Page 73

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 313
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 72
5.2.3.2.2 return Operator
Issuing a return operator from run is functionally equivalent to using the exit
operator. Consider the following example:
function run()
int i
…some code
if(i>2)
exit
return
end if
...some code…
end function
The exit and return statements in the preceding example are functionally identical.
5.2.4 Types
MAXL supports three kinds of object types:
Fundamental types
are built into the language (such as int and float).
Instances of these fundamental types are called “variables.”
Object types
are built-in types with encapsulated methods and
properties (such as axis and vector).
Debug strings
used for formatting debug messages
5.2.4.1 Fundamental Types
Fundamental types in MAXL are divided into two categories: integer and floating.
The following table explains the restrictions on type sizes.
Table 5-2 Fundamental Types of the MAXL
Category Type Contents
Integer
int
32 bits integer type.
Floating
float
64 bits float point type. Like double in C/C++
5.2.4.2
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
Object Types
An object is a base unit of the Maestro.
There are several types of MAXL objects:
Axis
Vector
Group
Trajectory
Program
Each of these objects is defined by its name and uses a specific set of attributes. These
attributes set depends upon object type.
5-11
Vue de la page 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 312 313

Commentaires sur ces manuels

Pas de commentaire