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 27

ControlLogix Digital I/O Modules User Manual: ControlLogix Digital I/O Modules User Manual, pages 101 to 110

Pages 101 to 110 of 258, from ControlLogix Digital I/O Modules User Manual

The original document is the PDF (7.2 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-OB16E

Page 101

Fast Module Features

Chapter 5

ControlLogix fast digital output modules multicast fault and status data to any owner-controller or listening controller. Like input modules, output modules maintain a Module Fault word, the highest level of fault reporting. However, output modules use an additional word to indicate a fault condition.

Fault and Status Reporting between Output Modules and Controllers

Table 25 lists the fault word and the associated tag you can examine in program logic to indicate when a fault has occurred for a fast output module. Table 25 - Fault Words on Fast Output Modules Word

Input Tag Name

Description

Module Fault

I:Fault

Provides fault summary reporting. Available on all digital output modules.

All words are 32-bit, although only the number of bits appropriate for each module’s density are used. For example, the 1756-OB16IEF module has a Module Fault word of 32 bits. But, because the module is a 16-point module, only the first 16 bits (0…15) are used in the Module Fault word. Bits set in the FuseBlown tag are logically entered into the Module Fault word. Depending on the module type, a bit set in the Module Fault word can mean multiple things, as indicated in the table. Table 26 - Bits Set in Module Fault Word Condition

Bit set

Communication fault

All 32 bits are set to 1, regardless of the module’s density.

Fuse blown

Only the bit affected is set to 1.

This illustration provides an overview of the fault reporting process for digital output modules. Bit 31 Module Fault Word

Bit 0

1 A communications fault sets all bits in the Module Fault word. A Fuse Blown condition sets the appropriate bit in the Module Fault word.

Fuse Blown Tag

1 A blown fuse for any point sets the bit for that point in the FuseBlown tag and also sets the appropriate bits in the Module Fault word. In the example above, the bit for the FuseBlown tag is set indicating a blown fuse at point 9.

Bits set for the Fault input tag indicate I/O data may be incorrect due to a fault due to one of these conditions: • FuseBlown = 1 • PWMCycleTime outside the valid range of 0.001…3600.0 seconds • PWMOnTime outside the valid range of 0.0002…3600.0 seconds or 0…100 percent • PWMCycleTime ≤ PWMOnTime

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

101

Page 102

Chapter 5

Fast Module Features

Redundant Owners

Redundant ownership lets a single controller use redundant adapters to communicate with a single output or lets two separate controllers coordinate to control the output.

Configure Redundant Owners To enable Redundant Ownership mode in the output module, each connection to the output module is via a redundant owner module definition. In the module definition, you select between Redundant Output Owner A and Redundant Output Owner B. Each pair of connections must have an A and a B requested - that is, if the first is A, the second must be B. If the second connection does not pair with the original connection, it is rejected with a general status = 0x01 and extended status = 0x031D. All other aspects of configuration between the two connections must be identical. After the connection is established, a redundant owner uses the Claim Owner Output (COO) tag to indicate that it is ready for ownership of the outputs. The Ready Owner Output (ROO) tag indicates that an owner is ready to take ownership if needed. The ROO is implemented as a single bit, OwnerReady, as this implementation is intended for only two controllers. When the OwnerClaim bit is set, it indicates that the controller wants to claim ownership of the redundant connection and have its outputs actively used. If both redundant owners have COO set, the last originator application that transitioned its COO flag from cleared to set is the owner. TIP

Only a received 0-to-1 transition, and not simply the receipt of a new connection, is considered such a transition for ownership.

If neither redundant owner has OwnerClaim set, then the controller that has the OwnerReady bit set becomes the owner. If neither controller has OwnerClaim set and both have OwnerReady set, owner A becomes the owner. If both controllers have OwnerClaim=0 and OwnerReady=0, then the outputs go to IDLE (Program mode). Finally, the Input data adds status fields that indicate if the output module has an active owner (OwnerActive) and for which controller, A or B (OwnerID). For each of owner A and B, three status fields indicate if the controller is connected (OwnerAConnected/OwnerBConnected) and echo the output values received for each owner via OwnerAClaim/OwnerBClaim and OwnerAReady/OwnerBReady, respectively.

102

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 103

Fast Module Features

Chapter 5

Requirements You must use output modules that support Redundant Owner connections: • 1756-OF16IEF output module Peer Ownership and Scheduled Output are not supported. • All Allen-Bradley® 1756 input modules that support multiple module owners Redundant owner supports these ControlLogix 1756 Ethernet modules: • 1756-EN2T • 1756-EN2TR • 1756-EN2F

About Redundant Owners Redundant Owner can work in single-controller and multiple-controller applications, with or without redundancy. Your application determines which controller is the Claiming Owner and which is the Ready Owner. The relationship is akin to a primary and secondary relationship.

Restrictions The redundant owner solution uses two connections for every I/O module– one for each of the redundant connections. Each connection is shown in the Studio 5000 Logix Designer® I/O Configuration–two entries for each I/O module. • The two I/O module configurations must match. • Two connections are used for each I/O module. • An output module’s ideal RPI is 25 ms. This speed is for the fastest response to an event. Any output module RPI can be used, but may have increased response time to a fault. • An input module’s ideal RPI is 25 ms, though any input module RPI can be used. • Direct I/O connections must be used. • Rack optimized connections are not supported. Also see Redundant Owner Configuration Tags on page 214.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

103

Page 104

Chapter 5

Fast Module Features

Single Controller Behavior A single controller case is the simpler one as both connections are owned by the same controller. Thus there is never a case where one connection is in Run mode and the other connection is in Program mode, so no need to worry about synchronizing.

Figure 20 - Single Controller Logix5585E

DC OUTPUT

SAFETY ON

ANALOG INPUT

DC INTPUT

ST 0 1 2 3 4 5 6 7

NET LINK

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

O

FLT 8 9 10 11 12 13 14 15

LNK1 LNK2 NET

RUN

REM

DC OUTPUT

ST 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

FLT 0 1 2 3 4 5 6 7

ANALOG INPUT

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

FLT 8 9 10 11 12 13 14 15

O

OK

PROG

1

2

DC OUTPUT

ANALOG INPUT

ST 0 1 2 3 4 5 6 7 FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

LNK1 LNK2 NET

OK

LNK1 LNK2 NET

1

1

2

2

O

DC INTPUT

DC OUTPUT

ST 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

FLT 0 1 2 3 4 5 6 7

ANALOG INPUT

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

FLT 8 9 10 11 12 13 14 15

O

OK

32763-M

1. Initialize I/O tags. 2. Set Claim in one connection. 3. Set Ready in the other connection. 4. Monitor which connection is the owner and update tags accordingly (Non Owner before Owner to make sure that they’re always in sync).

104

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 105

Fast Module Features

Chapter 5

That single controller behavior should result in the following: 1. Output is not owned until the Claim connection is made. 2. Any disruption in the Claim connection causes the I/O module to switch to the Ready path. 3. When the Claim connection recovers from the disruption, the I/O module switches back to Claim.

Multiple Controller Behavior For multiple controllers, the applications synchronize the behavior between the controllers. Note Ethernet modules A and B, and RedundantOutputA and RedundantOutputB.

Figure 21 - Multiple Controller Logix5585E

DC OUTPUT

SAFETY ON

LINK

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

LNK1 LNK2 NET

RUN

REM

ANALOG INPUT

ST 0 1 2 3 4 5 6 7

NET

O

DC INTPUT

DC OUTPUT

ST 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

FLT 0 1 2 3 4 5 6 7

Logix5585E

ANALOG INPUT

DC OUTPUT

SAFETY ON ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

O

LINK

RUN

REM

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

1

2

2

DC OUTPUT

ANALOG INPUT

ST 0 1 2 3 4 5 6 7 FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

OK

LNK1 LNK2 NET

1

1

2

2

O

DC INTPUT

DC OUTPUT

ST 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

FLT 0 1 2 3 4 5 6 7

O

DC INTPUT

DC OUTPUT

ST 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

FLT 0 1 2 3 4 5 6 7

ANALOG INPUT

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

FLT 8 9 10 11 12 13 14 15

O

OK

PROG

1

LNK1 LNK2 NET

FLT 0 1 2 3 4 5 6 7

FLT 8 9 10 11 12 13 14 15

LNK1 LNK2 NET

PROG

ANALOG INPUT

ST 0 1 2 3 4 5 6 7

NET

FLT 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15 FLT 8 9 10 11 12 13 14 15

OK

ANALOG INPUT

FLT 0 1 2 3 4 5 6 7

ST 0 1 2 3 4 5 6 7

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15

ST 8 9 10 11 12 13 14 15 K

FLT 8 9 10 11 12 13 14 15

FLT 8 9 10 11 12 13 14 15

O

OK

32762-M

IMPORTANT

If you use ControlLogix Redundancy as the multiple controller system, then you do not have to manage the dual controllers. If you use any other method, then you must manage the primary and secondary controllers yourself. This application does not manage the controllers, just the I/O.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

105

Page 106

Chapter 5

Fast Module Features

You can use Produced/Consumed tags for synchronization; however, the Redundant Owner Input tags provide the majority of information needed for synchronization. • After both controllers decide it is safe, the primary controller sets Claim. • After the secondary controller sees that the primary controller has taken ownership, the secondary controller sets Ready. • The secondary controller monitors the I/O and the other controller to determine the current owner. • If the secondary controller becomes the owner, it can set its Claim bit to take or hold ownership, or can just maintain Ready. • Once the primary controller comes back and is in Run mode, that controller toggles its Claim bit, and the I/O switches back to that controller. – A “S:FS” XIC should be used to disable Claim/Ready bits until the controller has entered Run mode and can evaluate if it should make a Claim or Ready transition. – Failure to do this could lead to a ‘claim’ happening before the controller is back in Run mode. Thus, the output would transition briefly to its Program Mode Safe State prior to entering Run mode rather than making a smooth transition from secondary controller back to primary controller. • When the secondary controller sees that the primary controller has retaken ownership, it clears its Claim bit and goes back to Ready. • Monitor for Connection Loss on controller. Add GSV to monitor connection status and clear Claim and Ready flags on Connection Loss to prevent undesired behavior when connection is restored. • Monitor for Major Fault on controller. Optionally, add Fault Routine to clear Claim and Ready owner flags if Major Fault is not to be cleared in faulted controller to allow secondary controller to take immediate control.

106

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 107

Fast Module Features

Chapter 5

Configure the Output Module In a redundant owner application, configure one output module as Redundant Owner A and the second as Redundant Owner B. In our example project, Redundant Owner A is the module connected to Ethernet A, and Redundant Owner B is the module connected to Ethernet B. 1. In the Module Definition dialog box, in the Connection field, choose Redundant Owner A.

2. In the Output Data field, choose Redundant Data.

3. To configure the second output module as Redundant Owner B, repeat steps 1 and 2, choosing Redundant Owner B and Redundant Data. The module definition is shown in the Module Properties dialog box.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

107

Page 108

Chapter 5

Fast Module Features

Follow these steps to implement Redundant Ethernet modules in your project. 1. Add the additional I/O configuration to your project for the second Ethernet module. In the example project this is EN2T_B. TIP To simplify testing you may want to create a project just for the redundant Ethernet modules and test that project before adding in your application code. We recommend following the module naming examples used in the example project. – Ethernet module in Slot 0: EN2T_A_<your name for the chassis> – Ethernet module in Slot 1: EN2T_B_<your name for the chassis> – Reference the example application for more naming examples 2. Add in the task for I/O_Mapping_25ms. 3. Set the periodic rate of this task to 25 ms or a multiple of the fastest output module RPI. 4. Import the example Program into the I/O_Mapping_25ms task. 5. Modify the imported routines for each chassis that you have in your system. In the example project the routines are called R001, R002, and so on. One chassis per routine. 6. Add an I/O module to the chassis routines. 7. Insert an Add-On Instruction for each digital input module you have in the chassis. 8. If the digital input module is only 16 channels, set the I16_Ch tag to 1 (true). This will limit input processing to the first 16 Booleans and reduce controller scan time. If you have a digital module that is not compatible with any of the AddOn Instructions from the example project, you can use the Redundant_Digital_Input Add-On Instruction to map each channel individually. You can also create your own Add-On Instruction for the module. 9. Add the default value for each channel to the Add-On Instruction. The default value is the value the input will be set to when communication through both Ethernet modules to the input module is faulted. 10. Insert a rung with two CPS (Synchronous Copy File) instructions for each Digital Output module that you have in the chassis.

108

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 109

Fast Module Features

Chapter 5

In the example project, the rung number was equal to the slot number of the module being referenced. We used rungs with only an NOP (No Operation) instruction to hold the rung number for slots without an analog module. 11. In each routine add rungs for the analog modules that you have. Most analog modules have their own Add-On Instructions. Be aware of the channel count of the AOI and module. – If the analog module is in Differential mode, the channel count is cut in half. – If you have an analog module that is not compatible with any of the Add-On Instructions from the example project, you can use the Redundant_Analog_Input Add-On Instruction to map each channel individually. You can also create your own Add-On Instruction for the module. – In the example project the rung number was equal to the slot number of the module being referenced. We used rungs with only an NOP (No Operation) instruction to hold the rung number for slots without an analog module. 12. Keep the Add-On Instruction at Hold Last State or set Hold Last State to 0 (zero) to use the default value. 13. Add the default value for each channel to the Add-On Instruction. The default value is the value the input will be set to when communication through both Ethernet modules to the input module is faulted.

Response Times for Output Modules Response time to a change in ownership is from the time the event takes place until the time that the output modules uses the connection data from the redundant connection. Digital output response to a change in ownership in less than 250 ms. The average time is 220 ms. A faster RPI does not increase the response time. We recommend a digital output RPI of 25 ms. These recommendations are for response performance: • Faster RPIs have a longer response time. • Slower RPIs can have a much longer response time. • RPIs should be 4 x RPI = 200 ms, 8 x RPI = 200 ms, or 16 x RPI = 200 ms, so 25 is the recommended RPI. • If the prior RPI criterion is not met, the CIP connection timeout delay minimum will be 200 ms + 1 RPI. If the 4/8/16 x RPI does not equal 200 ms (or 100 ms), then the response will be longer. • For non-redundant ControlLogix applications, the CIP connection timeout delay minimum is 100 ms. Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

109

Page 110

Chapter 5

Fast Module Features

• Slower RPIs greatly limit the effect of the response time on the application. IMPORTANT

This information pertains only to output modules. Use existing guidelines for setting input module RPIs.

Input Modules Many ControlLogix® 1756 input modules support multiple owners. Table 27 lists bulletin number 1756 input modules that do not support multiple module owners. IMPORTANT

You must use input modules that support multiple owners.

Table 27 - Input modules that do not support multiple owners Catalog Number

Module Type

Replacement Module

1756-IR12

Analog Input, 12-channel RTD

Must replace with a 1756-ITR8I and use in 1756-IR6I compatibility mode. You will lose 6 channels. Your inputs will be isolated.

1756-IT16

Analog Input, 16-channel nonisolated thermocouple/mV

Replace with1756-IRT8I and use in 1756-IT6I or 1756-IT6I2 compatibility mode.

1756-IRT8I

Analog Input, 8-channel thermocouple or RTD isolated

Must be used in 1756-IR6I or 1756-IT6I compatibility mode. You will lose 2 channels and all of the new features of the 1756-IRT8I module. Use the 1756-ITR8I module in remote I/O chassis and 1756IR6I or 1756-IT6I module in Logix Designer I/O configuration.

1756-IF8I

Analog Input, 8-channel current or voltage isolated

Must be used in 1756-IF6I compatibility mode. You will lose 2 channels and all of the new features of the 1756-IF8I module. Use the 1756-IF8I in remote I/O chassis and 1756-IF6I in Logix Designer I/O Configuration.

1756-IB16ISOE

Sequence of Events Digital Input, 1756-IF16IH

16 isolated differential inputs, 1 HART modem per channel 8 isolated differential inputs, 1 HART modem per channel

1756-IF8IH

1756-IF4FXOF2F High-speed input/output analog module

110

Use 1756-IF16H. Use 1756-IF8H. Both are non-isolated. You can use differential mode input wiring for isolation., Rockwell Automation Publication 1756-UM058I-EN-P - December 2017