Bradley Smoker PLC-5 user manual Following examples illustrate these concepts

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 67
Image 67

Addressing I/O and Controller Memory

4-23

 

 

The following examples illustrate these concepts:

Bit address example

If your data table map looks like this:

O

32

 

I

32

 

B

64

An address used in an OTE instruction stored here:

T

32

occupies one word in the controller's memory

C

32

executes at a rate 0.48s

R32

N 32

256

The same address stored here:

occupies two words in the controller's memory

executes at a rate 0.64s

end

1

OTE

12 OTE XX

This example uses the instruction timing and memory usage tables in Appendix D. Consult these tables for information about other instructions.

Element address example

Your data table map looks like this:

O

64

I

64

B

1000

T

100

C100

N 720

2048

end

Addresses used in a MOV instruction stored here occupy three words in the controller's memory.

The same addresses stored here occupy five words in the controller's memory.

 

1

2

3

MOV N7:0

MOV

XX

YY

N7:1

 

 

 

1 2 3 4 5

MOV N100:0 MOV XX XX YY YY N100:1

This example uses the instruction timing and memory usage tables in Appendix D. Consult these tables for information about other instructions.

Publication 1785-UM012D-EN-P - July 2005

Page 67
Image 67
Bradley Smoker PLC-5 user manual Following examples illustrate these concepts