Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Uživatelský manuál Strana 54

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 114
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 53
Publication 2098-PM001E-EN-P — July 2002
2-14 Referencing the Motion Library
long SequencerAddNode(long frame, void* fptr, void* dptr);
Inserts a user function into a sequencer frame.
The frame argument indicates which frame of the sequencer the
function is to be inserted. Valid frames arguments are 1 - 4.
The ftpr argument is a pointer to the user function to be inserted.
The dptr argument is a pointer to the user data.
Returns 0 if successful, or -1 on an error.
long SequencerRemoveNodes(void* dptr);
Removes all functions that access the specified data.
The dptr argument is a pointer to the user data.
Returns 0 if successful, or -1 on an error.
IMPORTANT
Sequencer Nodes are removed only on drive
power-up and with the use of the
SequencerRemoveNodes function.
Killing a program after calling SequencerAddNode
will put the control into an unstable state.
If nodes are added to the sequencer, they must be
removed before the program ends.
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 113 114

Komentáře k této Příručce

Žádné komentáře