Sie sind auf Seite 1von 12

Application Note

u-remote Product Line

Setup of the u-remote for Use with an Allen Bradley PLC.


May, 2015
UR1405
Purpose:
This document outlines the steps needed to create a program in LogixDesigner™ using
the u-remote Ethernet/IP coupler and modules with an Allen Bradley CompactLogix™
PLC. It will also cover downloading and installing the u-remote USB driver.
This document assumes a working knowledge of Rockwell PLC’s and the
LogixDesigner™ programming software.

Used for This Example:


Table 1

Manufacturer Description Order Number


Weidmuller UR20-FBC-EIP u-remote Ethernet/IP Coupler 1334920000
Weidmuller UR20-8DI-P-2W 8 channel digital input module 1315180000
Weidmuller UR20-4DI-P 4 channel digital input module 1315170000
Weidmuller UR20-4AI-UI-16 4 channel analog input 16-bit 1315620000
Weidmuller UR20-16DO-P 16 channel digital output 1315250000
Weidmuller UR20-16AUX-GND-0 16 ch auxiliary ground 1334810000

Allen Bradley CompactLogix™ PLC 1769-L32E


Allen Bradley LogixDesigner™ v26.01 – Installed on PC

Proximity Sensor
Pilot Light
Minimum 2 Ethernet cables

The u-remote IO modules should have the following configuration for this example:
Slot 0 - Ethernet/IP Fieldbus Coupler
Slot 1 – 8DI-P
Slot 2 – 4DI-P – Proximity sensor in 1st input.
Slot 3 – 4AI-UI-16
Slot 4 – 16DO-P – Pilot light in 1st output.
Slot 5 – AUX-GND-O
1
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
Downloading and Installing the USB Driver
1. Go to the u-remote product page,
http://www.weidmueller.com/u-remote
2. Download the USB driver from the Support & Documentation link.
3. When the download is complete, right-click the .zip file, and select Extract all.
4. Connect the PC to the u-remote coupler using the USB cable (Type USB-A to
USB Micro-B. The USB cable can be a maximum of 2 meters. No extension
cables can be used.)
5. Windows will attempt to find the driver, but will not be successful. Open the
Device Manager from the Control Panel.
6. Right-click on the interface USB CDC-RNDIS Network Interface in other
devices. Then select Update Driver Software.

Figure 1

7. Select Browse my computer for driver software

8. Browse to the location where the USB driver was extracted. The click Next.

9. Accept the security warning by clicking Install

10. When the driver install is completed, click Close

2
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
Configuring the u-remote Coupler
1. Open your web browser, and enter the IP address of the coupler’s USB port
(default for Ethernet/IP coupler 192.168.5.202). Then press Enter.
2. If prompted to enter login information, click No login information for this example.
When the web page loads, you will see the u-remote system. (See figure 2.)

Figure 2

3. Click the Fieldbus coupler.


Note: The input, output, and configuration assembly lengths are found in the
coupler’s parameters. (See figure 3.) This information is needed for configuring the
u-remote coupler settings in the LogixDesigner™ software.

Figure 3

3
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
4. Click the Parameter button to edit the IP settings
5. Scroll down to the IP Configuration option, and select Static. Then enter the
following IP address information. (See figure 4.)

Figure 4

6. Scroll down again, and change the Webserver via Ethernet to enabled.

7. Click OK, then click Close.


Accessing the u-remote web server is now possible directly over the Ethernet ports
at the IP address entered above, 192.168.0.212.

Creating Connection to the u-remote Ethernet/IP coupler in LogixDesigner™


1. Using RSLinx, assign the L32E PLC the IP address 192.168.0.10, and subnet
mask 255.255.255.0
2. Open RSLogix™ 5000, and create a new project. Enter a name, and click OK.
(See figure 5.)

4
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
Figure 5

3. Right-click the 1769-L32E Ethernet Port, and select New Module

Figure 6

4. Select Generic Ethernet Module for Module Type, then click Create.

Figure 7

5
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
5. Name the module, and enter the IP information and the assembly information
that was found in the u-remote web server.

Figure 8

6. Click OK when finished.


7. Select the Who Active icon in RSLogix™
8. Expand the AB_ETHIP driver, and select the CompactLogix Processor

Figure 9

9. Click Download, then click Download again to confirm.


Verify Communication Between PLC and u-remote Station
1. After the download, the PC will be online with the PLC. Double-click Controller
Tags in the Controller Organizer. (See figure 10.)

6
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
Figure 10

2. Expand UR20:O – UR20:O.Data – UR20:O.Data[2]


3. Right-click on UR20:O.Data[2].0 and select “Toggle Bit” (See figures 11 & 12.)

Figure 11 Figure 12

Note: The first 2 bytes of the inputs are reserved for the status word, and the first 2
bytes of the outputs are reserved for the control word. Therefore, by toggling bit 0 of
byte 2, the first output should be turned on.
The first output bit on the 16DO-P module should now
be on. The connection can be further tested by forcing
an input from the u-remote web server.
4. From the u-remote web server (http://192.168.0.212
over Ethernet, or http://192.168.5.202 with the USB
cable), click Force – enable.
5. Click the first channel of the 8DI-P module.
6. Verify the Controller Tag UR20:I – UR20:I.Data –
UR20:I.Data[2].0 is on.
Note: The controller tag UR20:I – UR20:I.Data –
UR20:I.Data[1].2 will also be on. This is the “Force
Mode Enabled” bit.

7. Deactivate force mode on the u-remote web server


8. Toggle UR20:O – UR20:O.Data – UR20:O.Data[2].0 bit off in RSLogix™ 5000
9. In RSLogix™ click Communications – Go Offline.
10. Save project.
Creating a Simple PLC Program
7
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
This section will explain how to create a simple ladder program using a proximity sensor
that will turn on a pilot light. It will also show the steps to create a tag for channel on an
analog input module.

In RSLogix™ 5000
1. Under MainTask – MainProgram, right-click on Program Tags, and select New
Tag

Figure 13

2. Name the tag “Prox_Sensor”, select Alias for the type. (See figure 14.)
3. Drop-down the Alias For box, and select UR20:I.Data[3].0 <- This bit is the first
input of the 4DI-P module.

Figure 14

8
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
4. Click Create.
5. Right-click on Program Tags, and select New Tag

6. Name the tag “Light”, select Alias for the type. (See figure 15.)
7. Drop-down the Alias For box, and select UR20:O.Data[2].0 <- This bit is the first
output of the 16DO-P module.

Figure 15

8. Double-click MainRoutine, and create the follow rung of ladder logic.

9. Download and test the logic.

9
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
Configuring a Tag for an Analog Input Channel
For this example, the analog module channel 1 will be configured as 0-20mA.
Refer to the u-remote Manual for detailed information on the analog input module
UR20-4AI-UI-16. The manual can be downloaded from the u-remote product page,
http://www.weidmueller.com/u-remote

Note: Configuration changes in the u-remote are not possible while connected to a
controller. To change the parameters of the analog input module, first disconnect the
Ethernet cable from the PLC.
1. Go to the u-remote web server by one of the following methods.
a. Via the USB service port, http://192.168.5.202
b. Via the Ethernet port, http://192.168.0.212
2. Click the analog input module, then click Parameter.
3. Click the drop-down arrow of Channel: 0, and select 0 to 20 mA.

4. Click OK to close.
5. Reconnect the Ethernet cable to the PLC.

10
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
6. Right-click Controller Tags, and select new tag.

7. Name the tag, and set the data type to INT. The click Create.

8. Double-click MainRoutine, and insert a new rung.


9. Type COP (for copy) and press enter. This will add a copy instruction to the new
rung.
10. Double-click source, and select UR20:I.Data[4]. Select the new tag
analog_input_ch_1 as the destination. Finally insert 2 for the length.
(See figure 21.)

Note: The length needs to be 2, because the original input data is SINT (short
integer), while the analog input channels are INT (integers.) This can be
accomplished other ways. This example shows one possible solution.
11. Save and download the project.

11
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015
This can be tested with the u-remote web server.
1. Log onto the u-remote web server.
2. Select Force – enable. Then click close to confirm.

3. Select the first channel on the analog input module (slot 3.)
4. Type the value 20, then click Force.

5. From RSLogix™, double-click Controller Tags. The numeric value that


represents 20mA will be displayed for the value of the tag created.

To learn more about the u-remote, please refer to the User Manual or contact
Weidmuller Technical Support.
In U.S.A. In Canada In Mexico
1 (800) 849-9343 1 (800) 268-4080 01 222 2686267
support@weidmuller.com support@weidmuller.ca clientes@weidmuller.com.mx

12
TB UR1405 –u-remote Ethernet/IP coupler with a CompactLogix™ PLC
By: Gordon Graber, Automation Specialist u-remote May, 2015

Das könnte Ihnen auch gefallen