4

Example 2:

This example reads the extra status data from the module in Rack 0, Slot 4 and from the module in Rack 1, Slot 1. It writes a 5 to the first module and a 9 to the second. Note that the modules do not need to be listed in order by slot numbers. Data read from the module in Rack 0, Slot 4 will be placed into %R0007. Data read from the module in Rack 1, Slot 1 will be placed in %R0004.

_____

 

_____

FST_SCN

—— ———BLKMV————————————————————————————————————MOVE_

WORD

WORD

CONST —IN1 Q— %R0001

3

 

CONST —IN Q– %R0008

CONST —IN2

5 LEN

0

0001

 

_____

CONST —IN3

 

0101

 

 

 

CONST —IN4

 

0

 

 

 

CONST —IN5

 

9

 

 

 

CONST —IN6

 

4

 

 

 

CONST —IN7

 

0

 

 

_____

 

 

 

 

 

 

_____

 

FST_SCN

 

—— ———MOVE_—

 

 

 

 

WORD

 

 

 

CONST —IN

Q—%R0009

 

0

 

 

LEN

 

 

00001

 

 

_____

 

 

 

 

 

 

 

 

 

 

_____

 

%M0001

%M0001

—— ——— SVC_——————————————————————————————————————————————————————————( )—

 

 

 

REQ

 

 

 

CONST -FNC

 

+0046

 

 

 

%R0001 -PARM

 

 

_____

 

 

 

 

 

4-170

Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998

GFK-0467K

Page 251
Image 251
GE 90-30/20/Micro manual Word Const -IN