MKS ToolLink CDN466 User manual

ToolLink DeviceNet Gateway
User Manual
Control & Information Technology Group
3350 Scott Blvd Bldg 4
Santa Clara CA 95054
Main: 408.235.7620
Fax: 408.235.7625
Rev. 01
01/04

ToolLink User Manual
MKS Instruments, Inc. Page 2 of 30
TABLE OF CONTENTS
CHAPTER 1 – OVERVIEW.......................................................................................................................................4
HARDWARE ...............................................................................................................................................................4
CONFIGURATION .................................................................................................................................................6
DEVICENET INTERFACE.............................................................................................................................................6
SERIAL INTERFACE....................................................................................................................................................7
CHAPTER 2 – QUICK START GUIDE...................................................................................................................8
HARDWARE SETUP ....................................................................................................................................................8
SYSTEM CONFIGURATION..........................................................................................................................................8
CONFIGURING THE GATEWAY ...................................................................................................................................8
TRANSFERRING DATA................................................................................................................................................9
CHAPTER 3 – THEORY OF OPERATION..........................................................................................................10
DEVICENET INTERFACE...........................................................................................................................................10
SERIAL INTERFACE..................................................................................................................................................11
CHAPTER 4 – GATEWAY CONFIGURATION...................................................................................................13
CONFIGURE DEVICENET INTERFACE .......................................................................................................................13
DeviceNet Baud Rate Switch..............................................................................................................................13
MAC ID Switches...............................................................................................................................................13
POWER UP GATEWAY..............................................................................................................................................13
DeviceNet Status LEDs......................................................................................................................................13
Serial Channel Status LEDs...............................................................................................................................14
Register EDS File ..............................................................................................................................................14
CHAPTER 5 – DEVICENET PROFILE.................................................................................................................15
DeviceNet Message Types..................................................................................................................................15
DEVICENET OBJECT CLASSES .................................................................................................................................15
IDENTITY OBJECT CLASS CODE:01 (0X01).........................................................................................................15
Revision – Attribute 4.........................................................................................................................................16
Device Status – Attribute 5.................................................................................................................................16
Serial Number – Attribute 6...............................................................................................................................16
ROUTER OBJECT CLASS CODE:02 (0X02).........................................................................................................17
DEVICENET OBJECT CLASS CODE:03 (0X03) .....................................................................................................17
MACID – Attribute 1..........................................................................................................................................18
Baud Rate – Attribute 2......................................................................................................................................18
Allocation Information – Attribute 5..................................................................................................................18
ASSEMBLY OBJECT CLASS CODE:04 (0X04).......................................................................................................18
CONNECTION OBJECT CLASS CODE:05 (0X05)...................................................................................................19
State – Attribute 1 ..............................................................................................................................................20
Connection ID’s – Attributes 4 and 5 ................................................................................................................20
Production and Consumed Sizes – Attributes 7 and 8 .......................................................................................21
Watch Dog Timeout Activity – Attribute 12.......................................................................................................21
USER DEFINED (SERIAL STREAM)OBJECT CLASS CODE:100 (0X64)..................................................................21
Receive Data – Attribute 3.................................................................................................................................22
Transmit Data – Attribute 4...............................................................................................................................22
Baud Rate – Attribute 6......................................................................................................................................23
Parity – Attribute 7 ............................................................................................................................................23
Flow Control – Attribute 8.................................................................................................................................23
Receive Mode – Attribute 9................................................................................................................................23
Time-Out:...........................................................................................................................................................24
Start/Stop Delimiters: ........................................................................................................................................24
Stop Delimiter:...................................................................................................................................................24

ToolLink User Manual
MKS Instruments, Inc. Page 3 of 30
Start Delimiter:..................................................................................................................................................24
No Delimiters:....................................................................................................................................................25
Start Delimiter String – Attribute 9....................................................................................................................25
Stop Delimiter String – Attribute 10 ..................................................................................................................25
Rx Handshake Enable – Attribute 11.................................................................................................................25
TX Handshake Enable – Attribute 11.................................................................................................................26
Maximum Rx Size – Attribute 19........................................................................................................................26
Maximum TX Size – Attribute 20 .......................................................................................................................26
Byte Swapping – Attribute 21.............................................................................................................................27
APPENDIX A – PRODUCT SPECIFICATIONS..................................................................................................28
DEVICENET INTERFACE...........................................................................................................................................28
SERIAL CHANNEL....................................................................................................................................................28
ENVIRONMENTAL....................................................................................................................................................28
APPENDIX B – ASCII CHARACTER CODES ....................................................................................................29

ToolLink User Manual
MKS Instruments, Inc. Page 4 of 30
Chapter 1 – Overview
This document describes how to install, configure, and operate the CDN46X series of serial to DeviceNet
gateways. The following products are covered in this user manual:
Part Number FW Rev. Serial Channel
CDN466 1.01 or higher RS232 full duplex
CDN467 1.01 or higher RS485 half duplex
The CDN46X gateways allow you to easily interface a wide variety of serial devices to any DeviceNet
industrial control network. Standard CDN46X products are tightly packaged and sealed in a rugged
industrial case. Board-level and customized gateways are also available upon request.
Hardware
DeviceNet Address
Rotary Switches
DeviceNet Data Rate
Rotary Switch
Serial Baud Rate
Rotary Switch
DeviceNet Channel
(male 5-pin micro connector)
1 SHIELD
2 V+
3 V-
4 CAN H
5 CAN L
PIN SIGNAL
12
3 4
5
DeviceNet Status LED (NET)
OFF No power
RED BLINK Configuration error
RED Unrecoverable error
GREEN BLINK Not allocated to a master
GREEN Allocated to a master
STATE DESCRIPTION
Module Status LED (MOD)
OFF No power
RED BLINK Configuration error
RED Unrecoverable error
GREEN BLINK Not defined
GREEN Normal operation
STATE DESCRIPTION
Receive Status LED (RX)
OFF Not receiving data
RED BLINK Not defined
RED Receive error
GREEN BLINK Receiving data
GREEN Not defined
STATE DESCRIPTION
Transmit Status LED (TX)
OFF Not transmitting data
RED BLINK Not defined
RED Transmit error
GREEN BLINK Transmitting data
GREEN Not defined
STATE DESCRIPTION
Isolated Serial Channel
(male DB9 connector)
1 nc RS485A (+)
2 RXD RS485B (-)
3 TXD 120ΩTR**
4 DTR/DSR* nc
5 SGND nc
6 DTR/DSR* nc
7 RTS nc
8 CTS nc
9 nc nc
PIN CDN466 CDN467
1
96 78
52 34
*Pins 4 and 6 connected internally.
**Connect pins 2 & 3 to terminate RS485
with 120Ωresistor.

ToolLink User Manual
MKS Instruments, Inc. Page 5 of 30
0.65 0.45
0.50
0.12
Mtg. Holes 1.225
(2) 0.19 DIA.
1.225
0.725 0.625 DIA. On Case Wall
0.70
1.10
1.25
0.542
3.30
4.30
3.80
CDN466
2
3
5
RXD
TXD
GND
1
2
3
4
5
DRAIN
VDC+
VDC-
CAN H
CAN L
RXD
TXD
GND
2
3
5
RS232
Serial
Device
RS232 Interface
CDN467
1
2
3
DATAA
DATAB
TR
1
2
3
4
5
DRAIN
VDC+
VDC-
CAN H
CAN L
DATAA
DATAB
RS485
Serial
Device
RS485 Interface
120
Connect pins 2 & 3
to terminate cable
CDN466
2
3
5
RXD
TXD
GND
1
2
3
4
5
DRAIN
VDC+
VDC-
CAN H
CAN L
RXD
TXD
GND
2
3
5
RS232
Serial
Device
RS232 Interface, HW Flow Control
7
8
RTS
CTS
RTS
CTS
7
8
INSTALLATION
Mount the ToolLink Gateway on a horizontal or vertical
surface, in a suitable location or enclosure for your
application. Provide sufficient clearance and airflow to
maintain 0°C to 70°C ambient operating temperature
range. Fasten the ToolLink Gateway to the mounting
surface using two screws (not provided) in the 0.19 inch
mou
nting holes.
WIRING
The ToolLink Gateway requires two connections – one to the
DeviceNet network (male 5-pin micro connector) and one to the
serial device (male DB9 connector). DeviceNet and serial cables
are available from a variety of industrial sources. Follow all
applicable electrical codes in your area when mounting and wiring
any electrical device.
All power is received from the DeviceNet network. The ToolLink
Gateway draws up to 200mA from the 24VDC power supply.
Select your DeviceNet cables and power supply so that it can
provide sufficient current for all networked devices at their peak
operating power.
The following are typical ToolLink Gateway wiring examples. Your
RS232 or RS485 interface may vary. Refer to your device’s
documentation for the required data and control signals.
All dimensions are inches
switch indicator arrow
switch position
switch screw slot
Each rotary switch parameter has a PGM option. Setting a
switch to PGM allows the parameter to be remotely set over
DeviceNet. However, it must first be initialized. To initialize,
set the switch to desired value and power up the gateway.
The new settings are saved in its memory. Power down and
change switch to PGM mode.
ROTARY SWITCHES
Set the ToolLink rotary switches to the desired settings. Use
a small slotted screwdriver to rotate the switches. Align the
indicator arrow to the desired setting, as shown below.

ToolLink User Manual
MKS Instruments, Inc. Page 6 of 30
CONFIGURATION
Rotary switches and software parameters configure the ToolLink Gateway’s DeviceNet Interface, Serial
Interface, Serial Receive, and Serial Synchronization functions. The ToolLink Gateway can be configured
over its DeviceNet channel. Use your DeviceNet Configuration application program and the ToolLink
EDS file to set the software parameters over the DeviceNet channel.
FUNCTION PARAMETER TYPE VALUE DESCRIPTION
DeviceNet
Interface Address Switch
00 TO 63 Sets DeviceNet node address. MSD switch sets the most
significant digit (0x to 6x). LSD switch sets the least significant
digit (x0 to x9).
Data Rate Switch 0 = 125Kbps
1 = 250kbps
2 = 500Kbps
Sets DeviceNet data rate.
Maximum Receive Size Software 0 to 64 bytes Defines the maximum receive message packet size. The total
number of ToolLink input bytes is Maximum Receive Size + 4.
Maximum Transmit Size Software 0 to 64 bytes Defines the maximum transmit message packet size. The total
number of ToolLink output bytes is Maximum Transmit Size + 4.
Byte-Swap Enable Software 0 = disabled
1 = enabled Defines how ToolLink formats its input and output data fields.
When enabled, ToolLink swaps every 2 bytes in the data field.
Serial Interface Baud Rate Switch 0 = 300 4 = 4800
1 = 600 5 = 9600
2 = 1200 6 = 19200
3 = 2400
Sets the serial channel baud rate.
Parity Software 0 = No parity
1 = Even parity
2 = Odd parity
Sets the serial channel parity mode. Received byte is tested for
errors, and then parity bit is cleared before the byte is saved in
RX buffer.
Flow Control Software 0 = None
1 = XON/XOFF
2 = CTS/RTS
Sets the serial channel flow control.
XON/XOFF is a software flow control. Receiving device sends
XOFF when its buffer is full, suspending further transmissions
until it sends XON, indicating it is ready to again receive data.
XON and XOFF bytes are not saved as message data.
CTS/RTS is an RS232 hardware flow control option (CDN466
only). Gateway keeps RTS output active (low) when it can
receive data. Gateway only transmits data when CTS input is
active (low)
Serial Receive Receive Mode Software 0 = Timeout
1 = Length
2 = Delimiter
Selects how the gateway receives a complete message packet.
Start Delimiter String Software String of 0-4 bytes:
[Length][B1][B2][B3][B4] Used when Receive Mode = Start/Stop Delimiter.
Defines the start of a received message packet.
Stop Delimiter String Software String of 0 to 4 bytes:
[Length][B1][B2][B3][B4] Used when Received Mode = Start/Stop Delimiter.
Defines the end of a received message packet.
Serial
Synchronization RX Handshake Enable Software 0 = disabled
1 = enabled Optional receive serial message handshake protocol between
ToolLink Gateway and application program.
TX Handshake Enable Software 0 = disabled
1 = enabled Optional transmit serial message handshake protocol between
ToolLink Gateway and application program.
DeviceNet Interface
The ToolLink Gateway can receive serial message packets up to 68 bytes long. The DeviceNet Output
Size (Produce Size) is equal to the Maximum Receive Size + 4 bytes of overhead. The Maximum
Receive Size parameter defines the Data Field size (M) for the input bytes.
The ToolLink Gateway can transmit serial message packets up to 68 bytes long. The DeviceNet Input
Size (Consume Size) is equal to the Maximum Transmit Size + 4 bytes of overhead. The Maximum
Transmit Size parameter defines the Data Field size (N) for the output bytes.
STATUS RXCTR TXACK LENGTH
1 byte 1 byte 1 byte 1 byte M bytes
ToolLink DeviceNet Input Bytes
DATA FIELD
COMMAND RXACK TXCTR LENGTH
1 byte 1 byte 1 byte 1 byte N bytes
ToolLink DeviceNet Output Bytes
DATA FIELD

ToolLink User Manual
MKS Instruments, Inc. Page 7 of 30
Serial Interface
The Receive Mode parameter defines how the ToolLink Gateway receives serial message packets. The
three supported modes include Timeout mode, Length mode and Delimiter mode.
When in Timeout mode, the ToolLink Gateway waits for an inter-byte delay to signal the end of a
message packet. If the receiver is idle for more than 3.5 byte times (or 5 msec, whichever value is
greater), then all bytes received before the timeout are grouped into a single message packet. 1 byte
time = 10 bits ÷baud rate.
When in Length mode, the ToolLink Gateway receives a fixed number of bytes as a complete message
packet. The Maximum Receive Size parameter defines the message packet size (0 to 64 bytes) for the
LENGTH mode.
When in delimiter mode, the ToolLink Gateway uses start and stop delimiter strings to identify the
beginning and end of a message packet. The Start Delimiter String parameter defines the beginning of
a message, and the Stop Delimiter String parameter defines the end of a message.

ToolLink User Manual
MKS Instruments, Inc. Page 8 of 30
Chapter 2 – Quick Start Guide
This chapter describes the setup for a simple gateway solution using a DeviceNet master and the serial
port of a PC using HyperTerminal. Before beginning a basic understanding of DeviceNet and rs232 is
required. Experience using explicit and poll transactions from the software provided with your DeviceNet
master is essential. For more information on generating explicit and poll messages consult the DeviceNet
master’s software user’s guide.
Hardware Setup
Setup a gateway connection between a device net master and the serial port of a PC.
Required Hardware:
•Null modem cable
•Device net cable
•Device net master
•PC with HyperTerminal
•Serial gateway
System Configuration
Configure the HyperTerminal properties in the File Menu of
HyperTerminal with the following parameters.
•9600 baud
•1 stop bit
•8 bits of data
•Odd parity
•No flow control
Configuring the Gateway
The major steps for configuring the gateway include setting up the Serial Stream Object, the Serial
Receive Object, and the Serial Transmit Object. This example is for the CDN466. For
Configure the gateway switches as follows:
•MACID MSD to 0
•MACID LSD to 1
•DeviceNet Data rate to 500
•RS2323 baud rate to 9600
Once all of the hardware is setup and powered up, make sure that the master can allocate both poll and
explicit connections to the gateway. Once allocated, both the net and mod LED will be solid green.
Com Port 1
Null Modem
Cable DeviceNet
Cable
DeviceNet
Master
CDN466/CDN467

ToolLink User Manual
MKS Instruments, Inc. Page 9 of 30
Using the DeviceNet master’s software loads the parameters for the serial stream object, the serial
receive object, and the serial transmit object in the tables below for the gateway through the device net
connection by using explicit messaging.
Table 1 Configure the serial stream object class 100 (0x64)
Attribute Access Name Value
6 Get/Set Baud Rate 9600
7 Get/Set Parity None
8 Get/Set Flow Control None
9 Get Receive Mode Timeout
13 Get/Set RX Handshake Enable 0 = No
16 Get/Set TX Handshake Enable 0 = No
19 Get/Set Max Receive Size 1
20 Get/Set Max Transmit Size 1
Transferring data
The ToolLink Gateway is now set up the receive data. The Output Size (Produce Size) will be equal to 5.
The 5 Byte poll response will is described below
The ToolLink Gateway is now set up the Transmit data. The Input Size (Consume Size) will be equal to
5. The 5 Byte poll will is described below.
STATUS RXCTR TXACK LENGTH
1 byte 1 byte 1 byte 1 byte 1 byte
ToolLink DeviceNet Input Bytes
DATA FIELD
COMMAND RXACK TXCTR LENGTH
1 byte 1 byte 1 byte 1 byte 1 byte
ToolLink DeviceNet Output Bytes
DATA FIELD

ToolLink User Manual
MKS Instruments, Inc. Page 10 of 30
Chapter 3 – Theory of Operation
This chapter describes how the CDN46X gateway operates. You should have a working knowledge of
DeviceNet and asynchronous serial communications before continuing. The Open DeviceNet Vendors
Association (www.odva.com) is a good source for general DeviceNet information. Refer to your serial
device documentation for its protocol information.
DeviceNet Interface
The DeviceNet Specification defines an Object Model that consists of Objects and Attributes. An Object
is a predefined software process, and an Object Attribute is a data value used or created by that process.
An Object can have multiple Instances, or the same process operating with different sets of Attributes or
data values. For the purpose of this document, an Object Instance is an independent program or
process, and its Attributes are configuration parameters and data values that are unique to that specific
Object Instance.
The CDN46X gateway has six different Object Classes, or types. Five are standard objects defined by
the DeviceNet Specification (Identity, Router, DeviceNet, Assembly, Connection). One specific object
defines for the CDN46X gateway (Serial Stream). The Serial Stream Object configures the serial channel,
and scans the incoming serial stream for valid message packets
The CDN46X gateway operates as a DeviceNet slave. It supports Explicit Messages and Polled I/O
Messages of the predefined master/slave connection set. The Explicit Unconnected Message Manager
(UCMM) is not supported. The CDN466 will be a Group 2 Only Slave device. It will support Change-of-
State and Polled I/O Messages. It will also support Explicit Messaging. The DeviceNet interface will
comply with the DeviceNet Physical Layer specification.
The I/O Messaging process consists of the DeviceNet master sending output data to the CDN46X in the
form of a Poll/COS Command Message, and the CDN46X returning input data to the DeviceNet master in
a Poll/COS Response Message. The difference between Poll and Change-of-State is Polled I/O
Messaging is initiated by the DeviceNet master and responded to by the slave device
The output and input data bytes are typically mapped into data files inside the DeviceNet master. These
data files are exchanged with the user application program, which acts upon the received input data and
writes new output data to the DeviceNet master.
CDN46X
Gateway
DeviceNet
Master
Application
Program
Input File
Output File
Serial
Device
DeviceNet netw
ork
Outputs
Inputs
Receive
Message Packet
Transmit
Message Packet
DeviceNet I/O Command
output data
DeviceNet I/O Response
input data

ToolLink User Manual
MKS Instruments, Inc. Page 11 of 30
The first 4 output data bytes received from the DeviceNet master contain used to control and monitor the
flow of data through the gateway. The remaining output data bytes contain serial message data to be
transmitted out the serial channel.
The ToolLink Gateway can receive serial message packets up to 68 bytes long. Set the Maximum
Receive Size equal to the size of the largest receive message packet for your application. This
parameter defines the Data Field size (M) for the input bytes.
The ToolLink Gateway can transmit serial message packets up to 68 bytes long. Set the Maximum
Transmit Size equal to the size of the largest transmit message packet for your application. This
parameter defines the Data Field size (N) for the output bytes.
Serial Interface
The Serial Stream Object attributes configure the serial channel’s baud rate, number of data bits and stop
bits, parity, and flow control. This configuration applies to both the serial transmitter and receiver. The
gateway has separate 128-byte serial transmit and receive FIFO buffers, allowing full duplex operation
when supported by the physical layer media.
The Serial Stream Object is also used to configure the message packet format.A message packet is
determined by one of three modes. List mode searches for Pre-Delimiter and Post-Delimiter byte strings
at the beginning and end of a message. Length mode captures a specific number of message bytes,
defined by Packet Length. Timeout mode uses an inter-byte delay (Packet Timeout) to signal the end of
a message. The following examples show the three Serial Stream Object Delimiter modes.
When the Receive Mode is set to List, the ToolLink Gateway uses start and stop delimiter strings to
identify the beginning and end of a message packet. The Start Delimiter String attribute defines the
beginning of a message, and the Stop Delimiter String attribute defines the end of a message.
The Start Delimiter String attribute format is [length][byte1][byte2][byte3][byte4]. The length byte is 0 to
4. The remaining byte(s) define the start of a message packet, which must be a unique byte string that is
not used elsewhere in the message packet. The ToolLink Gateway monitors received bytes for a match
to the Start Delimiter byte string. When a match is found, the start delimiter byte(s) and all subsequent
bytes are saved in the RX buffer, until a Stop Delimiter byte string is received. If the Start Delimiter String
is null (length = 0), the gateway starts saving the first received byte in the RX buffer.
The Stop Delimiter String attribute format is [length][byte1][byte2][byte3][byte4]. The length byte is 0 to
4. The remaining byte(s) define the end of a message packet, which must be a unique byte string that is
not used elsewhere in the message packet. Once a Start Delimiter String is received, the ToolLink
Gateway monitors the received bytes for a match to the Stop Delimiter byte string. When a match is
found, the gateway saves the stop delimiter bytes and the message packet is complete. If the Stop
Delimiter String is null (length = 0), then the gateway saves the start delimiter bytes and all subsequent
bytes until the Maximum Receive Number of bytes are received. This is a modified version of the
Length Mode, using a start message delimiter to signal the start of a new fixed length message packet.
When Receive Mode = TIMEOUT, the ToolLink Gateway waits for an inter-byte delay to signal the end of
a message packet. If the receiver is idle for more than 3.5 byte times (or 5 msec, whichever value is
greater), then all bytes received before the timeout are grouped into a single message packet.
STATUS RXCTR TXACK LENGTH
1 byte 1 byte 1 byte 1 byte M bytes
ToolLink DeviceNet Input Bytes
DATA FIELD
COMMAND RXACK TXCTR LENGTH
1 byte 1 byte 1 byte 1 byte N bytes
ToolLink DeviceNet Output Bytes
DATA FIELD

ToolLink User Manual
MKS Instruments, Inc. Page 12 of 30
1 byte time = 10 bits ÷baud rate.
When Receive Mode = LENGTH, the ToolLink Gateway receives a fixed number of bytes as a complete
message packet. The Maximum Receive Size parameter defines the message packet size (0 to 64
bytes) for the LENGTH mode.
Serial Synchronization
The RX Handshake Enable parameter selects the Receive Synchronization option. The Receive
Counter (RXCTR) input byte and Receive Acknowledge (RXACK) output byte provide a handshake
between the ToolLink Gateway and application program. The ToolLink Gateway always increments
RXCTR (1-255) when it loads a new RX message packet into the input Data Field. When Receive
Synchronization is enabled, the application must set RXACK = RXCTR to acknowledge receipt of an RX
message, before the ToolLink Gateway will load the next RX message into the input Data Field. A ladder
logic algorithm for Receive Synchronization is shown below.
The TX Handshake Enable parameter selects the Transmit Synchronization option. The Transmit
Counter (TXCTR) output byte and Transmit Acknowledge (TXACK) input byte provide a handshake
between the ToolLink Gateway and application program. When Transmit Synchronization is enabled, the
application must increment TXCTR (1-255) when is loads a new TX message packet into the output Data
Field. The ToolLink Gateway sets TXACK = TXCTR after it loads the message into the TX buffer. The
application should wait for the acknowledgement before sending a new TX message, to ensure no data is
lost. A ladder logic algorithm for Transmit Synchronization is shown below.
TXACK == TXCTR? LOAD NEW TX MSG
TXCTR = TXCTR+1
RXCTR <> RXACK? SAVE NEW RX MSG
RXACK = RXCTR

ToolLink User Manual
MKS Instruments, Inc. Page 13 of 30
Chapter 4 – Gateway Configuration
This chapter describes how to configure and operate the CDN46X gateway. Reading and writing attribute
values over its DeviceNet interface configure the gateway. There are a variety of DeviceNet configuration
tools available. Simple configuration tools use GET_ATTRIBUTE and SET_ATTRIBUTE explicit
message commands to read and write attribute values, addressing each attribute by its Object, Instance,
and Attribute numbers. This information is contained in Chapter 5. More sophisticated configuration tools
use EDS files to simplify attribute configuration. You can configure the gateway using pull-down menus,
buttons, and data entry fields from the gateway’s Electronic Data sheet (EDS) file.
Configure DeviceNet Interface
The DeviceNet Baud Rate and MAC ID Address are set using the rotary switches. Configure switches
before connecting to the DeviceNet network. There is either a small triangular indicator or white indicator
on the switch. Use a small screwdriver to align that indicator with the desired setting. Remove the
CDN46X cover if necessary to access the rotary switches.
DeviceNet Baud Rate Switch
Valid settings are 125K, 250K, 500K, or PGM. When PGM is selected, the CDN46X uses the baud rate
saved in its retentive memory. To save a valid baud rate in memory, set the switch to the desired baud
rate and power up the CDN46X for a few seconds. Power down and set the switch to PGM. You may
also write to the DeviceNet Object Baud Rate attribute.
POSITION SETTING POSITION SETTING
0 125 Kbps 5 invalid
1 250 Kbps 6 invalid
2 500 Kbps 7 invalid
3 invalid 8 invalid
4 invalid 9 PGM
MAC ID Switches
The two MAC ID switches represent decimal numbers from 00 to 99. The LSB switch selects the Ones
digit and the MSB switch selects the Tens digit. Valid MAC IDs are 00 to 63. Setting a MAC ID address
greater than 63 forces the gateway to use the MAC ID saved in retentive memory. To save a valid MAC
ID in memory, set the switches to the desired MAC ID and power up the CDN46X for a few seconds.
Power down and set the switches to value greater than 63. You may also write to the DeviceNet Object
MAC ID attribute.
MSB LSB Address MSB LSB Address
0 0 to 9 00 to 09 6 4 to 9 stored address
1 0 to 9 10 to 19 7 0 to 3 stored address
2 0 to 9 20 to 29 8 0 to 9 stored address
3 0 to 9 30 to 39 9 0 to 9 stored address
4 0 to 9 40 to 49
5 0 to 9 50 to 59
6 0 to 3 60 to 63
Power Up Gateway
Connect the gateway to a DeviceNet network to power up the gateway.
DeviceNet Status LEDs
The CDN46X gateway has two bi-color status LEDs (NET and MOD) that indicate operational status.
During power-up, the LEDs cycle through a sequence of alternating red and green. After power-up, the

ToolLink User Manual
MKS Instruments, Inc. Page 14 of 30
NET LED should be flashing green (or solid green if allocated to a DeviceNet master) and the MOD LED
should be solid green. If this does not occur, disconnect from DeviceNet and verify all the switch settings.
See Chapter 8 for additional troubleshooting topics.
State DeviceNet Status LED (NET)
Off No power.
Flashing Red Configuration error. Check DeviceNet switch settings.
Solid Red Unrecoverable error.
Flashing Green Device not allocated to a DeviceNet master.
Solid Green Normal runtime, device allocated as a slave.
State Module Status LED (MOD)
Off No power.
Flashing Red Configuration error. Check object attribute settings.
Solid Red Unrecoverable error.
Flashing Green Not defined.
Solid Green Normal Operation.
Serial Channel Status LEDs
The gateway has two bi-color LEDs to indicate serial channel activity. The TX LED flashes green when a
packet is being transmitted. The RX LED flashes green when a packet is being received. A fault is
indicated by solid red. After power-up, both LEDs should be off.
State Transmit Status LED (TX)
Off No data being transmitted
Flashing Red Not defined
Solid Red Transmit error (parity or overrun error)
Flashing Green Data being transmitted
Solid Green Not defined
State Receive Status LED (RX)
Off No data being received
Flashing Red Not defined
Solid Red Receive error (parity or overrun error)
Flashing Green Data being received
Solid Green Not defined
Register EDS File
If using a DeviceNet configuration tool that supports Electronic Data Sheet (EDS) files, you should now
register the gateway’s EDS file with the software. The latest EDS file versions can be downloaded from
www.mksinst.com. Select the EDS file that matches your gateway’s part number and firmware version.
Follow your configuration tool instructions to register EDS file. The parameters in the EDS file correspond
with the Serial Stream Object attributes defined in Chapter 5.

ToolLink User Manual
MKS Instruments, Inc. Page 15 of 30
Chapter 5 – DeviceNet Profile
The CDN466 device operates as a slave on the DeviceNet network. The unit supports Explicit Messages and
Polled I/O Messages of the predefined master/slave connection set. It does not support the Unconnected
Message Manager (UCMM).
DeviceNet Message Types
As a group 2 slave device the CDN466supports the following message types.
CAN IDENTIFIER GROUP 2 Message Type
10xxxxxx111 Duplicate MACID Check Message
10xxxxxx110 Unconnected Explicit Request Message
10xxxxxx101 Master I/O Poll Command Message
10xxxxxx100 Master Explicit Request Message
xxxxxx = Node Address
DeviceNet Object Classes
The CDN466device supports the following DeviceNet object classes.
CLASS CODE OBJECT TYPE
01 (0x01) Identity
02 (0x02) Router
03 (0x03) DeviceNet
04 (0x04) Assembly
05 (0x05) Connection
100 (0x64) User Defined Serial Interface
Identity Object Class Code: 01 (0x01)
The Identity Object is required on all devices and provides identification of and general information about the
device.
Table 2 Class Attributes
Attribute Access Name Type Value
1 Get Revision UINT 1
2 Get Max Instance UINT 1

ToolLink User Manual
MKS Instruments, Inc. Page 16 of 30
Table 3 Instance 1 Attributes
Attr Access Name Type Value
User Factory
1 Get Get Vendor UINT 59
2 Get Get Product Type UINT 12 = Communications Adapter
3 Get Get Product Code UINT 7456
4 Get Get Revision STRUCT OF
Major Revision USINT 1
Minor Revision USINT 1
5 Get Get Device Status WORD See Below
6 Get Get Serial Number UDINT See Below
7 Get Get Product Name STRUCT OF
Length USINT 6
Name STRING [6] CDN466
Table 4 Common Services
Service Code Class Instance Service Name
05 (0x05) No Yes Reset
14 (0x0E) Yes Yes Get_Attribute_Single
50 (0x32) No Yes Change_Mode
Revision – Attribute 4
MKS/CIT maintains strict revision control. The major revision number will increment as functional
enhancements are implemented. The minor revision will increment if minor changes are incorporated.
Device Status – Attribute 5
bit 0 owned 0=not owned
1=owned (allocated)
bit 1 reserved 0
bit 2 configured 0
bit 3 reserved 0
bit 4-7 vendor specific 0
bit 8 minor cfg fault 0=no fault
1=minorfault
bit 9 minor dev.fault 0=no fault
1=minor device fault
bit 10 major cfg.fault 0=no fault
1=majorcfg.Fault
bit 11 major dev.fault 0=no fault
1=majordevicefault
bit 12-15 reserved 0
Serial Number – Attribute 6
The serial number is encoded in the product during the manufacturing cycle and is guaranteed to be
unique across all product lines produced by MKS/CIT. The Serial Number matches the bar codes serial
number on the unit.

ToolLink User Manual
MKS Instruments, Inc. Page 17 of 30
Router Object Class Code: 02 (0x02)
The Message Router Object provides a messaging connection point through which a Client may address a
service to any object class or instance residing in the physical device.
Table 5 Class Attributes
Attribute Access Name Type Value
1 Get Revision UINT 1
6 Get Max Class Attribute ID UINT 7
7 Get Max Instance Attribute ID UINT 2
Table 6 Instance 1 Attributes
Attribute Access Name Type Value
2 Get
Number of Connections UINT 2
Table 7 Common Services
Service Code Class Instance Service Name
14 (0x0E) Yes Yes Get_Attribute_Single
DeviceNet Object Class Code: 03 (0x03)
Table 8 Class Attributes
Attribute Access Name Type Value
1 Get Revision UINT 2
Table 9 Instance 1 Attributes
Attribute Access Name Type Value
1 Get/Set MACID USINT See Below
2 Get/Set Baud Rate USINT See Below
5 Get Allocation Information STRUCT of See Below
Choice Byte BYTE
Master Node Addr. USINT
Table 10 Common Services
Service Code Class Instance Service Name
14 (0x0E) Yes Yes Get_Attribute_Single
16 (0x10) No Yes Set_Attribute_Single

ToolLink User Manual
MKS Instruments, Inc. Page 18 of 30
MACID – Attribute 1
The MACID is set using two BCD rotary switches located on the front panel. Valid MACID addresses are 0 to
63 (0 to 3F Hex). Setting the switch address to a value greater than 63 will disable the switch and allow
software setting of the MACID. The software setting defaults to the last hardware setting. The switch is only
read during power up.
Baud Rate – Attribute 2
Settable only if the Baud Rate switch is set to a value greater than 2. Value returned will be switch value if
less than 4 or the last value set.
Switch/Value Speed
52 125 kbits
52 250 kbits
52 500 kbits
52 Software settable
Allocation Information – Attribute 5
Allocation_byte
bit 0 explicit set to 1 to allocate
bit 1 polled set to 1 to allocate
bit 2 strobed (not supported)
bit 3-7 reserved (always 0)
Assembly Object Class Code: 04 (0x04)
The Assembly Objects bind attributes of multiple objects to allow data to or from each object to be sent or
received over a single connection.
Table 11 Class Attributes
Attribute Access Name Type Value
1 Get Revision UINT 2
2 Get Max Instance UINT 102
Table 12 Instance 101 Attributes
Attribute Access Name Type Value
3 Get Data Stream (Input) see notes (1)
Table 13 Instance 102 Attributes
Attribute Access Name Type Value
3 Get/Set Data Stream (Output) see notes (2)

ToolLink User Manual
MKS Instruments, Inc. Page 19 of 30
Table 14 Common Services
Service Code Class Instance Service Name
14 (0x0E) Yes Yes Get_Attribute_Single
16 (0x10) No Yes Set_Attribute_Single
(1) The input data stream is structured as either an array of bytes or as a SHORT_STRING consisting of a
single byte length field and ‘n’ data bytes. Refer to the serial stream object class 100 for further
information.
(2) The output data stream is structured as either an array of bytes or as a SHORT_STRING consisting of a
single byte length field and ‘n’ data bytes. Refer to the serial stream object class overview and class 100
for further information.
Connection Object Class Code: 05 (0x05)
The Connection Objects manage the characteristics of each communication connection. As a Group II Only
Slave device the unit supports one explicit message connection and a POLL message connection.
Table 15 Class Attributes
Attribute Access Name Type Value
1 Get Revision UINT 1
Table 16 Instance 1 Attributes (Explicit Connection)
Attribute Access Name Type Value
1 Get State USINT See Below
2 Get Instance Type USINT 0 = Explicit Message
3 Get Transport Class Trigger USINT 0x83
4 Get Production Connection UINT See Below
5 Get Consumed Connection UINT See Below
6 Get Initial Comm. Char. USINT 0x21
7 Get Production Size UINT TBD
8 Get Consumed Size UINT TBD
9 Get/Set Expected Packet Rate UINT default 2500 msec
12 Get/Set Timeout Action USINT See Below
13 Get Prod. Path Length USINT 0
14 Get Production Path (null)
15 Get Cons. Path Length USINT 0
16 Get Consumed Path (null)

ToolLink User Manual
MKS Instruments, Inc. Page 20 of 30
Table 17 Instance 2 Attributes (POLL connection)
Attribute Access Name Type Value
1 Get State USINT See Below
2 Get Instance Type USINT 1 = I/O Message
3 Get Transport Class Trigger USINT 0x83
4 Get Production Connection UINT See Below
5 Get Consumed Connection UINT See Below
6 Get Initial Comm. Char. USINT 0x01
7 Get Production Size UINT See Below
8 Get Consumed Size UINT See Below
9 Get/Set Expected Packet Rate UINT default 2500 msec
12 Get/Set Timeout Action USINT See Below
13 Get Prod. Path Length USINT See Below
14 Get/Set Production Path STRUCT of
Log. Seg., Class USINT 0x20
Class Number USINT 0x04
Log.Seg., Instance USINT 0x24
Instance Number USINT 0x100 (default)
Log.Seg., Attribute USINT 0x30
Attribute Number USINT 0x03
15 Get Cons. Path Length USINT3 6
16 Get/Set Consume Path STRUCT of
Log. Seg., Class USINT 0x20
Class Number USINT 0x04
Log.Seg., Instance USINT 0x24
Instance Number USINT 0x101 (default)
Log.Seg., Attribute USINT 0x30
Attribute Number USINT 0x03
Table 18 Common Services
Service Code Class Instance Service Name
05 (0x05) No Yes Reset
14 (0x0E) Yes Yes Get_Attribute_Single
16 (0x10) No Yes Set_Attribute_Single
State – Attribute 1
Connection States:
0 = non-existent
1 = configuring
3 = established
4 = timed out
Connection ID’s – Attributes 4 and 5
Connection 1 Produced Connection ID: 10xxxxxx011
Connection 1 Consumed Connection ID: 10xxxxxx100
Connection 2 Produced Connection ID: 01111xxxxxx
This manual suits for next models
1
Table of contents