Internal data points of the Ethernet/IP driver
There is an internal datapoint type for the Ethernet/IP driver, called “_EIPConn”, and an instance of this type for each configured PLC. The elements are as follows:
| Datapoint element | Type | Description |
| Command.GQ | bool | Triggers a general-query of this PLC. |
| Common.State.ConnState | int | Indicates the overall state. This can be one of three values:
|
| Config.Flags | bit32 |
Additional configuration flags:
|
| Config.PLCType | unsigned | Type of this PLC: 1=ControlLogix, 2=CompactLogix, 3=FlexLogix, 4=MicroLogix, 5=SLC5, 6=PLC5, 7=Omron CJ2, 8=Unknown |
| Config.HostAddress | string | Contains the IP address for the TCP connection to the PLC. |
| Config.SlotNumber | unsigned | Slot number of the CPU in the PLC (normally 0). |
| Config.TransactionTimeout | int | Timeout between the request and response in milliseconds. |
| Config.SetInvalidBit | bool | Defines if the invalid bit should be set if the driver loses the connection to the PLC. |
| Config.Active | bool | Specifies whether the drivers communicates with the corresponding PLC (TRUE) or not (FALSE). |
| Config.NumConnections | int | For Logix-family PLCS and Omron PLCs: specifies the number of parallel socket connections (1-8) for throughput. |
| Config.MessageSize | int | For Logix-family PLCs and Omron PLCs: specifies the maximum message size (500-2048 bytes for Logix-family PLCs and 500-1992 bytes for Omron PLCs). |
| Config.ReadById | bool | For Logix-family PLCs: defines if the ID shall be read instead of the name. |
| ReduConn.Config.HostAdress | string | Specifies the IP adress for the redundant TCP connection. |
| ReduConn.Config.Active | bool | Indicates wether the communication via the redundant connection is established or not. |
| ReduConn.Config.ConnState | unsigned | Indicates the state of the redundant connection. Has the same values as State.ConnState . |
| State.ConnState | unsigned | Indicates whether a PLC is connected or not. |
| State.Error | unsigned | Indicates the last basic error of the driver (the error code). |
| State.ExtError | unsigned | Indicates the last extended error of the driver (the error code). |
| State.SentFrames | unsigned | Number of requests that have been transmitted to the unit. |
| State.GoodFrames | unsigned | Number of requests that have been accepted by the unit. |
| State.FailedFrames | unsigned | Number of failed transactions including connection attempts. |
| State.DrvNumber | unsigned | Driver number of the instance that is using this PLC. |