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

CIP Class 0x66 #105

Open vikulov opened 3 years ago

vikulov commented 3 years ago

https://github.com/pjkundert/cpppo/blob/4c217b6c06b88bede3888cc5ea2731f271a95086/server/enip/logix.py#L812

Rigth now i'm also write a cip-device emulator, but in elixir. Class 0x66 is Backplane class. You can see this by request to port instance 0x01, which retriving link object for this instance. But i'm also don't understand values of attributes. This table is result of getAllAttributes to instance 0x01 of this class for devices in different slots 1756-A7

Slot Value Dev
0 00 08 00 00 00 00 2D 00 00 00 01 01 83 62 4B 00 07 00 ENBT/A
1 00 08 00 00 00 00 00 00 01 00 01 01 83 62 4B 00 07 00 L81E
2 00 07 00 00 00 00 03 00 some i/0
3 00 07 00 00 00 00 03 00 some i/0
4 00 08 00 00 00 00 0A 00 some i/0
5 00 08 00 00 00 00 0A 00 some i/0
6 00 08 00 00 00 00 38 00 06 00 01 01 83 62 4B 00 07 00 CNBR/E

If you have some ideas, you are welcome:)