How to Set-up a DeviceNet Spanner Module

How to Set-up a DeviceNet Spanner Module
HOW TO
How to Set-up a DeviceNet
Spanner Module
G1018
Revised 10/23/2013
INTRODUCTION
S
Transfer Size Switch
panner module FDN-DN1 provides means to
Transfer Size Switch is a single switch that determines the
transfer data between two DeviceNet networks. The
size of I/O data of both nodes A and B. Switch positions
module supports three standard I/O connections:
0-4 set I/O data size of the Spanner to fixed value. Position
Poll, COS and Cyclic. Communication speed (Data Rate) is
4 refers to backward compatibility with CDN-SM-0020
determined
module. Position 5 is used for setting user defined
during
power-up
sequence,
through
“Autobaud” mechanism. Spanner consists of two optically
isolated nodes referred to as “Node A”, and “Node B”, each
residing on different networks. Module nameplate, as
data size.
Switch
Position
shown on Figure 1, describes rotary switch functions and
available setup options.
Node A
Node B
Produced
Data (Rx)
Consumed
Data (Tx)
Produced
Data (Rx)
Consumed
Data (Tx)
Input Data
(Bytes)
Output Data
(Bytes)
Input Data
(Bytes)
Output Data
(Bytes)
0
4
4
4
4
1
16
16
16
16
2
32
32
32
32
3
128
128
128
128
4
7
6
7
6
5
Programmable
0 - 128
Programmable
0 - 128
Programmable
0 - 128
Programmable
0 - 128
Example
21
3
3
21
Note:
Example in the above table shows the use of software settable
Figure 1. Device Label
(programmable) I/O data size. The following rule applies to
mapping of spanner module, when Transfer Size Switch is set
NODE ADDRESS SWITCHES
Module has two pairs of address switches marked as
“Address A” and “Address B”. Switch marked as “x1” sets
unit address 1, …, 9 or 0. This switch corresponds to a
least significant decimal digit. Switch marked as “x10” sets
to position 5:
• Input data size of node A = Output data size of node B
• Output data size of node A = Input data size of node B
decimal ten’s address and corresponds to most significant
Factory Defaults
decimal digit. Following positions are valid: 0, 1, 2, 3,
Device comes out of box preset as follows:
4, 5, or 6 that correspond to addresses 0, 10, 20, 30, 40,
50 or 60. When node A “X10” switch is set to position 7,
it indicates that node A (only) address is programmable.
Node commissioning in this case, sets the node address.
Positions 8 and 9 are reserved and not used. Spanner must
• Address Switches: 0 (side A); 1 (side B)
• Data Size: 4 bytes
• Data Rate: autobaud
be powered from network “A” through node “A” connector
Power cycle
to communicate. Node “B” physical layer is powered from
To change default values, use rotary switches or network
network “B”. If network B stays without power, all data from
configuration tool and EDS file. In any case, it is necessary to
node B defaults to 0 value and node “B” LED turns red.
cycle power of the module to make a change permanent.
2
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
The power of the module is cycled by removing bus
pops-up.
Press
to go on-line.
connector from channel A.
CONNECTION SCHEMES
Figure 2 - Node B
Left connector represents
the end of network B that is
terminated at right connector.
Figure 3 - Node A
Spanner is located at the end of
the network A. Left connector is
the end of the main network trunk.
Right connector holds terminating
resistor that terminates network A.
6. Use RSLinx –Lite (Professional) to configure an
interface to DeviceNet. Interface 1770_KFD will be
used as an example in this document. Press OK.
Figure 4 - Node A
Spanner is located in the middle
of the network A. Trunk is
passed through the spanner. If
any connector is disconnected,
the rest of the network stays
without power. Connection
represents zero drop length.
Figure 5 – Node A
Repeater is located in the middle
of the network A. Network tee is
used for connecting spanner to
the trunk. If tee is disconnected
from the spanner, the rest of
the network does not loose
power. Connection represents
zero drop length. Option: Use
the same Tee and drop cable to
connect Spanner that is located
up to 20 ft away from trunk.
Go online and browse the network. Node 4
CONNECTING SPANNER TO DEVICENET
and 11 represent node A and B respectively.
1. Set Node A address using address A rotary switches,
2. Set Node B address using address B rotary switches,
3. Set I/O data size using Transfer Size switch,
4. Connect module to networks A and B.
5. Start RSNetWorX. Initial, blank program window
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
3
7. Double -click on node A. Or right-click on node A
procedure is done twice, for Channel A and Channel
and select properties.
B. Remember that you need to reset or cycle power
of the device to make changes permanent. Also, if
user defined:
•
Input data size of node A = Output data size of node B
•
Output data size of node A = Input data size of node B
9. Write down Produced (Input or Rx) and Consumed
(Output or Tx) data size. These values are entered
during mapping the device into Scanners I/O map.
8. Input and output data size is defined by position of
Transfer Size switch, Figure 1. If Transfer Size switch is
set to programmable selection (position 5), you need
to edit and change Produced Data Size and Consumed
Data Size parameters according to next figure. The same
4
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
10. Right-click on the scanner’s icon to initiate
Following warning comes up indicating that spanner
mapping procedure. The following scanner module
model does not have predefined I/O data size. Press OK.
window appears:
12. Highlight node 4 and press “Edit I/O Parameters”
11. Open “Scanlist” tab, un-check “Automap on Add”
check box, and press “>” button to enter node into SLT
(Scan List Table).
Editing I/O parameters enables user to specify exact I/O
size of a device that has variable multiple configurations
that handles variable data I/ O sizes. The following
window pops-up:
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
5
Check “Polled” box; enter 7 for “Input Size” and 6 for “Output
a)
Discrete input region (31 words) that is directly
Size”. Leave “Poll Rate” as it is and click OK. Module is ready
accessible by PLC ladder logic:
to be mapped to “Input” and “Output” data map.
13. Input Data Mapping:
Click on “Input” t ab that will display the following:
b) M1 file region (150words) that must be copied to PLC
data tables
Example shows mapping of node A (node 4) of the spanner
module to M file starting from word 2. There are 7 bytes of
memory map reserved for node 4.
Highlight node 04, press “Options”, select “Word Align” and
press OK:
Select memory location where input data will be mapped.
1747-SDN scanner supports mapping into two regions:
6
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
14. Output Data Mapping
Output data mapping is done the same way as inputs.
REMOVE NODE FROM SCAN LIST
To remove node from the scan list:
1. Turn “PLC function key” to “PROG” position,
2. Start RSNetWorX
3. Go online
4. Right-click on scanner icon and select “Properties”
5. Press on “Scanlist” tab and highlight node 4
Review node I/O map summary data and press “Apply” and
download I/O map to the scanner.
6. Press
button to remove node from the scan list
7. Press
button
to
download
the
change to the scanner
8. Click YES to confirm removal of the node from the
scan list.
15. Repeat the same to map node B on network B.
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
7
Following windows shows current status:
9. Check “Summary” tab to verify that node 4 is NOT
in the SLT.
Note: Removal of a single node from the scan list will not
disturb other nodes or change I/O map of other nodes.
8
www.turck.com • 1-800-544-7769 • Fax: (763) 553-0708 • TURCK • Minneapolis, MN 55441
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement