Elmomc Multi-Axis Motion Controller-Maestro Instrukcja Użytkownika Strona 106

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 105
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5.10 Maestro User Program Priority
Every Maestro User Program has an assigned priority. By default, each Maestro User
Program is assigned the Normal (2) priority. A Maestro User Program can have one of
the priority values described in Table
5-9.
Note: This feature does not impact the compatibility of previous
Maestro versions. In software versions that include the
Maestro User Program Priority feature, by default, all
programs are assigned Normal priority.
Table 5-9 Maestro User Program Priorities
Priority Value Description
High 1
The Program is scheduled to run before Programs with
all other priorities.
Normal 2
The Program is scheduled to run before Programs with
Low priority.
Low 3
The Program is scheduled to run after Programs with all
other priorities.
The User can set the Maestro Program Priority by calling the priority(int val) method,
where val is the Program Priority value.
If a Maestro User Program with high priority is running, all other programs will be
blocked, unless there is a context switching option in the program that is running. For
example, a call to a wait function or an event that triggers an until condition.
All programs can be interrupted by a callback function.
5-44
Przeglądanie stron 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag