Process data transfer
The I/O configuration of the Allen-Bradley CompactLogix controller 1769-L32E with the »Studio 5000 Logix Designer®« software (from version 30) is described below as an example.
As of »Studio 5000 Logix Designer®« version 30, I/O configuration is performed with the aid of EDS files.
Configure the cyclical data transfer (Implicit Messaging) in the »Studio 5000 Logix Designer®« (from version 30):
1.
Use the "EDS Hardware Installation Tool" to import the EDS files of the EtherNet/IP nodes.
In the »Studio 5000 Logix Designer®«, the dialog for the “EDS Hardware Installation Tool” is self-explanatory and is not described further here.
In the »Studio 5000 Logix Designer®«, the dialog for the “EDS Hardware Installation Tool” is self-explanatory and is not described further here.
2.
Click on the "I/O Configuration" folder in the configuration tree.
For the 1769-L32E CompactLogix controller, the I/O configuration already includes a local Ethernet port. If a SoftLogic or ControlLogix controller is used, an Ethernet port scanner must be added to the configuration.
3.
Click with the right mouse button on "Ethernet" and execute the command "New Module ..." in the context menu.
4.
Open the dialog "Select Module Type".
5.
Under the "Catalog" tab ...
a.
select the "AC Drive Device" module type category.
b.
select the appropriate catalog number and description for your hardware.
6.
Click "Create".
The "New Module" dialog box is opened.
The "New Module" dialog box is opened.
a.
The name to be entered should refer to the process or device.
b.
When entering the IP address, make sure that the inverter (adapter) is located in the same network as the PLC (scanner). The subnet corresponds to the first three bytes of the IP address.
DNS is not supported.
The host name only describes the device.
7.
Set other properties under the Connection tab.
Under [1] "Name" the designation of the set connection is displayed.
In the example, an "Exclusive Owner - Custom" connection is displayed. Accordingly, the designation of an "AC Drive Profile" connection can also be displayed here.
Required settings:
[2] "Requested Packet Interval (RPI)": Set RPI ≥ 4.0 ms. (Standard: 10 ms). The RPI specifies the intervals at which the I/O data is exchanged between the inverter (adapter) and PLC (scanner).
[3] "Input Type": Select input type "Multicast". The input data is sent from the adapter to the scanner by means of multicast telegrams. In addition to the scanner currently being configured, other scanners can access the data ("Listen only" or "Input only" connections).
Optional settings:
[4] "Inhibit Module": This option allows you to interrupt or block communication to the adapter.
[5] "Major Fault On...": You can also use this option to set the PLC to error status if the EtherNet/IP connection to the inverter fails while the PLC is in operation.
In the example, an "Exclusive Owner - Custom" connection is displayed. Accordingly, the designation of an "AC Drive Profile" connection can also be displayed here.
Required settings:
[2] "Requested Packet Interval (RPI)": Set RPI ≥ 4.0 ms. (Standard: 10 ms). The RPI specifies the intervals at which the I/O data is exchanged between the inverter (adapter) and PLC (scanner).
[3] "Input Type": Select input type "Multicast". The input data is sent from the adapter to the scanner by means of multicast telegrams. In addition to the scanner currently being configured, other scanners can access the data ("Listen only" or "Input only" connections).
Optional settings:
[4] "Inhibit Module": This option allows you to interrupt or block communication to the adapter.
[5] "Major Fault On...": You can also use this option to set the PLC to error status if the EtherNet/IP connection to the inverter fails while the PLC is in operation.
8.
Click "Change".
9.
Open the "Module Definition" dialog box.
10.
Here the access to the I/O data for the technology applications "Speed" and "Torque" or a freely definable I/O process data set is defined.
a.
Select connection "Speed", "Speed & Torque" or "Custom I/O Connection".
"Speed" and "Torque" correspond to the ODVA "AC Drive Speed/Torque" profile.
"Custom I/O Connection" provides a freely definable I/O process data set.
"Speed" and "Torque" correspond to the ODVA "AC Drive Speed/Torque" profile.
"Custom I/O Connection" provides a freely definable I/O process data set.
b.
Set data type to the corresponding value (SINT, INT, DINT).
The actual data length of each object mapped in the I/O data is determined by the inverter OBD object.
INT and SINT prevent an uneven data length.
DINT prevent an uneven number of data words.
The actual data length of each object mapped in the I/O data is determined by the inverter OBD object.
INT and SINT prevent an uneven data length.
DINT prevent an uneven number of data words.
11.
Click "Input" in the line "Output" or "Change" to adapt the corresponding mapping individually.
This example shows a mapping selection for inputs:
12.
Group the process data according to their data length to prevent gaps.
Example:
1. All required DINT data
2. All required INT data
3. All required SINT data
At the end, a DINT value is automatically added to prevent tool zero-length problems.
Data types are provided according to the input or output data length.
Thus, e.g., no DINT type is provided at 10 bytes of input data:
Example:
1. All required DINT data
2. All required INT data
3. All required SINT data
At the end, a DINT value is automatically added to prevent tool zero-length problems.
Data types are provided according to the input or output data length.
Thus, e.g., no DINT type is provided at 10 bytes of input data:
The customer specific configuration is now completed.
Parameter configuration
The configuration defines the parameters to be transmitted by means of the assembly objects 110 and 111.
Information on the assembly objects:
0x04-Assembly Object
0x04-Assembly Object Two methods are available:
a.
Supporting scanners of class 1 can configure the data assignment in the inverter with the procedure described before.
b.
Alternatively, other masters can be used that do not support this data mapping for the user-defined assembly objects 110 and 111. However, the data assignment must then be configured in the inverter itself and in assembly object 130 (Configuration).
–
Parameterization dialog in the »EASY Starter«: "Settings" tab
à
Overview à
Fieldbus EtherNet/IP à
Mapping Fieldbus data–
Parameters for internal mapping of process output data (assembly 110): 0x24E0:001 ... 0x24E0:016
–
Parameters for internal mapping of process input data (assembly 111): 0x24E1:001 ... 0x24E1:016
The user can also set up the module for one of the predefined assembly configurations in the ODVA AC Drive profile:
In the example, the assembly input object 73 is used for reading status information of the inverter and the assembly output object 23 is used for controlling the inverter.
The assembly objects 73 (Extended Speed and Torque Control Input) and 23 (Extended Speed and Torque Control Output) can be used for most of the applications.
–
The inverter (adapter) must be in the same subnet as the PLC (scanner). The subnetwork corresponds to the first 3 bytes of the IP address.
–
The size of the assembly input and output objects must comply with the number of words that are actually used.
–
Bits 5 (NetCtrl) and 6 (NetRef) of byte 0 in the assembly output object 23 must be transmitted for the inverter in order that the control and speed reference commands are accepted by the network.
–
If the network control is active (0x400B:001/bit 5 = 1 and 0x2631:037 = 114), all bits of the AC drive control word (0x400B:001) are processed.
–
If the network control is not active (0x400B:001/bit 5 = 0 or 0x2631:037 = 0), the control bits 0, 1, 12, 13, 14, 15 are not processed. Their states are ignored and the drive is in local control.
Further steps after setting up the module
1.
Click "OK" in the "Module Definition" dialog.
The network configuration of the inverter is now complete.
In the navigation tree ("Controller Organizer") under "Controller
In the sample configuration with the "My_EIP_i550" inverter, these three assembly tags are generated:
"My_EIP_i550:C" for the configuration assembly
"My_EIP_i550:I" for the input assembly
"My_EIP_i550:O" for the output assembly
By clicking [+] in front of the assembly names, the display of the assemblies is extended.
Here, for instance, the four words are displayed, the output assembly "My_EIP_i550:O" consists of:
In the navigation tree ("Controller Organizer") under "Controller
à
Controller Tags", assembly tags are generated."My_EIP_i550:C" for the configuration assembly
"My_EIP_i550:I" for the input assembly
"My_EIP_i550:O" for the output assembly
By clicking [+] in front of the assembly names, the display of the assemblies is extended.
Here, for instance, the four words are displayed, the output assembly "My_EIP_i550:O" consists of:
2.
In the navigation tree (Controller Organizer) under "Controller", open the "Controller Tags".
3.
Right-click any tag to execute the "New Tag" context menu command.
The "New Tag" dialog box is opened.
4.
Fill in input fields.
In the example ...
In the example ...
a.
the name "i550_Run_Rev" is entered.
b.
the "Alias" type is selected.
c.
in the output assembly word "My_EIP_i550:O.Data[0]", bit 1 is assigned to "Run_Rev".
5.
Click "Create".
The new alias tag is added to the database.
The configuration is now completed.











