Download Delta - InduProgress
Transcript
Appendix D Use of Application Instructions|DOP-EXIO Series Mnemonic Operands None FEND Bit Devices X Y M Function The End of The Main Program (First End) Word Devices S K H KnX KnY KnM KnS T 16-bit instruction (1 Step) C D E y Note: 1. No operand. 2. No contact to drive the instruction is required. F 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. D-8 Revision March, 2008, Doc. Name: 2007PDD23000014