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 5.13 September 2011 Copyright © 2000-2011 WRC Western Reserve Controls, Inc.
Western Reserve Controls, Inc. 1782-JDC User’s Manual TABLE OF CONTENTS 1. OVERVIEW ........................................................................................................................................................ 4 1.1 FEATURES ......................................................................................................................................................... 5 1.2 PRODUCT FAMILY SELECTION .......................................................................
Western Reserve Controls, Inc. 5.2.5 5.2.6 1782-JDC User’s Manual Autobaud Operation .................................................................................................................................. 25 Setting up the DeviceNet Baudrate ............................................................................................................ 26 A. DEVICENET PROFILE, OBJECTS AND SERVICES.................................................................................... 27 A.1 A.2 A.
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 peripheral products with RS232, RS422 or RS485 serial ports into a DeviceNet system.
Western Reserve Controls, Inc. 1.
Western Reserve Controls, Inc. 1.4 1782-JDC User’s Manual Basic Operation The JDC operates as the DeviceNet front-end to the serial device(s). Connecting the JDC to a single device, that device can then be assigned by the system implementer to one specific master. The DeviceNet Master can receive and send data to and from the 1782-JDC via the methods described in this section.
Western Reserve Controls, Inc. 1.4.4 1782-JDC User’s Manual Change-of-State, or COS COS I/O is the function by which a slave device sends its input data to the master when defined input data changes without the host explicitly requesting it. In the case of the JDC, this occurs when the delimiter character is asynchronously received from the serial device. This data is the same format as a poll response. 1.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 2. Quick Start To quickly install your 1782-JDC in your DeviceNet system, follow the instructions below. For more details, see Section 4. 2.1 How to Install and Establish DeviceNet 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. The JDC Node Address (MacID) is set to 63 at the factory.
Western Reserve Controls, Inc. 1782-JDC User’s Manual baud rate to autobaud, you must do it via the parameter object. The definition is included in the EDS file for easy configuration. Just use your configuration tool to access the device parameters. The baud rate is parameter 7. Select the proper baud rate and upload the parameter to the device. If your configuration tool does not support EDS parameter configuration, you will have to perform the operation manually.
Western Reserve Controls, Inc. 1782-JDC User’s Manual delimiter. The response is only updated when the delimiter is received or a buffer overflow occurs. Every time the buffer is updated (e.g. the delimiter received or an overflow condition) the record number will be incremented. The data is only valid up to the received delimiter in your memory map. Data after the received delimiter may contain invalid data. 3. Direct the master to begin polling the JDC.
Western Reserve Controls, Inc. 1782-JDC User’s Manual all of the consecutive bytes up to and including the delimiter after the transmit record number has changed. If the length is non-zero, the JDC will send up to the number of bytes specified by the length without regard to the transmit delimiter and ignoring any “junk” characters after the specified amount of bytes.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 3. General Specifications Product: 1782-JDC Device-Serial Gateway o 1782-JDC-1, Isolated RS-232 o 1782-JDC-2, Isolated RS-485 o 1782-JDC-4, Isolated RS-422/485 Description: Communications gateway between a serial capable device over an RS232/422/485 interface and a DeviceNet network.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Serial Cable: 3-contact or 5-contact plug (female contacts) Phoenix Contact MSTB 2.5/3-ST-5.08/AU or equivalent (included) Status Indicators: Transmit Active: green LED Receive Active: green LED Network Isolation: 1000V (optional) Max Power: 1.75 watts: 160 mA @ 11 Vdc – 70 mA @ 25 Vdc unregulated power supply Mounting: DIN rail mount, EN 50022 (WRC50022) 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 RS-232/422/485 transmit and receive lines.
Western Reserve Controls, Inc. 4.2 1782-JDC User’s Manual LED Operation 4.2.1 DeviceNet LEDs The JDC has two LEDs that provide visual status information to the user about the product and the DeviceNet network. See Tables 5-1 and 5-2 that follow below for how to interpret LED status indications. Table 4-1 Module Status LED (labeled MS) LED State Module Status Meaning OFF No Power Green Device Operational JDC is operating normally. Flashing Green Device in Standby JDC needs commissioning (e.g.
Western Reserve Controls, Inc. 4.3 1782-JDC User’s Manual Serial Port Connector The ASCII devices are connected to the JDC via a 3-wire or 5-wire communications cable. See your ASCII device’s User Manual for details on the proper connections. The RX and TX designators are referenced with respect to the JDC.
Western Reserve Controls, Inc. o 121 ohm o 1% metal film o 1/4 Watt 1782-JDC User’s Manual An appropriate terminating resistor, WRC part number RM121DN, may be purchased from WRC. IMPORTANT: Per the DeviceNet spec -- do not terminate devices on drop lines. 4.4.2 DeviceNet Connection Wiring The JDC uses a 5-pin plug-style DeviceNet connector, which has male pins. Figure 4-2 DeviceNet cable connector 4.4.
Western Reserve Controls, Inc. 1782-JDC User’s Manual 5. SOFTWARE Configuration and Set-Up The 1782-JDC-x is an easy device to set up and configure. Using features like the EDS sheets for configuration can expedite the process if you use a network configuration tool that supports them. They provide a graphical interface to the device’s parameters and allow the addition of helpful text descriptions in setting up your device. The current EDS file is available on our website, www.wrcakron.com.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table 5-1 Configuration Parameter List Parameter Param.
Western Reserve Controls, Inc. 5.1 5.1.1 1782-JDC User’s Manual Setting up Serial Communications Setting up the serial link baud rate The standard baud rates are supported by the JDC, starting at 1200 baud and going to 38400 baud. The baud rate is configured at parameter 2 of the parameter object. The valid options are: Table 5-2 Serial Baud rates Value 0 1 2 3 4 5 5.1.2 Baud Rate 9600 1200 2400 4800 19200 38400 Setting up the receive delimiter The receive delimiter is an end-of-string character.
Western Reserve Controls, Inc. 5.1.4 1782-JDC User’s Manual Setting up the Data Frame Format The data frame format parameter defines the size of the data frame that is transmitted and received over the serial link. This parameter defines the number of data bits per character (7 or 8), the parity (odd, even or none) and the number of stop bits (1 or 2).
Western Reserve Controls, Inc. 1782-JDC User’s Manual The selection of Pad Mode is valid only for the ASCII receive and DeviceNet I/O Response operation. It has no effect on DeviceNet I/O Command strings and ASCII transmit data to your ASCII device. These values can be set and retrieved by using the standard set and get services on class 15 (Fhex), instance 8, attribute 1 (See Table 5-1). 5.1.
Western Reserve Controls, Inc. 5.1.10 1782-JDC User’s Manual Transmitting Serial Data The use of a delimiter in transmitting data to a serial device from the JDC is determined by the Max_Number_of_Transmit_Chars parameter. The operation is defined below. If Max_Number_of_Transmit_Chars = 0 (Param. 5), The JDC receives data sent from the DeviceNet Master and uses the delimiter to determine how much data is sent to the serial device.
Western Reserve Controls, Inc. 1782-JDC User’s Manual If Max_Number_of_Receive_Chars > 0 (Param. 5), The expected operation is that the JDC receives characters (data bytes) until the delimiter character is received If a delimiter is received, then All characters up to and including the defined delimiter are sent to the DeviceNet master, and o If Pad Mode = 1, then the JDC will fill the Poll Response data with the Pad Char defined in Param.
Western Reserve Controls, Inc. 1782-JDC User’s Manual the JDC. If you need to transmit on the ASCII link, you will need to use the polled connection to do so. The polled and cyclic connections are not exclusive, so both can exist at the same time. The manner in which cyclic connection reports its data is the same as the polled connection. The cyclic connections transmit buffer is the same as the polled connections transmit buffer, so overflows and received delimiters act the same over any connection.
Western Reserve Controls, Inc. 1782-JDC User’s Manual default baud rate. 5.2.6 Setting up the DeviceNet Baud rate If you wish to change the baud rate to a fixed speed, you can set it in two different places. The first is the standard location for the DeviceNet baud rate, which is in the DeviceNet object. This is where most configuration tools will look to change the baud rate.
Western Reserve Controls, Inc. 1782-JDC User’s Manual A. DeviceNet Profile, Objects and Services 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. Table A-1 DeviceNet Objects Object DeviceNet Object Class # of Instances Identity 1 1 Message Router 2 1 DeviceNet 3 1 Connection 5 3 (Explicit Msg.
Western Reserve Controls, Inc. A.2 1782-JDC User’s Manual Serial I/O Polled Data Formats Table A-2 Poll Produce Data (ASCII Receive String) Byte 0 Character Record # 1 2 3 4 • • • length+1 length+2 • • Max Rec.
Western Reserve Controls, Inc. A.3 1782-JDC User’s Manual Identity Object, Class 1 Instances 0 and 1 exist in the 1782-JDC. Table A-4 Identity Object Class Attributes (Instance 0) Attribute ID 1 Access Rule Get DeviceNet Data Type UINT 2 Get 6 Get Revision Max. Object Instance Max. Class Attribute ID 7 Get Max.
Western Reserve Controls, Inc. A.4 1782-JDC User’s Manual Parameter Object, Class Fhex (15dec) 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. Following are the Class Attributes, Instance Attributes and Services that are supported by the JDC for the Parameter Object.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Table A-10 JDC Parameter Instances (Class Fhex) Parameter Param. Instance Description Default Setting Default Value Serial Character Format 1 Character framing 0 = 7N2 1 = 7E1 2 = 7O1 3 = 8N1 4 = 8N2 5 = 8E1 6 = 8O1 7N2 0 Serial Baud Rate 2 RS232/ RS422/RS485 communications speed 0 =9600 1 = 1200 2 = 2400 3 = 4800 4 = 19.2k 5 = 38.
Western Reserve Controls, Inc. 1782-JDC User’s Manual Parameter Instances for Table A-10 1. Serial Character Format: The character frame format. 2. Baud Rate: The baud rate of the ASCII channels. Valid baud rates are 1200, 2400, 4800, 9600, 19.2k, and 38.4k baud. 3. End-of-Text Character: The (printable or non-printable) byte character (value of 0-255) that signifies that the last character in a string of ASCII characters has been reached.
Western Reserve Controls, Inc. A.5 1782-JDC User’s Manual Common DeviceNet services The common DeviceNet services are available through many of the common configuration tools. However, each configuration tool may implement these differently. It may be easier if you use this section in conjunction with any files or documentation that was included with your DeviceNet configuration tools while going over this section.
Western Reserve Controls, Inc. 1782-JDC User’s Manual B. Accessories and Other WRC Products The following components can be used with a JDC for replacements or spare parts, or as complementary devices as a part of your DeviceNet or other CAN-Bus system.
Western Reserve Controls, Inc. 1782-JDC User’s Manual C. Frequently Asked Questions 1. Where are the 1782-JDCx gateway User’s Manuals located? The WRC product User’s Manuals are available from our web site Support -> Technical Data http://wrcakron.com/data.html 2. What are the 1782-JDCx gateways and why should I consider purchasing one for my DeviceNet network? The 1782-JDCx gateways are communications adapter devices that provide you with a flexible DeviceNet interface to a wide variety of ASCII devices.
Western Reserve Controls, Inc. 1782-JDC User’s Manual characters set to 20, pad mode off, etc. The full list of default settings can be found under Default Settings in the User’s Manual. If you wish to change any parameters from their default settings you will need to use a DeviceNet software configuration tool. Many of these tools have EDS readers, which make the editing process easier. 10.
Western Reserve Controls, Inc. 1782-JDC User’s Manual is not supported in the 1782-JDCx) requires two additional signal lines on the serial side and it controls the data before it is received. 16.
Western Reserve Controls, Inc. 1782-JDC User’s Manual If the answer to your question is not found here, or you require further assistance, please contact Western Reserve Controls at: 1485 Exeter Road Akron, OH 44306 330-733-6662 (phone) 330-733-6663 (fax) For product information, e-mail: sales@wrcakron.com For technical support, e-mail: support@wrcakron.com D. Troubleshooting This section identifies some of the common problems that may be observed when commissioning or operating a DeviceNet and JDCx.
Western Reserve Controls, Inc. 1782-JDC User’s Manual sizes from default of 20 and 20. Possible Causes: Scanner’s table data may have unmapped and needs to be remapped to process the data.