This controller is equipped with an EtherNet/IP™ interface. Read chapter EtherNet/IPfor further details.
Nanotec controllers are always based on CANopen standard CiA402. All attributes are therefore stored in a so-called object dictionary. These can be addressed with an index and a subindex, e.g., 1018h:01h. The index is a 16-bit value and the subindex is an 8-bit value.
The controller offers EtherNet/IP™, but this protocol uses a different procedure: all attributes are stored on the basis of objects. For this reason, the C5-E uses an assignment to create a bridge between EtherNet/IP™ and CANopen. As a consequence, the configuration of this controller is somewhat different that with normal EtherNet/IP™ devices.
The following commissioning procedure assumes the use of a CompactLogix PLC and Studio 5000 software from Rockwell.
By default, the controller is in DHCP mode. A DHCP server is therefore needed in the network. If no DHCP server is available or if the controller is to operate with a fixed IP address, the BOOTP/DHCP tool from Rockwell can be used. With this tool, is is possible to either assign an IP address to the controller by means of DHCP or to assign a static address and deactivate DHCP. BOOTP is not supported by the controller.
If you have your own DHCP server and wish to ascertain the IP address, this can be accomplished most easily with the ping tool. To do this, the NetBIOS service must be activated on the PC and the MAC address of the controller must be known.
|If controller with MAC address 44:AA:E8:00:02:9F is to be addressed, the tool is called in a shell or command line using:
- Use the RSLinx Classic software to create an EtherNet/IP™ driver. Refer to the corresponding manual for help.
Select the project path of the PLC.
Import the EDS file of the controller: Click on Tools\EDS Hardware Installation Tool, select Register an EDS file(s). Then select the correct EDS file and import it.
Right-click on Ethernet in the Controller Organizer and select New Module….
Select the Catalog tab, find entry N5 and select the device with which you would like to work.
The New Module input mask then opens. Select the General tab and enter a name and the IP address for the device. Use of the Host Name is not supported.
Click on Change to select one of the assemblies (either I/O Common or I/O PDI, see chapter Assembly objects).
Select the Connection tab and enter an RPI value for the I/O Common data as shown in the following figure. The input type can also be changed to unicast or multicast.
Lastly, close the mask by clicking on OK.
- Right-click on Add-On Instruction in the Controller Organizer and then on Import Add-On Instruction… to import the add-ons that have been made available, which will simplify work with the controller (see chapter Add-on instructions).
Right-click on Data Types\User-Defined in the Controller Organizer and then on Import Data Type… to import the user-defined data that have been made available. After importing, the message objects in the various AOIs should be checked to determine whether the correct communication path is still set (see following figure).
- Select the Communications menu item followed by the Go Online submenu item to go online. To do this, you must download the program to the PLC.
- Once you are online, go to Run Mode via the Communications menu and the Run Mode submenu item. If the fields are green for Run Mode, Controller OK and I/O OK, configuration was successful and you can begin work with the controller.