{"repo":"danomagnum/gologix","free":true,"listed":false,"github":"https://github.com/danomagnum/gologix","clone":"git clone https://github.com/danomagnum/gologix.git","description":"Ethernet/IP client library for Go inspired by pylogix that aims to be easy to use. Supports being a client and a class 3 / class 1 server.","language":"Go","stars":71,"topics":["automation","ethernet-ip","ethernetindustrialprotocol","go","golang","plc","rockwell","commonindustrialprotocol","allen-bradley","cip"],"license":"MIT","category":"workflow-automation","readme_excerpt":"gologix gologix is a communication driver written in native Go that lets you easily read/write values from tags in Rockwell Automation ControlLogix and CompactLogix PLCs over Ethernet/IP using Go. PLCs that use CIP over Ethernet/IP are supported (ControlLogix, CompactLogix, Micro820). Models like PLC5, SLC, and MicroLogix that use PCCC instead of CIP are not supported. It is modeled after pylogix with changes to make it usable in Go with a goal of being similar in usage patterns to modules of the go standard library. Client The client lets you read and write tag data to a logix PLC. You can read/write single tags (atomic or UDT) with Read by providing a pointer to the equivalent go type and it will populate the data similar to the json library. You can also read multiple tags at once with ReadMulti , ReadList , and ReadMap . You can likewise write with Write , WritMulti , and WriteMap . If you don't know what tag you want, you can list all the tags in a controller with ListAllTags or programs with ListAllPrograms . To do a custom message you can use GenericCIPMessage . There are also a couple other features for advanced use. There are examples for all these methods in the examples , tests , and canned folders. Here is an abridged version of the /examples/SimpleRead example. See the actual example for a more thorough description of what is going on. Server The Server type lets you receive MSG instructions from the controller. or behave as an IO adapter. There are a few example","default_branch":null,"files":null,"tree":[],"storefront":"/r/danomagnum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danomagnum/gologix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}