User guide
Chapter 8
Compiling and Saving a Program
8–5
The memory map function allows you to view your program memory layout.
It shows you the type and size of the data files used. It also gives you a
summary of the number of the program files created and the number of
instructions used in them. Lastly, it shows you how much user memory is
left. This section covers:
• viewing data files
• viewing program file sizes
To view your program memory layout, start from the previous display or
select [F3], PROG_MAINT from the main display.
1. Press
[F5], MEM_MAP. The following display appears:
File Type LastAddr Elements Words
0 O output O0:3.0 1 1
1 I input I1:2.1 2 2
2 S status S2:15 16 16
3 B bit B3/15 1 1
4 T timer –– –
F1 F2 F3 F4 F5
CRT_DT DEL_DT NEXT_PG
OFL
PRG_SIZE
PREV_PG
This display shows one output file word and two input file words created
by the I/O configuration.
There are 16 words in the status file (file 2). The number of words in the
status file is determined by the particular processor:
• fixed and SLC 5/01 processor–16 words
• SLC 5/02 processor–33 words. There is one word in bit file 3 due to
addresses used in the sample ladder program (B3/1, B3/2, B3/3).
To view additional data files, press
[F3], NEXT_PG.
For a detailed description of data files refer to chapter 4, Data File
Organization and Addressing.
2. To view the memory usage, press
[F5], PRG_SIZE. The following
display appears:
––––––––––––– MEMORY LAYOUT –––––––––––––
F1 F2 F3 F4 F5
OFL
20 data words used in 9 data files
90 instr. used in 4 program files
929 instructions of available memory
Viewing Program Memory
Layout