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 ATVXEL Socket Port | Enables the ATVXEL Socket Port No. |
ATVXEL 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 | |
Supported Symbols |
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.
Direct Cable: Host <-> HUB
Crossover Cable: Host <-> Host