Closed JL00001 closed 2 years ago
It looks like 2 responses, not 3... Well, cpppo does bind to both the UDP and TCP port, so perhaps pycomm3 is finding the device on both UDP and TCP? I think Cpppo only does a broadcast request on either TCP or UDP, not both.
Just a guess...
Would there be a way to tell the simulated PowerFlex drive to not respond to TCP packets? As to test that theory?
I think you are right. It is probably operating on both TCP and UDP
I am using CPPPO to simulate a PowerFlex 525. I am also using pycomm3 to craft the CIP Read/Write packets; (I found pycomm3 first). Pycomm3 has a CIP Discovery method, and it is able to see the simulated drive I created, but it seems to return 3 devices instead of 1
Screenshot of it happening:
My Simulated Drive Code:
Drive Config File:
My Question: Is there a way to check that I am not accidentally spawning more than one drive process?
Or if there is something glaringly wrong with my code