OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OpENer - Open Source EtherNet/IP(TM) Communication Stack

Documentation

EtherNet/IP stack for adapter devices (connection target); supports multiple I/O and explicit connections; includes features and objects required by the CIP specification to enable devices to comply with ODVA's conformance/ interoperability tests.

Introduction

This is the introduction.

Building

How to compile, install and run OpENer on a specific platform.

Requirements

OpENer has been developed to be highly portable. The default version targets PCs with a POSIX operating system and a BSD-socket network interface. To test this version we recommend a Linux PC or Windows with Cygwin installed. You will need to have the following installed:

  • gcc, make, binutils, etc.

for normal building. These should be installed on most Linux installations and are part of the development packages of Cygwin.

For the development itself we recommend the use of Eclipse with the CDT plugin. For your convenience OpENer already comes with an Eclipse project file. This allows to just import the OpENer source tree into Eclipse.

Compile for PCs

  1. Directly in the shell
    1. Go into the bin/pc directory
    2. Invoke make
    3. For invoking opener type:
      ./opener ipaddress subnetmask gateway domainname hostaddress macaddress
      e.g., ./opener 192.168.0.2 255.255.255.0 192.168.0.1 test.com testdevice 00 15 C5 BF D0 87
  2. Within Eclipse
    1. Import the project
    2. Go to the bin/pc folder in the make targets view
    3. Choose all from the make targets
    4. The resulting executable will be in the directory ./bin/pc
    5. The command line parameters can be set in the run configuration dialog of Eclipse

Further Topics