EasyManuals Logo
Home>Allen-Bradley>Controller>PLC-5

Allen-Bradley PLC-5 User Manual

Allen-Bradley PLC-5
388 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #232 background imageLoading...
Page #232 background image
Publication 1785-UM012D-EN-P - July 2005
13-14 Programming Considerations
Influencing Priority Scheduling
Use the UID (user interrupt disable) and UIE (user interrupt enable)
instructions to influence user program scheduling. They can be used to
protect important portions of ladder logic that must be executed through to
completion. The UID/UIE instructions are designed to be used in pairs. For
example:
After a UID instruction has executed, interrupts are postponed. The interrupt
program is placed in the
ready state. After a UIE instruction has executed,
any user programs that are currently in the
ready state are checked for
priority. If the ready program is of a higher priority than the currently
executing program, the executing program returns to the
ready status while
the interrupt program begins executing. While the controller is executing
within a UID/UIE zone, the executing program cannot be interrupted except
by a fault routine.
For more information on programming UID or UIE instructions, see the
PLC-5 Programming Software Instruction Set Reference, publication
1785-6.1.
02
O:013
I:012
01
I:012
02
I:012
03
02
O:013I:012
01
I:012
04
I:012
03
UID
03
O:013
I:012
04
I:012
02
UIE
Program can be
interrupted
Program can be
interrupted
Program cannot be
interrupted

Table of Contents

Other manuals for Allen-Bradley PLC-5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley PLC-5 and is the answer not in the manual?

Allen-Bradley PLC-5 Specifications

General IconGeneral
BrandAllen-Bradley
ModelPLC-5
CategoryController
LanguageEnglish

Related product manuals