Blog

iTools® EthernetIP Rockwell

ITools implements the EthernetIP communication protocol to access Rockwell devices tag without adding any software, here are detailed the specifications to configure the ITools driver in order to read and write the Tag.

To configure the ITools EthernetIP Rockwell it is necessary to have the assembly IToolS.IOServers.EthernetIP.Rockwell.exe, this assembly permit the access to the Rockwell devices which have the EthernetIP protocol because this assembly implement itself the protocol.

The launch of the assembly IToolS.IOServers.EthernetIP.Rockwell.exe displays this window:

Now it is possible to insert the address parameters and push the Connect button, after that the device receive the request about the information related to the tags defined:

 

Now it is possible to select the desired Tags and from the menu, clicking the Export button, it is possible to create automatically the .xml file used from ITools components to obtain the addressing information of the application variables. The xml file created it is not used to declare the tags to use in the application but it contains the information applied to the tags declared in the Rockwell devices, thank to this file, created during first connection or executing the application explained upper, the driver doesn’t ask for this information every time there is a connection with the device.

The export process it can be avoided, when the driver at the first correct connection create the .xml file with the information tag.

In order to use the driver IToolS EthernetIP Rockwell it is necessary to create an application and configure an ITools driver in a classic way setting the IOServer “Name” property to the value “ControlLogix” and including a project reference to the assembly IToolS.IOServers.EthernetIP.Rockwell.exe:

 

In the sample application shown above are shown also the advanced properties available for the ControlLogix drivers in which are present the additional properties:

 

 

 

Using the “ControlLogix” driver it is possible to read the following tags:

Limitations:

Data Type

Max. Items that fit into a Write Packet

Boolean Arrayed 32
SINT Arrayed 460
INT Arrayed 230
DINT Arrayed 115
REAL Arrayed 115

 

 

Additional considerations:

In case you want to run a full array in a single request to optimize the performance of the HMI communication it is possible to declare a Variable with address equal to the array name without the element wanted:

In Rockwell it is defined an array of integers (INT) with size 32 and name my_int_array, a Variable iTools can be declared as follows:

Variable variable = new Variable() { VariableName = “MyArrayVar”, Address = “my_int_array” };

Now, if I want to manage the array element 10:

variable.ArrayIndex = 10;

In this way, the driver reads the entire array in a single request and extracts the desired element. If you need to manage multiple elements of the same array the driver uses a single request to obtain all the necessary elements.

The situation stated above, however, has a drawback in the writing stage because for the arraythere is the limitation reported in the table above.

 

 

 

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

diciannove − 10 =