The text of a manual · part 1 of 3
CDN066 DeviceNet Specifications, pages 1 to 9
Pages 1 to 9 of 25
The original document is the PDF (67 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the MKS CDN066
Page 1
CDN066 DEVICENET SPECIFICATIONS
Page 2
CDN066 DEVICE Revision History Revision 1.0 1.1 1.2 1.3 3.0 4.0
Description Initial Release Added BLOCK transfer support Added Padded String support, reduced fifo sizes Added Sync. Handshake control Corrected errors in Xon/Xoff protocol Upgrade to DNet Rev. 2.0 Added support for status byte and status clear in poll Disallowed changing of items that affect produce consume size when poll connection has been established
Revision 1.3
08/04/97 i
Date 03/15/97 05/29/97 06/21/97 08/04/97 07/08/98
Page 3
DeviceNet Information The CDN066 (DeviceNet Serial Gateway) 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 Explicit Unconnected Message Manager (UCMM). The device provides an RS232 serial interface, allowing serial information to be sent and received from peripheral devices. The RS232 serial information is buffered in an internal 64 byte receive FIFO, allowing the unit to operate asynchronous to the DeviceNet network. Similarly, information to be transmitted to the serial device is buffered in a 64 byte serial fifo. The device may be configured to operate at a number of different baud rates and supports flow control and parity. Units with version 2.0 firmware provide additional support for BLOCK transfer of serial data. The CDN066 may be programmed with a prefix/suffix delimiter character and will automatically parse the incoming data stream into complete packets, ensuring that polled I/O scanners only receive complete data sets. To further support polled I/O scanners it is possible to prepend a sequence number to each transaction. The CDN066 will only transmit serial data if the sequence number of the poll request is different than the previous poll request. Each poll response packet can also include a sequence number, which auto increments on each packet sent. Version 2.1 devices support padded DeviceNet strings in which incoming strings may be left or right justified with PAD characters to ensure that all packets are of a fixed length. In addition, the Stream object configuration (Maximum Receive Size and Maximum Transmit Size) affect the Produced and Consumed sizes of the POLL connection, allowing these to be reduced to minimize unnecessary bus traffic. Version 4.0 added support to provide the status byte in the poll response, and allow the status information to be cleared in the poll command. Changed firmware to only allow changing of items that affect the produce and consume size when a poll connection is in the non-established state.
Page 4
CDN066 DEVICE DeviceNet Message Types As a group 2 slave device the CDN066 supports the following message types. CAN IDENTIFIER 10xxxxxx111 10xxxxxx110 10xxxxxx101 10xxxxxx100
GROUP 2 Message Type Duplicate MACID Check Message Unconnected Explicit Request Message Master I/O Poll Command Message Master Explicit Request Message xxxxxx = Node Address DeviceNet Class Services As a group 2 slave device the CDN066 supports the following class services and instance services. SERVICE CODE 05 (0x05) 14 (0x0E) 16 (0x10) 75 (0x4B) 76 (0x4C)
Revision 1.3
SERVICE NAME Reset Get Attribute Single Set Attribute Single Allocate Group 2 Identifier Set Release Group 2 Identifier Set
08/04/97
2
Page 5
CDN066 DEVICE DeviceNet Object Classes The CDN066 device supports the following DeviceNet object classes. CLASS CODE 01 (0x01) 02 (0x02) 03 (0x03) 04 (0x04) 05 (0x05) 64 (0x40)
Revision 1.3
OBJECT TYPE Identity Router DeviceNet Assembly Connection User defined serial interface
08/04/97
3
Page 6
CDN066 DEVICE Identity Object
Class Code: 01 (0x01)
The Identity Object is required on all devices and provides identification of and general information about the device. Identity Object Class Attributes Attribute 1 2 6 7
Access Get Get Get Get
Name Revision Max Object Instance Max Class Identifier Max Instance Attribute
Type UINT UINT UINT UINT
Value 1 1 7 7
Type UINT UINT UINT STRUCT OF USINT USINT UINT UINT STRUCT OF USINT STRING [6]
Value 59 12 = Communications 1
Identity Object, Instance 1 Attributes Attribute 1 2 3 4
5 6 7
Access Get Get Get Get
Get Get Get
Name Vendor Product Type Product Code Revision Major Revision Minor Revision Device Status Serial Number Product Name Length Name
Common Services Service Code 05 (0x05) 14 (0x0E)
Revision 1.3
Class No Yes
Instance Yes Yes
08/04/97
Service Name Reset Get_Attribute_Single
4
4 0 (1) (2) 6 CDN066
Page 7
CDN066 DEVICE (1) Device Status bit 0 owned bit 1 bit 2 bit 3 bit 4-7 bit 8 reserved configured reserved vendor specific minor cfg fault bit 9 minor dev.fault bit 10 major cfg.fault bit 11 major dev.fault bit 12-15 reserved
0=not owned 1=owned (allocated) 0 0 0 0 0=no fault 1=minor fault 0=no fault 1=minor device fault 0=no fault 1=major cfg. fault 0=no fault 1=major device fault 0
2) Unique Serial Number
Revision 1.3
08/04/97
5
Page 8
CDN066 DEVICE 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. Router Object Class Attributes Attribute 1 6 7
Access Get Get Get
Name Revision Max Class Identifier Max Instance Attribute
Type UINT UINT UINT
Value 1 7 2
Type UINT
Value 2
Router Object, Instance 1 Attributes Attribute 2
Access Get
Name Number of Connections
Common Services Service Code 14 (0x0E)
Revision 1.3
Class Yes
Instance Yes
08/04/97
Service Name Get_Attribute_Single
6
Page 9
CDN066 DEVICE DeviceNet Object
Class Code: 03 (0x03)
DeviceNet Object Class Attributes Attribute 1
Access Get
Name Revision
Type UINT
Value 2
Type USINT USINT BOOL USINT STRUCT of BYTE USINT
Value (1) (2) (3) (4) (5)
Router Object, Instance 1 Attributes Attribute 1 2 3 4 5
Access Get/Set Get/Set Get/Set Get/Set Get/Spc
Name MACID Baud Rate Bus Off Interrupt Bus Off Counter Allocation Information Choice Byte Master Node Addr.
Common Services Service Code 14 (0x0E) 16 (0x10) 75 (0x4B) 76 (0x4C)
Class Yes No No No
Instance Yes Yes Yes Yes
Service Name Get_Attribute_Single Set_Attribute_Single Allocate Master/Slave Release Master/Slave
(1) Settable only if the MacID switches are set to a value greater than 63. Value returned will be switch value if less than 64 or the last value set. (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 0 1 2 3
Revision 1.3
08/04/97
Speed 125 kbits 250 kbits 500 kbits Software settable
7