background image

 

 

ToolLink User Manual 

MKS Instruments, Inc. 

 

  Page 29 of 30   

Appendix

 B – ASCII Character Codes 

 

 

Non-Printable Characters 

 

Printable 
Characters 

Hex 

Dec 

Char 

Name 

Kybd Hex Dec 

Char 

Hex Dec 

Char 

Hex Dec 

Char 

0x00 0 NUL 

Null 

Ctrl 

0x20

32 Space 0x40

64  @  0x60  96 

0x01 

SOH  Start of heading 

Ctrl A 0x21

33 

0x41

65 

0x61 

97 

0x02 

STX  Start of text 

Ctrl B 0x22

34 

0x42

66 

0x62 

98 

0x03 

ETX  End of text 

Ctrl C 0x23

35 

0x43

67 

0x63 

99 

0x04 

EOT  End of transmit 

Ctrl D 0x24

36 

0x44

68 

0x64 

100 

0x05 5 ENQ 

Enquiry 

Ctrl 

E 0x25

37  % 0x45

69  E 0x65 

101  e 

0x06 6 ACK 

Acknowledge 

Ctrl 

F 0x26

38  & 0x46

70  F 0x66 

102  f 

0x07 7  BEL 

Bell 

Ctrl 

G 0x27

39  '  0x47

71  G 0x67 

103  g 

0x08 8  BS 

Backspace 

Ctrl 

H 0x28

40  (  0x48

72  H 0x68 

104  h 

0x09 9  HT 

Horizontal 

tab 

Ctrl I

0x29

41 

0x49

73 

0x69 

105 

0x0A 

10 

LF  Line feed 

Ctrl J 0x2A

42 * 

0x4A

74 J 

0x6A 

106 j 

0x0B 11  VT Vertical 

tab 

Ctrl K 0x2B

43 

0x4B

75 

0x6B  107 

0x0C 

12 

FF  Form feed 

Ctrl L 0x2C

44 

0x4C

76 

0x6C

108 

0x0D 

13 

CR  Carriage return 

Ctrl M 0x2D

45 

0x4D

77 

0x6D

109 

0x0E 

14 

SO  Shift out 

Ctrl N 0x2E

46 

0x4E

78 

0x6E  110 

0x0F 

15 

SI 

Shift in 

Ctrl O 0x2F

47 

0x4F

79 

0x6F  111 

0x10 

16 

DLE  Data line escape 

Ctrl P 0x30

48 

0x50

80 

0x70 

112 

0x11 

17 

DC1  Device control 1 

Ctrl Q 0x31

49 

0x51

81 

0x71 

113 

0x12 

18 

DC2  Device control 2 

Ctrl R 0x32

50 

0x52

82 

0x72 

114 

0x13 

19 

DC3  Device control 3 

Ctrl S 0x33

51 

0x53

83 

0x73 

115 

0x14 

20 

DC4  Device control 4 

Ctrl T 0x34

52 

0x54

84 

0x74 

116 

0x15 21 NAK 

Negative 
acknowledge 

Ctrl U 0x35

53 

0x55

85 

0x75 

117 

0x16 22 SYN 

Synchronous 

idle  Ctrl 

V 0x36

53  6  0x56

86  V  0x76 118  v 

0x17 

23 

ETB  End of transmit 

block 

Ctrl W 0x37

55 

0x57

87 

0x77 

119 

0x18 24 CAN 

Cancel 

Ctrl 

X 0x38

56  8  0x58

88  X  0x78 120  x 

0x19 

25 

EM  End of medium 

Ctrl Y 0x39

57 

0x59

89 

0x79 

121 

0x1A 26  SUB 

Substitute 

Ctrl 

Z 0x3A

58 

:  0x5A

90  Z  0x7A 122  z 

0x1B 27  ESC 

Escape 

Ctrl 

[

0x3B

59 

;  0x5B

91 

[  0x7B 123  { 

0x1C 

28 

FS  File separator 

Ctrl \ 0x3C

60 

0x5C

92 

0x7C

124 

0x1D 

29 

GS  Group separator 

Ctrl ] 0x3D

61 

0x5D

93 

0x7D

125 

0x1E 30  RS Record 

separator  Ctrl ^ 0x3E

62 

0x5E

94 

0x7E  126 

0x1F 31  US Unit 

separator 

Ctrl 

_ 0x3F

63 ? 

0x5F

95 _ 

0x7F 

127 

DEL

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: