Home
CDN466 / CDN467 - MKS Instruments, Inc.
Contents
1. 17 DEVICENET OBJECT CLASS CODE 03 0X03 17 Aitributeil ee eere tete eee bye evene day reae cesse 18 Baud Rate eee neve deer 18 Allocation Information Attribute 5 18 ASSEMBLY OBJECT CLASS CODE 04 0X04 eici eene nennen trennen eren 18 CONNECTION OBJECT CLASS CODE 05 0x05 isses ener ener en en nennen 19 eie he 20 Connection ID s Attributes 4 and 5 cocccccccccccccsccccccsssssssscccsccssssssssccssccsscsssssscsscesessssssecssecsessssssssssessssssssssssosevenss 20 Production and Consumed Sizes Attributes 7 and 8 21 Watch Dog Timeout Activity Attribute 12 seen rere entren 21 USER DEFINED SERIAL STREAM OBJECT CLASS CODE 100 0 64 21 ReceiwebDatu RE AOR Eh rect 22 Transmit M setate EI EERE EES 22 Re er elect tai teen ecd reris 23 Parity Attribilte 7 ed eedem denen nO Edemettted ain heit ees 23 Flow Gontrol lateat ae ever la
2. Device 5 CANL O 12 2006 ToolLink Instruction Manual Rev 1 0 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 Address Switch 00 TO 63 Sets DeviceNet node address MSD switch sets the most Interface significant digit to LSD switch sets the least significant digit xO to x9 Data Rate Switch 0 lt 125Kbps Sets DeviceNet data rate 1 250kbps 2 500Kbps Maximum Receive Size Software 10 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 10 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 Defines how ToolLink formats its input and output data fields 1 enabled When enabled ToolLink swaps every 2 bytes in the data field Serial Interface Baud Rate Switch 0 19200 4 4800 Sets the serial channel baud rate 1 600 5 9600 2 1200 6 19200 3 2400 Parity Software 0 No parity Sets the seria
3. 23 RECEIVE MOdE Attribute 0 REE sta e vetu de dde eei 23 WEITE E M 24 24 Stop Delimilerz eoe Fe RUP eto d 24 MKS Instruments Inc 2 12 2006 ToolLink Instruction Manual Rev 1 0 REMIT D 24 DAD HA ASH mc C m 24 Start Delimiter String Attribute 25 Stop Delimiter String Attribute 12 25 Rx Handshake Enable Attribute 13 sse 25 TX Handshake Enable Attribute 16 26 Maximum Rx Size Attribute 19 eese 26 Maximum TX Size Attribute 20 26 Byte Swapping Altribule 21 p eer Do eee 26 APPENDIX A PRODUCT SPECIFICATIONS csssssssssscscssssscveccccscsssscenecesccsssssceecsesesssscscsecssessscsssscenecees 28 DEVICENET sees EE iet RP re xe ee ee Pete erede el veg exe hoes ei vee dan ese edi 28 SERIAL CHANNEL ue Rh ecu e n E re eere vet debe eee neat rerom ta thv ever et T 28 ENVIRONMEN
4. jVaue 1 Get State 1 USNT Cd See Below 2 Get Instance Type USINT Cd t O Message 3 Get Transport Class Trigger USINT 0x83 4 Get Production Connection UINT sd See Below 5 Get Consumed Connection UINT ss See Below 6 Get Initial Comm Char USINT OOD 8 Get ConsumedSze UINT See Below 9 Get Set__ Expected Packet Rate UINT default 2500 msec 14 Production Path STRUCTof LegSeg Cas USIT OAD ClassNumber USIT OOH logSeg Instance USNT i OAH CT f Instance Number USINT jOxiO0 defaut bog Seg Attribute USINT OBO f AttibuteNumber USNT OOH 115 Get Cons Path Length USNT3 16 16 GeuSet ConsumePah STRUCTof 1 amp LoegSeg Cas USNT 0x20 __ _ ClasNNumer USNT OOH logSeg Instance USINT OAH Instance Number USINT 0x101 default bog Seg Attribute KBD PT Attribute Number USINT 0x03 Table 18 Common Services Service Code Class Instance Service Name 1 0 0 0 0 05 0x05 14 Get Attribute Single 16 0x10 Set Attribute Single State Attribute 1 Connection States 0 lt non existent 1 7 configuring 3 established 4 lt timed out Connection ID s Attributes 4 and 5 Connection 1 Produc
5. The major steps for configuring the gateway include setting up the Serial Stream Object the Serial Receive Object and the Serial Transmit Object Configure the gateway switches as follows e MACID MSD to 0 e MACID LSD to 1 e DeviceNet Data rate to 500K RS2323 baud rate to 19200 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 MKS Instruments Inc 8 12 2006 ToolLink Instruction Manual Rev 1 0 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 Vale 6 Get 9600 O 8 Flow Control Noe 9 Get Set Get Set RX Handshake Enable Get Set TX Handshake Enable lt No Get Set 20 Get Set Max Transmit Size 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 ToolLink DeviceNet Input Bytes STATUS RXCTR TXACK LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte 1 byte The ToolLink Gateway is now set up the Transmit
6. 1 Get UINT MKS Instruments Inc 15 12 2006 ToolLink Instruction Manual Rev 1 0 Table3 Instance 1 Attributes Access Type ae k User Factory 0 0 0 0 0 0 0 0 0 0 00 4 Get j Revsion X STROCTOF Major Revision USNT i Minor Revision USNT M LO y 6 Get Get X SeeBeow 7 Get ProductName STRUCTOF 1 f lenh SINT L1 1 STRIG 6 CDN466 Table 4 Common Services Service Code Class ServiceName 1 1 1 1 10 05 0x05 14 OxOE 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 fault 12minor fault bit 9 minor dev fault fault 12minor device fault bit 10 major cfg fault fault 1 cfg Fault bit 11 major dev fault fault 12major device fault bit 12 15 reserved 0 Serial Number Attribu
7. 14 Get Receive Counter USINT RXC Receive Message 9 MKS Instruments Inc 21 12 2006 ToolLink Instruction Manual Rev 1 0 17 Get Transmit Counter USINT RXC Receive Message Counter 0 255 Transmit Acknowledge _ USINT 64 Default 12 bytes 64 Default 12 bytes Get Set USINT 1 Yes 0 Receive Data Attribute 3 The Receive Data attribute returns data received from the serial connection with a 4 68 byte message formatted as follows Status Rx Counter TX Acknowledge Length Data Byte 0 Byte 1 Byte 2 Byte 3 Max Rx Bytes Status Returns the state of the serial buffers and indicates if a parity error was found in the received data Status is bit mapped as follows Bit 7 RX Buffer Empty Bit 6 RX Buffer Overflow Bit 5 RX Parity Error Bit 4 TX Buffer Empty Bit 3 TX Buffer Overflow Rx Counter Increments from 0 255 each time a new serial packet received by the CDN466 is placed in the Data field 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 the 466 from the serial connection unused bytes are set to 0 Transmit Data Attribute 4 Setting the Transmit Data attribute will allow data to be sent to the serial connection as in the I O command message The Transmit
8. then the remaining bytes are sent in the next poll explicit transaction For free running mode with Change of State messaging each received byte will generate a Change of State input message Note that this is not an efficient use of DeviceNet bandwidth Start Stop Delimiters In this mode the CDN466 will 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 both are used the Start and Stop delimiters will mark the beginning and end of each message Characters outside of the delimiters will be igored For example if Start Delimiter lt and Stop Delimiter gt the serial data stream 1 lt gt 2 lt gt would be returned in two separate DeviceNet messages as lt ABC gt and lt XY gt Stop Delimiter If only the Stop Delimiter String is used Start Delimiter 0 the CDN466 will use the first character received as the beginning of a message and the last character received as the end of message For example if Stop Delimiter the serial data stream ABCD EFGIHI would be returned in two separate DeviceNet messages as ABCD and EFG Start Delimiter If only the Start Delimiter String is used Stop Delimiter String 0 the CDN466 will use the Start delimiter to mark the beginning of the message and will wait until it
9. 0x3C 0x3C Ox3C Stop Delimiter String Attribute 12 The Stop Delimiter String is a constant sequence of characters the CDN466 uses to identify that end of a received serial message when the Receive 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 by the ASCII bytes defining the string For example to use the four byte string gt gt gt gt is the SHORT STRING gt gt gt gt or 0x04 Ox3C Ox3C Ox3C Ox3C Rx Handshake Enable Attribute 13 By default Rx Handshaking disabled the 466 updates the data received from the serial connection to the DeviceNet I O response as soon as a complete message is received At slow DeviceNet rates however there remains the possibility that more than one serial message will be received between successive polls resulting in loss of data If the Rx Handshaking Enable is set the serial data made available in the I O response will not be overwritten by a new message until the user acknowledges that the data has been received Once the user has acknowledged the new serial data by setting the Rx Acknowledge value equal to the Rx Counter the I O response will be free to update with new data Important As the serial buffer may continue to receive data as the CDN466 is waiting for an acknowledgemen
10. Data Rate Pins 4 and 6 connected internally Rotary Switch 20 O5 04 DeviceNet Status LED NET Module Status LED MOD DeviceNet Channel male 5 pin micro connector PIN SIGNAL STATE DESCRIPTION STATE DESCRIPTION OFF No power OFF No power aoe RED BLINK Configuration error RED BLINK Configuration error 3 y RED Unrecoverable error RED Unrecoverable error 4 CANH GREEN BLINK Not allocated to a master GREEN BLINK Not defined 5 CANL GREEN Allocated to a master GREEN Normal operation MKS Instruments Inc 4 12 2006 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 to 70 ambient operating temperature range Fasten the ToolLink Gateway to the mounting surface using two screws not provided in the 0 19 inch mountina holes All dimensions are inches Holes 2 0 19 DIA 0 625 DIA On Case Wall 4 lt 0 70 0 542 i 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 switch position switch indicator arrow switch screw slot Each rotary switch parameter has a
11. Size parameter defines the Data Field size M for the input bytes ToolLink DeviceNet Input Bytes STATUS RXCTR TXACK LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte M 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 ToolLink DeviceNet Output Bytes COMMAND RXACK TXCTR LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte N bytes 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 MKS Instruments Inc 6 12 2006 ToolLink Instruction Manual Rev 1 0 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 lt 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 beginn
12. consume size of the connection will be configured to Maximum TX Size 4 4 control bytes Maximum TX Size data bytes Byte Swapping Attribute 21 MKS Instruments Inc 26 12 2006 ToolLink Instruction Manual 1 0 When enabled this switches the byte positions of each byte pair 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 7 Swapped positions 2 1 4 3 6 5 7 Note that if the last byte has an odd numbered position it retains the same position with Byte Swapping enabled MKS Instruments Inc 27 12 2006 ToolLink Instruction Manual Rev 1 0 Appendix A Product Specifications DeviceNet Interface Power Requirements Loss of Ground Reverse Polarity Signal Levels Serial Channel Isolation ESD Protection Overload Protection Short Circuit RS232 Output Levels Environmental Operating Temperature Storage Temperature Size inches Mounting inches PCB Encapsulation MKS Instruments Inc 11 28 Vdc 50 mA Yes 30 15011898 500 Volts 10 kV 30 Volts Indefinite 7 9 Volts unloaded typical 0 C to 70 C 25 C to 85 C 3 25 x 2 37 x 1 08 0 5 tabs 3 16 diameter mounting holes RTV Silicon Compound 28 12 2006 ToolLink Instruction Manual Rev 1
13. 0 Appendix B ASCII Character Codes Non Printable Characters Printable Characters Null Space 0x40 o els Start of heading Start of text End of text End of transmit Enquiry Acknowledge Bell Backspace Horizontal tab Line feed Vertical tab Form feed Carriage return Shift out Shift in Data line escape Device control 1 Device control 2 Device control 3 Device control 4 Negative acknowledge Synchronous idle End of transmit 5 lt Group separator RS Record separator US Unit separator A B C D E F G H J K L M N R S T U V Ww X Y Z MKS Instruments Inc 29 12 2006 MKS Instruments Inc ToolLink Instruction Manual Rev 1 0 mks WARRANTY Remote Monitor Unit MKS Instruments Inc MKS warrants that for one year from the date of shipment the equipment described above equipment manufactured by MKS shall be free from defects in materials and workmanship and will correctly perform all date related operations including without limitation accepting data entry sequencing sorting comparing and reporting regardless of the date the operation is performed or the date involved in the operation provided that if the equipment exchanges data or is otherwise used with equipment software or other products of others such products of others themselves correctly perform all dat
14. 2 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 7 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 lt 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 MKS Instruments Inc 11 12 2006 ToolLink Instruction Manual Rev 1 0 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 optio
15. 2 2006 ToolLink Instruction Manual Rev 1 0 Table 14 Common Services Service Code Class Instance Service 14 OxOE Get Attribute Single 16 0x10 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 Type Value Attribute y 1 Get Revision UINT 1 1 uet Table 16 Instance 1 Attributes Explicit Connection Attribute Access jVaue 03 7 Production Size UINT 68 UINT 68 default 2500 msec default 2500 msec 16 Path MKS Instruments Inc 19 12 2006 ToolLink Instruction Manual 1 0 Table 17 Instance 2 Attributes POLL connection Attibute Access Type amp amp
16. 9200 Parity Attribute 7 The Parity attribute sets the format for characters transmitted and received across the serial connection Note that the connected serial device must be configured for an identical character format Value Parity Format 0 None 1 Start 8 Data 1 Stop Default 1 Odd 1 Start 7 Data Odd Parity 1 Stop 2 Even 1 Start 7 Data Even Parity 1 Stop Flow Control Attribute 8 Value Mode 0 None default 1 CTS RTS Hardware Receive Mode Attribute 9 Value Mode 0 Time Out default 1 Length 2 Start Stop Delimiter MKS Instruments Inc 23 12 2006 ToolLink Instruction Manual Rev 1 0 Time Out In Time Out mode the CDN466 measures the time delay between received serial characters When 4 byte times elapse between received bytes this signals the end of the current message packet The CDN466 automatically calculates the 4 byte times based on current RS232 baud rate Time out 4 bytes x 9 bits byte data rate bits second Length In length mode the 466 is configured to receive fixed length message packets The length shall be software selectable from 0 to 64 bytes If the length is set to 0 the CDN466 will operate in a free running mode For Polled I O messaging all RX buffer bytes are returned in response to a Poll Request message If there are more RX bytes than will fit
17. Data attribute is formatted as follows Command Rx Acknowledge TX Counter Length Data Byte 0 Byte 1 Byte 2 Byte 3 Max Rx Bytes Command The command byte allows the data in the receive and transmit buffers to be flushed Bit 6 Clear Rx Buffer Set bit to clear Bit 3 Clear TX Buffer Set bit to clear Rx Counter f the Rx Handshaking attribute is enabled the Rx Acknowledge must be set to the value of Rx Counter 0 255 in the Receive data attribute before the data field will be updated with a new serial packet Setting Rx Acknowledge to 0 will reset the Rx Counter to 0 If Rx Handshaking attribute is disabled the Rx Counter is ignored and should be left at 0 MKS Instruments Inc 22 12 2006 ToolLink Instruction Manual Rev 1 0 TX Counter f the TX Handshaking is enabled the TX Counter must be incremented from its previous value 0 255 in order for the message in the data field to be transmitted Setting TX Counter to 0 will reset the value of TX Acknowledge If TX Handshaking is disabled the value of TX Counter is ignored and the message in the Data field is transmitted each time it is written Baud Rate Attribute 6 Baud Rate controls the communications rate with the serial connection and must match the setting of the connected serial device Value Baud Rate 19200 600 1200 2400 4800 9600 A N 1
18. FIGURE DEVICENET INTERFACE o tee e eee cad Re 13 iDeviceNet Baud AANE AEAN EN SEENE E RN EA ENEN E A E AEE 13 OOV E Nk 13 POWER UP GATEWAY 5 ie koh esie e E E aie sea c hee base ecce EEE R EERE E ERE 13 DeyiceNet Status LEDS ettet eise torte ec Pot ee 13 Serial Channel Status LEDS soos ur ette ye teet e tetuer ety even den atero peer e e eee du depu 14 Register EDS File co cee ea ene 14 CHAPTER 5 De eua iE e TR Nae 15 DeviceNet Message Types e eere tete dere ete tere ipee pene doceo eee tea es 15 DEVICENET OBJECT CLASSES ccccsssccesesssecessnsecesssaeeecesssecsesssecsssaecsssnsecsesaesecessseceesesseccsesaesecesecsesessecseaaeseseesaeces 15 IDENTITY OBJECT CLASS CODE 01 0 01 15 REVISION AHi bute A s eee eres eee od cene doe e ette estes eer e eir a ea entstand eren 16 Device Stat s Attribwle 5 os eee tunes or eere Eee este ee Teteres udo cro e eed deser 16 Serial Number Attribute eere tiene one rene eee p don due ee eon eu seges eor ep doses eee ee serena 16 ROUTER OBJECT CLASS CODE 02 0 02
19. ITION 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 466 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 409 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 466 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 MKS Instruments Inc 13 12 2006 ToolLink Instruction Manual Rev 1 0 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 disco
20. KS recommends that all MKS pressure and flow products be calibrated periodically typically every 6 to 12 months to ensure accurate readings When a product is returned to MKS for this periodic re calibration it is considered normal preventative maintenance not covered by any warranty THIS WARRANTY IS IN LIEU OF ALL OTHER RELEVANT WARRANTIES EXPRESSED OR IMPLIED INCLUDING THE IMPLIED WARRANTY OF MERCHANTABILITY AND THE IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT OF ANY PATENT 30 12 2006
21. 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 MKS Instruments Inc 5 ToolLink Instruction Manual Rev 1 0 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 RS232 Interface 2 RXD RXD 2 1 DRAIN 5232 3 TXD TXD 3 ERE R 5 GND GND 5 CDN466 vpc Serial Ar CANE Device 5 CANL RS232 Interface HW Flow Control 2 RXD pais 3 TXD TXD 3 ae 3 GND GND CDNA466 voc Serial s gt lt ES 2 4
22. Program CDN466 Gateway DeviceNet network MKS Instruments Inc 10 12 2006 ToolLink Instruction Manual Rev 1 0 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 ToolLink DeviceNet Input Bytes STATUS RXCTR TXACK LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte M 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 ToolLink DeviceNet Output Bytes COMMAND RXACK TXCTR LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte N 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
23. Stream Object configures the serial channel and scans the incoming serial stream for valid message packets The CDN466 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 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 CDN466 in the form of a Poll COS Command Message and the CDN466 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 Input File Inputs a ee DeviceNet I O Response Receive cuc EN input data Message Packet Outputs Output File ae DeviceNet I O Command Master Transmit E t dat SUAE Message Packet DeviceNet Serial Device Application
24. TAL iere EE o tt here ved A tee ever vetare vere 28 APPENDIX B ASCII CHARACTER CODES e eeeeeeeeee esee ee enean nasse asses e testa ases e eaten asses e 29 MKS Instruments Inc 3 12 2006 ToolLink Instruction Manual Rev 1 0 Chapter 1 Overview This document describes how to install configure and operate the 466 series of serial to DeviceNet gateways The following products are covered in this user manual Part Number CDN466 FW Rev 1 01 or higher Serial Channel RS232 full duplex The CDN466 gateways allow you to easily interface a wide variety of serial devices to any DeviceNet industrial control network Standard CDN466 products are tightly packaged and sealed in a rugged industrial case Board level and customized gateways are also available upon request Hardware Receive Status LED RX Transmit Status LED TX 12 34 5 STATE DESCRIPTION STATE DESCRIPTION OOO OO OFF Not receiving data OFF Not transmitting data RED BLINK Not defined RED BLINK Not defined 6 7 8 9 RED Receive error RED Transmit error 2 GREEN BLINK Receiving data GREEN BLINK Transmitting data Isolated Serial Channel GREEN Not defined GREEN Not defined male 9 connector PIN CDN466 1 nc 2 RXD 3 TXD 4 DTR DSR 5 SGND 6 DTR DSR 7 RTS Serial Baud Rate 8 CTS Rotary Switch 9 DeviceNet Address Rotary Switches DeviceNet
25. data The Input Size Consume Size will be equal to 5 The 5 Byte poll will is described below ToolLink DeviceNet Output Bytes COMMAND RXACK TXCTR LENGTH DATA FIELD 1 byte 1 byte 1 byte 1 byte 1 byte MKS Instruments Inc 9 12 2006 ToolLink Instruction Manual Rev 1 0 Chapter 3 Theory of Operation This chapter describes how the CDN466 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 CDN466 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 CDN466 gateway Serial Stream The Serial
26. e related operations and store and transmit dates and date related data in a format compatible with MKS equipment THIS WARRANTY IS MKS SOLE WARRANTY CONCERNING DATE RELATED OPERATIONS For the period commencing with the date of shipment of this equipment and ending one year later MKS will at its option either repair or replace any part which is defective in materials or workmanship or with respect to the date related operations warranty without charge to the purchaser The foregoing shall constitute the exclusive and sole remedy of the purchaser 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 ments with respect to the responsibility for shipping the equipment and handling any other incidental charges with the MKS sales representative or distributor from which the equipment was purchased or in the case of a direct purchase from MKS with the MKS home office in Andover Massachusetts USA This warranty does not apply to any equipment which has not been installed and used in accordance with the specifications recommended by MKS for the proper and normal use of the equipment MKS shall not be liable under any circumstances for indirect special consequential or incidental damages in connection with or arising out of the sale performance or use of the equipment covered by this warranty M
27. ed Connection ID 10xxxxxx01 1 Connection 1 Consumed Connection ID 10xxxxxx100 Connection 2 Produced Connection ID 01111 MKS Instruments Inc 20 12 2006 ToolLink Instruction Manual Rev 1 0 Connection 2 Consumed Connection ID 10xxxxxx101 XXxxxx Node Address Production and Consumed Sizes Attributes 7 and 8 The Production and Consumed sizes will change based on the maxrx and maxtx in addition to the overhead bytes Watch Dog Timeout Activity Attribute 12 0 Timeout Messaging default 1 Auto Delete Explicit Messaging fixed value 2 Auto Reset User Defined Serial Stream ObjectClass Code 100 0x64 The Serial Stream Object model supports a bi directional serial stream of data The object includes the transmit FIFO the receive FIFO and the serial channel configuration attributes Table 19 Serial Stream Class Attributes Attribute Access Type Value Attribute y 1 Get Revision UINT 1 1 Get Max Object Instance UINT 6 1 Get MaxClass Identifier UINT Max Instance Attribute UINT Table 20 Serial Stream Object Instance 1 Attributes Attribute Access Name Type Receive Data Short String Received Massage Data Get Set Transmit Data Short_String Message data to transmit 4 6 Get Baud Rate USINT Get Set USINT Get Set Flow Control USINT Get Set USINT Get Set Stop Delimiter String Array 5 Get Set RX Handshake Enable USINT 1 Yes 0 No
28. eemks Technology for Productivity ToolLink Instruction Manual Rev 1 0 TABLE OF CONTENTS CHAPTER T 2 te teens sere eer Read Devo vases e urn s 4 HARDWARE Sick uiu e diente te t ster E SR as RH ee BASE 4 CONFIGURATION wes te ente Oise Cre eb E RR BI Ric BPS Lees ede SO sais sO 6 DEVICENET INTERFACE 26e toes nti emo RES vete Nene BE pet bsec eee Cr Evae est Beans 6 SERIAL INTERFACE atele md itin Eden eH be bate este Ie ee eee pe Rae ve emnes ee EO 6 CHAPTER 2 QUICK START GUIDE norte cas ntc Poen uiae ett aeo e ca e vot npe ot coe ruens tabe dio recreo sopa 8 HARDWARE SETUP stan icit tet c t v c N ee i E E Ae 8 SYSTEM CONFIGURATION noro 5 teet id te des sede ce n e eie deed ret eee da te eee erede ee iv tech c ee READER 8 CONFIGURING THE GATEWAY een eicere ee et ee e EE eden aC Pe ced 8 TRANSFERRING DATA nete ot atia en e ee e e Re eee 9 CHAPTER 3 THEORY OF OPERATION ccsssssscscssssssssrscccsscssccnececcccsssssssenccccsesessssescccesscssssenseeessssssssenseees 10 DEVIGENET INTERF ACE 56 ierit ero Rr p o ud rete bait a a a eE rere t netu 10 SERIAL INTEREACES praed rais Olea Bee eroe n tbe itat a etr s prets 11 CHAPTER 4 GATEWAY CONFIGURATION e eren eee enean soto aetates toas etta setae ee tns sone seen s eaae sete seta 13 CON
29. eet 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 MKS Instruments Inc 14 12 2006 ToolLink Instruction Manual Rev 1 0 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 10 111 Duplicate Check Message 10xxxxxx110 Unconnected Explicit Request Message 10 101 Master I O Poll Command Message 10xxxxxx100 Master Explicit Request Message Node Address DeviceNet Object Classes The CDN466device supports the following DeviceNet object classes 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 Type Value Attribute y 1 Get Revision UINT 1
30. er data from the command has finished transmitting to the serial connection If the user waits for TX Acknowledge to change before triggering the transmission of new data the user should not be able to overflow the transmit buffer Figure 2 TX Handshaking s TX Handshaking Disabled Triggers Serial transmission TX Handshaking Disabled No function when set to non zero value User sets to zero TX Handshaking Enabled Does not trigger transmission TX Handshaking Enabled User increments to transmi of data new data Fa RX Commad Command ACKNOWLEDGE TX Counter Length Data I O Response Status Rx Counter TX Length Data P ACKNOWLEDGE 9 Handshaking Disabled Enabled e a automatically each time data written in the I O command finishes transmitting to the serial connection Maximum Rx Size Attribute 19 Value 0 to 64 default 12 Maximum Rx Size sets the length of the data field in the I O response It should be set greater or equal to the value of the largest message to be received from the serial connection The produce size of the I O connection will be configured to 4 Maximum TX Size 4 control bytes Maximum Rx Size data bytes Maximum TX Size Attribute 20 Value 0 to 64 default 12 Maximum TX Size sets the length of the data field in the command It should be set greater or equal to the value of the largest message to be transmitted to the serial connection The
31. ing 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 MKS Instruments Inc 7 12 2006 ToolLink Instruction Manual 1 0 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 e Null modem cable M m e Device net cable Com Port 1 2 N e Device net master gu P emere e PC with HyperTerminal Nada _ DeviceNet Master e Serial gateway CDN466 CDN467 Settings System Configuration Bit 600 Configure the HyperTerminal properties the File Menu of HyperTerminal with the following parameters je xf 9600 baud e 1 stop bit Parity x 8 bits of data parity Stop bits fi i No flow control Flow control None Restore Defaults Cancel Configuring the Gateway
32. l channel parity mode Received byte is tested for 1 Even parity errors and then parity bit is cleared before the byte is saved in 2 Odd parity RX buffer Flow Control Software 0 None Sets the serial channel flow control 12 CTS RTS CTS RTS is an RS232 hardware flow control option 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 Selects how the gateway receives a complete message packet 1 Length 2 Delimiter Start Delimiter String Software String of 0 4 bytes Used when Receive Mode Start Stop Delimiter Length B 1 B2 B3 B4 Defines the start of a received message packet Stop Delimiter String Software String of 0 to 4 bytes Used when Received Mode lt Start Stop Delimiter Length B 1 B2 B3 B4 Defines the end of a received message packet Serial RX Handshake Enable Software 0 disabled Optional receive serial message handshake protocol between Synchronization 1 enabled ToolLink Gateway and application program TX Handshake Enable Software 0 disabled Optional transmit serial message handshake protocol between 1 enabled 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
33. media The Serial Stream Object is also used to configure the message packet format A message packet is determined by one of three modes 115 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 O 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 7 0 the gateway starts saving the first received byte in the RX buffer The Stop Delimiter String attribute format is length byte 1 byte
34. n 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 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 RXCTR RXACK SAVE NEW RX MSG The 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 TXCTR E LOAD NEW TX MSG E TXCTR TXCTR 1 MKS Instruments Inc 12 12 2006 ToolLink Instruction Manual Rev 1 0 Chapter 4 Gateway Configuration Thi
35. nnect 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 Sh
36. receives the number of bytes defined by Maximum Receive Size attribute to mark the end of the message For example if Start Delimiter 8 and Maximum Receive Size 5 the data stream 1 amp 8ABCD amp EFGHIJ would return two separate DeviceNet messages ABCD and EF GH No Delimiters MKS Instruments Inc 24 12 2006 ToolLink Instruction Manual Rev 1 0 If the Start Delimiter String and Stop Delimiter String are both set to zero the 466 will operate in a free running mode For Polled I O messaging all RX buffer bytes are returned in response to a Poll Request message If there are more RX bytes than will fit then the remaining bytes are sent in the next poll explicit transaction For free running mode with Change of State messaging each received byte will generate a Change of State input message Note that this is not an efficient use of DeviceNet bandwidth Start Delimiter String Attribute 11 The Start Delimiter String is a constant sequence of characters the CDN466 uses to identify that beginning of a received serial message when the Receive Mode attribute is in the Start Stop Delimiter mode The number of bytes in the string can be 0 not used to 4 The Start Delimiter set as a DeviceNet SHORT STRING which includes a length byte followed by the ASCII bytes defining the string For example to use the four byte string lt lt lt lt is the SHORT STRING 4 lt lt lt lt or 0x04
37. s chapter describes how to configure and operate the CDN466 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 CDNA66 cover if necessary to access the rotary switches DeviceNet Baud Rate Switch Valid settings are 125K 250K 500K or PGM When is selected the CDN466 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 CDN466 for a few seconds Power down and set the switch to You may also write to the DeviceNet Object Baud Rate attribute POS
38. struments Inc 17 12 2006 ToolLink Instruction Manual Rev 1 0 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 0 125 kbits 1 250 kbits 2 500 kbits 22 Software settable Allocation Information Attribute 5 Allocation byte bit O explicit set to 1 to allocate bit 1 polled set to 1 to allocate bit2 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 Type Cd ale 1 Get X Revision UNT 1 UINT Table 12 Instance 100 Attributes Attribute Access Cs Data Stream Input 1 Table 13 Instance 101 Attributes Attribute Access Vaue __ Get Set__ Data Stream Output 2 MKS Instruments Inc 18 1
39. t the receive buffer may reach an overflow condition if new data is not acknowledged at a sufficient enough rate Figure 1 Rx Handshaking Rx Handshaking Disabled No function User sets to zero Rx Handshaking Enabled User sets to value of Rx Counter to acknowledge new data Commad Command RX TX Counter Length Data ACKNOWLEDGE Response Status Rx Counter TX Length Data ACKNOWLEDGE Rx Handshaking Disabled Increments automatically with new serial data if Rx Handshaking enabled Rx Handshaking Enabled Holds value and serial data until user performs acknowledgement MKS Instruments Inc 25 12 2006 ToolLink Instruction Manual Rev 1 0 TX Handshake Enable Attribute 16 By default TX Handshaking disabled the data in the I O command is transmitted each time the I O command is written with a non zero value for Length If the user polls the CDN466 for newly received serial data the Length field must be set to zero if no data is to be transmitted In this case the TX Counter performs no function and should remain at zero With TX Handshaking enabled transmission of serial data is triggered from the TX Counter rather than from the Length field The data in the I O response is transmitted to the serial connection when the value of TX Counter is incremented from its previous state The value of TX Acknowledge will increment automatically to match the TX Counter aft
40. te 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 MKS Instruments Inc 16 12 2006 ToolLink Instruction Manual Rev 1 0 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 Vaue k UINT 6 Get lt MaxClass Attribute ID UINT Max Instance Attribute ID UINT Table 6 Instance 1 Attributes Attribute Access Cd __ Number of Connections SINE 2 Table 7 Common Services Class Instance Service Name 14 0x0E Attribute Single DeviceNet Object Class Code 03 0x03 Table 8 Class Attributes Attribute Access Typpe X Vaue O UINT Table 9 Instance 1 Attributes Attribute Access Tye Value GeuSet MACID USINT Get Set__ Baud Rate USINT Allocation Information STRUCT of 1 Byte BYTE Master Node Addr USINT LL Table 10 Common Services Service Code Class Service Name 1 1 1 0 14 Ox0E Attribute Single 16 0x10 Set Attribute Single MKS In
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - スナップオンツールズ GPX ISP591B docking speaker SBS TEBUMPERSAS6K mobile phone case FR - Hilti OPERATING INSTRUCTIONS MANUAL FOR “K” DOSING PUMP 12/24 V - Groupe President Electronics sujet portugal 1. Product Description 2. Product Overview 3. Charging 4 Bedienungsanleitung Sicherheitshinweise Technische Copyright © All rights reserved.
Failed to retrieve file