4

Examples and HHP Instructions

I1

"

Ladder Diagram

L

[R1E 5! R10]

N

L

[O9E 8! O17]

N

46139

Hand-held Programmer

 

START

 

I1

MOVE

F2

R1

 

 

5

OUT

 

R10

F1

 

START

 

O9

MOVE

F2

 

 

8

OUT

 

O17

F1

 

In the first example rung above, when transitional contact I1 goes on, 5 registers (R1 ±

R5) are copied to locations R10 ± R14.

In the second rung, each program scan 128 bits (8 x 16) are copied from O9 ± O137 to locations O17 ± O124. Since the locations being copied from overlap the locations being copied into, this function actually has the effect of shifting 128 bits eight bits to the ªleftº (that is, to higher locations) in memory.

GFK-0804B

Chapter 4 The Micro PLC Instruction Set

4-33

Page 74
Image 74
GE GFK-0804B manual R1E 5! R10 O9E 8! O17