README 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ====================
  2. OpENer Version 1.1
  3. ====================
  4. Welcome to OpENer!
  5. OpENer is an EtherNet/IP(TM) stack for I/O adapter devices; supports multiple
  6. I/O and explicit connections; includes objects and services to make EtherNet/IP-
  7. compliant products defined in THE ETHERNET/IP SPECIFICATION and published by
  8. ODVA (www.odva.org).
  9. Requirements:
  10. =============
  11. OpENer has been developed to be highly portable. The default version targets PCs
  12. with a POSIX operating system and a BSD-socket network interface. To test this
  13. version we recommend a Linux PC or Windows with Cygwin (www.cygwin.com)
  14. installed. You will need to have the following installed:
  15. gcc, make, binutils, etc.
  16. for normal building. These should be installed on most Linux installations and
  17. are part of the development packages of cygwin.
  18. For the development itself we recommend the use of Eclipse with the CTD plugin
  19. (www.eclipse.org).
  20. Compile for PCs:
  21. ================
  22. 1. Directly in the shell:
  23. 1.1 Go into the bin/pc directory
  24. 1.2 Invoke make
  25. 1.3 For invoking opener type:
  26. ./opener ipaddress subnetmask gateway domainname hostaddress macaddress
  27. e.g. ./opener 192.168.0.2 255.255.255.0 192.168.0.1 test.com testdevice 00 15 C5 BF D0 87
  28. 2. Within Eclipse
  29. 2.1 Import the project
  30. 2.2 Go to the bin/pc folder in the make targets view
  31. 2.3 Choose all from the make targets
  32. 2.4 The resulting executable will be in the directory
  33. ./bin/pc
  34. Directory structure:
  35. ====================
  36. - bin ... The resulting binaries and make files for different ports (currently only pc)
  37. - doc ... Doxygen generated documentation (has to be generated for the SVN version) and Coding rules
  38. - data ... EDS file for the default application
  39. - src
  40. - cip ... the CIP layer of the stack
  41. - enet_encap ... the Ethernet encapsulation layer
  42. - ports ... the platform specific code
  43. Documentation:
  44. ==============
  45. The documentation of the functions of OpENer is part of the source code. The source
  46. packages contain the generated documentation in the directory doc/api_doc. If you
  47. use the SVN version you will need the program Doxygen for generating the HTML
  48. documentation. You can generate the documentation by invoking doxygen from the
  49. command line in the opener main directory.
  50. Porting OpENer:
  51. ===============
  52. For porting OpENer to new platforms please see the porting section in the
  53. Doxygen documentation.