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

The text of a manual · part 5 of 14

FLEX I/O Diagnostic Modules, Catalog Numbers 1794-IB16D, 1794-OB16D, User Manual, pages 41 to 50

Pages 41 to 50 of 132

The original document is the PDF (2.4 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.

Filed in the catalog under the Allen-Bradley 1794-OB16

Page 41

Configuring Modules for Communication on a Remote I/O Network

39

1794-ASB Connection Tab Configuration Parameters In This Field:

Do the Following:

Requested Packet Interval (RPI)

Select the rate at which the DHRIO module sends discrete data from the I/O rack to the controller. The rate of data exchange is directly related to the configured baud rate for the 1756-DHRIO module. If the baud rate of the scanner is configured for: The scan rate per adapter equals: 57.6 Kbaud

8ms

115.2 Kbaud

5ms

230.4 Kbaud

3ms

All adapter modules under the same DHRIO channel should be set to the same RPI time. We recommend that the value be equal to 0.5ms x the number of adapters under a given channel x 3,5 8ms depending on the baud rate. For example, if you are using 4 adapters on Channel A of the 1756 DHRIO module configured for a baud rate of 57.6 Kbaud, the recommended RPI for all adapters would be: (0.5ms x 4 adapters x 8ms per adapter = 16ms) Inhibit Module

Check/clear this box if you want to disable/enable connection to the adapter module when the controller goes online. If this box is checked, and you go online, the controller organizer displays an inhibit icon next to this module. ATTENTION

Major Fault On Controller If Connection Fails While in Run Mode

Inhibiting the adapter module causes the connection to the module to be disabled and can result in the loss of data.

Determine what action you want the controller to take if communication is lost to the adapter module. Place a checkmark in this box if you want a major fault to occur on the controller if communication with the adapter module is lost. Leaving this box unchecked means that failure to connect to the adapter module will not cause a major controller fault. ATTENTION

If communication with a module fails, the controller operates on old data from the module. To avoid potential injury or damage, either monitor communications with modules or configure modules to produce a major fault if communications fail.

Publication 1794-UM061A-EN-P - July 2006

Page 42

40

Configuring Modules for Communication on a Remote I/O Network

Configure Digital Modules

Although not required, when the module is in the I/O configuration, you gain these advantages: • It is easier to complete the communication path to the module. • The I/O configuration provides documentation about the module. For example, once you add an I/O module to the controller organizer window you can use the Browse button on the Communication Tab to select the path for the block transfer message.

You can browse to a module in the I/O tree.

1. Add a block transfer module to your project configuration... A. In the controller organizer, right-click on the adapter module and then, select New Module from the pull-down menu.

B. Depending on the type of Block I/O module you are using, expand the Analog or Digital list by clicking on the + sign to the left of the group.

C. Right-click on RIO-MODULE to highlight. D. Click OK.

Publication 1794-UM061A-EN-P - July 2006

Page 43

Configuring Modules for Communication on a Remote I/O Network

41

2. Configure parameters for the RIO Block Transfer module.

A. Define the following parameters: • Name • Group • Slot • Open Module Properties Refer to the 1756-DHRIO Block Module Transfer Parameters table for additional information. B. Click OK.

C. Repeat steps A and B for the Diagnostic output module.

The I/O modules are added to the controller organizer tree.

1756-DHRIO Block Module Transfer Parameters In This Field:

Do the following:

Name

Type a name for the I/O module on the RIO network. You must name this module to be able to choose a path from the pull-down menu for the message instruction.

Group

Determine what group on the module provides the first word of I/O data. This selection is affected by the parent module’s configuration. For example, if the parent module’s size is equal to 1/2 rack (4 I/O groups), this module’s configuration offers the option of starting with group 0, 1, 2 or 3.

Slot

Enter the location of the remote I/O module.

Open Module Properties

Uncheck this box. There are no additional module properties to configure for the module.

Publication 1794-UM061A-EN-P - July 2006

Page 44

42

Configuring Modules for Communication on a Remote I/O Network

Create a Block Transfer (Read or Write) Message Instruction

Analog and specialty I/O modules are block transfer I/O modules. The size of the data that is transferred from the modules to the controller is larger than the space that RSLogix 5000 software has allocated in the controller memory. As a result, you must create message instructions in the Ladder Logic program of the ControlLogix controller to initiate the block transfer request and generate tags (for example, space in the controller’s memory) for the data transferred. This section explains how to configure a block transfer application. To monitor or control an I/O device, assign the tag name of the device to an instruction in your ladder logic: • For step-by-step instructions on how to enter logic and tag names, refer to the Logix5000 Controllers Common Procedures, publication number 1756-PM001. • Data for I/O modules is stored at the controller scope. Controller scope data tags can be used by all programs. In other words, the data in a controller tag is available to every task or program within the controller application. Controller tags can be viewed as global variables. When you assign addresses, be sure the scope selection is at the Controller to view the I/O tags. 1. Access the project’s Main Routine of ladder logic in the controller organizer.

A. Right-click on Main Routine. B. Click Open in the pull-down menu.

Publication 1794-UM061A-EN-P - July 2006

Page 45

Configuring Modules for Communication on a Remote I/O Network

43

2. Add a Message instruction (MSG). A. Click on the Input/Output instruction set tab. B. Click on MSG to insert the message instruction.

3. Add a new tag to the MSG instruction. A. Right-click on the ? in the MSG instruction. B. Click on New Tag in the pull-down menu.

4. Name and define the parameters for the MSG tag. A. Enter information for the following fields: • Name • Type • Data Type • Scope • Open Message Configuration Refer to the Defining Tag Parameters table for additional information. B. Click OK.

Defining Tag Parameters In this Field:

Do the following:

Name

Enter a name for the tag. We recommend that you name the tag to indicate what module service is sent by the message instruction as well as the module type and location.

Type

Choose Base type.

Data Type

Choose Message type.

Scope

Message Tags can only be created within the Controller Scope.

Open Message Configuration

Ensure this box contains a check mark to access all of the available configuration screens. Publication 1794-UM061A-EN-P - July 2006

Page 46

44

Configuring Modules for Communication on a Remote I/O Network

5. Define the Block Transfer Configuration Tab parameters A. Define the following message configuration fields: • Message Type • Number of Elements • Destination Element or New Tag (Block Transfer Read only) • Source Element (Block Transfer Write only) Refer to the Message Configuration Parameters - Block Transfer Read or Write table below for additional information. B. Click on the Communication tab.

Message Configuration Parameters - Block Transfer Read or Write In This Field:

Do the following:

Message Type

Select Block Transfer Read or Block Transfer Write from the pull-down menu. The fields for the screens change based on the type of message you choose.

Number of Elements

Define the number of 16-bit integers to transfer. The value entered in this field is determined by the type of module you are using. The value range is 0 to 64.

Block Transfer Read Screen Destination Element

Use the pull-down menu to select a tag to place the data from the read transfer into (i.e. browse to a tag) or, click on New Tag to create a tag for data that is read from module to be placed into. When creating a new tag be sure to select Controller scope and assign Integer (INT) as the data type.

Block Transfer Write Screen Source Element

Use the pull-down menu to select the tag in the controller that contains data to transfer to the I/O module (i.e. browse to a tag) or, click on New Tag to create the tag for the controller where data is placed to be transferred to the I/O module. When creating a new tag, be sure to select Controller as the scope and assign Integer (INT) as the data type.

Publication 1794-UM061A-EN-P - July 2006

Page 47

Configuring Modules for Communication on a Remote I/O Network

45

6. Configure the Communication Tab for the MSG Instruction. A. Define the following communication fields: • Path • Module Address • Cache Connections B. Click OK.

Communication Parameters Path

Click on Browse to see a list of the I/O modules in the system. To be able to choose a path for your message instruction using the Browse button, you had to previously configure the I/O module. If the module is not in the I/O configuration tree then, you must manually type the path to the 1756-DHRIO module in this field (i.e., (1,1) where the first 1 represents the backplane and the second 1 represents the slot of the 1756-DHRIO module).

Module Address

These fields are filled in based on the module that you choose in the Path field.

Cache Connections

Checking this box means that the controller keeps the connection open after it completes the block transfer. The next block transfer utilizes the connection and avoids the delay of having to establish connections. Keeping the connection open can result in faster block transfers but be aware that the connection remains open indefinitely. The controller has a limited amount of connections and keeping this connection open could result in the controller not being able to establish connections with another device. If you have this software and firmware revision:

Then you can cache:

11.x or earlier block transfer messages for up to 16 connections other types of messages for up to 16 connections

12.x or later up to 32 connections

Clearing this box means that the connection will be uncached. An uncached connection is a connection between two points that opens only when a message is enabled and closes when the controller completes the block transfer. Uncached connections are not as fast as cached connections.

Publication 1794-UM061A-EN-P - July 2006

Page 48

46

Configuring Modules for Communication on a Remote I/O Network

Ladder Logic Examples

The following illustration provide you with a ladder logic examples for 1794 diagnostic modules. The example is typical ControlLogix software ladder rungs for block transfer message instructions Ladder Logic Example for 1794 Diagnostic Modules.

Publication 1794-UM061A-EN-P - July 2006

Page 49

Chapter

5

Configure FLEX I/O Digital Modules on a DeviceNet Network

How to Use This Chapter

This chapter provides basic information on how to use a 1794-ADN FLEX I/O adapter to connect 1794 FLEX I/O digital modules to a DeviceNet network. Topic

See Page

How to Use This Chapter

47

Add the Scanner to the I/O Configuration of 48 the Controller Using RSLogix 5000 Software Determine the Address of DeviceNet Data

52

Tally Memory Requirements

54

If You Configure the Adapter Offline

55

Set the Address of the Adapter

56

Use RSNetWorx for DeviceNet software to add the 1794-ADN DeviceNet adapter and FLEX I/O modules on a DeviceNet network. To use the FLEX I/O adapter, cat. no. 1794-ADN: Step:

Page:

❑ Tally Memory Requirements

5-54

5-54 ❑ As an option, give each module its own memory location (DINTs) within the scanner. This may make your programming easier. Assign one address for the 1794-ADN and all the modules that you connect to it.

47

❑ If You Configure the Adapter Offline

5-55

❑ Set the Address of the Adapter

5-56

Publication 1794-UM061A-EN-P - July 2006

Page 50

48

Configure FLEX I/O Digital Modules on a DeviceNet Network

Add the Scanner to the I/O Configuration of the Controller Using RSLogix 5000 Software

To access the data of your network, add the scanner to the I/O configuration of the controller. To add a scanner: Step:

See page:

❑ If You Need to Conserve EtherNet/IP or ControlNet Network Bandwidth

48

❑ Add the Scanner to the I/O Configuration Folder

50

❑ Define the Properties of the Scanner

51

If You Need to Conserve EtherNet/IP or ControlNet Network Bandwidth The default configuration of the scanner gives you the maximum amount of input, output, and status data.

If the scanner communicates with the controller via an EtherNet/IP or ControlNet network and you need to conserve bandwidth over that network, consider reducing the input, output, or status sizes. • Set the input and output sizes = the number of input and output DINTs in the scanner that actually store device data. • If you are not going to use all the status information, set the status size to the minimum required. See Set the status size for a scanner on page 49.

EXAMPLE

Set the status size for a scanner • If you want to only use the ASCII representation of scanner status/display, then set the Status Size = 10. • If you also want to read the status code of the scanner, set the Status Size = 11.

Publication 1794-UM061A-EN-P - July 2006