background image

 

 

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 

 

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

Summary of Contents for ToolLink CDN466

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: