Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Libnodave 0.1

    Download button

    No screenshots available
    Downloads: 1,418  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Thomas Hergenhahn | More programs
    GPL / FREE
    January 26th, 2007, 16:25 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Libnodave description

    Libnodave is a library to exchange data with Siemens PLCs.

    Libnodave is a library to exchange data with Siemens PLCs.

    The PLCs of the S7-300 and S7-400 family have a so called MPI (multipoint) interface. This interface is mainly used to program the device, but can also be used to read and write data from and to the PLC. The physical layer of the MPI interface is a two wire line operated with differential voltage like RS422 or RS485.

    More than two devices can be connected to that line. The data flow is bidirectional. The baud rate is normally 187.5 kBaud, but you may select others. Because no standard PC hardware can do these baud rates, you cannot use a simple signal level converter. You will allways need an adapter from Siemens or another vendor. These adapters are "intelligent" devices built around some microprocessor. They talk MPI to the PLC and something else to your PC. The rest of this document is about this "something else".

    Usage:

    1. Initialize the serial interface:fd=setPort("/dev/ttyS1","19200",'O')
    2. Initialize a daveInterfacedi = daveNewInterface(fd,"Some name")
    3. Initialize the MPI adaptererror=daveInitAdapter(di))
    4. Initialize a daveConnectiondc = daveNewConnection(di,2);
    5. Connect to a PLC with a given MPI addressdaveConnectPLC(dc);
    6. Exchange data with that PLCdaveReadBytes(dc,daveFlags,0,0,24);
    daveWriteBytes(dc,daveFlags,0,0,24,buf);
    7. Disconnect from the PLCdaveDisconnectPLC(dc);
    8. Disconnect from the Adapter daveDisconnectAdapter(di);

    Product's homepage

      


    TAGS:

    exchange data | Siemens PLC | Java library | Libnodave | exchange | data

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM