tuliomagalhaes / Ethernetip4j

EthernetIp4j is a communication protocol for Rockwell's Allen-Bradley PLC systems, written entirely in Java.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was created by: daniel.biloglav, sewalliniusm and maja.arvehammar
Google Code Repository: https://code.google.com/p/ethernetip4j/

Introduction

This page will show you how to use EthernetIP4J library.

Details

Sample code. There is both the SimpleLogixCommunicator and some unit tests to use.

To use the SimpleLogixCommunicator it is intended to connect to one Ethernet card in Control Logix rack or to a Compact Logix unit.

When using the Control Logix you need to keep track of where your Ethernet card is located and where your CPU is located. If it is like CPU slot 0 and ECard slot 1 the you just go ahead and do read and writes with tag names. If the Ecard is at slot 1 then just use the read where cpuSlot is given for example slot 2 then do read(tags,2); and you will get a reply from the CPU.

There are samples where we use this as a means to communicate with several CPU:s in one rack. We have a customer that requires this.

If your Ecard is a another slot than 1 use the function where both ethernetSlot and cpuSlot are given.

About

EthernetIp4j is a communication protocol for Rockwell's Allen-Bradley PLC systems, written entirely in Java.


Languages

Language:Java 99.4%Language:CSS 0.6%