pjkundert / cpppo

Communications Protocol Python Parser and Originator -- EtherNet/IP CIP
https://hardconsulting.com/products/6-cpppo-enip-api
Other
340 stars 112 forks source link

Question: How to send Instance Service "reset (0x05)" instead of "get_attributes_all (0x01)" using Cpppo? #96

Open skorber opened 3 years ago

skorber commented 3 years ago

So I am trying to use Cpppo to run a bunch of Explicit messages to test our product. I am able to get attributes using specific EPATH from our documentation but I need to run a scenario where "Using Explicit Messaging, send a reset type 0 service through Identity object 0x01". I know you added a service_code method to the connector object in client.py but I was not sure if this is what I needed or how to use it since I was not able to find any examples.

Any help would be appreciated. Thanks in advance.

skorber commented 3 years ago

Based on looking through some of the code, I need to add to this section:

image

I need one for reset which is 0x05, based on this packet:

image