Download View / the Complete Manual

Transcript
5--10
DL250/DL350 CPU Setup and Programming
In certain applications, you may need to address remote I/O as a memory type other
Example 2:
than real inputs (X type) and/or real outputs (Y type). To conserve X/Y addresses,
Using Control
Relays as a Remote use the control relay (C type) memory as the references for inputs, outputs, or both,
on a per slave basis.
I/O Memory Type
To illustrate the setup program with this option, we will use the DL250 system from
Example 1, except that we have assigned the C memory type to Slave #2’s inputs
and outputs. To define the input and outputs as control relays, choose the correct
V-memory addresses from the Control Relay (C) Addresses table in Appendix B.
DL250 CPU in Main Base
250
CPU
bottom
port of CPU
is remote
master
PS
Remote Slave Worksheet
16
16
16
16
16
I
I
I
O
O
1
Remote Base Address_________(Choose
1--7 for RM--NET or 1--31 for SM--NET)
Module
Name
0
16ND3--2
X200
1
16ND3--2
X220
2
08ND3
X240
16
3
O
4
X0-X17 X20-X37 X40-X57 Y0-Y17 Y20-Y37
V40400 V40401 V40402 V40500 V40501
1st Remote
Slave
16
16
I
8
I
I
16
O
2nd Remote
Slave
8
8
16
I
I
O
C200--207 C210--217
V40610
No.Outputs
16TD1--2
Y200
16
16TD1--2
Y220
16
7
* The D2--RMSM automatically assigns I/O addresses in sequence based on
Slave # 1’s starting addresses. The DL250/DL350 CPU port setup program
requires these addresses for each slave.
Remote Slave Worksheet
2
Remote Base Address_________(Choose 1--7 for RM--net or 1--31 for SM--NET)
Circle one selection or fill in blank for each parameter
Configuration Parameter
SELECTION
Setup & Programming
1
2
3
4
5
6
7
Input Address
V40410
V40610
19.2
38.4
No. of Inputs Output Address No. of Outputs
V40510
V40614
32
16
INPUT
OUTPUT
Slot
Number
Module
Name
0
08ND3
C200
8
1
08ND3
C210
8
2
16TD1--2
37700
V__________
(V37700 is default)
OUTPUT
48
16
16
16 (8 used)
6
DL250/DL350 CPU Bottom Port
INPUT
16
Y200
40510
Output Bit Start Address:________V-Memory
Address*:V______
32
Total Output Points_____
Channel Configuration Worksheet
Slave
Station
No. Inputs
X200
Input Bit Start Address:________V-Memory
Address*:V_______
40410
48
Total Input Points_____
C300--317
V40614
Baud Rate (in KBaud), determined by required
distance to last slave
Remote I/O Configuration table Starting address
OUTPUT
Output Address
Input Address
5
X200--X217 X220-X237 X240-X247 Y200-Y217 Y220-Y237
V40410 V40411 V40412
V40510
V40511
PS
INPUT
Slot
Number
Input Address
No. Inputs
Output Address
C300
No.Outputs
16
3
4
5
6
7
C200
40610
Input Bit Start Address:________V-Memory
Address*:V_______
16
Total Input Points_____
C300
40614
Output Bit Start Address:________V-Memory
Address*:V_______
16
Total Output Points_____
* The D2--RMSM automatically assigns I/O addresses in sequence based on
Slave # 1’s starting addresses. The DL250/DL350 CPU port setup program
requires these addresses for each slave.
The logic to write the port setup word is identical to Example 1, so we will proceed to
the second block of logic.