background image

 

DeviceNet

®

 Interface Module Installation & Reference

 

9. Press 

the 

OK

 button to close the Serial Port dialog. 

10.  Finally, verify that the In-Sight sensor is Online by looking at the indicator in the lower right corner 

of the spreadsheet. If it is Offline, put the sensor Online. 

NOTE

:  For additional information on configuring In-Sight’s serial port settings, refer to the 

In-Sight® 

Explorer Help & Reference

, an online HTML Help file provided on the In-Sight CD-ROM (for 

In-Sight Explorer software). 

At this point, the In-Sight sensor, Interface Module and SLC properties should be configured properly; you 
are now ready to send data between the In-Sight and PLC. 

Communicating With In-Sight via DeviceNet  

Open RSLogix 500 English and go Online. Open the Input and Output tables under Data files. The Input 
table shows the data that is received from the In-Sight sensor and written to the PLC. The Output table 
shows the data that 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 WriteDeviceNetBuffer. The data to be exchanged is formatted using the 
FormatInputBuffer and FormatOutputBuffer functions. In this way, the In-Sight sensor operates like other 
nodes on the DeviceNet network along with the PLC. 

Using the WriteDeviceNetBuffer function 

1.  From an empty In-Sight spreadsheet cell, open the Insert menu and select 

Function…

 to open 

the 

Insert Function

 dialog. 

2. Highlight

 Input/Output 

from the left pane, select 

FormatOutputBuffer

 from the right pane and 

press the 

OK

 button to insert the function into the spreadsheet. 

3. The 

FormatOutputBuffer

 dialog is displayed (Figure 4). Click the 

Add

 button to enter Cell 

Selection Mode and select cells in the spreadsheet containing the data you want to write over 
DeviceNet to the PLC.  Select the correct Data Type for each item using the Data Type drop-
down menu.  Continue adding data until all of your data to be written is selected.  Click the 

OK

 

button. 

6  

 

Содержание CIO-2550-00

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: