Vous êtes sur la page 1sur 4

1. what does the memory map for a typical p l C program consist of?

-memory organization
-program files
-data files

2. compare the function of the P l C program


data and files??
-the program file is where the ladder logic
programming is stored and the data file
portion of the processors memory stores
input an output status processor status the
status of various bits and
numerical data. all of the data stores in the
data file is stored in the data file is accessed
via the ladder logic program.

3. In what manner are data files organized?


These files are organized by the type of data they contain.

4. List eight different types of data files used by an SLC 500 controller.
OUTPUT file 0
INPUT flie 1
STATUS file 2
BIT file 3
TIMER file 4
COUNTER file 5
CONTROL file 6
INTEGER file 7
NETWORK COMMUNICATIONS file 9
USER-DEFINED files 10-255

5. a. what information is stored in the input image table file?


b. in what form is this information stored?
5. A. the input image table file is that part of the program memory allocated to storing
the on/off status of connected to discrete inputs.
b. The information is stored in binary.

6. A. what information is stored in the output image table file?


b. In what form is this information stored?
6. A. the output image table file is that part of the program memory allocated to store
in the actual on/off status of connected discreet outputs.
b. The information is stored in binary.

7. Out line the sequence of events involved in a P l C scan cycle?


examine the status of the input image table bits.
Solve the ladder logic in order to determine logical continuity.
update the appropriate output image table bits if necessary.
Copy the output image table status to all of the output terminals. power is applied to
the output device if the output image table bit has been previously set to a 1.
copy the status of all of the input terminals to the input image table. If an input is
active example there is electrical continuity the corresponding bit in the input image
table will be set to a 1.

8. list 4 factors that enter into the length of the scan time?
the speed of the processor module
The length of the ladder program
the type of instructions executed
the actual ladder true False conditions

9. Compare the way horizontal and vertical scan patterns examine input and output
instructions?
Allen Bradley PLCs use the horizontal scan by rung method. In this system, the
processor examines input and output instructions from the first command, top left in
the program, horizontally, rung by rung.
Modicon PLCs use the vertical scan by column method. in this system the processor
examines input and output instructions the top left command entered in the ladder
diagram, vertically , column by column and page by page.

10-solution
Ladder Diagram (LD)
Function Block Diagram (FBD)
Sequential Function Chart (SFC)
Instruction List (IL)
Structured Text (ST)

17-The memory bit always follows the status (true = 1


or false = 0) of the input address or internal address

assigned to it.
This address
indicates what PLC input is connected to what input device

and what PLC output will drive what output device.

20-an internal output does not directly control


an output fi eld device. The internal output operates just
like any output that is controlled by programmed logic;
however, the output is used strictly for internal purposes.
The advantage of using internal outputs is that there
are many situations in which an output instruction is required
in a program but no physical connection to a fi eld

device is needed.
Internal outputs are single-bit storage locations in
memory and are addressed as such. SLC 500 controllers
use bit fi le B3 for storage and addressing of internal output
bits. The addressing for bit B3:1/3 illustrated in Figure
5-38 consists of the fi le number followed by word and

bit numbers.