background image

 

DeviceNet

®

 Interface Module Installation & Reference

 

The WriteDeviceNetBuffer function sends incorrect data to the PLC 

1.  Check the RS232 settings on the Interface Module (be sure to upload from the device) and in the 

Serial Port settings in the In-Sight user interface. 

2.  Check that the packet size is set the same on both sides of the RS232 connection, and that it is 

the same as the packet size sent from the Interface Module to the PLC. 

Specifications 

Table 1: DeviceNet Interface Module Specifications 

Feature 

Description 

DeviceNet Interface 

 

Power requirements: 11 to 28v DC @ 50 mA 

 

Loss of ground: Yes 

 

Reverse polarity: -30v DC 

 

Signal levels: ISO 11898 

RS232 Interface 

 

Isolation: 500 volts 

 

ESD protection: ± 10 kv 

 

Overload protection: ± 30 volt 

 

Short circuit: Indefinite 

 

Output levels: ± 7.9 volts (typical) 

 

Data size: 8/7 bits (software configurable) 

 Parity: 

Even/Odd/None 

 

Stop bits: 1 (fixed) 

 

Data rate: 300, 1220, 2400, 4800, 9600, 19200 

 

Flow control: None, RTS/CTS, XON/XOFF 

Baud Rate 

 

300 to 19,200 kb 

Connectors 

 

5-pin micro (DeviceNet). See Table 2 for pin assignments. 

 

9-pin D-sub (RS232). See Table 3 for pin assignments. 

LEDs 

 

Two bi-color LEDs for module status 

 

Tow bi-color LEDs for serial channel status 

Switches 

 

Two rotary Mac ID switches 

 

Rotary baud rate switch 

Dimensions 

 

2.40 in (60 mm) height x 3.25 in (81.3 mm) x 1.10 in (27.5 mm) depth 

Mounting 

 

Two ½ in (12.5 mm) tabs with 3/16 in (4.7 mm) diameter thru-holes. 

Temperature 

 

0° to 70° C. 

 

Table 2: DeviceNet Connector Pin Assignments (5-pin male micro) 

Pin # 

Assignment 

Pin # 

Assignment 

1 Drain 

2 Bus 

3 Bus 

– 

4 CAN 

5 CAN 

— — 

12  

 

Summary of Contents for CIO-2550-00

Page 1: ...it through DeviceNet to or from a DeviceNet scanner attached to a PLC To set up this connection configure two communications channels one from the In Sight sensor to the DeviceNet Interface Module and...

Page 2: ...S file contained on the DeviceNet Interface Module diskette supplied using the EDS Wizard 2 On the Interface Module set the two rotary MACID switches to the unused MACID you want to assign to the modu...

Page 3: ...stance 1 Parameter 8 1 byte which defines the length of the receive byte array c Parameter 69 Data Size Instance 1 Parameter 8 1 byte which defines the length of the transmit byte array d Parameter 49...

Page 4: ...nd data this changes from a value of 0 to a value of 1 triggering the PLC to send the data to the Interface Module the second byte is a sync byte and the third is the size of data being sent user ente...

Page 5: ...haking 8 In the Details portion of the dialog see Figure 3 set the Input Packet Size to the Interface Module s DataTransmit Size Instance EDS parameter 69 value minus 1 byte Similarly set the Output P...

Page 6: ...is sent to In Sight from the PLC Data can be sent between the PLC and the In Sight sensor via the DeviceNet Interface Module using the Input Output spreadsheet functions ReadDeviceNetBuffer and WriteD...

Page 7: ...FormatOutputBuffer Dialog 4 Select another empty cell highlight Input Output from the left pane of the Insert Function dialog select WriteDeviceNetBuffer from the right pane and press the OK button t...

Page 8: ...Cell State of the WriteDeviceNetBuffer function may have to be toggled to initiate a send to the PLC Refer to In Sight Explorer Help Reference for more detailed information on the WriteDeviceNet func...

Page 9: ...the Insert menu and select Function to open the Insert Function dialog 6 Highlight Input Output from the left pane select FormatInputBuffer from the right pane and press the OK button to insert the f...

Page 10: ...n the ReadDeviceNetBuffer function parameters ReadDeviceNetBuffer example In this example assume that the incoming data in the FormatInputBuffer function is as follows An integer is expected at byte 0...

Page 11: ...the NET LED is blinking either the Interface Module was not assigned a Master device or the Master device is not polling it Go into RSNetworx and make sure that it is set up correctly and that the In...

Page 12: ...olation 500 volts ESD protection 10 kv Overload protection 30 volt Short circuit Indefinite Output levels 7 9 volts typical Data size 8 7 bits software configurable Parity Even Odd None Stop bits 1 fi...

Page 13: ...und 6 NC 7 Request to Send 8 Clear to Send 9 NC P N 597 0010 02 Copyright 2001 2008 Cognex Corporation All Rights Reserved All information in this document is subject to change without notice Cognex a...

Reviews: