Professional Documents
Culture Documents
Hydro-Quebec PES3
Master Protocol
Documentation for part number P-SMPR-0201
© 2012 Cooper Power Systems, LLC – All rights reserved.
The information in this document is subject to change without notice.
S1120-48-7, version 7
Contents
Tables ...............................................................................................................................................v
1. Introduction ............................................................................................................................. 1
2. Features.................................................................................................................................... 2
2.1 Communication ........................................................................................................................ 2
2.2 Supported PES3 Cards .............................................................................................................. 2
2.2.1 Device Data Retrieval ................................................................................................. 3
2.2.2 Device Control ........................................................................................................... 3
3. Configuration Settings ............................................................................................................. 4
3.1 General Settings....................................................................................................................... 4
3.2 Rack Settings ........................................................................................................................... 4
3.3 CBA3 Settings .......................................................................................................................... 5
3.3.1 Generated binary inputs ............................................................................................. 5
3.3.2 Generated binary outputs ........................................................................................... 7
3.4 CEA3 Settings .......................................................................................................................... 7
3.5 CEN3 Settings .......................................................................................................................... 8
3.5.1 CEN3 Binary Input Point Settings - “Point” Group ......................................................... 9
3.5.2 CEN3 Analog Input Point Settings - “TMN8” and “TMN16” Groups................................. 9
3.6 CSR3 Settings ........................................................................................................................ 10
3.7 CEAR3 Settings ...................................................................................................................... 11
4. Implementation Details ......................................................................................................... 13
4.1 Multiple Instances .................................................................................................................. 13
4.2 Startup Sequence ................................................................................................................... 13
4.3 Scan Cycle ............................................................................................................................. 13
5. Troubleshooting ..................................................................................................................... 14
5.1 Traces ................................................................................................................................... 14
5.2 Common Problems and Solutions ............................................................................................ 14
2.1 Communication
The Hydro-Quebec PES3 protocol component uses LLC1/LLC2 physical layer protocols, as well as
TP4 over X25, to communicate with the configured PES3 units.
Therefore, the following communication features are available when interconnecting PES3
devices to the SMP Gateway hardware:
Built-in Ethernet board
PCMCIA Ethernet board
Card Description
CBA3 The CBA3 card is responsible for initializing and communicating with a PES3
device. There is always 1 and only 1 CBA3 card per PES3 unit.
The CBA3 card also provides interesting information about the
physical/material state of the PES3 device on which it is located, such as
power failure and synchronization state.
The Hydro-Quebec PES3 master protocol makes this information available to
slave protocols by combining the state of all its configured CBA3 cards into 12
binary input points.
The Hydro-Quebec PES3 master also enables the control of 5 alarm relays via
5 binary output points, on each configured CBA3 card.
CEA3 A CEA3 card contains 16 analog input points. Each point, encoded as signed
12-bit, is available to slave protocols for subscription.
Usually, analog inputs on a CEA3 represent voltage measures.
CEAR3 A CEAR3 card has particular inputs that are not handled by the Hydro-Quebec
PES3 component. However, the configuration of CEAR3 cards and failure
diagnosis are assumed by the Hydro-Quebec PES3 master protocol.
Usually, data acquired by a CEAR3 is used as input to different algorithmic
calculations.
CEN3 A CEN3 card contains two 16 binary input groups. Each group can be
configured such that the Hydro-Quebec PES3 protocol component interprets
the inputs as 16 individual binary points: two 8-bit numeric measures or one
16-bit numeric measure. Depending on the chosen configuration, CEN3 inputs
are available to slave protocols for subscription as analog or binary inputs
points.
Usually, a CEN3’s single binary points represent alarms or states, while its
numeric measures represent water levels.
Setting Description
Failure Timeout Specifies the number of seconds that must have elapsed since a
failure disappearance, before the protocol component can declare
the failure as truly recovered. This is referred to as the “return to
normal” duration.
Note that when a failure is detected, it is immediately reported by
the system without any delay.
Range: 1 to 65,535 seconds
Default value: 30 seconds
Operate General Alarm If checked, a control operation will be made on the PES3 general
When Ready alarm relay once the PES3 is completely loaded. The operation
executed, open or close, depends on the polarity of the relay.
Range: Checked, not checked
Default value: Checked
Antibouncing Filter Specifies the duration, in milliseconds, of the antibouncing filter
applied to the device’s binary inputs.
Range: 2 to 8 milliseconds
Default value: 4 milliseconds
Setting Description
Rack Index of the rack. This setting, together with the rail index, forms
the physical address of the card. The index must be unique. Rack 1
is mandatory.
Range: 1 to 16
When you add a rack, a CBA3 card is automatically added on rail 1, since the CBA3 card is
mandatory to communicating with a PES3 device; however, the CBA3 rail number is not shown in
SMP Config.
You can add up to 17 cards to a standard PES3 rack, and up to 7 cards to a compact PES3 rack.
Cards located on the same rack should have a unique rail number. Each card, other than
the CBA3 card, has a Rail setting (see sections 3.4, 3.5, 3.6 and 3.7).
Setting Description
Frequency 1 The frequency of the first CBA3 external clock, expressed in Hertz.
This clock can be used for certain CEAR3 algorithmic functions.
Range: 1000 to 100,000 Hz
Default value: 1000 Hz
Frequency 2 The frequency of the second CBA3 external clock, expressed in
Hertz.
This clock can be used for certain CEAR3 algorithmic functions.
Range: 1000 to 100,000 Hz
Default value: 1000 Hz
Frequency 3 The frequency of the third CBA3 external clock, expressed in Hertz.
This clock can be used for certain CEAR3 algorithmic functions.
Range: 1000 to 100,000 Hz
Default value: 1000 Hz
Setting Description
Setting Description
Channel This setting is the index of the point on the CEN3. It is supplied by
the master protocol component, and is shown as READ-ONLY
information.
The location of a point can be fully described using its rack, rail and
channel. Therefore, on a CEN3 card, each point’s channel number
must be unique.
Range: Group 1 1 to 16
Group 2 17 to 32
3.5.2 CEN3 Analog Input Point Settings - “TMN8” and “TMN16” Groups
If a group is configured as “TMN 8”, its 16 inputs are separated into two 8-bit groups. Each 8-bit
group forms a numeric measure, which is mapped into the system as an analog input point.
When a group is configured as “TMN 16”, its 16 inputs are considered as a one 16-bit numeric
measure, which is mapped into the system as one analog input point.
Analog input settings tell the component how to process data retrieved from the device. The
following table shows the analog input settings that are specific to Hydro-Quebec PES3 master
CEN3 TMN 8 and TMN 16 data points.
Setting Description
Channel This setting is the index of the point on the CSR3 card. It is supplied
by the master protocol component, and is shown as READ-ONLY
information.
The location of a point can be fully described using its rack, rail and
channel.
Range: 1 to 16
Setting Description
Rail The rail on which the CEAR3 card is installed.
Range: 2 to 18, if located on a standard PES3 rack
3 to 8, if located on a compact PES3 rack.
Default value: 2
Frequency 1 The frequency of the first CEAR3 internal clock, expressed in Hertz.
This clock can be used for certain CEAR3 algorithmic functions.
Range: 1000 to 100,000 Hz
Default value: 1000 Hz
Frequency 2 The frequency of the second CEAR3 internal clock, expressed in
Hertz. This clock can be used for certain CEAR3 algorithmic
functions.
Range: 1000 to 100,000 Hz
Default value: 1000 Hz
Clock Block 1 Clock used for the acquisition of the first block of channels, namely,
channels 1 through 8, of the CEAR3 cards.
Allowed values: EXT 1
EXT 2
EXT 3
LOC1
LOC2
Default value: EXT1
The communication between the SMP Gateway and the PES3 is automatically re-established once
the cause of the reboot is solved.
Problem Solution
The SMP Gateway is This problem can be due to one of the following:
not communicating One of the reasons discussed in the Protocol Common Concepts
with my device. Reference Manual, S1120-11-1.
Device addressing problem: The configured racks do not match
the PES3 device identifiers.
The CBA3 is unavailable: Make sure the CBA3 is properly
inserted into the PES3 unit.