The text of a manual · part 6 of 8
CDN060 Series DeviceNet Gateway User Manual, pages 46 to 54
Pages 46 to 54 of 71
The original document is the PDF (3.0 MB). 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 46
CDN060 User Manual revision 1.00
Configure Serial Channel Once the gateway is connected to DeviceNet and communicating with RSNetworx, you can configure its serial channel. Make sure the gateway is not in the DeviceNet master scanlist before changing any attribute values. The Serial Stream Object attributes control the gateway’s serial channel transmit and receive operations. The following steps show how to configure the Serial Stream Object attributes using the RSNetworx program. 1) Select the Online operation from the Network menu. Select the DeviceNet adapter (1770KFD-1 in this example) and click OK.
2) RSNetworx prompts you to upload the network configuration. Click OK to continue.
MKS Instruments, Inc.
D.I.P. Products Group
46
Page 47
CDN060 User Manual revision 1.00
3) RSNetworx displays the following text box while it uploads the network configuration.
4) The following screen displays the online nodes.
MKS Instruments, Inc.
D.I.P. Products Group
47
Page 48
CDN060 User Manual revision 1.00
5) Left-click on the CDN066 icon to select it. Right-click and select Properties from the pop-up menu. You can also double-click on the CDN066 icon to open its properties box.
6) RSNetworx displaces the following text box while is reads CDN066 EDS file.
MKS Instruments, Inc.
D.I.P. Products Group
48
Page 49
CDN060 User Manual revision 1.00
7) The CDN066 Properties Box is displayed.
7) Select the Parameters tab. You will be prompted for the parameters source. Select the Upload button to upload CDN066 parameters from the actual device. All the CDN066 parameters are now shown in the Properties window.
MKS Instruments, Inc.
D.I.P. Products Group
49
Page 50
CDN060 User Manual revision 1.00
You may now edit the Serial Stream Object attributes in this window. Note that the Idle String and Fault String attributes are not listed. These attributes use Short_String data type, which is not supported by RSNetworx EDS File interface. Use the Class Instance Editor to configure Short_String attributes.
MKS Instruments, Inc.
D.I.P. Products Group
50
Page 51
CDN060 User Manual revision 1.00
Select the Set_Attribute_Single service code to write an attribute value, and the Get_Attribute_Single service code to read an attribute value. Check Values in decimal box to enter class, instance, attribute, and data values in decimal. The Idle String address is Class 64, Instance 1, Attribute Number 19. The Fault String address is Class 64, Instance 1, Attribute Number 20. Enter the Short_String data as length byte, then data bytes. Example is [0x01 0x02] for a single byte string 0x02 (ASCII STX).
Enter the remaining Serial Stream Object attributes in the Parameters Box window. Status – Click on … to open selection box. Shows current status and error information. Click on any errors to clear check. Press OK to continue.
Baud Rate – Click on arrow to the right of the current value to select from pull-down menu. Parity – Click on arrow to the right of the current value to select from pull-down menu. MKS Instruments, Inc.
D.I.P. Products Group
51
Page 52
CDN060 User Manual revision 1.00
Data Size – Read-only value, set to 8 if no parity selected and 7 if party selected. Stop Bit – Read-only value, always set to 1. Flow Control – Click on arrow to the right of the current value to select from pull-down menu. Receive Count – Read-only value. Transmit Count – Read-only value. Maximum Receive Size – Click on current value and enter desired number in decimal. Maximum Transmit – Click on current value and enter desired number in decimal. Data Format – Click on … to open selection box. Click on check box to select the desired option. The Delimiter Mode uses bits 0, 1, 2, 3 of the byte. Ignore bits 4 through 7.
Block Mode – Click on … to open up selection box. Click on check box to set or clear the desired bit. The Serial Status byte uses bits 0 through 6. Ignore bit 7.
Receive Delimiter – Click on current value and enter number in decimal. Pad Char – Click on current value and enter number in decimal.
MKS Instruments, Inc.
D.I.P. Products Group
52
Page 53
CDN060 User Manual revision 1.00
Configure DeviceNet Master Scanlist After all the object instances have been configured, the DeviceNet master can be configured to poll the gateway. 1) Before using the RSNetworx to map the gateway’s Polled I/O connection to 1747-SDN DeviceNet master scanner, you must calculate the Poll Produce Size & Poll Consume Size. Chapter 4 describes how to calculate these values. 2) Double click on the 1747-SDN icon to open its Properties box. You can also left click on the icon to select it, right click for the pop-up menu, and select Properties.
3) Select the Scanlist tab. RSNetworx prompts you for the Scanner Configuration. Click Upload to upload current 1747-SDN configuration from the node. RSNetworx displays the upload progress.
MKS Instruments, Inc.
D.I.P. Products Group
53
Page 54
CDN060 User Manual revision 1.00
4) The next window shows the Available Devices: that can be added to the 1747-SDN Scanlist.
5) Select the Automap on Add checkbox if you want RSNetworx to automatically map the CDN066 input and output bytes into the 1747-SDN memory.
MKS Instruments, Inc.
D.I.P. Products Group
54