Skip to content

Pycomm3 vs Pylogix Connection speed #217

@AndrewStuhr

Description

@AndrewStuhr

Hello good sir!

I was recently writing to a single tag with Pycomm3. It was taking a while, sometimes 6 seconds, which I attribute to a busy network with other active connections to the PLC. I tested writing to the tag with Pylogix, and it was consistently faster, with a worst case of 1 second.

I'm pretty sure this time difference comes from time to create the connection, not the time to perform the write. Do you know why Pylogix's connection speed is faster, and whether there's any parameters to use when connecting with Pycomm3 to speed up the connection time? I tried "init_program_tags=False", but that didn't change the speed.

As always, thanks for making this sick library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions