![](/html/ec/ec35/ec3561f96a71072b0043bcd933aed8246e6752e812800b0d528c14d6c6dfe16b/bg1.png)
CONTREX, Inc
DeviceNet Startup Guide
December 22, 2003
Overview:
This guide offers a short-form startup procedure and additional comments regarding the
CONTREX CX1010 controller connections to a DeviceNet network. The CX1010 manual
covers the setup parameters in chapter 5, under the Main Menu\Device Configure\DeviceNet
Setup. Detailed DeviceNet specifications are detailed in a separate CX-Series DeviceNet Card
manual. This short-form guide contains information from both sources, and simplifies the
procedure for most users who meet the "Assumptions" criteria noted below.
Assumptions:
The user is generally familiar with DeviceNet terminology, and wiring practices.
The user is familiar with the specific Host/Scanner card that will control this network.
The Scanner card is probably mounted in a PLC (vs. PC) host controller.
The user is familiar with writing PLC code to manipulate numbers. In particular there
may be a need to move decimal points around by multiplying, or dividing, by 10's.
The primary communications mode will be "Polling", rather than "Explicit Messaging".
The data list (CX1010 parameters of interest) includes no more than 4 "write", nor more
than 4 "read" parameters.
Setup the CX1010:
Go through the Menu and find Main Menu\Device Configure\DeviceNet Setup.
Enter a MAC ID value between 1 and 63. This will be the Node Address for this
controller on your network. Be sure you do not have 2 devices with the same address.
Enter a baud rate. Choices are 125, 250, or 500 kbaud. All devices on the network must
communicate with the Scanner Card at the same network speed.
Enter the unique product serial number for this network card. It would be found with the
information that came with the card. If you cannot locate it, you may proceed with the
setup anyway, as most host systems probably do not use this information anyway.
Proceed to page 2 of the CX1010 DeviceNet Setup menu. Enter the list of parameters
that will be communicated over the network. The correct Parameter Number may be
found from the lists in the CX1010 manual. Alternately, you could find the parameter
![](/html/ec/ec35/ec3561f96a71072b0043bcd933aed8246e6752e812800b0d528c14d6c6dfe16b/bg2.png)
through the front panel of the CX1010 itself. First, find the target parameter via the
Menus. Then obtain the parameter number off the Help screen for that parameter.
Typical parameters might include Setpoint (101) and Scaled Feedback (40).
The selected parameter numbers must be entered from the top of the write, or read, list.
If selecting less than 4 items, enter a "0" as the parameter number for the remaining slots
on the list. Note that a Control Parameter (CP-XX) can be written to, but it also can be
on the read list if you wish to have the host monitor, or verify, what value is actually
present in that parameter.
Note regarding Allen Bradley’s DeviceNet Manager:
The DeviceNet option card has now been configured for polling through the above
keyboard entry procedure. It is NOT necessary to use Allen Bradley’s DeviceNet
Manager software, although an experienced user could have configured the polling
connection (Assembly Queue) through that software if desired. If you do use the
Manager, verify that the desired polling parameters do appear on the appropriate CX1010
menu screens. If necessary, try sending a “Start Service” command from the Manager
after configuration. There is a CONTREX option card EDS file available for use with
that software.
Setup the Scanner (Host):
Refer to the instructions for the particular model of scanner for detail information. It will
typically ask for the number of bytes produced, or consumed by the CX1010.
Consumed bytes are those the host will send to the CX1010, and contain the data that you
wish to "write" to the CX1010 parameters.
Produced bytes are those the host expects to receive back from the CX1010, and contain
the data from the "read" list parameters.
Each parameter on the list requires 6 bytes. If all 4 slots were utilized for both the write
and read lists, then both the consumed and the produced byte count would be 4x6=24
bytes.