12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc memory - 14.2<br />

2<br />

3<br />

999<br />

Program Files<br />

These are a collection of up to 1000<br />

slots to store up to 1000 programs.<br />

The main program will<br />

be stored in program file 2. SFC<br />

programs must be in file 1, <strong>and</strong><br />

file 0 is used for program <strong>and</strong><br />

password information. All other<br />

program files from 3 to 999 can<br />

be used for subroutines.<br />

O0<br />

I1<br />

S2<br />

B3<br />

T4<br />

C5<br />

R6<br />

N7<br />

F8<br />

Data Files<br />

Outputs<br />

Inputs<br />

Status<br />

Bits<br />

Timers<br />

Counters<br />

<strong>Control</strong><br />

Integer<br />

Float<br />

This is where the variable data is<br />

stored that the PLC programs<br />

operate on. This is quite complicated,<br />

so a detailed explanation<br />

follows.<br />

Figure 14.1<br />

PLC Memory<br />

14.3 PROGRAM FILES<br />

In a PLC-5 the first three program files, from 0 to 2, are defined by default. File 0<br />

contains system information <strong>and</strong> should not be changed, <strong>and</strong> file 1 is reserved for SFCs.<br />

File 2 is available for user programs <strong>and</strong> the PLC will run the program in file 2 by default.<br />

Other program files can be added from file 3 to 999. Typical reasons for creating other

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!