DeviceNet
®
Interface Module Installation & Reference
3. On the scanner’s property sheet:
a) Select the Input Data Table tab and either manually map the Interface or Automap the
Interface.
b) Select the Output Data Table tab and either manually map the Interface or Automap the
Interface.
4. Download the changes to the Scanner.
5. Reboot the PLC. At this point, you should see a solid green light on the Interface Module for both
the MOD and NET lights.
Both input and output mappings allocate the Rx and Tx sizes set in the previous step for the PLC’s data
tables. In the PLC, the first two bytes of the mapping are synchronization and trigger bytes, and the next
byte is the data transmission size. For example, using the default values of 16 for both Input and Output
packet sizes, the Rx and Tx I/O sizes should both equal 19 bytes. In the Rx PLC mapping, the first two
bytes are the synchronization bytes, the next byte is the receive size, 0x10 (16), and the remaining 16
bytes are the data received. In the Tx PLC mapping, the first byte is a trigger to send 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 entered, default 0x10 or 16 bytes
decimal) and the remaining 16 bytes are the data to be sent with each change to a value of 1 of the first
overhead byte.
NOTE: The Allen-Bradley RSLogix Input and Output display windows swap the bytes in each 16-bit word.
Connecting the Interface Module to In-Sight
This section describes how to connect the Interface Module to the In-Sight sensor, and how to configure
the In-Sight serial ports for DeviceNet communication.
Step 1 – Connect the Interface Module to In-Sight
1. Remove the power connector from the In-Sight sensor.
2. Plug the I/O module cable (DB15 connector) from the sensor into a Breakout or CIO module.
3. Plug one end of the RS232 serial cable into a Breakout or CIO module’s RS232 port. Plug the
other end of the RS232 serial cable into the Interface Module’s 9-pin RS232 connector.
4. Re-connect power to the In-Sight sensor and configure the In-Sight user interface for the Interface
Module.
5. From the Sensor menu, select Serial Port Settings to open the Serial Port Settings dialog (see
Figure 2).
4