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

The text of a manual · part 16 of 19

ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual: D - Using Module Tags

Pages 135 to 146 of 160, from ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual

The original document is the PDF (2.3 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 1756-IB16

Page 135

Appendix

D

Using Module Tags

Fault and Status Reporting Between the Module and Controllers

Sequence of Events modules multicast fault/status data to the owner-controller. The module maintains a Module Fault Word, the highest level of fault reporting. Table D.1 describes the tag that can be examined in ladder logic to indicate when a fault has occurred for your Sequence of Events module: Table D.1 Tag:

Description:

Module Fault Word

This word provides fault summary reporting. It’s tag name is Fault.

Each bit corresponds to an individual input. • If a communication fault occurs on the Sequence of Events module, all 32 bits in the Module Fault Word are set to 1. • If chatter is detected on any input points, the bit corresponding to that point is set to 1. Figure D.1 Bit 31

Bit 0

Module Fault Word 42676

A communications fault sets all bits in the Module Fault Word.

1

Publication 1756-UM528A-EN-P - April 2004

Page 136

D-2

Using Module Tags

Module Tag Names and Definitions

The tags associated with the Sequence of Events module depends on the type of module and the Communications Format chosen during configuration. For each operational mode, there are three sets of tags: • Configuration • Input • Output

Tags Used in CST Point Per Mode Configuration Tags Table D.2 describes the configuration tags generated in RSLogix 5000 when you use the Sequence of Events module in CST Per Point Mode. Table D.2 Configuration Tags in CST Per Point Mode Tag name:

Type:

Description:

C.LatchEvents

BOOL

Latches events so that timestamp data from an input transition will not be overwritten until acknowledged. 0 = CST not latched (default) 1 = CST latched For more information on Latch CST, see page 5-7.

C.FilterOffOn

SINT

Sets the OFF to ON filter time for all 16 inputs. Times are set in 1ms increments from 0ms to 50ms. 0 = no filtering For more information on Software Configurable Input Filters, see page 5-10.

C.FilterOnOff

SINT

Sets the ON to OFF filter time for all 16 inputs. Times are set in 1ms increments from 0ms to 50ms. 0 = no filtering For more information on Software Configurable Input Filters, see page 5-10.

C.CaptureOffOn.x

DINT

Enables capturing OFF to ON events on a per point basis. If disabled (i.e., set to 0), that point will not record timestamp data for OFF to ON input transitions. 0 = CST Capture disabled for OFF to ON input transitions - This option is useful if you want to avoid using buffer space on the Sequence of Events module for events in which you have no interest. 1 = CST Capture enabled (default) for OFF to ON input transitions For more information on Enable CST Capture, see page 5-5.

Publication 1756-UM528A-EN-P - April 2004

Page 137

Using Module Tags

D-3

Table D.2 Configuration Tags in CST Per Point Mode Tag name:

Type:

Description:

C.CaptureOnOff

DINT

Enables capturing ON to OFF events on a per point basis. If disabled (i.e., set to 0), that point will not record timestamp data for ON to OFF input transitions. 0 = CST Capture disabled for ON to OFF input transitions - This option is useful if you want to avoid using buffer space on the Sequence of Events module for events in which you have no interest. 1 = CST Capture enabled (default) for ON to OFF input transitions For more information on Enable CST Capture, see page 5-5.

C.ChatterEvents[16]

SINT [16]

Number of events required in ChatterTime[16] period to determine a chatter condition. 0 = Disable Chatter Detection 1 = Illegal value – The number of events must be greater than 1. The maximum value is 127. For more information on Chatter Detection, see page 5-8.

C.ChatterTime[16]

INT [16]

Time period, in milliseconds, in which the number of events in the ChatterEvents tag must occur to declare a chatter condition: For example, if ChatterEvent = 10 and ChatterTime = 20, and 11 events occur on the point in a 20ms time period, chatter is declared on the point. When chatter is declared, the input faults and no longer timestamps transitions that occur on the point. When chatter ceases, the input returns to normal operation. The Sequence of Events module considers chatter to have ceased when the configured chatter time elapses with no transitions occurring on the input. For more information on Chatter Detection, see page 5-8.

Publication 1756-UM528A-EN-P - April 2004

Page 138

D-4

Using Module Tags

Input Tags Table D.3 describes the input tags generated in RSLogix 5000 when you use the Sequence of Events module in CST Per Point Mode. Table D.3 Input Tags in CST Per Point Mode Tag name:

Set on a Per Point or Description: Modulewide basis:

I.Fault

Per point(1)

Indicates if a fault has occurred for the input. 0 = no fault 1 = fault – The fault can be chatter or communication fault as described below: • Chatter - The Sequence of Events module can detect chatter on individual inputs and will set the appropriate tag to 1 when chatter exists on an input. For example, if the module has detected chatter on input 4, I.Fault.4 = 1. • Communication fault - The controller sets this tag to 1 for all 32 bits if a communication fault occurs on the module. This tag clears when the fault that causes the condition no longer exists.

I.Data

(1)

Per point

Status of the input point. This data is filtered if the Input Filter feature is used on the module. Thus, an input change must pass through the filter before it is seen in this tag. 0 = input is OFF 1 = input is ON For example, if input 3 is ON, I.Data.3 = 1.

I.NewData

Per point(1)

Flag indicating if new timestamp data was detected on the input. 0 = no new timestamp data on the input 1 = new timestamp data on the input (since last acknowledged) Because input data for all inputs is sent immediately after each timestamped transition and at each RPI, this tag is useful to quickly determine on which input the transition occurred. For example, if the Sequence of Events module sends new input data to the owner-controller and I.NewData.5 = 1, you know that at least one of the timestamps for input 5 (i.e., I.Timestamp[5].OffOn or I.Timestamp[5].OnOff) has new data. This tag only clears when the controller acknowledges the new data or all events on the module are reset. For more information, see page 6-12.

I.EventOverflow

Per point(1)

Set for an input when the module either: • Does not timestamp a transition on the input – The module has Latch CST enabled and a similar transition has already been timestamped on this input but has not been cleared via the EventAck and NewDataAck output tags (see page 6-12). or • Overwrites previously-recorded timestamp data for the input – The module has Latch CST disabled and multiple transitions occur on the input. In this case, timestamp data from new transitions are recorded before previously-recorded transitions were cleared from the input via the EventAck and NewDataAck output tags (see page 6-12). This value is cleared if the module is reset.

Publication 1756-UM528A-EN-P - April 2004

Page 139

Using Module Tags

D-5

Table D.3 Input Tags in CST Per Point Mode Tag name:

Set on a Per Point or Description: Modulewide basis:

I.ReturningUCTTime

Modulewide

Indicates if timestamps are in UCT format rather than CST. 0 = CST format 1 = UCT format For more information on UCT format, see Appendix B.

I.EventNumber.x

Modulewide

Running count of the timestamped transitions; this tag increments by one with each new transition that the module timestamps. In CST Per Point mode, this tag has lesser importance than in FIFO mode. This value is cleared if the module is reset.

I.Timestamp[16].OffOn[2]

Per point

Timestamp value (in CST or UCT format) with an input’s OFF to ON transition. This tag is a 16 x 2 32-bit array. This value is cleared after the data has been acknowledged via the O.EventAck and O.NewData tags. For more information on clearing timestamp data, see page 6-12.

I.Timestamp[16].OnOff[2]

Per point

Timestamp value (in CST or UCT format) with an input’s ON to OFF transition. This tag is a 16 x 2 32-bit array. This value is cleared after the data has been acknowledged via the O.EventAck and O.NewData tags. For more information on clearing timestamp data, see page 6-12.

(1)

With the Per point tags, there is one bit per input. For example, bit 0 represents input 0, bit 7 represents input 7 and so on.

Publication 1756-UM528A-EN-P - April 2004

Page 140

D-6

Using Module Tags

Output Tags Table D.4 describes the output tags generated in RSLogix 5000 when you use the Sequence of Events module in CST Per Point Mode. Table D.4 Output Tags in CST Per Point Mode Tag name:

Type:

Description:

O.EventAck

DINT

To acknowledge reset of event, the controller writes back the EventNumber read to transition buffers in Queuing mode or to unlatch events in 16-point mode. 0 = acknowledging an ON to OFF event 1 = acknowledging an OFF to ON event 2 = acknowledging both ON to OFF and OFF to ON events The NewData tag must also be used to acknowledge the event(s).

O.NewDataAck.x

DINT

Allows NewData bits in the Input word to function as intended. NewData bits are set when a transition occurs and clear only after they are acknowledged via the NewDataAck bit. Typically, the following events occur: • An event occurs on an input. • The Sequence of Events module sets the NewData bit for the input where the event occurred. • The controller records the new data. • The controller acknowledges the new data by causing a 0 to 1 transition on the corresponding NewDataAck bit. • The NewData bit clears. • When another event occurs on the input, the sequence begins at the top bullet in this list. The controller must cause a 0 to 1 transition in this bit to acknowledge new data for an input; in other words, if the NewDataAck bit is 0 when new data is received, the controller must change this bit to 1 to acknowledge the data. If NewDataAck bit is 1 when new data is received, the controller must change this bit to 0 and then to 1 to acknowledge the new data.

O.PointToRetrieve

INT

Not used in this mode

O.ResetEvents

BOOL

Erases all recorded events when transitioned from 0 to 1. Resets most other fields to 0 as well.

O.RetrieveByPoint

BOOL

Not used in this mode

Publication 1756-UM528A-EN-P - April 2004

Page 141

Using Module Tags

D-7

Table D.4 Output Tags in CST Per Point Mode Tag name:

Type:

Description:

O.UCTTime[2]

DINT [2]

O.CSTTime[2]

DINT [2]

These tags are used to configure the Sequence of Events module to send timestamps to the controller in UCT format. In this case, you must copy a pair of timestamp values from the 1756HP-GPS module (one in UCT format and the other a corresponding CST format value) to these tags. When these tags are nonzero numbers, the Sequence of Events module converts timestamps from CST format to UCT format before sending them to the controller. Additionally, I.ReturningUCTTime = 1. Typically, the following events occur: • A 1756HP-GPS module produces CST/UCT Time pairs that are sent to the controller. • The controller copies the pairs to the Sequence of Events module every pulse per second (PPS). (We recommend you copy the pairs every PPS.) • The Sequence of Events module uses the streams of pairs to calculate UCT timestamps for input data including the use of calculating drift between the clocks. If these tags = 0, the Sequence of Events module sends timestamps in CST format and I.ReturningUCTTime = 0.

Tags Used in FIFO Mode Configuration Tags Table D.5 describes the configuration tags generated in RSLogix 5000 when you use the Sequence of Events module in FIFO Mode. Table D.5 Configuration Tags in FIFO Mode Tag name:

Type:

Description:

C.LatchEvents

BOOL

Latches events so that timestamp data from an input transition will not be overwritten until acknowledged. 0 = CST not latched (default) 1 = CST latched For more information on Latch CST, see page 5-7.

C.FilterOffOn

SINT

Sets the OFF to ON filter time for all 16 inputs. Times are set in 1ms increments from 0ms to 50ms. 0 = no filtering For more information on Software Configurable Input Filters, see page 5-10.

Publication 1756-UM528A-EN-P - April 2004

Page 142

D-8

Using Module Tags

Table D.5 Configuration Tags in FIFO Mode Tag name:

Type:

Description:

C.FilterOnOff

SINT

Sets the ON to OFF filter time for all 16 inputs. Times are set in 1ms increments from 0ms to 50ms. 0 = no filtering For more information on Software Configurable Input Filters, see page 5-10.

C.CaptureOffOn.x

DINT

Enables capturing OFF to ON events on a per point basis. If disabled (i.e., set to 0), that point will not record timestamp data for OFF to ON input transitions. 0 = CST Capture disabled for OFF to ON input transitions - This option is useful if you want to avoid using buffer space on the Sequence of Events module for events in which you have no interest. 1 = CST Capture enabled (default) for OFF to ON input transitions For more information on Enable CST Capture, see page 5-5.

C.CaptureOnOff

DINT

Enables capturing ON to OFF events on a per point basis. If disabled (i.e., set to 0), that point will not record timestamp data for ON to OFF input transitions. 0 = CST Capture disabled for ON to OFF input transitions - This option is useful if you want to avoid using buffer space on the Sequence of Events module for events in which you have no interest. 1 = CST Capture enabled (default) for ON to OFF input transitions For more information on Enable CST Capture, see page 5-5.

C.ChatterEvents[16]

SINT [16]

Number of events required in ChatterTime[16] period to determine a chatter condition. 0 = Disable Chatter Detection 1 = Illegal value – The number of events must be greater than 1. The maximum value is 127. For more information on Chatter Detection, see page 5-8.

C.ChatterTime[16]

INT [16]

Time period, in milliseconds, in which the number of events in the ChatterEvents tag must occur to declare a chatter condition: For example, if ChatterEvent = 10 and ChatterTime = 20, and 11 events occur on the point in a 20ms time period, chatter is declared on the point. When chatter is declared, the input faults and no longer timestamps transitions that occur on the point. When chatter ceases, the input returns to normal operation. The Sequence of Events module considers chatter to have ceased when the configured chatter time elapses with no transitions occurring on the input. For more information on Chatter Detection, see page 5-8.

Publication 1756-UM528A-EN-P - April 2004

Page 143

Using Module Tags

D-9

Input Tags Table D.6 describes the input tags generated in RSLogix 5000 when you use the Sequence of Events module in FIFO Mode. Table D.6 Input Tags in FIFO Mode Tag name:

Set on a Per Point or Description: Modulewide basis:

I.Fault

Per point(1)

Indicates if a fault has occurred for the input. 0 = no fault 1 = fault – The fault can be chatter or communication fault as described below: • Chatter - The Sequence of Events module can detect chatter on individual inputs and will set the appropriate tag to 1 when chatter exists on an input. For example, if the module has detected chatter on input 4, I.Fault.4 = 1. • Communication fault - The controller sets this tag to 1 for all 32 bits if a communication fault occurs on the module. This tag clears when the fault that causes the condition no longer exists.

I.Data

Per point

(1)

Status of the input point. This data is filtered if the Input Filter feature is used on the module. Thus, an input change must pass through the filter before it is seen in this tag. 0 = input is OFF 1 = input is ON For example, if input 3 is ON, I.Data.3 = 1.

I.NewData

Per point(1)

Flag indicating if new timestamp data was detected on the input. 0 = no new timestamp data on the input 1 = new timestamp data on the input (since last acknowledged) Because input data for all inputs is sent immediately after each timestamped transition and at each RPI, this tag is useful to quickly determine on which input the transition occurred. For example, if the Sequence of Events module sends new input data to the owner-controller and I.NewData.5 = 1, you know that at least one of the timestamps for input 5 (i.e., I.Timestamp[5].OffOn or I.Timestamp[5].OnOff) has new data. This tag only clears when the controller acknowledges the new data or all events on the module are reset. For more information, see page 7-17.

I.EventOverflow

Per point(1)

Set for an input when the module either: • Does not timestamp an input transition – The module has Latch CST enabled and the module’s on-board buffer contains 160 timestamps. In this case, the module does not have room in its on-board buffer to store the timestamp from any additional transitions and does not timestamp those transitions. or • Overwrites previously-recorded timestamp data – The module has Latch CST disabled and the on-board buffer contains 160 events. In this case, the module continues to timestamp input transitions. When the module records new transitions, it records the data in its buffer and clears the timestamp data from the oldest transition of the 160. This value is cleared if the module is reset.

I.EventNumber

Per event

Running count of the timestamped input transitions; this tag increments by one with each new event sent. This value is cleared if the module is reset.

Publication 1756-UM528A-EN-P - April 2004

Page 144

D-10

Using Module Tags

Table D.6 Input Tags in FIFO Mode Tag name:

Set on a Per Point or Description: Modulewide basis:

I.CSTTimestamp[2]

Per event

64-bit CST timestamp in CST format for the event. This value is cleared after the data has been acknowledged via the O.EventAck tag. For more information on clearing timestamp data, see page 7-17.

I.UCTTimestamp[2]

Per event

64-bit UCT timestamp in Universal Coordinated Time format for the event. UCT is expressed as microseconds elapsed since 1 January 1972. Typically, UCT format is only used in applications that also use the 1756HP-GPS module. For more information on the 1756HP-GPS module, see Appendix B. This value is cleared after the data has been acknowledged via the O.EventAck tag. For more information on clearing timestamp data, see page 7-17.

I.EventPoint

Per event

Input that recorded the event. Values are 0 - 15, where 0 = Input 0, 1 = Input 1, etc.

I.EventData

Per event

Indicates if input transitioned OFF or ON. 0 = input transitioned OFF 1 = input transitioned ON

I.ReturningUCTTime

Modulewide

Indicates if timestamps are in UCT format rather than CST. Typically, UCT format is only used in applications that also use the 1756HP-GPS module. For more information on the 1756HP-GPS module, see Appendix B. 0 = CST format 1 = UCT format For more information on UCT format, see Appendix B.

I.EventsQueuedCount (1)

Modulewide

Number of events currently stored in the module’s buffer that have not been read.

With the Per point tags, there is one bit per input. For example, bit 0 represents input 0, bit 7 represents input 7 and so on.

Publication 1756-UM528A-EN-P - April 2004

Page 145

Using Module Tags

D-11

Output Tags Table D.7 describes the output tags generated in RSLogix 5000 when you use the Sequence of Events module in FIFO Mode. Table D.7 Output Tags in FIFO Mode Tag name:

Type:

Description:

O.EventAck.x

DINT

Clears the current event data from the Sequence of Events module. To clear the current event data, you must COP the current event number (I.EventNumber) to this tag.

O.NewDataAck.x

DINT

Allows NewData bits in the Input word to function as intended. NewData bits are set when a transition occurs and clear only after they are acknowledged via the NewDataAck bit. Typically, the following events occur: • An event occurs on an input. • The Sequence of Events module sets the NewData bit for the input where the event occurred. • The controller records the new data. • The controller acknowledges the new data by causing a 0 to 1 transition on the corresponding NewDataAck bit. • The NewData bit clears. • When another event occurs on the input, the sequence begins at the top bullet in this list. The controller must cause a 0 to 1 transition in this bit to acknowledge new data for an input; in other words, if the NewDataAck bit is 0 when new data is received, the controller must change this bit to 1 to acknowledge the data. If NewDataAck bit is 1 when new data is received, the controller must change this bit to 0 and then to 1 to acknowledge the new data.

O.PointToRetrieve

INT

Determines for which point the module returns events. You can use this bit to query events by point instead of just sequence.

O.ResetEvents

BOOL

Erases all recorded events when transitioned from 0 to 1.

O.RetrieveByPoint

BOOL

Sets the retrieval mechanism for retrieving events. 0 = Retrieve events sequentially 1 = Retrieve events on a per point basis. In this case, the module uses the PointtoRetrieve value to determine which input’s events are retrieved.

Publication 1756-UM528A-EN-P - April 2004

Page 146

D-12

Using Module Tags

Table D.7 Output Tags in FIFO Mode Tag name:

Type:

Description:

O.UCTTime[2]

DINT [2]

O.CSTTime[2]

DINT [2]

These tags are used to configure the Sequence of Events module to send timestamps to the controller in UCT format. In this case, you must copy a pair of timestamp values from the 1756HP-GPS module (one in UCT format and the other a corresponding CST format value) to these tags. When these tags are nonzero numbers, the Sequence of Events module converts timestamps from CST format to UCT format before sending them to the controller. Additionally, I.ReturningUCTTime = 1. Typically, the following events occur: • A 1756HP-GPS module produces CST/UCT Time pairs that are sent to the controller. • The controller copies the pairs to the Sequence of Events module every pulse per second (PPS). (We recommend you copy the pairs every PPS.) • The Sequence of Events module uses the streams of pairs to calculate UCT timestamps for input data including the use of calculating drift between the clocks. If these tags = 0, the Sequence of Events module sends timestamps in CST format and I.ReturningUCTTime = 0.

Publication 1756-UM528A-EN-P - April 2004