Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual
Page 6

Hand–Held Terminal
User Manual
Table of Contents
ii
Chapter 3
Program, Program Files, and Data Files
3–1
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Program
3–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program Files
3–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Files
3–3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Downloading Programs
3–3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Uploading Programs
3–4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using EEPROM and UVPROM Memory Modules for Program Backup
3–4
. . . .
Chapter 4
Data File Organization
4–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File Types
4–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing Data Files
4–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 2 – Status
4–3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Files 0 and 1 – Outputs and Inputs
4–4
. . . . . . . . . . . . . . . . . . . . . . . . .
Data File 3 – Bit
4–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 4 – Timers
4–9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 5 – Counters
4–10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 6 – Control
4–11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 7 – Integer
4–12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indexed Addressing
SLC 5/02 Processors Only
4–13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Offset Value (S:24 Index Register )
4–13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example
4–13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Data for Indexed Addresses
4–14
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Crossing File Boundaries
4–14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example
4–14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Indexed Addresses
4–15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example
4–15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Effects of File Instructions on Indexed Addressing
4–15
. . . . . . . . . . . . . . . . . .
Effects of Program Interrupts on Index Register S:24
4–15
. . . . . . . . . . . . . . . .
File Instructions – Using the File Indicator #
4–16
. . . . . . . . . . . . . . . . . . . . . . . . .
Bit Shift Instructions
4–16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequencer Instructions
4–17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Copy and File Fill Instructions
4–18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Data
4–19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Data for Indexed Addresses
4–19
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Deleting Data
4–20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program Constants
4–20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M0 and M1 Data Files – Specialty I/O Modules
4–21
. . . . . . . . . . . . . . . . . . . . . .
Addressing M0–M1 Files
4–21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Restrictions on Using M0-M1 Data File Addresses
4–21
. . . . . . . . . . . . . . . . . .
Monitoring Bit Instructions Having M0 or M1 Addresses
4–22
. . . . . . . . . . . . . .
Understanding File
Organization
Data File Organization and
Addressing