4

Examples and HHP Instructions

 

 

 

 

 

 

 

 

 

 

 

46141

 

 

 

 

 

 

 

 

 

 

 

 

 

Ladder Diagram

 

Hand-held Programmer

 

 

 

I1

 

 

[ 5 !

@R1]

 

START

F1

I1

 

 

 

 

 

 

 

"

 

 

 

MOVE

F3

5

 

 

 

 

 

 

 

 

 

[R2 !

@R3]

 

 

OUT

F1

R1

 

 

 

 

 

 

 

 

 

 

 

 

 

START

F3

R2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVE

 

 

 

 

 

 

 

 

 

OUT

F1

R3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In the first example rung above, an Indirect Move function copies the constant 5 into a register pointed to by R1. During one program scan, R1 might point to register R20. In another scan, it might point to register R21.

The second example rung has no conditional logic; each program scan, it copies the content of register R2 to a register which is pointed to by register R3.

GFK-0804B

Chapter 4 The Micro PLC Instruction Set

4-35

Page 76
Image 76
GE GFK-0804B manual Start Move