4

The ladder program segment below illustrates how to incorporate these important points in your program.

Note

The input values for the Block Move Functions in this example are taken from the Establish Read Channel Command example in Section 3 of this chapter.

Nicknames have used in this example to make the ladder program easier to follow. LANIFOK is bit 16 of the LAN Interface Status bits. All other nicknames can be assigned as you desire.

<< RUNG 1 >>

 

 

 

LANIFOK

HEALTHY

+ÐÐ] [ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÈÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ( )ÐÐ

<<

RUNG 2

>>

 

 

 

 

BEGREAD

 

READREQ

+ÐÐ]

[ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÈÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ()ÐÐ

 

 

 

<<

RUNG 3

>>

 

 

 

 

HEALTHY READREQ +ÐÐÐÐÐ+

CMRQFLT

+ÐÐ] [ÐÐÐÐÐ] [ÐÐÐ+MOVE_+ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÈÐÐÐÐÐÐÐÐÐÐÐÐÐÐ(R)ÐÐ

 

WORD

 

 

 

 

 

 

 

 

 

 

 

 

 

CONST Ð+IN

Q+Ð%R00010

 

 

 

 

 

 

+0000

LEN

 

 

 

 

 

 

 

00001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+ÐÐÐÐÐ+

 

 

 

 

 

 

<< RUNG 4 >>

 

 

 

 

 

 

 

 

HEALTHY READREQ

+ÐÐÐÐÐ+

 

+ÐÐÐÐÐ+

 

+ÐÐÐÐÐ+

+ÐÐ] [ÐÐÐÐÐ] [ÐÐÐ+BLKMV+ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ+BLKMV+ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ+BLKÈMV+

 

INT

 

INT

 

WORD

 

 

 

CONST Ð+IN1 Q+Ð%R00301

CONST Ð+IN1 Q+Ð%R00308

CONST Ð+IN1 Q+Ð%R00315

+00017

+00005

+00008

 

 

 

CONST Ð+IN2

CONST Ð+IN2

CONST Ð+IN2

+00000

+00010

+00050

 

 

 

CONST Ð+IN3

CONST Ð+IN3

CONST Ð+IN3

+00008

+00003

+00008

 

 

 

CONST Ð+IN4

CONST Ð+IN4

CONST Ð+IN4

+00009

+00004

+00001

 

 

 

CONST Ð+IN5

CONST Ð+IN5

CONST Ð+IN5

+00000

+00050

+00004

 

 

 

CONST Ð+IN6

CONST Ð+IN6

CONST Ð+IN6

+00000

+00008

+00003

 

 

 

CONST Ð+IN7

CONST Ð+IN7

CONST Ð+IN7

+02003

+ÐÐÐÐÐ+

+00100

+ÐÐÐÐÐ+

+00000

+ÐÐÐÐÐ+

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GFK-1004B

Chapter 4 Programming Communications Requests

4-35

Page 123
Image 123
GE GFK-1004B user manual Lanifok