User guide

Hand–Held Terminal
User Manual
Table of Contents
xiv
Chapter 31
I/O Overview 31–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Basic Programming Procedure for the I/O Interrupt Function 31–1. . . . . . . . . . .
Operation 31–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interrupt Subroutine (ISR) Content 31–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interrupt Occurrences 31–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interrupt Latency 31–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interrupt Priorities 31–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status File Data Saved 31–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Interrupt Parameters 31–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IID and IIE Instructions 31–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IID/IIE Zone Example 31–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RPI Instruction 31–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A
Appendix B
Binary Numbers B–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Positive Decimal Values B–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Negative Decimal Values B–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BCD Numbers B–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hexadecimal Numbers B–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hex Mask B–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix C
Memory Usage C–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fixed and SLC 5/01 Processors C–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SLC 5/02 Processor C–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D
Events in the Operating Cycle D–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scan Time Worksheets D–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Defining Worksheet Terminology D–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Worksheet A Estimating the Scan Time of Your Fixed Controller D–3. . . .
Worksheet B Estimating the Scan Time of Your 1747L511 or 1747–L514
Processor D–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Worksheet C Estimating the Scan Time of Your 1747L524 Processor D–5
Example Scan Time Calculation D–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: Worksheet B Estimating the Scan Time of a 1747L514 Processor
Application D–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding I/O
Interrupts – SLC 5/02
Processor Only
HHT Messages and Error
Definitions
Number Systems, Hex Mask
Memory Usage, Instruction
Execution Times
Estimating Scan Time