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

The text of a manual · part 22 of 27

ControlLogix Digital I/O Modules User Manual: ControlLogix Digital I/O Modules User Manual, pages 211 to 220

Pages 211 to 220 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 211

Tag Definitions

Appendix B

Table 59 - 1756-OB16IEFS Module Input Data Tags - Scheduled per Point Output (continued) Name

Data Type Tag Definition

Module Definition

GrandMasterClockID

DINT

Grandmaster Clock ID - Indicates the ID of the CIP Sync Grandmaster to which the module is synced.

Connection = Data Output Data = Scheduled per Point or Connection = Listen Only Output Data = None

Timestamp

DINT

Timestamp - A 64-bit CIP Sync timestamp of the last new output data or FuseBlown event.

Connection = Data Output Data = Scheduled per Point or Connection = Listen Only Output Data = None

Schedule.State

SINT

Schedule State - Indicates the current sequence number of schedules stored in the output data.

Connection = Data Output Data = Scheduled per Point

Schedule.SequenceNumber

SINT

Schedule Sequence Number - The data echo indicating the sequence number of the schedule.

Connection = Data Output Data = Scheduled per Point

Table 60 - 1756-OB16IEFS Module Input Data Tags - Data Output or Listen Only Connections Name

Data Type Tag Definition

Module Definition

Fault

DINT

Fault Status - Indicates whether a point is faulted. If communication to the output module is lost, then all 32 bits of the Fault word are set. 0 = No fault 1 = Fault

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Pt[x].Data

BOOL

Data - Indicates the current value to be sent to the corresponding output point. If PWM is enabled, this value transitions from 0 to 1 based on the PWM pulse train. 0 = Off 1 = On

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Pt[x].Fault

BOOL

Fault Status - Indicates whether a point is faulted. If communication to the output module is lost, then all 32 bits of the Fault word are set. 0 = No fault 1 = Fault

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Pt[x].FuseBlown

BOOL

Fuse Is Blown - Indicates whether a fuse has blown due to a short or overload condition for the corresponding point. All blown fuse conditions are latched and must be reset. 0 = Fuse is not blown. 1 = Fuse is blown and has not been reset.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Pt[x].PWMCycleLimitDone

BOOL

PWM Cycle Limit Done - Indicates whether the PWM pulse cycle limit defined in the Pt[x].PWMCycleLimit configuration tag has been reached. 0 = The PWM cycle limit has not yet been reached. The bit resets to 0 each time the output transitions to On to begin a new PWM cycle. 1 = The PWM cycle limit has been reached.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Pt[x].CIPSyncValid

BOOL

CIP Sync Is Valid - Indicates whether the module has synchronized to a valid CIP Sync time master on the backplane. 0 = CIP Sync is not available. 1 = CIP Sync is available.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

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

211

Page 212

Appendix B

Tag Definitions

Table 60 - 1756-OB16IEFS Module Input Data Tags - Data Output or Listen Only Connections (continued) Name

Data Type Tag Definition

Module Definition

Pt[x].CIPSyncTimeout

BOOL

CIP Sync Timeout - Indicates whether a valid time master on the backplane has timed out. 0 = A valid time master has not timed out. 1 = A valid time master was detected on the backplane, but the time master has timed out. The module is currently using its local clock.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

LocalClockOffset

DINT

Local Clock Timestamp - Indicates the offset between the current CST and the CIP Sync value when a valid CIP Sync time is available.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

OffsetTimestamp

DINT

Timestamp Offset - Indicates when the CIP Sync LocalClockOffset and GrandMasterID were last updated in CIP Sync format.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

GrandMasterClockID

DINT

Grandmaster Clock ID - Indicates the ID of the CIP Sync Grandmaster to which the module is synced.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Timestamp

DINT

Timestamp - A 64-bit CIP Sync timestamp of the last new output data or FuseBlown event.

Connection = Data Output Data = Data or Connection = Listen Only Output Data = None

Table 61 - 1756-OB16IEFS Module Output Data Tags - Scheduled per Point Output Name

Data Type

Tag Definition

Module Definition

Data

BOOL

Data - Indicates the On/Off state to apply to a nonscheduled output point. 0 = Off 1 = On

Connection = Data Output Data = Scheduled per Point

ScheduleMask

BOOL

Schedule Mask - A mask indicating which output points are scheduled. 0 = The output point is unscheduled. The On/Off state is determined by the value in the Data output tag. 1 = The output point is scheduled. The On/Off state is determined by the Schedule[x].Data output tag.

Connection = Data Output Data = Scheduled per Point

ResetFuseBlown

BOOL

Reset Blown Fuse - Attempts to clear a blown fuse status and apply output data when the bit transitions from Off to On.

Connection = Data Output Data = Scheduled per Point

TimestampOffset

DINT

Timestamp Offset - Indicates the difference between the system time and the module’s local time. The timestamp is in CIP Sync time. This value is typically set to zero but can be updated with the value of the SystemOffset in the controller’s TIMESYNCHRONIZE object to enable Time Step Compensation in the module.

Connection = Data Output Data = Scheduled per Point

ScheduleTimestamp

DINT

Schedule Timestamp - The baseline CIP Sync time for all schedules. The module uses the baseline CIP Sync time combined with the offset value in the Schedule.Offset tag to calculate the absolute time a physical output turns On or Off.

Connection = Data Output Data = Scheduled per Point

Schedule[x].ID

SINT

Schedule ID - Identifies which schedule to apply to an output point. Valid schedules: 1…32 0= No schedule

Connection = Data Output Data = Scheduled per Point

212

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

Page 213

Tag Definitions

Appendix B

Table 61 - 1756-OB16IEFS Module Output Data Tags - Scheduled per Point Output (continued) Name

Data Type

Tag Definition

Module Definition

Schedule[x].SequenceNumber

SINT

Schedule Sequence Number - Indicates the sequence count received with a schedule. The module recognizes a new schedule only when there is a change in sequence number. The first message received initializes the schedule.

Connection = Data Output Data = Scheduled per Point

Schedule[x].OutputPointSelect

SINT

Schedule Output Point - Indicates which physical output point is associated with a schedule. The module recognizes a new schedule only when there is a change in output point. The first message received initializes the schedule. Valid values: 0…15

Connection = Data Output Data = Scheduled per Point

Schedule[x].Data

SINT

Schedule Data - Indicates the On/Off state to apply to an output point at the scheduled time. 0 = Off 1 = On

Connection = Data Output Data = Scheduled per Point

Schedule[x].Offset

DINT

Schedule Offset - Indicates a schedule’s offset value to be added to the baseline ScheduleTimestamp value to determine the absolute time at which a physical output turns On or Off. The offset value must be +/-35 minutes from the baseline ScheduleTimestamp value.

Connection = Data Output Data = Scheduled per Point

PWM.CycleTime

REAL

PWM Cycle Time - Defines the duration of each pulse cycle. Requires PWM to be enabled via the PWM.Enable configuration tag. Valid values: 0.001…3600.0 seconds

Connection = Data Output Data = Scheduled per Point

PWM.OnTime

REAL

PWM On Time - Defines the length of time that a pulse is active. Requires PWM to be enabled via the PWM.Enable configuration tag. Valid values: 0.0002…3600.0 seconds or 0…100.0 percent

Connection = Data Output Data = Scheduled per Point

Table 62 - 1756-OB16IEFS Module Output Data Tags - Data Output Name

Data Type

Tag Definition

Module Definition

Pt[x].Data

BOOL

Data - Indicates the On/Off state to apply to a nonscheduled output point. 0 = Off 1 = On

Connection = Data Output Data = Data

Pt[x].ResetFuseBlown

BOOL

Reset Blown Fuse - Attempts to clear a blown fuse status and apply output data when the bit transitions from Off to On.

Connection = Data Output Data = Data

Pt[x].PWMCycleTime

REAL

PWM Cycle Time - Defines the duration of each pulse cycle. Requires PWM to be enabled via the PWM.Enable configuration tag. Valid values: 0.001…3600.0 seconds

Connection = Data Output Data = Data

Pt[x].PWMOnTime

REAL

PWM On Time - Defines the length of time that a pulse is active. Requires PWM to be enabled via the PWM.Enable configuration tag. Valid values: 0.0002…3600.0 seconds or 0…100.0 percent

Connection = Data Output Data = Data

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

213

Page 214

Appendix B

Tag Definitions

The redundant owner configuration tags are identical to the existing 1756-OB16IEF configuration.

Redundant Owner Configuration Tags

Redundant Owner Input Tag Layout We added eight Input tags to the existing Input data layout. The bit tag field, PartnerBits, increased from 2 bits to 10 bits to cover OwnerActive, Owner ID, and Active/Claim/Ready status for the A and B controllers. Table 63 - New Redundant Input Tag Description – 1756-OB16IEF Field

Data Type

Legal Values

Usage

OwnerActive

BOOL

B4

The Output has a Controlling Owner

OwnerID

BOOL

B5

Which Owner is Active (Controlling): 0 = Owner A 1 = Owner B

OwnerAConnected

BOOL

B6

Owner A is Connected.

OwnerAClaim

BOOL

B7

Owner A is claiming Outputs (COO).

OwnerAReady

BOOL

B8

Owner A is Ready to claim Outputs (ROO).

OwnerBConnected

BOOL

B9

Owner B is Connected.

OwnerBClaim

BOOL

B10

Owner B is claiming Outputs (COO).

OwnerBReady

BOOL

B11

Owner B is Ready to claim Outputs (ROO).

Redundant Owner Output Tag Layout We added two Input tags in the Output data: a BOOL to reflect the COO bit and another for the ROO bit. Table 64 - New Redundant Output Tag Description – 1756-OB16IEF Field

Data Type

Legal Values

Usage

OwnerClaim

BOOL

B0

When set, 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 reset to set shall be the owner. NOTE: Only a Rx’d 0 to a 1 and not just the receipt of a new connection is considered such a transition. • If neither Redundant Owner has COO set, then the highest ROO becomes Owner.

0 = Not Requesting Ownership 1 = Claim Ownership

OwnerReady

BOOL

B1 0 = Not Ready to Own 1 = Ready to Own

214

Indicates the controller’s readiness for output ownership. A value of 1 indicates ready while 0 indicates the controller is not ready to own the outputs. • If neither controller has the COO bit set, the ROO determines the current owner. • If both controllers have COO=0 and ROO=0, then the outputs go to IDLE (Program mode). • If both controllers have COO=0 and ROO=1, OwnerA will be active.

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

Page 215

Tag Definitions

Array Data Structures

Appendix B

Fast digital I/O modules use an array data structure. In this type of structure, all the tags for a particular point are organized under that point. For example, in Figure 33, all of the tags that appear under point 0 also appear under points 1…15 for the input module in slot 1. With this structure, you can copy or access all of the data for a particular point by simply referencing or copying the point or alias for the point, such as Pt[3] or PressureValveTank3. Figure 33 - Array Data Structure

Other digital I/O modules use a flat data structure. In this type of structure, only one instance of a tag exists for a module. For example, in Figure 34, only one instance of each tag appears under the input module in slot 3. To reference or copy data for an individual point, you specify the tag name followed by a bit number, such as Data.0 or EventOverflow.3. Unlike an array structure where all the data for a point can be accessed via a single tag reference, a flat structure requires multiple tag references to access all the data for a point. Figure 34 - Flat Data Structure

The 1756-OB16IEFS module uses either type of data structure depending on how you configure the module. For more information, see page 205.

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

215

Page 216

Appendix B

216

Tag Definitions

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

Page 217

Appendix

C

Use Ladder Logic To Perform Run Time Services and Reconfiguration

Topic

Page

Using Message Instructions

217

Processing Real-time Control and Module Services

218

One Service Performed Per Instruction

218

Create a New Tag

218

You can use ladder logic to perform run-time services on your module. For example, page 55 shows how to reset an electronic fuse module by using the Studio 5000 Logix Designer® application. This appendix provides an example of how to reset the same fuse without using the Logix Designer application. In addition to performing run time services, you can use ladder logic to change configuration. Chapter 7 explained how to use the Logix Designer application to set configuration parameters in your ControlLogix® digital I/O module. Some of those parameters may also be changed through ladder logic.

Using Message Instructions

In ladder logic, you can use Message instructions to send occasional services to any ControlLogix I/O module. Message instructions send an explicit service to the module, causing specific behavior to occur. For example, unlatching a high alarm can be performed by a message instruction. Message instructions maintain these characteristics: • Messages use unscheduled portions of system communication bandwidth • One service is performed per instruction • Performing module services does not impede module functionality, such as sampling inputs or applying new outputs

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

217

Page 218

Appendix C

Use Ladder Logic To Perform Run Time Services and Reconfiguration

Processing Real-time Control and Module Services

Services sent through message instructions are not as time critical as the module behavior defined during configuration and maintained by a real-time connection. Therefore, the module processes messaging services only after the needs of the I/O connection have been met. For example, you may want to unlatch all process alarms on the module, but real-time control of your process is still occurring by using the input value from that same channel. Because the input value is critical to your application, the module prioritizes the sampling of inputs ahead of the unlatch service request. This prioritization lets input channels be sampled at the same frequency and the process alarms to be unlatched in the time between sampling and producing the real-time input data.

One Service Performed Per Instruction

A message instruction causes a module service to be performed only once per execution. For example, if a message instruction sends a service to the module to unlatch the high high alarm on a particular channel, that channel’s high high alarm unlatches, but may be set on a subsequent channel sample. The message instruction must then be re-executed to unlatch the alarm a second time.

Create a New Tag

This section shows how to create a tag in ladder logic when adding a message instruction. Ladder logic is in the main routine within the Logix Designer application. Follow these steps to create a tag. 1. Start the Logix Designer application and open an existing I/O project or create a new one. 2. On the Controller Organizer, double-click MainTask. Expand MainProgram to see Main Routine as a sub-menu item.

218

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

Page 219

Use Ladder Logic To Perform Run Time Services and Reconfiguration

Appendix C

A graphic that looks like a ladder, with rungs, appears in the right side of the Logix Designer application. You attach run-time service, such as a message instruction, to the rungs and then download the information to a controller. You can tell that the rung is in Edit mode because of the ‘e’ at the left side of the rung.

3. Find, then click MSG (message) instruction on the instruction toolbar. The MSG icon is among the formats on the Input/Output tab of the instruction toolbar. You also can drag-and-drop an instruction icon onto a rung. A green dot appears when a valid location is detected for the instruction on the rung. 4. Inside the message box in the Message Control field, right-click the question mark to access a pull-down menu.

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

219

Page 220

Appendix C

Use Ladder Logic To Perform Run Time Services and Reconfiguration

5. Choose New Tag. The New Tag dialog box appears with the cursor in the Name field. IMPORTANT

We suggest you name the tag to indicate what module service the message instruction is sending. For example, if a message instruction is to reset an electronic fuse, then name the tag, ‘reset fuse’, to reflect this.

6. Complete the fields on the New Tag dialog box. Field

Description

Name

Type the tag name, including the slot number in the module.

Description

Type an option tag description.

Usage

Use the default.

Type

Use the default.

Alias for

Leave blank.

Data Type

Choose MESSAGE.

Scope

Choose the Controller scope. Note: Message tags can be created only with the Controller scope.

External Access

Use the default.

Style

Leave blank.

Constant

Leave blank.

Open MESSAGE Configuration

Leave the box blank if you do NOT want to automatically access the Message Configuration screen when OK is clicked. You still can access the Message Configuration screen later by following the procedures on page 221.

7. Click OK.

220

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