Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The This Linux Driver is compatible with 32 Bit and 64 Bit OS.

...

  1. Open a terminal

  2. Navigate to your extracted Linux Driver filepath

  3. Move to kernelmod
    cd kernelmod

  4. (opt.) You need to reinstall/update c++ compiler
    sudo apt-get update && sudo apt-get install build-essential

  5. Make the compile bash script executable
    chmod +x dfprofinet.sh

  6.  Start the PN card (this step is necessary at reboot)
    sudo ./dfprofinet.sh start

  7. Now the Profinet Card should be shown in the response of dmesg (in bolt letters) with the MAJOR-No. displayed in the last line of the previous step.
    e.g: DFPROFINET IO driver df_profinet found with MAJOR=240

  8. Install Libraries on 64 Bit system from parent directory (this step will differ on a 32 Bit OS - further information in README.txt)
    sudo cp lib/32bit/libdfpnio.so /usr/lib32
    sudo cp lib/64bit/libdfpnio.so /usr/lib

  9. Compile the example from parent directory
    cd example_controller
    make
    ./Basic_Profinet_Example

  10. Please follow the instructions in the application

...