Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 11 of 18

ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual: 6 - Analog I/O with Direct Connection

Pages 65 to 76 of 122, from ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual

The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1756-ENET

Page 65

Chapter

6

Analog I/O with Direct Connection

About the Example Application

In this example you add an analog output module to the remote chassis containing the 1756-ENET/B module and the two digital I/O modules configured in the previous chapter. Analog modules default to direct connection. Note that you will open a direct connection to the analog module while still using a single rack optimized connection for the two digital I/O modules. To test the connection the RSLogix 5000 project of the previous chapter is modified to produce a varying signal at one of the analog output channels.

1

What you will do

See page

Set Up the Hardware

6-2

Create the Example Application Add the Remote Analog I/O Module to the I/O Configuration

6-3 6-4

Edit the Controller Tags Modify the Ladder Program

6-8 6-10

Download the Program Test the Example Application

6-11 6-12

Publication 1756-UM051B-EN-P - November 2000

Page 66

6-2

Analog I/O with Direct Connection

Set Up the Hardware

Change the system configuration of the previous chapter to that shown below, adding an analog output module to the remote chassis in slot 3. For this example, we used a 1756-OF8 analog output module. Slot 0 1

Slot 0 1 2 3

Local Chassis

Logix5550 Controller

Remote Chassis

Data

1756-ENET/B 130.130.130.3

1756-ENET/B 130.130.130.2 Switch

1756-OF8 Analog Output 1756-OB16I Digital Output

130.130.130.1 Programming Terminal

1756-IB16I Digital Input

• Note that in the example application, the Logix5550 controller, I/O modules, and the 1756-ENET/B modules are in the slots shown above. • Verify that the IP addresses for the 1756-ENET/B modules and personal computer are correct. • Verify that all wiring and cabling is properly connected. • Make sure you have your communication driver (e.g., TCP-1) configured in RSLinx as described in Appendix C.

Publication 1756-UM051B-EN-P - November 2000

Page 67

Analog I/O with Direct Connection

Create the Example Application

6-3

Perform the following steps to create the example application: 1. Start RSLogix5000. The RSLogix 5000 Main Window will open. Open

2. Open the project file from the previous chapter (i.e., “Ethernet_IO_Controller”).

3. Save the file using a different name (e.g., “Ethernet_IO_Controller_2”).

Publication 1756-UM051B-EN-P - November 2000

Page 68

6-4

Analog I/O with Direct Connection

Add the Remote Analog I/O Module to the I/O Configuration You must now add the new remote analog I/O module to the I/O Configuration. In this example, you add the 1756-OF8 analog output module and configure one of its channels for a 0V to 10V output range. Use these steps as a guide when you are configuring different I/O modules for your system. TIP

For additional information on configuring a ControlLogix analog I/O module see the ControlLogix Analog I/O Module User Manual, publication 1756-6.5.9.

1. Right click on the Remote_ENET module under the I/O Configuration folder and select New Module from the pop-up window. The Select Module Type window will open.

Publication 1756-UM051B-EN-P - November 2000

Page 69

Analog I/O with Direct Connection

6-5

2. Select the 1756-OF8 analog output module from the list and click on OK. The Module Properties window will open.

3. Enter the following parameters: Name Slot Comm Format Electronic Keying(2)

Remote_Analog_Output 3 Float Data(1) Compatible Module

(1)

All analog Comm Formats use direct connection. The default is floating decimal point data.

(2)

See Appendix F for important information about Electronic Keying.

You must now configure the channel settings of the Analog I/O module. You do this using a series of pages that appear in the Module Properties window. 4. Click on the Next button. The following page will open:

Publication 1756-UM051B-EN-P - November 2000

Page 70

6-6

Analog I/O with Direct Connection

5. This window allows you to adjust the Requested Packet Interval (RPI) to meet your system’s requirements (for this example you can leave it at the default 10 ms rate). 6. Click on Next to open the next page. This page is used during online monitoring but not during initial configuration. .

7. Click on Next to move to the first Channel Configuration page. The choices available on the Channel Configuration pages vary according to the module being configured. The page below opens for the 1756-OF8 module.

Publication 1756-UM051B-EN-P - November 2000

Page 71

Analog I/O with Direct Connection

6-7

8. Click on Channel 0 and enter the following Scaling parameters: High Signal 10.0 V Low Signal 0.0 V (1)

High Engineering 8000(1) Low Engineering 0

This scaling is selected to use the 13-bit voltage resolution of the 1756-OF8. See specifications in publication 1756-6.5.9 for more information.

9. Click on Next twice to access the Limits page.

10.Enter the following Limits: High Clamp Low Clamp

8000 0

11.Click on Finish to save the configuration. The I/O Configuration tree should now look similar to the one shown below.

Publication 1756-UM051B-EN-P - November 2000

Page 72

6-8

Analog I/O with Direct Connection

Edit the Controller Tags When you add modules to the I/O configuration the system creates tags for those modules. We now need to add another Controller Tag to modify the application program.

1. Double-click on the Controller Tags folder in the project window. 2. Note that new tags have been added for the remote analog output module.

Tags for new remote analog output module created by the system.

3. Select the Edit Tags tab at the bottom of the Controller Tags window.

Publication 1756-UM051B-EN-P - November 2000

Page 73

Analog I/O with Direct Connection

6-9

The tag editor will become active.

4. Create the following tag: Tag Name Analog_Output

Type Timer

Publication 1756-UM051B-EN-P - November 2000

Page 74

6-10

Analog I/O with Direct Connection

Modify the Ladder Program

1. Double-click on Main Routine under the Main Program folder, and add rungs 3 and 4 to the ladder program of the previous chapter.

2. Save the program.

Publication 1756-UM051B-EN-P - November 2000

Page 75

Analog I/O with Direct Connection

6-11

Download the Program 1. Click on the Communications menu and select Who Active. 2. The Who Active window will open (Your window will display the drivers and devices you have configured on your system).

3. Select your Ethernet driver (e.g., AB_ETH-1) and expand the tree through the backplane of the local ControlLogix chassis. 4. Highlight the controller and click on the Download button to download the program to the Logix5550 controller. You will see a message similar to the following:

5. Click on the Download button. 6. Minimize RSLogix5000.

Publication 1756-UM051B-EN-P - November 2000

Page 76

6-12

Analog I/O with Direct Connection

Test the Example Application

Use the following procedure to test the operation of the remote analog output: 1. Connect a voltmeter across the channel 0 output of the 1756-OF8 analog output module as shown in the following figure: 1756-OF8 1

+

VOUT-0

RTN

5

V –

2. Restore RSLogix5000 and place the controller in Run mode. 3. Measure the output voltage of channel 0. You should see it slowly rise to approximately 10V, reset to zero, start rising again, etc. TIP

Refer to the ControlLogix Analog I/O Module User Manual, publication 1756-6.5.9, for assistance in wiring and debugging the I/O modules.

This completes the Direct Connect I/O example.

What’s Next?

Publication 1756-UM051B-EN-P - November 2000

The following chapter describes an example application in which one controller sends a message to another controller using produced and consumed tags.