PLC Connection Guide
Rockwell EtherNet/IP (CompactLogix) – Free Tag Names
Supported Series: Rockwell CompactLogix, FelxLogix Ethernet
Website: http://www.ab.com
HMI Settings:
Parameters Recommended Options Notes
PLC type Rockwell EtherNet/IP (CompactLogix) – Free
Tag Names
PLC I/F Ethernet
Port no. 44818
PLC sta. no. 1
PLC Settings:
1. Set PLC IP address.
PLC Connection Guide
2. Create new tags (Controller Tags and Program Tags supported).
There are two ways to get tags, one is by importing .L5X or .CSV files (click Import
Tags…), another is by connecting PLC (click Get Tag Info…). After creating a project by
one of these ways, please use the same way in future for maintenance to prevent
compilation failure.
Recommended for PLC Offline: Import .L5X
Recommended for PLC Online: Get Tag Info
Comparison:
L5X CSV Get Tag Info
Can Decription be Imported? Yes Yes No
Need Adding Data Type? No Yes No
*Description is only supported for atomic tags. (Not supported for structure or array)
PLC Connection Guide
Get Tag Info:
1. After adding the driver in EasyBuilder Pro, check whether all communication parameters
are correct, and then click [Get Tag Info].
2. Select the tag information to be imported and then click [OK].
3. Click [OK] after tag information is imported successfully.
4. View imported information and click the close icon [X] to leave.
PLC Connection Guide
Import Tag (L5X):
1. Export .L5X file from RSLogix 5000 software. The path is: File -> Save as -> Logix
Designer XML File (*.L5X).
2. Add the driver in EasyBuilder Pro, click [Import Tags], select [Import Files] (*.L5X), and
then click [OK].
3. View imported information and click the close icon [X] to leave.
4. Click [OK] after tag information is imported successfully.
PLC Connection Guide
Import Tag (CSV):
The tags edited using RSLogix5000 can be exported as a CSV file, and then imported in
EasyBuilder Pro.
Note: For Tags that use Data Types such as User-Defined, Strings, Predefined, and
Module-Defined, please click [Data Type…] to add necessary data types before importing the
CSV file.
1. Export tag data to CSV file. ( [Tools] » [Export] » [Tags and Logic Comments] )
Note: The separator character in CSV file must be a comma “,”; otherwise the file is invalid.
The directory for changing system settings: [Control Panel] » [Date, Time, Language, and
Regional Options] » [Change the format of numbers, dates, and times] » [Customize] »
[List separator]. Please select “,” and export CSV file after setting.
2. In [System Parameters], click [Import Tags], select [Import Files] (*.CSV), .and then click
[OK].
PLC Connection Guide
3. Decide whether to keep the current data type (User-Defined, Strings, Predefined,
Module-Defined) or replace with default data type.
4. A Warning window appears when unsupported tags are used. Please check whether these
tags use data types, and add the necessary ones.
The following message pops up when the tags are successfully imported.
PLC Connection Guide
Data Types:
For Tags that use Data Types such as User-Defined, Strings, Predefined, and
Module-Defined, since the Structure cannot be exported as CSV file, please use Structure
Editor to add necessary data.
Structure Editor can be opened after adding “Rockwell EtherNet/IP
(CompactLogix/ControlLogix) – Free Tag Names” driver into the Deivce list and then click
[Data Type…]. Right-click on a Data Type (usually User-Defined), and then click [New data
type…] to edit the data type.
PLC Connection Guide
Add data types manually:
1. After adding Rockwell EtherNet/IP (CompactLogix/ControlLogix) – Free Tag Names driver
into the Device list, click [Data Type…] to open Structure Editor. Right-click on a Data Type
(usually User-Defined), and then click [New data type…] to edit the data type.
2. Enter the name of the data type. [Description] field can be left blank. To add a member,
click [Add].
PLC Connection Guide
3. Enter the name and data type and then click [OK].
4. After adding all members, click [OK]. The new data type will be added to the list on the left.
5. After changing the name or description of a data type, click [OK] to update.
PLC Connection Guide
Copy and paste the created Data Types:
1. Multiple memebers can be added at a time by clicking [Paste].
2. Enter a name, press Space key or Tab key, and then enter a data type. Copying from the
Sample is recommended in order to avoid error, please click [Sample].
3. The screenshot above shows a table of defined data types in RSLogix. Select these
names and data types using your mouse, copy and paste them to the editing window as
shown below.
PLC Connection Guide
4. Click [OK] and the added data can be found in Structure Editor.
Module-Defiend
Module-Defined is a default structure of a module.
Here is an example showing how to define the structure of a module.
In RSLogix5000’s I/O Configuration, some modules can be found.
T
PLC Connection Guide
he exported CSV file of the tags will not contain the structures. Please add necessary
structures manually.
1. In RSLogix5000 open [Controller Organizer] » [Data Types] » [Module-Defined] and
double-click on a data type. Members of the data type will be displayed, please copy the
Name and Data Type of the members.
PLC Connection Guide
2. In Structure Editor, right click [Module-Defined], click [New Data Type] and then enter the
Name.
3. Click [Paste] and use Ctrl+V to paste the Name and Data Type.
PLC Connection Guide
4. Select a member and then click [Edit]. Since the data of the modules allows bit-wise
operation, [Binary Access] should be selected, then click [OK] to return to Structure Editor.
5. Click OK to complete settings.
Other functions:
Revising member data
Double click the member to be revised, or click the member and then click [Edit].
Deleting member data
Select the data to be deleted and then click [Delete]. To delete all members of a
data type, press and hold the Delete button on the keyboard and then click the
[Delete] button in the dialog box.
Deleting a data type
Select a data type from the list on the left and then press the Delete key on the
keyboard.
Load from Template
To start over from default settings, click [Load from Default] button.
Save to Template
Save the edited data as a template for using in other files.
PLC Connection Guide
Device Address:
PLC Data
Type Name Bit/Word
EasyBuilder Data
Format Memo
BOOL Boolean Bit object
BitArray
SINT -128 ~ 127
USINT 0 ~ 255
INT Integer 16-bit signed, ASCII
-32768 ~ 32767
UINT 0 ~ 65535
DINT Double Integer 32-bit signed -231 ~ (231-1)
UDINT 0 ~ 4294967295
REAL Single Precision Float 32-bit float IEEE 754
LINT Long Integer 64-bit signed *Note1
ULINT Long Integer 64-bit unsigned *Note1
LREAL Double Precision Float 64-bit double *Note1
STRING *Note4
Note:
1. EBPro V6.03.02 or later supports 64 bits data type (cMT Series only), but please note
that the address limit range is 48 bits in maximum.
2. Please avoid using “.” in the Tag name because this may influence macro execution.
3. Shorter tag names are recommended for enhancing communication efficiency.
4. STRING data format must use Unicode for an ASCII object. When the data of STRING
is changed, HMI cannot calculate the length of STRING and write it into LEN.
5. Data format supported for Binary Access: INT, DINT, and SINT.
Wiring Diagram:
Ethernet cable: