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

The text of a manual · part 14 of 19

ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual: B - Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

Pages 119 to 128 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 119

Appendix

B

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

Overview

Up to this point in this manual, the ControlLogix Sequence of Events module is described as being used for Relative First Fault Detection. In Relative First Fault Detection, the controller sorts the timestamps sent by Sequence of Events module(s) to determine which transition occurred first in an event cascade. However, each timestamp is captured in CST format, a 64-bit number that has little meaning other than to indicate which transition occurred first. The controller determines an order of transitions but not the real-time of each transition. The most significant benefits to using the 1756HP-GPS module are: • The 1756HP-GPS module provides a real-time reference for CSTs captured in the ControlLogix system. • By using the 1756HP-GPS module, you can make sure geographically separated systems operate from a single time reference. • The 1756HP-GPS module can convert CST format timestamps to a real-time reference. IMPORTANT u

This appendix offers a brief description of how to use the 1756HP-GPS module with the ControlLogix Sequence of Events module. For more information on how to use the 1756HP-GPS module, see the 1756HP-GPS module user manual, available at: http://www.hiprom.com

1

Publication 1756-UM528A-EN-P - April 2004

Page 120

B-2

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

What is the 1756HP-GPS Module?

The 1756HP-GPS module is an integrated GPS product that makes use of Global Positioning System (GPS) technology to derive accurate time that is synchronized with the atomic clocks located on the GPS satellites. The 1756HP-GPS module receives regular transmissions from GPS satellites that deliver time in the Universal Coordinated Time (UCT) format. In addition to receiving UCT time, the 1756HP-GPS module also has access to time in CST format because the module resides in the ControlLogix chassis and can obtain the CST from the backplane.

Correlating CST with UCT As shown in Figure B.1, with every receipt of a UCT value from the satellite (1), the 1756HP-GPS module captures the CST value from the ControlLogix backplane at that moment (2), calculates the necessary offset to account for drift (3) and then stores the values in its on-board table (4). This correlation table provides a real-time equivalent for any CST timestamp in the system. The table holds one hour’s worth of UCT/CST times. Because drift typically exists between the CST clock and the UCT clock, the 1756HP-GPS module records UCT/CST pairs that allow the module to calculate a drift compensation between the two clocks to provide increased synchronization and accuracy. Figure B.1

1 – 1756HP-GPS module receives UCT value from satellite. CST on backplane

2 – 1756HP-GPS module captures CST value from backplane. On-board table 3 – 1756HP-GPS module calculates an offset for drift

UCT CST xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx 4 – 1756HP-GPS module stores the values in on-board table.

Publication 1756-UM528A-EN-P - April 2004

Page 121

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

B-3

Using a 1756HP-GPS module, you can convert the CST-format timestamps, received from a ControlLogix Sequence of Events module, into a Gregorian wall clock time (WCT) that is easily understood. Generally, the following occurs in this case: 1. The Sequence of Events module sends timestamps to the controller after an event cascade. 2. The ControlLogix controller sends a message instruction to the 1756HP-GPS module with a CST-format timestamp; you must use one MSG per timestamp. 3. The 1756HP-GPS module converts the CST-format timestamp to UCT and Gregorian wall clock format. 4. 1756HP-GPS module send the new value back to the controller, delivering the value in whatever format the controller requested via the MSG configuration Figure B.2 Controller

Sequence of Events module

1756HP-GPS module

Timestamps sent in CST format to controller Timestamp sent in CST format via MSG to 1756HP-GPS Timestamp converted from CST format to Gregorian and UCT format Converted timestamp sent to controller

Publication 1756-UM528A-EN-P - April 2004

Page 122

B-4

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

Determining the Absolute First Fault Across Multiple Chassis

For simplicity’s sake, Figure B.2 shows a system that determines the absolute first fault of devices connected to a single Sequence of Events module in a local chassis. However, the greatest benefit of using the 1756HP-GPS module comes when you need to determine the absolute first fault among devices connected to multiple Sequence of Events modules in remotely located chassis. To determine absolute first fault among devices connected to multiple Sequence of Events modules in remotely located chassis, you must first synchronize the chassis; in other words, you must make sure all the Sequence of Events modules are working from the same time reference, the CSTs in their respective chassis. You can synchronize CSTs among multiple ControlLogix chassis via the ControlLogix SynchLink module. This method can only be used if the chassis are located in close enough proximity to physically connect the chassis via SynchLink fiber. For more information on using SynchLink to synchronize multiple ControlLogix chassis, see Appendix C. The 1756HP-GPS modules in each system receive a common time from the satellite that can be correlated to CST-format timestamps produced in each system to report an absolute time reference for both systems, effectively synchronizing the chassis. The 1756HP-GPS module only allows conversion for 1 hour; conversions to UCT should be done shortly after the event is received.

Publication 1756-UM528A-EN-P - April 2004

Page 123

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

B-5

In this example, the following are required: • The CST in each ControlLogix system must be synchronized across chassis. • Each ControlLogix system must contain a 1756HP-GPS module. • Once the controllers in each system receive CST format timestamps, they must send the timestamps to the 1756HP-GPS modules in their respective chassis for conversion to UCT in wall clock format. Figure B.3

ControlLogix system #1

ControlLogix system #2 Local chassis with controller, Sequence of Events modules, 1756-SYNCH modules and 1756HP-GPS modules. SynchLink

ControlNet

SynchLink

ControlNet

Many miles

Remote chassis with Sequence of Events modules and 1756-SYNCH modules. 43791

Publication 1756-UM528A-EN-P - April 2004

Page 124

B-6

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

How Does the ControlLogix Controller Retrieve Converted Value from the 1756HP-GPS Module?

Once a ControlLogix controller receives the timestamps from an event cascade, it may send them to the 1756HP-GPS via a message instruction for conversion to either the following formats: • Wall clock time (WCT) - Format that is easily understood. Typically, the controller requests a conversion to this format for display purposes. • UCT - This format is a 64-bit value in microseconds, similar to CST except that UCT starts from 1 January 1972. It is most useful to sort data using this field prior to converting to WCT for display purposes. To convert CST-format timestamps to WCT, you must: 1. Add the 1756HP-GPS module to your RSLogix 5000 project via the Generic Module profile. For more information on how to configure the 1756HP-GPS module in an RSLogix 5000 project, see the 1756HP-GPS module user manual available at http://www.hiprom.com. 2. Send a Message Instruction to the 1756HP-GPS module that uses the configuration listed in Table B.1 Table B.1

Publication 1756-UM528A-EN-P - April 2004

Field:

Value:

Message Type

CIP Generic

Service Type

Custom

Service Code

32 (hex)

Class

70 (hex)

Instance

1

Attribute

1 (hex)

Source Element

Controller tag where the CST-format timestamp is located

Source Length

8

Destination

Destination tag for reply data

Page 125

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

B-7

The screen below shows the Configuration tab for an example MSG.

Table B.2 shows the two formats in which a 1756HP-GPS may return timestamp data. Table B.2 Field

Bytes

Description

Year

4

Gregorian year

Month

4

Gregorian month

Day

4

Gregorian day

Hour

4

Gregorian hour

Minute

4

Gregorian min

Second

4

Gregorian sec

Microsecond

4

Gregorian µSec

UTC

8

Corresponding UCT value

CST

8

Given CST value

Publication 1756-UM528A-EN-P - April 2004

Page 126

B-8

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

Converting Timestamps from CST Format to Universal Coordinated Time Format

By default, the Sequence of Events module uses the CST to timestamp input transitions in CST Per Point mode. You can configure the module to convert CST timestamps to UCT timestamps before sending the data to the owner-controller. To configure the Sequence of Events module to convert timestamps to UCT in CST Per Point mode, you copy a pair of timestamps (one in CST format and one in UCT format) from the 1756HGPS module to the following tags in the Sequence of Events module’s output word: • O.UCTTime • O.CSTTime IMPORTANT

If the O.UCTTime and O.CSTTime tags = 0, the Sequence of Events module sends timestamp data to the controller in CST format. If the O.UCTTime and O.CSTTime tags = a nonzero number, the Sequence of Events module sends timestamp data to the controller in UCT format.

Figure B.4 shows an example of a ladder logic rung that copies the timestamp pair from the 1756HP-GPS module to the Sequence of Events module’s output tags. You need to do this for every Sequence of Events module in your system if you want the module to send timestamps in UTC format. Figure B.4

In this example, the synchronous copy begins at the GPS.UTC tag on the 1756HP-GPS module and copies 4 DINTs (because the Length = 4) worth of data; included in the 4 DINTs is not only the GPS.UTC tag but also the GPS.CST tag. The timestamps are copied to the O.UCTTime and O.CSTTime tags in the Sequence of Events module’s output tags. The GPS.PPS (pulse per second) bit is used to send new pairs once a second at the GPS satellite’s tone.

Publication 1756-UM528A-EN-P - April 2004

Page 127

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

B-9

You do NOT need to copy the timestamp pair from the 1756HP-GPS module to the Sequence of Events module’s output tags if: • you convert CST times to UTC manually via messaging to the 1756HP-GPS module. In this case, you must message every timestamp from the Sequence of Events module. or • you only need the relative time of events (e.g., breaker one tripped 3ms after breaker 2). Figure B.5 shows the difference between using CST and UCT timestamps. Figure B.5

Module Sends Timestamp in CST Format 0101100

The module is configured so that input 1 is Enable CST Capture-enabled for OFF to ON transitions. When input 1 transitions from OFF to ON, the module: 1. Timestamps the transition

Input 0

0000000 0000000

Input 1

0101100 0000000

Input 2

0000000 0000000

Input 15

0000000 0000000

1 2

To controller in CST format

2. Sends input data, with the timestamp in CST format, to the controller.

Module Sends Timestamp in UCT Format The module is configured so that input 1 is Enable CST Capture-enabled for OFF to ON transitions and to send timestamp data in UCT format. In other words, the controller copied timestamp data to the following tags: • O.UCTTime • O.CSTTime

1110100

Input 0

0000000 0000000

Input 1

0101100 0000000

Input 2

0000000 0000000

1. Timestamps the transition. 2. Converts the timestamp from CST to UCT format.

2 1110100 as described on page B-8. When input 1 transitions from OFF to ON, the module:

1

Input 15

0000000 0000000

3

To controller in UCT format

43794

3. Sends input data, with the timestamp in UCT format, to the controller..

Publication 1756-UM528A-EN-P - April 2004

Page 128

B-10

Integrating The HiProm GPS Module (1756HP-GPS) into a ControlLogix Sequence of Events Module System

Notes:

Publication 1756-UM528A-EN-P - April 2004