4
28 Series 90 -70 I/O Link Interface Module User’s Manual – February 1993
GFK-0644A
Configuring I/O Links
In the application program, use Move and Block Move instructions to configure the I/O
Links in the system by placing the required data in the appropriate %P program
references.
Configuration Logic, Example
Use Move instructions to supply the number of I/O Link Interface Modules (1), and the
rack location (0), and slot location (5) of that module.
| +–––––+ +–––––+ +–––––+
+––––––––+MOVE_+–––––––––––––––––+MOVE_+–––––––––––––––––+MOVE_+–
| | INT | | INT | | INT |
| | | NUMLINK | | L1RACK | | L1SLOT
| CONST –+IN Q+–%P00001 CONST –+IN Q+–%P00002 CONST –+IN Q+–%P00003
| +00001 | LEN | +00000 | LEN | +00005 | LEN |
| |00001| |00001| |00001|
| +–––––+ +–––––+ +–––––+
|
Block Move instructions can supply the data lengths and beginning %I and %Q
addresses for six slaves on the link, which is link 1 in this example.
| +–––––+ +–––––+ +–––––+
+––––––––+BLKMV+–––––––––––––––––+BLKMV+–––––––––––––––––+BLKMV+–
| | INT | | INT | | INT |
| | | L1DEV0 | | L1DEV2 | | L1DEV4
| CONST –+IN1 Q+–%P00006 CONST –+IN1 Q+–%P00012 CONST –+IN1 Q+–%P00018
| +00032 | LEN | +00032 | LEN | +00032 | LEN |
| |00001| |00001| |00001|
| | | | | | |
| CONST –+IN2 | CONST –+IN2 | CONST –+IN2 |
| +00001 | | +00097 | | +00151 | |
| | | | | | |
| CONST –+IN3 | CONST –+IN3 | CONST –+IN3 |
| +00001 | | +00097 | | +00151 | |
| | | | | | |
| CONST –+IN4 | CONST –+IN4 | CONST –+IN4 |
| +00064 | | +00032 | | +00064 | |
| | | | | | |
| CONST –+IN5 | CONST –+IN5 | CONST –+IN5 |
| +00033 | | +00129 | | +00215 | |
| | | | | | |
| CONST –+IN6 | CONST –+IN6 | CONST –+IN6 |
| +00033 | | +00129 | | +00215 | |
| | | | | | |
| CONST –+IN7 | CONST –+IN7 | CONST –+IN7 |
| +00000 | | +00000 | | +00000 | |
| +–––––+ +–––––+ +–––––+
The first Block Move configures the length and beginning %I and %Q addresses of
devices 0 and 1. The second Block Move configures devices 2 and 3. The third Block
Move configures devices 4 and 5. To simplify programming, IN7 in these Block Moves is
not used. If there were more I/O Links, or more devices on link 1, they would be
configured in the same manner.