Bataide / cip_enip_driver

Driver/library to communicate with Rockwell PLCs (ControlLogix family) using CIP (Common Industrial Protocol) over Ethernet/IP. This library was developed in .NET Core 2.0, supporting cross-platform (Linux/Windows).
GNU General Public License v3.0
28 stars 9 forks source link

ReadData #1

Open AnnMakf opened 5 years ago

AnnMakf commented 5 years ago

Hello! How to read data from the controller? When recording, an error appears with the code: 4

Bataide commented 5 years ago

Hi! This library doesn't implement read feature, only write. If you want get data from controller using this driver, you have to implement the block MSG in controller to send data to host. Error code 4 means 'PathSegmentError'. Maybe the driver couldn't locate the tag/symbol in PLC. Or the array type or size are different.