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