Rockwell Automation CDN366 Supplement

CDN366 DeviceNet Gateway
Application Notes

2
Table of Contents
Revision...........................................................................................................................3
Purpose:...........................................................................................................................4
Hardware and Software Requirements:...........................................................................4
Schematic Diagrams:.......................................................................................................5
CDN366 Setup & Configurations:..................................................................................7
Register Electronic Data Sheet (EDS) File:....................................................................8
CDN366 Parameter Configuration:...............................................................................13
Change Parameter Setting Using RSNetWorx:.............................................................16
Serial Stream Object Parameters (Class Code 64):.......................................................17
Serial Receive Object Parameters (Class Code 65): .....................................................20
Serial Transmit Object Parameters (Class Code 66):....................................................22
Serial Receive/Transmit & I/O Mapping:.....................................................................25
Receive Handshaking & I/O Mapping:.........................................................................25
Transmit Handshaking & I/O Mapping: .......................................................................27
Mapping the Poll I/O Connection to AB-1747-SDN:...................................................30
Basic Troubleshooting...................................................................................................35
ASCII Table ..................................................................................................................36
CDN366 Enclosure Dimensions ...................................................................................38
CDN366 Template ........................................................................................................39

3
Revision
Initial Release ……………………………………………………………..……. 6/12/01

4
Purpose:
This application note is intended to assist users to setup and configure the
CDN366 DeviceNet ASCII gateway converter module with an Allen Bradley (AB)1747-
SDN DeviceNet master scanner for the SLC500 programmable logic controller (PLC)
series.
The users must have some basic knowledge of hardware and software.
Hardware: CDN366, AB PLC, AB 1747-SDN modules.
Software: RSLinx, RSNetworx, RSLogix500, and Microsoft Windows.
The user must have a basic knowledge of DeviceNet specifications and principles.
Hardware and Software Requirements:
The hardware and software requirement is based upon the application. For this
particular application note, the hardware and software are set up based on the listing
below. Note, the configuration below is meant to demonstrate the CDN366 DeviceNet
module integrated with an AB SLC502 PLC and not intended to ask users to use the same
configuration. Based on application requirements, the CDN366 can integrate with many
brands of PLC (AB, Omron, etc.) or PC based platforms (Synergetic, etc.). As long as a
DeviceNet network is available for a particular application, the CDN366 should be able
to integrate in the network.
Hardware:
1) AB SLC500 4 slot rack, cat. #1747-A4, series B
2) AB SLC500 power supply, cat #1747-P1, series A
3) AB SLC502 CPU, cat.#1747-L524, series C
4) AB SLC500 scanner module, cat.#1747-SDN, series A
5) AB SLC500 8 input module, cat. #1747-IV8, series A (optional)
6) AB SLC500 8 output module, cat. #1747-OB8, series A (optional)
7) AB SLC500 personal computer interface module, cat. #1747-PIC, series A
8) AB SLC500 converter RS232 to DeviceNet, cat.#1770-KFD, series A
9) MKS DIP CDN366 DeviceNet gateway module
10) MKS DIP DIP790 DeviceNet distribution board
11) Connector and cable
Software:
1) AB SLC500 RSLinx & RSNetWorx for DeviceNet, Rev. 2.01.03-ENE
2) AB SLC500 RSLogix 500 programming, Rev. 4.00.00-ENE
For more information on the above products, please visit the web sites at …

5
1) CDN366 support documents … specs. manual, EDS files, examples
www.mksinst.com/cgi-bin/product.exe?pid=cdn366
2) 1747-SDN DeviceNet Scanner Module: Installation Manual
www.ab.com/manuals/io/1747/174758.pdf
3) Setup RSLinx, RSNetworx with 1747-SDN DeviceNet Scanner Module
www.ab.com/manuals/cn/1747-um652b-en-p.pdf
4) SLC500 Instructions & Set Manual
www.ab.com/manuals/cp/1747615.pdf
5) DeviceNet to RS232 Interface Converter Installation Instructions
www.ab.com/manuals/cn/177056.pdf
6) DeviceNet to RS232 Interface Module Communication Protocol Ref. Manual
www.ab.com/manuals/cn/17706522.pdf
7) SLC500 chassis, power supply, digital/analog/adapter modules
www.ab.com/manuals/io/1746/index.html#1746adapter
Schematic Diagrams:
The electrical schematic diagram figure 1 shown on page 3, CDN366 is integrated
with an Allen Bradley (AB) SLC502. The AB SLC500 four-slot rack system contains a
rack power supply (1747-P1), a PLC processor on slot 0 (1747-L524), and a DeviceNet
scanner module on slot 1 (1747-SDN), an 8 points input module on slot 2 (1746-IV8),
and an 8 points output module on slot 3 (1747-OB8). (For further hardware and software
configurations, please visit Allen Bradley website at http://www.ab.com/ )
The 24vdc regulated power supply is powered the network BUS-(0vdc) and
BUS+(24vdc) on DIP790 board. DIP790 is a DeviceNet distribution board with 1-inline
& 6-outline connections. The DIP790 is connected to an AB 1747 DeviceNet scanner
module, which is tapped into the DeviceNet network. Based upon Open DeviceNet
Vendor Association, Inc. (ODVA) specification, the operational voltage ranges from
11~25 vdc. The nominal voltage is 24 vdc. (For more information on specifications, visit
ODVA home page at www.odva.org.)
The AB 1747-PIC is a communication interface module, which uses RSLogic500
software to interface with a PC. RSLogic500 is a window based ladder logic software
program. RSLogic500 enables the user to upload/download and monitor PLC data.
The AB 1770-KFD is a communication interface module, which enables the user
to communicate between serial RS232 to DeviceNet network. The communication
enables the user to setup, configure and access DeviceNet network information using
RSLinx and RSNetWorx software.

6
Comm. Comm.
GND DeviceNet network
24VDC Power Supply
+
120VAC 24VDC
--
GND
Pin
1
RS232 serial 3
communication 5
Pin
1
2
3
4
5
Pin Pin Pin
27 431
38 52
53
124
5
Figure 1. CDN366 Integrate with Allen Bradley SLC500
PS to DeviceNet Dist.
Color Description
red BUS+ (24vdc)
Func. Func.
9 pin DIN RS232 Serial
Interface to Barcode
Reader, Scanner
Weigh Scale or etc.
To PC RS232 9 pin
Serial Interface For
Used with RSLinx,
& RSNetWorx Prog.
V- (BUS-)
data high (CAN H)
Male Connector
DeviceNet Color Description
clear
red shield (Drain)
V+ (BUS+)
blue data low (CAN L)
Fuse 1A Fuse 6A
RXD
TXD
GND
RTS
CTS
DeviceNet Connector
black
white
to pin 1 DeviceNet connector
black
clear
data high (CAN H)
V+ (BUS+)
Terminal Connector
BUS- (0vdc)
Shield (Drain)
white
Description
red
V- (BUS-)
data low (CAN L)
shield (Drain)
black
blue
clear
CDN366
RS232-DeviceNet
DeviceNet
Gateway Module
PC Interface
Color
to pin 5 DeviceNet connector
1770-KFD
RS232-DeviceNet
PC Interface Mod. DIP790 Device
Net Dist. Board
Slot 3Power Sup. Slot 2
8 pt. Input
Slot 0
120/240VAC
Slot 1
1747-L524
DeviceNet
Scanner
1747-SDN
Input SLC502
PLC CPUFuse 3A 24vdc output
1747-P1
Allen Bradley SLC500 4 Slot Rack, 1746-A4
NL
Neutral
module
1746-IV8
8 pt.Output
module
1746-OB8
120VAC
Pin 1,4,6,9 are unused
1747-PIC
RS232-PLC
Module
RS232 Pin Layout
To PC RS232 25
Pin Serial Interface
For Used with
RSLogic Prog.

7
CDN366 Setup & Configurations:
Prior to the setup and configuration of the CDN366 device, the PLC hardware
(power supply, CPU, DeviceNet scanner, I/O modules), software (RSLinx, RSNetWorx
& RSLogic500) and interface modules must be setup and configured first. (For further
information on setup and configuration of the Allen Bradley PLC controller, please visit
www.ab.com)
In this particular example, the hardware and software were setup and configured
based upon page 1 listing. The figures below demonstrate that the RSNLinx and
RSNetWorx are running. The DeviceNet scanner module scanned the network and found
node 00 (master DeviceNet scanner) and node 03 (slave interface module). It is
recommended to setup the DeviceNet master scanner module to MAC-ID 00. The
maximum number of nodes on the DeviceNet network is 64, with a MAC-ID ranges of
00~63.

8
Register Electronic Data Sheet (EDS) File:
In order to integrate the CDN366 to DeviceNet network, the CDN366 must be set
up and configured first. CDN366 must be disconnected from the DeviceNet network
before configuring the node address and baud rate. Set the DeviceNet baud rate to match
with the network baud rate. Set the Mac ID to an unused node address. The example
below shows that the CDN366 was set at Mac ID 01 (MSD=0, LSD=1), and DeviceNet
network baud rate is at 125Kb.
RS-232 9 pin DIN male connector
Connect to serial perhiphial
Micro-style male connector
5 pin to DeviceNet network
Connect the CDN366 to the DeviceNet network and click on the “network scan” (Online
icon). The DeviceNet master will scan the network. The CDN366 is not registered.
Therefore, RSLinx and RSNetworx do not recognize the device.
Online

9
In order to register the CDN366 on RSNetWorx, click on “Tools” and select “EDS
Wizard”. Click on “Next>” and the “Options” menu is prompted.
Select “Register an EDS file(s)” and click on “Next>”

10
Select “Register a single file” and enter the EDS file name on the white box. Click on
“Next>”
Table of contents
Popular Gateway manuals by other brands

LST
LST M500RFE-AS Specification sheet

Kinnex
Kinnex Media Gateway quick start guide

2N Telekomunikace
2N Telekomunikace 2N StarGate user manual

Mitsubishi Heavy Industries
Mitsubishi Heavy Industries Superlink SC-WBGW256 Original instructions

ZyXEL Communications
ZyXEL Communications ZYWALL2 ET 2WE user guide

Telsey
Telsey CPVA 500 - SIP Technical manual











