782-JDO DeviceNet-to-Optomux Gateway User’s Manual W estern Reserve Controls, Inc.
Western Reserve Controls, Inc. 1782-JDO 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. Rev 1.02 May 2004 Copyright © 2003-2004 WRC Western Reserve Controls, Inc.
Western Reserve Controls, Inc. 1782-JDO User’s Manual TABLE OF CONTENTS 1 OVERVIEW 4 1.1 FEATURES.............................................................................................................................................................................5 1.1 OPTOMUX COMMAND SUMMARY ...........................................................................................................................................6 1.2 BASIC OPERATION..................................................
Western Reserve Controls, Inc. 1782-JDO User’s Manual LIST OF TABLES Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table 1-1 I/O Message Types ..................................................................................................6 2-1 JDO Input Data Format (10 B1’s)..............................................................................9 2-2 Input Status/Error Byte..................................................
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 1 Overview WRC’s 1782-JDO is a DeviceNet-to-RS485 serial link communications gateway and protocol converter that provides a DeviceNet interface to Optomux B1 Brainboards. The JDO allows the user to easily and conveniently connect and integrate existing B1 devices and their associated I/O into a DeviceNet system. Using the 1782-JDO you may communicate with the connected B1's in the same the other DeviceNet products in the system.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Figure 1-1 1782-JDO 1.1 Features The 1782-JDO has the following features: •Translates messages and data between DeviceNet and up to 10 Opto22 B1 devices •ODVA Conformance tested to DeviceNet Spec 2.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 1.1 Optomux Command Summary The JDO supports the following B1 commands: • Power-up Clear (command A) • Reset (command B) • Enhanced Digital Watchdog (command m) • Configure Positions (command G) • Read Module Configuration (command j) • Write Outputs (command J) • Read Status (command M) 1.2 Basic Operation The JDO operates as the DeviceNet front-end to the Optomux B1 brainboards.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY configuration, watchdog operation, etc. Set these parameters for each one. 3. Set up the rest of the parameters, as appropriate. 4. Note: Once the JDO is configured, it must be reset to complete the set up and configuration of the B1’s. 5. Determine the DeviceNet I/O command and response data sizes – 3 bytes input and 2 bytes output data for each B1 – by reading the JDO Produce and Consume Sizes in read-only Parameters 5 and 6. 6.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 2 Quick Start To quickly install your 1782-JDO in your DeviceNet system, follow the instructions below. For more details, see Section 4. 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 JDO Node Address (MacID) is set to 63 at the factory.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY value is calculated by the JDO using the number of B1 devices you define in Parameter 4 and can be read from Parameter 5 in the Parameter Object and the EDS file. The default value should be 4. 2. Map the data from your IO response to your scanners memory map. i. The first byte indicates the status byte from the B1. ii. The second byte contains the DI’s for channels 0-7. iii. The third byte contains the DI’s for channels 8-15. 3.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY The status/error byte represents the status of the communication command from the JDO to the B1.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Table 2-4 DeviceNet Consume Assembly / Transmit Data Format 4. BYTE Byte 0 Byte 1 MEANING 1 B1 data byte, DO’s 0-7 st 1 B1 data byte, DO’s 8-15 Byte 2 Byte 3 …. 2 B1 data byte, DO’s 0-7 nd 2 B1 data byte, DO’s 8-15 Byte 19 10 B1 data byte, DO’s 8-15 st nd th Begin scanning the JDO. Enter data that you want to send on the serial link. On receipt of a change to the record number, the JDO will transmit the data.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 3 General Specifications Product: Description: Device Type: 1782-JDO Device-Optomux B1 Gateway Communications gateway between one or more Optomux B1 device(s) on an RS485 interface and a DeviceNet network.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Max Power: Mounting: 1.75 watts: 160 mA @ 11 Vdc – 70 mA @ 25 Vdc unregulated power supply DIN rail mount, EN 50022 Size: •Depth: 3.54” (90 mm) •Width: 0.98” (25 mm) •Height: 3.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 4 Hardware Installation and Set-Up 4.1 Overview The JDO is mounted on an EN50022 DIN rail. The JDO 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-485 transmit and receive lines.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Table 4-1 Module Status LED (labeled MS) LED State Module Status Meaning OFF No Power Green Device Operational JDO is operating normally. Flashing Green Device in Standby JDO needs commissioning (e.g. attempting Autobaud). Flashing Red Minor Fault Red Unrecoverable Fault JDO may need replaced. Flashing Red/Green Device Self-Testing JDO is in self-test mode. There is no power through DeviceNet. Recoverable fault.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 4.3 Serial Port Connector The ASCII devices are connected to the JDO via a 3-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 JDO. Table 4-3 RS-232 / RS-485 Connector Signals Pin # 3 2 Designator RX TX RS232 Signal Receive Transmit RS485 Signal Signal Signal + 1 GND Ground Common 4.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Figure 4-2 DeviceNet cable connector 4.4.3 RS485 Network Termination (1782-JDO-2) It is common practice to terminate an RS485 network system at each end of the serial cable to eliminate electrical reflections.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 5 SOFTWARE Configuration and Set-Up The 1782-JDO 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-JDO User’s Manual PRELIMINARY Parameter Param.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 5.1 Setting up Serial Communications 5.1.1 Reading 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). Optomux brainboards support 8N1 only. This parameter provides an affirmation of this value in the JDO. 5.1.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 5.2.3 Reading the I/O Poll Data Size This is the number of bytes that the JDO will receive from the DeviceNet Master and is determined by: consume_size = number_of_B1s * 2 This number is calculated by the JDO. The valid settings for this value are 2-40. The default value is 2. This consume_size is used to set up the Poll transmit size at your Master device.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 6 DeviceNet Profile, Objects and Services 6.1 1782-JDO DeviceNet Profile This section describes the DeviceNet Objects present in the JDO. The JDO conforms to a Type 12, Communications Adapter Device. Table 6-1 DeviceNet Objects Object Identity Message Router DeviceNet Connection Parameter DeviceNet Object Class 1 2 3 5 15 (Fhex ) # of Instances 1 1 1 2 (Explicit Msg., Polled I/O) 10 6.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY Table 6-3 Identity Object Instance Attributes (Instance 1) Attribute Access ID Rule DeviceNet Data Type Name Description of Attribute Value 1 Get Vendor UINT ODVA Vendor Number for this product 2 Get Device Type UINT ODVA Communications Device Type 12 = Comm.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 6.3 Parameter Object, Class F hex (15dec) There are many configurable data parameters associated with your JDO. The JDO 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 JDO for the Parameter Object.
Western Reserve Controls, Inc. 1782-JDO User’s Manual PRELIMINARY 6.4 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-JDO User’s Manual PRELIMINARY 7 Accessories and Other WRC Products The following components can be used with an Ajax for replacements or spare parts, or as complementary devices as a part of your DeviceNet or other CAN-Bus system.