782-JDC DeviceNet/Serial Gateway User’s Manual Western Reserve Controls, Inc.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Although every effort has been made to insure the accuracy of this document, all information is subject to change without notice. Western Reserve Controls, Inc. assumes no liability for any errors or omissions in this document or for direct, indirect, incidental or consequential damage resulting from the use of this document. Document 25.0 Rev 1.00 June 2000 Copyright © 2000 WRC Western Reserve Controls, Inc.
Western Reserve Controls, Inc. 1782-JDC User’s Manual TABLE OF CONTENTS 1. OVERVIEW ........................................................................................................................................................1 1.1 FEATURES ..........................................................................................................................................................2 1.2 DEVICENET SYSTEM ARCHITECTURE ...................................................................
Western Reserve Controls, Inc. 1782-JDC User’s Manual TABLE OF FIGURES FIGURE 1-1 1782-JDC ....................................................................................................................................................1 FIGURE 4-1 1781-JDC MECHANICAL OUTLINE DRAWING.............................................................................................12 FIGURE 4-2 DEVICENET CABLE CONNECTOR ..........................................................................................
Western Reserve Controls, Inc. 1782-JDC User’s Manual 1. Overview The 1782-JDC is a family of DeviceNet-to-serial link communications gateways that provide a flexible DeviceNet interface to a wide variety of ASCII devices. The JDC allows the user to easily and conveniently connect and integrate a peripheral products with either RS232 or RS485 serial ports into a DeviceNet system.
Western Reserve Controls, Inc. 1.1 1782-JDC User’s Manual Features The 1782-JDC has the following features: • Translates messages and data between DeviceNet and a serial peripheral device • ODVA Conformance tested to DeviceNet Spec 2.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table 1-1 I/O Message Types Typical Data Polled Commands √ Status √ Cyclic Bit-Strobe Change-of-State Parameters Explicit Message √ The following sections describe how the data is accessed. 1.3.1 Polled I/O The DeviceNet Master uses the JDC’s predefined polled IO connection to send input and output data to the JDC. The input data to the JDC has a one byte record number and up to 125 additional bytes of transmit data.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 2. Quick Start To quickly and easily install your 1782-JDC in your DeviceNet system, follow the instructions below. For more details, see Section 4. 2.1 How to Install and DeviceNet Establish Communications 1. Connect your DeviceNet network cable to a 5-pin female (Phoenix-type) plug according to DeviceNet cable wiring specifications 2. Make sure that the DeviceNet network is terminated properly. 3.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table 2-1 Baud Rate Selection Baud Rate Value Baud Rate 0 125k 1 250k 2 500k 3 Autobaud NOTE: If you change the baudrate, the new baudrate will not become effective until the unit is power cycled or a reset command is received by the Identity Object (Class 1, Instance 0, reset). 2.4 How to Install Serial Network 1. The communication between your serial device(s) and the 1782-JDC is an RS232 3-wire or RS-485 2-wire differential network. 2.
Western Reserve Controls, Inc. 1782-JDC User’s Manual “record number”, which the host application must increment each time a new record is sent to that specific serial device. The bytes following this will be the ASCII data being sent to the ASCII device. 3. Perform a poll command to the JDC. ASCII data will be sent to the JDC in the data bytes immediately following the record number. 4.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 3. General Specifications Product: 1782-JDC Device-Serial Gateway Description: Communications gateway between a serial capable device over an RS232 or RS485 interface and a DeviceNet network. Device Type: Communications Adapter, 0x0C hex, (12) Device Profile: Identity Object Message Router Object DeviceNet Object Connection Object Parameter Object Serial I/O Object (vendor-specific) Product Revision: 1.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Status Indicators: Transmit Active: green LED Receive Active: green LED Network Isolation: 2500V (optional) Max Power: 1.75 watts: 160 mA @ 11 Vdc - 70 mA @ 25 Vdc unregulated power supply Mounting: DIN rail mount, EN 50022 Size: • • • Depth: 3.54” (90 mm) Width: 0.98” (25 mm) Height: 3.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 4. Hardware Installation and Set-Up 4.1 Overview The JDC is mounted on an EN50022 DIN rail. The JDC contains two LED’s to indicate the status of the device and the status of the network. The device can be connected to the main DeviceNet trunk line or to a drop line via a 5-pin female plug-style connector. It also has two green LED’s to indicate the presence of activity on the RS485 transmit and receive lines.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table 4-2 Network Status LED (labeled NS) LED State Module Status Meaning OFF No Power / Not on-line JDC has no power or has not completed the Dup_MAC_ID test. Flashing Green On-line, not connected JDC is on-line but is not allocated to a Master. Green On-line Flashing Red Connection time-out Red Critical link failure JDC is operating normally. One or more I/O connections are timed out.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table 4-4 Maximum Network Cable Lengths Trunk Line Length Drop Length Maximum Distance Maximum Cumulative Baud Rate Meters Feet Meters Feet Meters Feet 125k baud 500 m 1640 ft 6m 20 ft 156 m 512 ft. 250k baud 250 m 820 ft 6m 20 ft 78 m 256 ft. 500k baud 100 m 328 ft 6m 20 ft 39 m 128 ft. 4.4.1 Network Termination A DeviceNet system must be terminated at each end of the trunk line.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 0.984 (25) 3.540 (89.9) 0.394 (10) 0 0 4 0 0 32 36=ADDR DEVICENET ASCII CONVERTER S+ SG - S- GND G 1 0 0 8 0 0 9=ADDR A D D R E S S 1782-JDC ADDRESS 1 SELECT 2 4 8 1=LEFT 16 32 0=RIGHT 63=ADDR SG+ V+ CAN_H MS N/C NS CAN_L V- 2.920 (74.2) 0.160 (4.1) Figure 4-1 1781-JDC Mechanical Outline drawing 4.4.2 DeviceNet Connection Wiring The JDC uses a 5-pin plug-style DeviceNet connector, which has male pins.
Western Reserve Controls, Inc. 4.5 1782-JDC User’s Manual JDC Product Configuration Table 4-5 JDC Parameter Instances Parameter Param. Instance Description Parameter Choices Default Setting Default Value Number of Data Bits 1 ASCII data frame size 7 or 8 8 8 Serial Baud Rate 2 RS232/ RS485 communications speed 0 = 9600, 1 = 300, 2 = 600, 3 = 1200, 4 = 2400, 5 = 4800, 6 = 19.2k, 7 = 38.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 6. Maximum Number of ASCII Output Characters: The maximum number of ASCII characters that will be sent from the host to the serial device connected to this port. The end-of-string, or end-of-text, character is included in this count. (A “0” implies the port does not output data to the external device or that no device exists.) 7.
Western Reserve Controls, Inc. 1782-JDC User’s Manual A.Appendix A.1 1782-JDC DeviceNet Profile This section describes the DeviceNet Objects present in the JDC. The JDC conforms to a Type 12, Communications Adapter Device.
Western Reserve Controls, Inc. A.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table A-4 Serial I/O Class Attributes Attribute ID Access Rule Name DeviceNe t Data Type UINT UINT 1 2 Get Get Revision Max Instance 6 Get Max ID Number of Class Attributes UINT 7 Get Max ID Number of Instance Attributes UINT Description of Attribute Value Revision of this object Maximum instance number of an object currently created in this class level of the JDXX.
Western Reserve Controls, Inc. Class Instance 1782-JDC User’s Manual Service Code O5 hex OE hex Service Name No Yes Yes Yes Reset Get_Attribute_Single 10 hex No Yes Set_Attribute_Single 18 Description of Service Returns the contents of the specified attribute. Modifies an attribute value.
Western Reserve Controls, Inc. A.3 1782-JDC User’s Manual Identity Object, Class 0x01 Table A-7 Identity Object Class Attributes Attribute ID Access Rule 1 2 Get Get 6 Get 7 Get Name Revision Max. Object Instance Max. Class Attribute ID Max.
Western Reserve Controls, Inc. A.4 1782-JDC User’s Manual Parameter Object, Class 0x0F (15) There are many configurable data parameters associated with your JDC. The JDC uses a Parameter Object (a collection of these parameters) to assist you in reading and changing configurable data. A.4.1 Attributes and Services Following are the Class Attributes, Instance Attributes and Services are supported by the JDC for the Parameter Object.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table A-12 Parameter Common Services Service Code O5 hex Class Instance Service Name Yes N/A Reset OE hex Yes Yes Get_Attribute_Single 10 hex Yes Yes Set_Attribute_Single Description of Service Resets all parameters to “out-of-the-box” values. Returns the contents of the specified attribute. Modifies an attribute value. Table A-13 JDC Parameter Instances (Class 15, $0F hex) Parameter Param.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 13. Maximum Number of ASCII Input Characters: The maximum number of ASCII characters expected to be input from the serial device connected to this port. The end-of-string, or end-of-text, character is included in this count. (A “0” implies the port does not receive data from the external device or that no device exists.) 14.
Western Reserve Controls, Inc. A.5 1782-JDC User’s Manual Accessories and Other WRC Products The following components can be used with a Ajax for replacements or spare parts, or as complementary devices as a part of your DeviceNet or other CAN-Bus system.