background image

 
 
 
 
 

1782-JDO 

DeviceNet-to-Optomux Gateway 

User’s Manual 

 

 

 
 
 
 
 

 

W

estern 

R

eserve 

C

ontrols, Inc. 

 
 
 

Summary of Contents for 1782-JDO

Page 1: ...1782 JDO DeviceNet to Optomux Gateway User s Manual Western Reserve Controls Inc ...

Page 2: ...ndirect incidental or consequential damage resulting from the use of this document Rev 1 02 May 2004 Copyright 2003 2004 WRC Western Reserve Controls Inc 1485 Exeter Road Akron OH 44306 330 733 6662 Phone 330 733 6663 FAX sales wrcakron com Email http www wrcakron com Web WRC is a trademark of Western Reserve Controls Inc DeviceNet is a trademark of the Open DeviceNet Vendor Association ODVA Optom...

Page 3: ...NNECTOR 16 4 4 DEVICENET CONFIGURATION 16 4 4 1 DeviceNet Network Termination 16 4 4 2 DeviceNet Connection Wiring 16 4 4 3 RS485 Network Termination 1782 JDO 2 17 5 SOFTWARE CONFIGURATION AND SET UP 18 5 1 SETTING UP SERIAL COMMUNICATIONS 20 5 1 1 Reading the Data Frame Format 20 5 1 2 Setting up the serial link baud rate 20 5 2 SETTING UP DEVICENET COMMUNICATIONS 20 5 2 1 Polled I O 20 5 2 2 Rea...

Page 4: ...ngths 16 Table 5 1 Configuration Parameter List 18 Table 5 2 Serial Baud Rates 20 Table 6 1 DeviceNet Objects 22 Table 6 2 Identity Object Class Attributes Instance 0 22 Table 6 3 Identity Object Instance Attributes Instance 1 23 Table 6 4 Identity Object Common Services 23 Table 6 5 Parameter Class Attributes Instance 0 24 Table 6 6 Parameter Instance Attributes Instances 1 7 24 Table 6 7 Paramet...

Page 5: ...ilds its owns internal B1 scan list and starts communicating with the B1 boards The JDO then translates discrete I O data between the DeviceNet polled I O data and the Optomux B1 protocol format You can connect up to 10 B1 brainboards to the JDO The DeviceNet Master reads 3 bytes of data from the JDO 1 status and 2 input data bytes and writes 2 bytes of discrete output data to the JDO for each bra...

Page 6: ... Device Profile 12 Chex Autobaud operation Polled I O and Explicit Messaging Software Configurable Parameters for serial port operation Software Configurable Parameters to define the B1 system DeviceNet address selection via DIP switches DIN rail mount Pluggable 5 pin DeviceNet connection Pluggable RS 485 3 pin connection 2 standard DeviceNet module and network status LED s Serial transmit and rec...

Page 7: ...er that is connected to DeviceNet The JDO has one DeviceNet address All DeviceNet messages to the JDO are sent to this address All DeviceNet messages to and from the B1 s are sent to the JDO DeviceNet assembly objects using poll commands The JDO Parameter Object allows you to define the specific operation of each JDO and the attached B1 s These parameters include all the set up required for the se...

Page 8: ... with B1 input data and provide updated information to the DeviceNet scanner via the Polled I O Response technique The input data will be placed in the input field in the order as the B1 s are listed in the Parameter list of the JDO 9 Once the control system is put in run mode the JDO will take the output data received from the DeviceNet Master in the Poll Command and sent the output data to each ...

Page 9: ...s the network baudrate This requires devices on the network attempting to communicate with each other The Network Status LED labeled NS will begin to flash green If it turns solid red check for a duplicate MacID on the network If it remains off make sure that there are other devices trying to communicate on the network 8 Once the Master recognizes the unit on the link and allocates the connection ...

Page 10: ...d byte contains the DI s for channels 8 15 3 Direct the master to begin polling the JDO The JDO will continuously issue Read Status commands to the B1 and update the DeviceNet Poll Response input data with the input data from the B1 Table 2 1 JDO Input Data Format 10 B1 s BYTE B1 MEANING Byte 0 1 st data byte DI s 0 7 Byte 1 1 st data byte DI s 8 15 Byte 2 2 nd data byte DI s 0 7 Byte 3 2 nd data ...

Page 11: ... DeviceNet Master s scan list 5 Map your DeviceNet I O between the JDO and the Master s I O image table or other suitable file The JDO defaults to one B1 unit so the JDO will send 3 bytes of data and receive 2 from the Master 2 3 How to Write Serial Output Data to the JDO 1 Set up the receive size of your connection to equal the Max Number of B1 Devices 2 in your Master s scan table This value is ...

Page 12: ...e until the unit is power cycled or a Reset command is received from the Master 2 5 How to Change the Baud Rate The Baud Rate is set to Autobaud at the factory The baudrate can be changed through your configuration tool in its normal manner to any baudrate except Autobaud This is due to the fact that Autobaud is not provided for in the DeviceNet specification If you need to set the baudrate to Aut...

Page 13: ...utobaud operation default Fixed baud software selectable 125k 250k and 500k baud Address selection Address number 0 to 63 switch selectable default 63 Cable Connection JDO 5 pin pluggable header male Phoenix Contact MSTBA 2 5 5 G 5 08 AU or equivalent DeviceNet Cable 5 contact plug female contacts Phoenix Contact MSTB 2 5 5 ST 5 08 AU or equivalent included Status Indicators Module Status green re...

Page 14: ...r s Manual PRELIMINARY 13 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 11 79 mm Operating Temp 0 60 ºC Humidity 0 95 RH non condensing ...

Page 15: ... style connector It also has two green LED s to indicate the presence of activity on the RS 485 transmit and receive lines All power for the JDO is derived from the DeviceNet power KEY 0 RIGHT TOGGLE ARM 1 LEFT 1782 JDC DeviceNet Converter V CAN_H CAN L V RX TX GND ADDR 0 N C Figure 4 1 1782 JDO Outline Drawing 4 2 LED Operation 4 2 1 DeviceNet LED s The JDO has two LED s that provide visual statu...

Page 16: ...work Status LED labeled NS LED State Network Status Meaning OFF No Power Not on line JDO has no power or has not completed the Dup_MAC_ID test Flashing Green On line not connected JDO is on line but is not allocated to a Master Green On line JDO is operating normally Flashing Red Connection time out One or more I O connections are timed out Red Critical link failure JDO has detected an error that ...

Page 17: ... Lengths Trunk Line Length Drop Length Maximum Distance Maximum Cumulative Baud Rate Meters Feet Meters Feet Meters Feet 125k baud 500 m 1640 ft 6 m 20 ft 156 m 512 ft 250k baud 250 m 820 ft 6 m 20 ft 78 m 256 ft 500k baud 100 m 328 ft 6 m 20 ft 39 m 128 ft 4 4 1 DeviceNet Network Termination A DeviceNet system must be terminated at each end of the trunk line The host controller and the last JDO o...

Page 18: ...cable to eliminate electrical reflections An appropriate value for the terminating resistor typically is 100 120 ohm depending upon the characteristic impedance of the cable used o121 ohms same value as the DeviceNet terminator is a standard resistor value that may be used in many cases 1 metal film 1 4 Watt Correct cable termination is the responsibility of the user The 1782 JDO 2 does not includ...

Page 19: ...mat 1 Get Character framing Optomux brainboards use only 8N1 8N1 3 USINT Serial Baud Rate 2 Get Set RS232 RS485 communications speed 0 9600 1 1200 2 2400 3 4800 4 19 2k 5 38 4k 9600 baud 0 USINT Device Net Baud Rate 3 Get Set The baud Rate of the device net device The baud rate can be set here and will take effect once the JDO has been reset 0 125 Kbaud 1 250 Kbaud 2 500 Kbaud 3 Autobaud Autobaud ...

Page 20: ... output 0 use fault value 1 hold last state Use Fault Value 0x0000 UINT BB 1 DN Output Fault Value 16 Get Set Output actions if no DeviceNet communications 0x0000 0xFFFF 1 bit per output 0 turn OFF 1 turn ON Turn OFF 0x0000 UINT BB 1 DN Output Idle Action 17 Get Set Output actions when DeviceNet in Idle mode 0x0000 0xFFFF 1 bit per output 0 use Idle value 1 hold last state Use Idle Value 0x0000 UI...

Page 21: ...ports Polled I O only 5 2 1 Polled I O The polled connection is the only manner in which you can send serial output data to the JDO and therefore to your ASCII device The DeviceNet Master initiates the polled connection by sending Poll Command data to the JDO for the B1 s and the JDO responds with data from the B1 s 5 2 2 Reading the I O Poll Response Data Size This is the number of bytes that the...

Page 22: ...dard DeviceNet objects to ensure compatibility You can still use the baudrate in the normal manner it will just not allow the Autobaud setting This value can be set and retrieved by using the standard set and get services on class 15 Fhex instance 3 attribute 1 See Table 5 1 5 2 5 Autobaud Operation Autobaud is the mechanism that allows the DeviceNet device in this case the JDO to automatically de...

Page 23: ...rameter 15 Fhex 10 6 2 Identity Object Class 1 Instances 0 and 1 exist in the 1782 JDO Table 6 2 Identity Object Class Attributes Instance 0 Attribute ID Access Rule Name DeviceNet Data Type Description of Attribute Value 1 Get Revision UINT Revision of this object 1 2 Get Max Object Instance UINT Maximum instance number of an object currently 1 6 Get Max Class Attribute ID UINT Attribute ID numbe...

Page 24: ...ion USINT 5 Minor Revision USINT 1 5 Get Status WORD Summary status of device 6 Get Serial Number UDINT WRC Unique Device Serial Number 7 Get Product Name SHORT_STRING ASCII Name of product 1782 JDO 10 Get Set Heartbeat Interval USINT The interval in second that the device generates a heartbeat message A value of 0 disables heartbeat generation 0 Table 6 4 Identity Object Common Services Service C...

Page 25: ...tes Instances 1 7 Attribute ID Access Rule Name DeviceNet Data Type Description of Attribute Value 1 Set Parameter Value data type specified in Descriptor Data Type and Data Size Actual value of parameter It can be read from or written to This attribute is read only if bit 4 of Attribute 4 is TRUE 2 Set Link Path Size USINT Size of link path If this is 0 then no link is specified Number of bytes 3...

Page 26: ...instance attribute and service that the command is specifying In order of first to last DeviceNet specifies service class instance attribute and data The data is always little endian low byte precedes high order byte and the others are all one byte in length on the JDO Note that the get service has no data The get service gets data from an attribute of a class or class instance The service number ...

Page 27: ...et to Optomux B1 Gateway 1782 JDO DeviceNet to Pamux Gateway 1782 JDP Discrete I O block 24 channels WRC1 JDB24 Discrete I O block 48 channels WRC1 JDB48 Discrete I O Analog Input block 24 DIO 32 AI WRC1 JDA 24 Discrete I O Analog Input block 48 DIO 32 AI WRC1 JDA 48 Analog I O block 32 channels WRC1 JDAIO Discrete and Analog I O block 24 DIO 32 AIO WRC1 JDAIO 24 Discrete and Analog I O block 48IO...

Reviews: