AllenBradley PLC Polling Driver (Ethernet)

Forum Home Forums Development and Integration AllenBradley PLC Polling Driver (Ethernet)

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #7078
    Avatarmanjey73
    Participant

    KpLibPlcTag

    The first one went. Tested on MicroLogix 1400 PLC.
    So far it works only on Windows, tested it on x64 architecture, but it should work on 32-bit too.
    For Linux, you need to do a separate build.

    #7089
    MikhailMikhail
    Moderator

    Cool!
    Should I add the driver to the repository?

    #7092
    Avatarmanjey73
    Participant

    Yes, you can add it. I give out keys for free without a time limit. Perhaps I’ll post the source code later.

    #8395
    Avatarfedex
    Participant

    Hi
    is it possible to use this driver on raspberry?
    Thank you.

    #8396
    Avatarmanjey73
    Participant

    fedex

    Possible. The developer has experimental builds for libplctag_2.3.4_linux_arm6hf_EXPERIMENTAL.zip and libplctag_2.3.4_linux_arm7l_EXPERIMENTAL.zip
    If any of the builds are suitable for Raspberry, I can try to rebuild the driver for them. But I unfortunately have nothing to test on. I have already returned the PLC and I do not have access to it. If you can arrange remote access to the PLC, I can try to check this possibility.

    #8397
    Avatarmanjey73
    Participant

    My Raspberry uses a BCM2835 processor which is an ARMv7 Processor rev 4 (v71) I used the cat /proc/cpuinfo command

    #8399
    Avatarfedex
    Participant

    Hi,
    i have the same version of raspberry.
    I tried to run an example contained in the library, I have this error:

    pi@raspberry:~ $ ./simple
    ./simple: error while loading shared libraries: libplctag.so.2.3: cannot open shared object file: No such file or directory

    The libraries libplctag.so.2.3 is in the same directory as simple.

    Thank you for your help.

    #8400
    Avatarmanjey73
    Participant

    libplctag.so this library should be located either in the /lib folder and probably should be registered in the system (I don’t remember the nuances now) But that’s not all, in my library there should be a call to the libraries of Linux versions, the build should be under Linux

    #8402
    Avatarfedex
    Participant

    Hi,
    I solved with:
    export LD_LIBRARY_PATH
    Thank you.
    For windows LibplctagWrapper.dll uses plctag.dll.
    What needs to be changed to use libplctag.so.2.3.
    Thank you.

    #8403
    Avatarmanjey73
    Participant

    For Linux, I will need to rebuild the library KpLibPlcTag.dll I’ll try it this weekend.
    If possible, I’ll post a link to the Raspberry version here

    • This reply was modified 1 month, 1 week ago by Avatarmanjey73.
    #8405
    Avatarfedex
    Participant

    Ok.
    Thank you.

    #8432
    Avatarmanjey73
    Participant

    KpLibPlcTag_for_Linux

    I can’t check it, because I don’t have a PLC on my hands. I downloaded version 2.3.4 And renamed it libplctag.so.2.3.4 v libplctag.so and put on the path /usr/lib I do not know how true this is for working on Linux. Version 2.3.5 has already appeared on the developer’s website

    https://github.com/libplctag/libplctag/releases

    The library calls exactly libplctag.so Please write, will it work or not ? And if anything, write to the mail with the computer code, so that I can make a key.

    #8444
    Avatarfedex
    Participant

    Hi,
    it worked by only copying the libraries to the /usr/lib directory.
    Thank you.

    #8451
    Avatarmanjey73
    Participant

    Do you need a key for the driver or do you do without it ? 🙂

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.