Forum Home › Forums › Development and Integration › AllenBradley PLC Polling Driver (Ethernet)
- This topic has 16 replies, 4 voices, and was last updated 2 years, 6 months ago by manjey73.
-
AuthorPosts
-
July 31, 2020 at 2:54 pm #7078manjey73Participant
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.August 2, 2020 at 7:52 am #7089MikhailModeratorCool!
Should I add the driver to the repository?August 2, 2020 at 1:33 pm #7092manjey73ParticipantYes, you can add it. I give out keys for free without a time limit. Perhaps I’ll post the source code later.
March 4, 2021 at 8:12 am #8395fedexParticipantHi
is it possible to use this driver on raspberry?
Thank you.March 4, 2021 at 8:46 am #8396manjey73Participantfedex
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.March 4, 2021 at 8:57 am #8397manjey73ParticipantMy Raspberry uses a BCM2835 processor which is an ARMv7 Processor rev 4 (v71) I used the
cat /proc/cpuinfo
commandMarch 4, 2021 at 11:50 am #8399fedexParticipantHi,
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 directoryThe libraries libplctag.so.2.3 is in the same directory as simple.
Thank you for your help.
March 4, 2021 at 12:36 pm #8400manjey73Participantlibplctag.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
March 4, 2021 at 2:33 pm #8402fedexParticipantHi,
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.March 4, 2021 at 2:37 pm #8403manjey73ParticipantFor 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 3 years, 10 months ago by manjey73.
March 4, 2021 at 2:47 pm #8405fedexParticipantOk.
Thank you.March 7, 2021 at 4:08 pm #8432manjey73ParticipantI 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.
March 8, 2021 at 4:49 pm #8444fedexParticipantHi,
it worked by only copying the libraries to the /usr/lib directory.
Thank you.March 9, 2021 at 8:14 am #8451manjey73ParticipantDo you need a key for the driver or do you do without it ? 🙂
July 13, 2022 at 7:46 am #10409manyan2028Participant2022-07-13 15:07:48 Unable to communicate with Device 1 “GetAB Data” because connection is not established.
how to use this KP,I cannot connunicate the AB PLC device. windows 10 X64 -
AuthorPosts
- You must be logged in to reply to this topic.