eip
EtherNet/IP
Connection String Options
Name | Value | Description |
---|---|---|
Code |
||
Name |
EtherNet/IP Protocol |
|
Maven Dependency |
<dependency> <groupId>org.apache.plc4x</groupId> <artifactId>plc4j-driver-eip</artifactId> <version>{current-last-released-version}</version> </dependency> |
|
Default Transport: |
|
|
Supported Operations |
||
|
Read tags from a PLC4X device |
|
|
Write values to tags on a PLC4X device |
|
Options |
||
|
|
|
|
|
Address Format
To read and write data to a PLC4X device, the EtherNet/IP driver uses symbolic segments. This is used to refer to objects through their symbolic names. This makes reading data a lot easier, as you do not need to specify the Datatype for reading.
%{tagname}[{startIndex}]:{numberOfElements} %{tagname}[{startIndex}]:{numberOfElements}:{DataType}
Name | Description |
---|---|
Tagname |
symbolic name of the Data |
Start Index (optional) |
if the data is an array, we can specify a starting index from where we want to read |
Number of elements (optional) |
if the data is an array, we can specify the number of elements we want to read. Use this in combination with the starting index to get the exact scope you want. |
DataType (writing) |
Specify the Data-type of the value you want to write (mandatory) |
Data Types
To store | Use this data type |
---|---|
Bit |
BOOL |
Bit array |
DWORD (32-bit boolean array) |
8-bit integer |
SINT |
16-bit integer |
INT |
32-bit integer |
DINT |
64-bit integer |
LINT |
32-bit float |
REAL |