Allen Bradley Logix EtherNet/IP (Ethernet)
Communication Setup: Allen Bradley Logix PLC
Before setting up the EtherNet/IP device in the XpanelDesigner, open the project with the desired tags in the Allen Bradley Studio 5000 software. A file with β.L5Xβ file extension must be created in order to import the tags into XpanelDesigner. To create the L5X file, follow the steps below:
Click [File] β [Save As]. This will open a file browser to save the L5X file.
Go to the desired file directory.
Enter the file name for the L5X file.
Choose βSave as typeβ as βLogix Designer XML File (*.L5X)β.
Click βSaveβ.
Communication Setup: Xpanel
Create a New Device
In order to create a new device, click [Tools] β [I/O Devices] or click the icon in the toolbar. Once the βI/O Device Configurationβ window appears, follow the steps below:
Click βNew Deviceβ.
Name the βI/O Deviceβ with your desired name.
Choose βEthernet Deviceβ.
Click βOkβ.
Note: Only a maximum of one βAllen Bradley Logix EtherNet/IPβ device is allowed; however, one βAllen Bradley Logix EtherNet/IPβ device can have multiple stations.
Select Device Type
When the βEthernet Communication Configurationβ window appears, follow the steps below:
Choose βAllen Bradley Logix EtherNet/IPβ as the βDevice Typeβ.
Select a Station
Move to the [Station] tab at the βEthernet Communication Configurationβ dialog box and click [Add Station]. When the station configuration dialog box appears, follow the steps below:
Enter the desired station name.
Enter the IP address of the Logix controller.
Select an L5X File
To import tags, a file with the β.L5Xβ extension must be chosen. To select an L5X file created from Allen Bradley Logix software, click the button. Once the button is clicked, the file browser will appear and choose the desired L5X file.
Import Tags
Once the L5X file is selected, the βAdd Tagsβ dialog box will appear. To create a set of tags to the tag database, follow the steps below:
Select the desired tags on the list on the left side.
To select multiple tags: press βctrlβ and click on the desired tags.
To select all tags: click on the first tag on the list on the left, scroll down until the last tag is displayed on the same list, and press βshiftβ, and click on the last tag name on the list.
Click the β>>β button to import the selected tags to the list on the right side.
If a tag needs to be removed from the imported list on the right side, click on the tag to be removed and click the β<<β button.
Select all the tags listed on the imported tag list on the right.
Right-click on the selected tags and click βCreate Tagβ. This will create the tags in the tag database with corresponding tag types.
Once finished with importing tags, click βOkβ to save the imported tags.
Note: As shown in the figures below, the imported tags on the right side have indices assigned to them. These indices will be used as the I/O Address of the tag in the tag database.
Create Tags
Save
After clicking [Ok] in the station configuration dialog box, a station will be created under the EIP device as shown in the figure below. Click [Save] to save the steps performed above.
Data Type Support
Xpanel supports the following tag data types:
BOOL
SINT
INT
DINT
REAL
STRING*
It also supports the above data types that are 1-, 2-, and 3-dimensional. However, it does not support the Logix data structure, which includes Module-Defined data types, Predefined data types (with the exception of STRING), Add-On-Defined data types, and User-Defined data types.
* User-defined STRING type is not supported. Only the default Logix STRING data type (allowing a maximum of 82 characters) is supported.
Note About Alias Tags
When using alias tags, the tag that is being pointed to should be a port on the I/O modules. Also, an alias tag cannot point to another tag that is an alias.