Allen Bradley MicroLogix EtherNet/IP
Communication Setup: Xpanel
Select [Tools] β [I/O Devices] or click the icon from the main toolbar.
To create a device, see the image below.
I/O Device Name: Give a device name.
I/O Device Type: Select βEthernet Deviceβ. The device name will be used in the βStation Nameβ and tag configuration of the database.
Select [Ok] for the βEthernet Communication Configurationβ dialog box to appear.
Β
Select βAllen Bradley MicroLogix EthernetIPβ from the βDevice Typeβ the dropdown menu, and choose βTCPβ as the Protocol.
Move to the [Station] tab of the βEthernet Communication Configurationβ dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.
Each field can be configured as followed:
Station Name | Give a name to the PLC. This name will be used in the database window accompanied by the βDevice Nameβ. |
---|---|
Station Type | Choose the βMicroLogixβ (no other type). |
Network ID | This field has no effect. |
Socket Port No. | The default is set as 4481 for MicroLogix. |
16Bit Data Swap | Data is obtained by swapping bytes of the word- or double-word-sized data. |
32Bit Data Swap | Data is obtained by swapping words in double-word-sized data. |
String Data Swap | Data is obtained by switching bytes of string word data. |
Comm. Error Message Pop Up | With this feature ON, the communication error message appears when Xpanel detects a βSend/Receiveβ error. |
Fast Mode | This field has no effect. |
Fixed XPANEL Socket Port | Enables the XPANEL Socket Port No. |
XPANEL Socket Port No. | Choose a Socket Port No. for the Xpanel. |
I/O Device Write Enable | Enables writing to the I/O device. |
Data Request Size Limit | Enables the 'WORD' and βBITβ boxes below. Input the maximum word and bit data desired. |
See the Communication Configuration section for more information.
Communication Configuration
1. Ethernet IP Setup
Run RSLogix 500.
Select [Comms] β [Uploadβ¦] from the menu, and upload a project.
Double-click on [Channel Configuration] from the project window to open the βChannel Configurationβ window.
Go to the [Chan.1 - System] tab in the βChannel Configurationβ window.
Configure and save the IP Address, Subnet Mask, and Gateway Address.
Select [Comms] β [Download..], and download the setting to PLC.
Address and Function Codes
Address Format
Tag Type | Format | Example |
---|---|---|
Analog | [Symbol][Decimal Code] | X201 or Y300 |
Digital | [Symbol][Decimal Code] | E0201 or M9900 |
Supported Symbols
Symbol | Bit Range | Word Range | Name |
---|---|---|---|
O | O:0.0/0 β O:30.255/15 | O:0.0 β O:30.255 | Output |
I | I:0.0/0 β I:30.255/15 | I:0.0 β I:30.255 | Input |
S | S:0/0 β S:163/15 | S:0 β S:163 | Status |
B | B3:0/0 β B3:255/15 B9:0/0 β B255:255/15 | B3:0/0 β B3:255/15 B9:0/0 β B255:255/15 | Binary |
N | N7:0/0 β N7:255/15 N9:0/0 β N255:255/15 | N7:0 β N7:255 N9:0 β N255:255 | Integer |
F | Β | F8:0 β F255:255
| Float |
L | Β | L9:0 β L255:255
| Long |
ST | Β | ST9:0 β ST255:255 | String |
T | T4:0.0/0 β T4:255.2/15 T9:0.0/0 β T255:255.2/15 Β Txx:nn.0/15 = Enable(EN) Txx:nn.0/14 = Timer Timing(TT) Txx:nn.0/13 = Done(DN) | T4:0.0 β T4:255.2 T9:0.0 β T255:255.2 Β Txx:nn.1 = Preset Value(PRE) Txx:nn.2 = Accumulated Value(ACC) | Timer |
C | C5:0.0/0 β C5:255.2/15 C9:0.0/0 β C255:255.2/15 Β Cxx:nn.0/15 = Count up enable(CU) Cxx:nn.0/14 = Count down enable(CD) Cxx:nn.0/13 = Done(DN) Cxx:nn.0/12 = Overflow(OV) Cxx:nn.0/11 = Underflowt(UN) Cxx:nn.0/10 = Update Accumulator(UA) | C5:0.0 β C5:255.2 C9:0.0 β C255:255.2 Β Cxx:nn.1 = Preset (PRE) Cxx:nn.2 = Accumulated Value(ACC) | Counter |
R | R6:0.0/0 β C6:255.2/15 R9:0.0/0 β R255:255.2/15 Β Rxx:nn.0/15 = Enable(EN) Rxx:nn.0/14 =Update Enable(EU) Rxx:nn.0/13 = Done(DN) Rxx:nn.0/12 = Stack Empty(EM) Rxx:nn.0/11 = Error(ER) Rxx:nn.0/10 = Upload(UL) Rxx:nn.0/9 = Inhibit(IN) Rxx:nn.0/8 = Found(FD) | R6:0.0 β R6:255.2 R9:0.0 β R255:255.2 Β Rxx:nn.1 = Length value Rxx:nn.2 = position value | Control |
Communication Cable Wiring
This is an interface for communication between the TOUCH/PPC and the Device by Ethernet. This complies with IEEE802.3 for 10Base/100BaseTX. Refer to the PIN number and cable for RJ45 as shown below.
RJ45 Connector | RJ45 Jack |
Direct Cable: Host βοΈ HUB
Cable | No | Color | Color | No | Cable |
Β Β Β | 1 | Orange/White | Orange/White | 1 | Β Β Β Β |
2 | Orange | Orange | 2 | ||
3 | Green/White | Green/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Green | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |
Crossover Cable: Host βοΈ Host
Cable | No | Color | Color | No | Cable |
Β Β Β | 1 | Orange/White | Green/White | 1 | Β Β Β |
2 | Orange | Green | 2 | ||
3 | Green/White | Orange/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Orange | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |
Β