• DepthAI
  • Installing libraries in OAK-1 POE

Hi,
I'm having some issues while trying to make a connection between my device and a PLC. To do that i'm using snap7 but i don't know how to install it on my device so i dont get the import error.
Im using a OAK-1 POE.

Thank you so much

  • erik replied to this.

    Hi Marcos ,
    What's snap7? What protocols/interfaces do you have available?
    Thanks, Erik

    It's a Pyhton library for interfacing natively with Siemens S7 PLCs.
    I just get the camera and flashed the bootloader to the lastest version, but when i try to run the script from the script node it drops me an error while importing the library, I guess it is beacause is not installed.
    I've seen the available modules and libraries and i want to know if there is any way to add other libraries that are not included by default.

    Thank you so much

    • erik replied to this.

      Hi Marcos ,
      Inside script node, you can only run supported libraries. What's the Snap7 based off of - eg. some networking protocol (TCP/UDP..)? If so, you could re-implement it with pure python, just like with MQTT demo here.
      Thanks, Erik

      Okay, thank you very much. I will look for another way to implement it. I thonk i can use sockets.

      Thank you so much