Delta-electronics Extension Digital I/O Module DOP-EXIO14RAE Manuel d'utilisateur Page 89

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 157
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 88
Appendix D Use of Application Instructions|DOP-EXIO Series
D-8
Revision March, 2008, Doc. Name: 2007PDD23000014
Mnemonic Operands Function
FEND
None The End of The Main Program (First End)
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
y Note:
1. No operand.
2. No contact to drive the instruction is required.
16-bit instruction (1 Step)
FEND
Continuous
execution
- -
32-bit instruction
- - - -
y Flags: None
Explanations:
1. This instruction denotes the end of the main program. It has the same function as that of END
instruction when being executed by DOP-EXIO series.
2. CALL must be written after FEND instruction and add SRET instruction in the end of its
subroutine. Interruption program has to be written after FEND instruction and IRET must be
added in the end of the service program.
3. If several FEND instructions are in use, place the subroutine and interruption service programs
between the final FEND and END instruction.
4. After CALL instruction is executed, executing FEND before SRET will result in errors in the
program.
5. After FOR instruction is executed, executing FEND before NEXT will result in errors in the
program.
Vue de la page 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 156 157

Commentaires sur ces manuels

Pas de commentaire