E1 Plus EtherNet Side Mount Module User Manual


Add to my manuals
98 Pages

advertisement

E1 Plus EtherNet Side Mount Module User Manual | Manualzz

Automation Controller and Software

Communications

Chapter

4

Introduction

The E1 Plus EtherNet/IP Side Mount Module supports three types of EtherNet/

IP messaging:

• I/O Messaging — Used for deterministic Ethernet communications with

ControlLogix™, CompactLogix™, SoftLogix™, and EtherNet/IP scanners.

Its primary use is to read and write I/O data for control purposes.

• Explicit Messaging — Used for non-deterministic communications in which the data is not critical for control. Explicit messages have a lower priority compared to I/O messages, and they are used to read and write non-critical data. Logix controllers, MicroLogix 1100 and 1400 controllers support Explicit Messaging using a MSG instruction.

• ControlLogix Style Tags — Used for non-deterministic communications in which the data will is used in an HMI, SCADA, or historical data logging software system. Software packages can read and write data directly from the device.

This chapter describes and shows examples of how each type of messaging is used.

I/O Messaging

RSLogix 5000™ software is used to configure I/O messaging between an automation controller and an E1 Plus EtherNet/IP Side Mount Module on an

EtherNet/IP Network. This example will show the steps necessary to configure a

ControlLogix controller for this type of messaging.

Note: If you are not using Add-on profiles, please turn to

page 38 .

ControlLogix Configuration with Add-On Profiles

If you have RSLogix 5000 v. 20.0, the E1 Plus add-on profile (AOP) is included.

Proceed with the following instructions. If you do have v. 19 or earlier, download the AOP before proceeding.

An existing project can be used or a new project can be created to configure

EtherNet/IP I/O messaging. To create a new configuration in RSLogix 5000, select File

→ New.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

33

Chapter 4

1.

Select the controller type, chassis type, slot number, and project path.

Enter a name for the controller and click OK.

2.

Right-click on I/O Configuration and select New Module to open the

Select Module Type window.

34

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

3.

Select the desired EtherNet/IP scanner module and click OK.

Chapter 4

4.

Enter the desired communication settings and click Finish.

EtherNet/IP Network Configuration with Add-On Profiles

After the controller configuration, the E1 Plus EtherNet/IP Side Mount Module has to be added to the I/O configuration.

1.

Place the program in Offline mode.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

35

Chapter 4

2.

Right-click on the Ethernet/IP scanner in I/O Configuration and select

New Module to open the Select Module Type window.

3.

Select E1 Plus Ethernet Module and click OK.

4.

Enter a name for the E1 Plus EtherNet/IP Side Mount Module. The name will create a tag in RSLogix 5000 that can be used to read and write data from the E1 Plus EtherNet/IP Side Mount Module.

36

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

5.

Enter the IP address of the E1 Plus EtherNet/IP Side Mount Module.

6.

Click Next.

7.

The E1 Plus EtherNet/IP Side Mount Module is now shown as a module in the I/O configuration.

Accessing Module Data with Add-On Profiles

With both the controller and EtherNet/IP network configured, the

ControlLogix controller can exchange data with the E1 Plus EtherNet/IP Side

Mount Module.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

37

Chapter 4

1.

Open the Controller Tags window.

2.

Select the Monitor Tags tab.

38

Three tags, "E1Plus:C", "E1Plus:I" and "E1Plus:O", have been added to represent the three I/O Instances: Configuration, input and output. The

Configuration Instance was created even though its size was configured as zero. The E1Plus:I tag represents input data, which is data coming from the E1Plus into the controller (%FLA, %TCU, Trip Status, Warning

Status, etc.). The E1 Plus:O tag represents output data, which is data going from the controller out to the E1 Plus (Enable Output A, Trip Reset, etc.).

ControlLogix Generic Configuration

An existing project can be used or a new project can be created to configure

EtherNet/IP I/O messaging. To create a new configuration in RSLogix 5000, select File

→ New.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

1.

Select the controller type, chassis type, slot number, and project path.

Enter a name for the controller and click OK.

2.

Right-click on I/O Configuration and select New Module to open the

Select Module Type window.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

39

Chapter 4

3.

Select the desired EtherNet/IP scanner module and click OK.

4.

Enter the desired communication settings and click Finish.

EtherNet/IP Network Generic Configuration

After the controller configuration, the E1 Plus EtherNet/IP Side Mount Module has to be added to the I/O configuration.

1.

Place the program in Offline mode.

40

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

2.

Right-click on the Ethernet/IP scanner in I/O Configuration and select

New Module to open the Select Module Type window.

3.

Select Generic Ethernet Module and click OK.

4.

Enter a name for the E1 Plus EtherNet/IP Side Mount Module. The name will create a tag in RSLogix 5000 that can be used to read and write data from the E1 Plus EtherNet/IP Side Mount Module.

5.

Select Data-SINT for the Comm Format. The Comm Format tells

RSLogix 5000 the format of the data. The Data-SINT format will represent the data from the E1 Plus EtherNet/IP Side Mount Module as a field of 8-bit values.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

41

Chapter 4

6.

Set the Connection Parameters. I/O data is accessed using Input Instances

50, 51, 106, 110 or 111 and Output Instances 2, 101 or 103. The size of the input connection and the output connection shall correspond to the size of the chosen instance. The E1 Plus configuration assembly instance is

120. In this example configuration data is not used, so the data size is set to

0.

7.

Enter the IP address of the E1 Plus EtherNet/IP Side Mount Module.

8.

Click Next.

9.

Enter a value for the time between each scan of the module. Make sure

Inhibit Module is not checked.

10.

Click Finish to add the E1 Plus to the I/O Configuration in

RSLogix 5000.

42

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

Downloading the Generic Configuration to the PLC

1.

In the RSLogix 5000 program, select Communications

→ Who Active.

2.

Select the desired communication path and click Set Project Path.

3.

Select Communications

→ Go Online.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

43

Chapter 4

4.

In the Connected To Go Online window, click Download.

5.

In the Download confirmation window, click Download to download the configuration to the PLC.

If there are any errors, a warning triangle will be present on the E1 Plus in the I/O configuration listing.

Double-click the module to view any error that is reported.

Accessing Generic Module Data

With both the controller and EtherNet/IP network configured, the

ControlLogix controller can exchange data with the E1 Plus EtherNet/IP Side

Mount Module.

1.

Go online and switch the controller to Remote Run mode.

44

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

2.

Open the Controller Tags window.

3.

Select the Monitor Tags tab.

Chapter 4

Three tags, "E1Plus:C", "E1Plus:I" and "E1Plus:O", have been added to represent the three I/O Instances: Configuration, input and output. The

Configuration Instance was created even though its size was configured as zero. The E1Plus:I tag represents input data, which is data coming from the E1Plus into the controller (%FLA, %TCU, Trip Status, Warning

Status, etc.). The E1 Plus:O tag represents output data, which is data going from the controller out to the E1 Plus (Enable Output A, Trip Reset, etc.).

Logix Explicit Messaging

CompactLogix, ControlLogix, and SoftLogix controllers can read and write specific information to and from the E1 Plus EtherNet/IP Side Mount Module using Explicit Messaging and the Parameter Object. An example of configuring a

ControlLogix explicit message using the MSG instruction to read the Device

Status parameter data from the E1 Plus EtherNet/IP Side Mount Module is shown below.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

45

Chapter 4

1.

Configure the configuration tab for the message instruction with the follow settings:

• Message type: CIP Generic

• Service type: Parameter Read

• Instance: 10: The parameter you want to read back (e.g., 10 represents device status)

• Destination: The controller tag to write the data to.

2.

Configure the path field in the communications tab to point to the E1 Plus

EtherNet/IP Side Mount Module.

Path: 1, 2, 2, 192.168.0.100

For this example, 1 represents the processor slot, 2 represents the

EtherNet/IP scanner slot, 2 represents the EtherNet/IP port, and

192.168.0.100

represents the IP address of the E1 Plus EtherNet/IP Side

Mount Module.

46

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

Users can read all of the motor diagnostic data back in one MSG instruction by using Assembly Instance 111. An example of configuring a ControlLogix explicit message using the MSG instruction to read all of the motor diagnostic data from the E1 Plus EtherNet/IP Side Mount Module is shown below.

1.

Configure the configuration tab for the message instruction with the follow settings:

• Message type: CIP Generic

• Service type: Get Attribute Single

• Class: 4 – the Assembly Object

• Instance: 111 - the Complete Motor Starter assembly

• Destination: The controller tag to write the data to.

• Attribute: 3 – get/set data instance attribute

2.

Configure the path field in the communications tab to point to the E1 Plus

EtherNet/IP Side Mount Module.

Path: 1, 2, 2, 192.168.0.100

For this example, 1 represents the processor slot, 2 represents the

EtherNet/IP scanner slot, 2 represents the EtherNet/IP port, and

192.168.0.100

represents the IP address of the E1 Plus EtherNet/IP Side

Mount Module.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

47

Chapter 4

MicroLogix 1100 and 1400

Explicit Messaging

MicroLogix 1100 and 1400 controllers can read and write information to and from the E1 Plus EtherNet/IP Side Mount Module using Explicit Messaging and the Assembly Object. RSLogix 500 Version 8.10 or higher is required to configure EtherNet/IP explicit messaging with these controllers.

An example of a MicroLogix 1100 using the MSG instruction to read all of the motor diagnostic data from the E1 Plus EtherNet/IP Side Mount Module is shown below.

1.

Write the appropriate ladder logic to periodically execute a MSG instruction for the MicroLogix controller.

48

2.

Configure General tab in the MSG instruction with the following parameters:

• Channel: 1 (Integral) - the Ethernet port on the processor

• Communication Command: CIP Generic

• Data Table Address: the location to store the information

• Size in Bytes: 22 – assembly 111 consists of 22 bytes of information

• MultiHop: Yes

• Service: Read Assembly – to read an input assembly

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

• Class: 4 – the Assembly Object

• Instance: 111 – the Complete Motor Starter assembly

• Attribute: 3 – get/set data instance attribute

Chapter 4

3.

Configure MultiHop tab in the MSG instruction with the following parameters:

To Address: the IP address of the E1 Plus EtherNet/IP Side Mount

Module.

An example of a MicroLogix 1100 using the MSG instruction to write data to energize an output relay on the E1 Plus EtherNet/IP Side Mount Module is shown below.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

49

Chapter 4

1.

Write the appropriate ladder logic to execute a MSG instruction for the

MicroLogix controller (an EEM instruction for the SLC-5/05) to control the E1 Plus EtherNet/IP Side Mount Module.

2.

Configure General tab in the MSG instruction with the following parameters:

• Channel: 1 (Integral) - the Ethernet port on the processor

• Communication Command: CIP Generic

• Data Table Address: the location to write the information from

• Size in Bytes: 1 – assembly 101 consists of 1 byte of information

• MultiHop: Yes

• Service: Write Assembly – to write an output assembly

• Class: 4 – the Assembly Object

• Instance: 101 – the Basic Contact output assembly

• Attribute: 3 – get/set data instance attribute

50

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

3.

Configure the MultiHop tab in the MSG instruction with the following parameters:

To Address: the IP address of the E1 Plus EtherNet/IP Side Mount

Module.

FactoryTalk View with

Predefined Tags

The E1 Plus EtherNet/IP Side Mount Module embedded predefined CIP tags within the module. This allows software packages, such as FactoryTalk View

Supervisory Edition (SE), to read and write data directly from the E1 Plus

EtherNet/IP Side Mount Module. An example of using RSLinx Classic as an

OPC (OLE for Process Control) server to serve data to FactoryTalk View SE is show below. Follow these steps to read data directly from the E1 Plus EtherNet/

IP Side Mount Module using its predefined tags.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

51

Chapter 4

1.

Configure an OPC topic within RSLinx Classic to communicate to the E1

Plus EtherNet/IP Side Mount Module. In the Data Source tab, select New to create a new OPC topic name, high light the device to establish communications with, and press Apply.

2.

In the Data Collection tab, select the process type

Logix5000 and select

Apply

52

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

3.

Start FactoryTalk View Studio and create a new application. Draw a numeric display. Right click on the display and select Connections.

4.

Select the Tag selector tool

EtherNet/IP Side Mount Module.

to select a tag from the E1 Plus

5.

Right click on the project name and select Refresh All Folders to get an updated list of topics to read data from.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

53

Chapter 4

6.

Expand the OPC topic name that you created in RSLinx Classic, select the

Online folder, choose the tag you would like to display in the numeric display, and press OK.

7.

Select OK to select the tag to display in the numeric display.

54

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

Chapter 4

8.

Test the display by pressing the Test Run button to view data directly from the E1 Plus EtherNet/IP Side Mount Module on the display.

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

55

Chapter 4

56

Rockwell Automation Publication 193-UM012B-EN-P - June 2011

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents