background image

 

 

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 CDN466

Страница 1: ...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...

Страница 2: ...pes 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...

Страница 3: ...p 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...

Страница 4: ...micro connector 1 SHIELD 2 V 3 V 4 CAN H 5 CAN L PIN SIGNAL 1 2 3 4 5 DeviceNet Status LED NET OFF No power RED BLINK Configuration error RED Unrecoverable error GREEN BLINK Not allocated to a master...

Страница 5: ...nd 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 wiri...

Страница 6: ...FF 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 hardwar...

Страница 7: ...hever 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 numbe...

Страница 8: ...vice 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 b...

Страница 9: ...ceive 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 se...

Страница 10: ...al 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...

Страница 11: ...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...

Страница 12: ...ACK 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 belo...

Страница 13: ...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 m...

Страница 14: ...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 Transmi...

Страница 15: ...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...

Страница 16: ...tribute 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 incorpora...

Страница 17: ...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 0...

Страница 18: ...ast 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...

Страница 19: ...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...

Страница 20: ...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...

Страница 21: ...Revision UINT 1 2 Get Max Object Instance UINT 1 6 Get Max Class Identifier UINT 7 7 Get Max Instance Attribute UINT 18 Table 20 Serial Stream Object Instance 1 Attributes Attribute Access Name Type V...

Страница 22: ...ld TX Acknowledge Increments from 0 255 each time a complete serial message has been transmitted by the CDN66 Length The number of bytes of the serial message in the Data field Data Data received by t...

Страница 23: ...e Baud Rate 0 19200 1 600 2 1200 3 2400 4 4800 5 9600 6 19200 Parity Attribute 7 The Parity attribute sets the format for characters transmitted and received across the serial connection Note that the...

Страница 24: ...search for a fixed strings to mark the stop and or end of a serial message Behavior in this mode depends on the setting of the Start Delimiter String and Stop Delimiter String attributes Start Stop If...

Страница 25: ...e Mode attribute is in the Start Stop Delimiter mode The number of bytes in the string can be 0 not used to 4 The Stop Delimiter set as a DeviceNet SHORT_STRING which includes a length byte followed b...

Страница 26: ...e Status Rx Counter TX ACKNOWLEDGE Length Data Maximum Rx Size Attribute 19 Value 0 to 64 default 16 Maximum Rx Size sets the length of the data field in the I O response It should be set greater or e...

Страница 27: ...in the data field poll command and poll response This is useful with many PLC devices that reverse the positions of each byte pair in memory garbling up string data Default byte positions 1 2 3 4 5 6...

Страница 28: ...ignal Levels ISO11898 Serial Channel Isolation 500 Volts ESD Protection 10 kV Overload Protection 30 Volts Short Circuit Indefinite RS232 Output Levels 7 9 Volts unloaded typical Environmental Operati...

Страница 29: ...e return Ctrl M 0x2D 45 0x4D 77 M 0x6D 109 m 0x0E 14 SO Shift out Ctrl N 0x2E 46 0x4E 78 N 0x6E 110 n 0x0F 15 SI Shift in Ctrl O 0x2F 47 0x4F 79 O 0x6F 111 o 0x10 16 DLE Data line escape Ctrl P 0x30 4...

Страница 30: ...er for any breach by MKS of this warranty The purchaser before returning any equipment covered by this warranty which is asserted to be defective by the purchaser shall make specific written arrange m...

Отзывы: