Anda di halaman 1dari 50
S900 I/O Frequency Input/Pulse Counter DP910N/DP910S Power and productivity for a better world

S900 I/O

Frequency Input/Pulse Counter DP910N/DP910S

Power and productivity for a better world TM

S900 I/O Frequency Input/Pulse Counter DP910N/DP910S Power and productivity for a better world

S900 I/O

Frequency Input/Pulse Counter DP910N/DP910S

NOTICE

This document contains information about one or more ABB products and may include a description of or a reference to one or more standards that may be generally relevant to the ABB products. The presence of any such description of a standard or reference to a standard is not a representation that all of the ABB products referenced in this document support all of the features of the described or referenced standard. In order to determine the specific features supported by a particular ABB product, the reader should consult the product specifications for the particular ABB product.

ABB may have one or more patents or pending patent applications protecting the intel- lectual property in the ABB products described in this document.

The information in this document is subject to change without notice and should not be construed as a commitment by ABB. ABB assumes no responsibility for any errors that may appear in this document.

In no event shall ABB be liable for direct, indirect, special, incidental or consequential damages of any nature or kind arising from the use of this document, nor shall ABB be liable for incidental or consequential damages arising from use of any software or hard- ware described in this document.

This document and parts thereof must not be reproduced or copied without written per- mission from ABB, and the contents thereof must not be imparted to a third party nor used for any unauthorized purpose.

The software or hardware described in this document is furnished under a license and may be used, copied, or disclosed only in accordance with the terms of such license. This product meets the requirements specified in EMC Directive 2004/108/EEC and in Low Voltage Directive 2006/95/EEC.

TRADEMARKS

All rights to copyrights, registered trademar ks, and trademarks reside with their respec- tive owners.

Copyright © 2003-2010 by ABB. All rights reserved.

Release:

June 2010

Document number:

3BDD010424R0201 A

Table of Contents

TABLE OF CONTENTS

About This Book

General

 

9

Document Conventions

9

Warning, Caution, Information, Tip and Ex Icons

10

Related Documentation

 

11

Section 1 -

Introduction

13

Section 2 -

Field Connection

Terminal Assignment

 

15

 

15

Channel Assignment to the Field Terminals

...............................................

16

Connecting Options

 

16

Control Inputs

16

 

17

17

Table of Contents

Section 3 - Function

Counter Mode

19

19

20

20

20

Counting Direction Defined via Terminal (Static)

21

Counting Direction Defined via Terminal (Dynamic)

21

Reset

21

Gate Time

22

Overflow

22

Frequency Mode

23

23

Rotating Direction / Sign

24

Measuring

Interval

24

Section 4 - Communication

Configuration

25

Parameterization

26

Parameters of Variant FI2 P

26

26

28

Parameters of Variant FI2 F

30

30

31

Table of Contents

Used data

34

34

Mapping the Input Data to PROFIBUS

36

Analog Status Format

37

Counter Mode

37

38

39

 

Counter Mode

39

 

39

Diagnosis

40

Reaction in Case of Error

41

Section 5 -

Commissioning

Standard PROFIBUS Master

43

AC800F ............................................................................................................

45

Pulse Counter Mode, Variant FI2 P

46

 

Input Data

46

Output Data

46

 

47

 

Input Data

47

Output Data

47

AC800M

48

Data Conversion for Pulse Counter

48

Data Conversion for Frequency Measurement

48

Table of Contents

About This Book

General

About This Book

This book provides a description of S900 I/O modules type DP910S, DP910B,

DP910N.

It provides instructions for field connection, module function, communication and commissioning. This book is not intended to be the sole source of instruction for the S900 I/O system.

About This Book General About This Book This book provides a description of S900 I/O modules

The information in this document related to Zone 1 and Zone 2 always refers to the ATEX certificates applicable to the corresponding devices. Strictly observe the conditions and specifications stipulated in these certificates. The operating authorities in charge of the plants concerned must adhere to the certificates and the national certificates derived from these to comply with the local legal requirements and instrumentation regulations.

Document Conventions

Microsoft Windows conventions are normally used for the standard presentation of material when entering text, key sequences, prompts, messages, menu items, screen elements, etc.

Warning, Caution, Information, Tip and Ex Icons

About This Book

Warning, Caution, Information, Tip and Ex Icons

This publication includes Warning, Caution, and Information where appropriate to point out safety related or other important information. It also includes Tip to point out useful hints to the reader. The corresponding symbols should be interpreted as follows:

  • Electrical warning icon indicates the presence of a hazard which could result in electrical shock.

Warning icon indicates the presence of a hazard which could result in personal
injury.

  • Caution icon indicates important information or warning related to the concept discussed in the text. It might indicate the presence of a hazard which could result in corruption of software or damage to equipment/property.

Information icon alerts the reader to pertinent facts and conditions.

Information icon alerts the reader to pertinent facts and conditions.

Tip icon indicates advice on, for example, how to design your project or how to use

Tip icon indicates advice on, for example, how to design your project or how to use a certain function.

Warning, Caution, Information, Tip and Ex Icons About This Book Warning, Caution, Information, Tip and Ex

Ex icon indicates special conditions for meeting explosion protection requirements.

Although Warning hazards are related to personal injury, and Caution hazards are associated with equipment or property damage, it should be understood that operation of damaged equipment could, under certain operational conditions, result in degraded process performance leading to personal injury or death. Therefore, fully comply with all Warning and Caution notices.

About This Book

Related Documentation

Related Documentation

The following is a listing of manuals related to the S900 I/O system:

Title

Description

S900 I/O General Information and Installation of Type S and Type N

Describes the general installation and configuration information for the S900 I/O system of type S and type N Document number 3BDD010421

S900 I/O General Information and Installation of Type B

Describes the general installation and configuration information for the S900 I/O system of type B Document number 3BDD010432

S900 I/O Fieldbus Communication Interface for PROFIBUS-DP/DPV1 CI920 Version 1.4

Describes the PROFIBUS-DP FCI in the S900 I/O system and the communication via PROFIBUS Document number 3BDD010422

S900 I/O Fieldbus Communication Interface for PROFIBUS-DP/DPV1 CI920 Version 1.5

Describes the PROFIBUS-DP FCI in the S900 I/O system and the communication via PROFIBUS Document number 3BDD015031

S900 Digital I/O Modules DO910 and DX910

Describes the field connection, module function, communication and commissioning of the module. Document number 3BDD010423

S900 Digital I/O Module DP910

Describes the field connection, module function, communication and commissioning of the module. Document number 3BDD010424

S900 Analog I/O Modules (HART) AI930, AI931, AO930

Describes the field connection, module function, communication and commissioning of the module. Document number 3BDD010425

S900 Temperature Input AI950

Describes the field connection, module function, communication and commissioning of the module. Document number 3BDD010426

About This Book Related Documentation Related Documentation The following is a listing of manuals related to

Documentation will be delivered on separate CD with each Termination Unit, Compact Box and Field Housing. It is also possible to order the CD type CD910 with the following Order No. 3KDE175839L9100. The CD includes GSD files, certifications and additional related documentation, e.g. data sheets for the Remote I/O S900.

About This Book

Section 1 Introduction

Section 1 Introduction

The S900 I/O module DP910 is designed for pulse counting or frequency measurement via inductive proximity switches in accordance with DIN19234 / EN50227 / IEC60947 NAMUR (DC interface for proximity sensors and switching amplifiers). Two pulse sequences can be scanned by using two independent processing blocks. Status information can be output via the terminals or digitally via the fieldbus. Control (e.g. for starting, stopping or resetting the module) is realized either via the fieldbus or the terminals.

DP910 applications and features

Pulse counting for digital input signals (NAMUR sensors, contacts) Frequency measurement of digital pulse sequences (NAMUR sensors, contacts) Status outputs for connecting intrinsically safe valves or detectors Two independent processing blocks Bandwidth of up to 4kHz, depending on operating mode setting Automatic direction recognition when connecting a two-channel synchro control transmitters 30-bit measured values and status Additional control inputs on the field side Short-circuit and line break detection for all inputs and outputs Electrical isolation between field signals and internal bus and between field signals and power supply. Counting function maintained even during short PROFIBUS failures

Section 1 Introduction

Section 2 Field Connection

Terminal Assignment

Section 2 Field Connection

Terminal Assignment

Grouping the Channels to Function Blocks

The module has two function blocks - block A and B - with 4 channels each. Different functions can be assigned to the individual channels, depending on the operating mode setting.

A1 A2 A A3 A4 B1 B2 B B3 B4
A1
A2
A
A3
A4
B1
B2
B
B3
B4

Connecting Options

Section 2 Field Connection

Channel Assignment to the Field Terminals

A B
A
B

Block A

 

Block B

 

Function with

counter

frequency

A1

11

12

B1

13

14

IN

IN

+

-

+

-

 

A2

21

22

B2

23

24

 

DIR

DIR

+

-

+

-

 

A3

31

32

B3

33

34

 

MRS

DIR_OUT

+

-

+

-

 

A4

41

42

B4

43

44

 

RST

ZERO

+

-

+

-

 

The functionality of the field terminals is defined by configuration (see Configuration section later in this document). Blocks A and B can be used as counter or frequency inputs, as required. It is, however, not possible to mix functionalities (e.g. A = counter, B = frequency).

Connecting Options

Control Inputs

In the following text those module channels that are not used for frequency measurement or pulse counting are referred to as ‘control inputs’. These signals do not affect the measurement. For example, the counter can be reset via one of the control inputs.

The control inputs are used for connecting non-contact sensors, NAMUR initiators or potential-free contacts. The wire break or short circuit monitoring functions can be disabled.

Section 2 Field Connection

Connecting Options

Counter and Frequency Inputs

Every function block has two input channels for acquiring signals with higher bandwidths. As a result, the module provides connectors for:

2

frequency measurement channels, bandwidth 0

4

kHz

2

pulse counter channels, 30-bit, bandwidth 0

4

kHz

2

frequency measurement channels with automatic direction recognition,

bandwidth 0

1.25

kHz

2

pulse counter channels with automatic direction recognition, bandwidth

0

1.25

kHz

Control or Status Outputs

Every function block has several control or status outputs, depending on the operating mode setting. The module receives control signals via the output data of the fieldbus (e.g. for resetting the counter) and outputs them via these channels.

Connecting Options

Section 2 Field Connection

Section 3 Function

Counter Mode

Counter Mode

Operating Principle

Section 3 Function

The illustration below shows the structure of a function block in counter mode with the essential elements.

dir IN MRS up Parameter gate DIR Diagnosis dir MRS reset reset gate Output res OV
dir
IN
MRS
up
Parameter
gate
DIR
Diagnosis
dir
MRS
reset
reset
gate
Output
res OV
RST
value
status
Input
gate
OV
Counter

In this mode the function block is used for counting binary pulse trains fed in via the IN input. The maximum signal frequency is 2 to 4 kHz, depending on the parameter setting, with a pulse width repetition rate of 50 %. From this results a minimum pulse width of 250 or 125 µs.

Counter Mode

Section 3 Function

The rising or rising and falling edges on signal input IN are counted. The counting direction can be defined externally via the DIR terminal or internally via the fieldbus. With external definition from the field it is possible to connect a two- channel synchro control transmitter and, thus, automatically determine the direction.

The CI920 S900 communication interface reads out the count every 20 ms and then provides it to the fieldbus side as an input signal. The counter can be reset by using the RST (reset) signal. The counting function is enabled by using the MRS (master run/stop) signal. With MRS = 0 the last count is retained.

Counting Direction

The counting direction for the block can be defined by:

counting up PROFIBUS (host) output signal quasi-static field signal (terminal) dynamic field signal (two-channel synchro control transmitter)

Counting Up

This option is best suited for simple counting actions and can be realized with little efforts, since neither additional field signals have to be connected nor output data have to be provided through an application. The DIR channel is not used. The function block always provides positive input values. The max. possible input frequency is 4 kHz.

Counting Direction Defined by PROFIBUS Output Data

In some cases the counting direction can only be defined by the process control system, e.g. if the information depends upon various process conditions. In these cases, the counting direction for the module must be induced by the field. If the PROFIBUS is quick enough, the output data is transmitted to the module every 5 ms and, thus, true-time direction change-over is possible. The max. possible input frequency is 4 kHz. The DIR channel is used for outputting the counting direction information.

Section 3 Function

Counter Mode

Counting Direction Defined via Terminal (Static)

If the counting direction information already resides in the field as binary signal, this signal can be applied directly to the module. "Static" means in this context that the signal only changes slowly as compared to the counting input. The maximum possible input frequency is 4kHz. The DIR channel is used for inputting the counting direction information.

Counting Direction Defined via Terminal (Dynamic)

This option is intended to be used for a two-channel synchro control transmitter. The module itself can define the rotary or counting direction by a phase shift of ¼ period. Two input signals per function block have to be scanned in a quick cycle. This cuts down the input signal bandwidth to 2 kHz. As the module processes the individual channels sequentially, a scanning problem will arise for frequencies of more than 1.25 kHz which will affect the recognition of the rotating direction.

Section 3 Function Counter Mode Counting Direction Defined via Terminal (Static) If the counting direction information

With external dynamic direction recognition pulse counting is possible up to a maximum input frequency of 2 kHz. When connecting to a rotary shaft, the rotating direction can be recognized reliably up to an input frequency of 1.25 kHz, only.

The DIR channel is used for connecting the second channel of the synchro control transmitter.

Reset

The counter can be reset either from the field (via the terminals) or via the PROFIBUS (host). When setting via the PROFIBUS as binary output data, the module provides the information via the RST channel as a binary signal for synchronization or display. State 1 resets the counter to zero. In both cases the signal must be applied for at least 20 ms.

Counter Mode

Section 3 Function

Gate Time

 

The MSR signal enables/disables the counter function. State 1 enables the counter function. State 0 disables the counter function, but does not reset the counter. The signal can be fed in via the terminal or via the PROFIBUS. In the latter case the module outputs the information on the terminal as a signal.

Overflow

The module indicates an overflow or underflow within the cyclic input data with the OV bit. An overflow occurs when the value 536870911 is exceeded, an underflow occurs at a value smaller than -536870912. The counter itself is automatically reset to 0 when the limit value is reached, but still continues counting. In parallel, a diagnosis is performed. The overflow or underflow status information has to be reset from the process control system. Due to the transmission of OV exact by the bit and the reset option counting ranges of more than 30 bits can be achieved in the process control system.

Section 3 Function

Frequency Mode

Frequency Mode

Operating Principle

The illustration below shows the structure of a function block in frequency mode with the essential elements.

dir IN average up Parameter DIR Diagnosis dir DIR_OUT Output ZERO value status Input frequency
dir
IN
average
up
Parameter
DIR
Diagnosis
dir
DIR_OUT
Output
ZERO
value
status
Input
frequency

The function block is used for frequency measurement of a rectangular input signal with a maximum frequency of 2 or 4 kHz. The minimum pulse width is 250 or 125 µs, with a mark to space ratio of 1 : 1. The IN input is used for frequency measurement. The resolution of the measured frequency is 0.1% or 1% of the currently measured value, depending on the parameter setting. The minimum measurable input frequency is 0.1 Hz. The counting direction can be defined externally via the DIR input or internally, i.e. by using a parameter or output signal of the process control system. The current rotating direction is output on the DIR_OUT output (0: positive; 1: negative), independent of the information source. The ZERO control output indicates a halt of the connected source (1: f < 0.1Hz; 0:= f > 0.1Hz).

Frequency Mode

Section 3 Function

Rotating Direction / Sign

The same variants as described under 0 are valid.

Measuring Interval

As the module's scanning intervals cannot be infinitely small, a high accuracy always means a longer measuring interval. The requirements in terms of the accuracy and the measuring interval are different for frequency measurement and frequency monitoring. Therefore, frequency measurement can be performed with an accuracy of 0.1 % of the final value, corresponding to a minimum measuring interval of around 300 ms. The minimum measuring interval for frequency monitoring can be as small as 60 ms, corresponding to an accuracy of 1%. The measuring interval always depends on the measured frequency.

10.6 60 ms ms 120 ms 280 1.0 s s 10.0 s T 1000 5000 100
10.6
60 ms
ms
120
ms
280
1.0 s
s
10.0
s
T
1000 5000
100
0.1
10
1
f [Hz]
1% resolution
0.1% resolution

Section 4 Communication

Configuration

Section 4 Communication

Configuration

Section 4 Communication Configuration Section 4 Communication Configuration Definition In this context configuration means ar ranging

Definition In this context configuration means arranging the individual I/O modules of a modular slave and, thus, making changes that have an effect on the structure of the I/O data telegrams.

Changing the configuration on a PROFIBUS means terminating cyclic data exchange and re-assigning the I/Os in the PROFIBUS master. Additional features like HCIR (Hot Configuration In Run) allow for a smooth change-over, which seems to be performed 'online' from the user's point of view. S900 fully supports HCIR. Of course the PROFIBUS master must support HCIR as well, as, for example the masters of the ABB AC870P systems do. With the description of the appropriate parameters in the GSD (device data) file HCRI can be executed from every master capable of online-reconfiguration (see description below). Two DP910 module variants are described in the GSD file: FI2 P and FI2 F, "P" stands for pulse measurement and "F" for frequency measurement. The distinction of two variants (with the same I/O data structure) increases the parameterization flexibility, since more memory is available for the parameters in this case.

Paramerterization

Section 4 Communication

Parameterization

Paramerterization Section 4 Communication Parameterization Definition In this context parameterization mean s defining the properties of

Definition In this context parameterization means defining the properties of already configured modules.

Since parameter changes do not influence the I/O data structure, the system does not necessarily need to be recompiled after making changes in the master. S900 allows to transmit (and receive) a parameter telegram without interrupting cyclic data exchange. As a result, S900 supports only reconfiguration with all process controls systems that can reload a parameter telegram without requiring a reset.

Parameters of Variant FI2 P

Parameterization Mode 1 (Module-wise Parameterization)

Parameter

Setting

Description

Short circuit

on

Switches on short-circuit monitoring for all 8 module

and a channel diagnosis is transmitted.

monitoring

channels. When a short-circuit is detected on one

channel, the respective input value is marked as invalid

off

Switches off short-circuit monitoring for all 8 module channels.

Wire break

on

Switches on wire break monitoring for all 8 module

channel diagnosis is transmitted.

monitoring

channels. When a wire break is detected on one channel,

the respective input value is marked as invalid, and a

off

Switches off wire break monitoring for all 8 module channels.

Substitution value

min. value

Sets the input value for both function blocks to zero in

strategy

case of error.

max. value

Sets the input value for both function blocks to 536870911 in case of error.

last valid value

In case of error the last valid value is maintained for both function blocks.

Control input

off

All control inputs use the lowest possible damping. This

damping

setting should be selected if rapid measured value acquisition is required.

Section 4 Communication

Paramerterization

Parameter

Setting

Description

 

50 ms

All control inputs are debounced with the respective filtering time constant.

Counting direction

upwards

Both function blocks are configured for counting upwards.

host-controlled

The counting direction is defined for both function blocks through output data from the process control system. The given counting direction is output on the field side as a

terminal

binary signal. The counting direction is defined for both function blocks via the field terminals. The direction control signal is interpreted as a control input and scanned slower than the pulse input. The maximum input frequency of the

terminal (auto.)

pulse signal is limited to 4 kHz. The counting direction is defined for both function blocks via the field terminals. The direction control signal is scanned at the same speed as the pulse input. The maximum input frequency is limited to 2 kHz. The

Reset

terminal

direction can be recognized reliably up to 1.25 kHz. The reset for both function blocks is initiated via the field terminals. The minimum pulse width is 20 ms.

host

The reset for both function blocks is initiated from the process control system. The minimum pulse width is 20 ms. The data is available on the field terminals as a binary signal.

The following parameters are fixed and cannot be set by the user:

same substitution value strategy for the inputs and outputs counting of rising edges gate time via output signal of the process control system

frequency range 0

4

kHz

.. normal polarity of the control inputs and outputs

Paramerterization

Section 4 Communication

Unused Channels in Parameterization Mode 1

Unused channels will cause a channel diagnosis and an invalid input value. Invalid input values can be ignored in the process control system for these channels. The channel diagnosis (PROFIBUS and LED on the module front panel) can be switched off via a parameter. It is possible to deactivate individual channels for each slot.

Parameterization Mode 2 (Partly Channel-wise Parameterization)

Channel-wise deactivation is not necessary, since all diagnoses can be switched off individually.

Parameter

Setting

Description

Line monitoring

on

Switches on wire break and short circuit monitoring for the respective module channel. When an error is detected on a channel, the respective input value is marked as invalid, and a channel diagnosis is transmitted.

off

Switches off wire break and short-circuit monitoring for

Substitution value

min.

the respective module channel. Defines the substitution value strategy for the output data

control signals of the block are set to the logical value 0.

(output)

of the respective function block. These data are not really

the module output signals, since these are partly independent of the communication link to the process control system. En example is the "ZERO" signal. Refer to Section 0 for details. In case of an error all internal

max.

In case of an error all internal control signals of the function block (= output data of the process control

system) are set to the logical value 0.

last valid value

In case of an error all internal control signals of the function block (= output data of the process control

Substitution value

min.

system) keep their last value. In case of an error the input value of the respective

(input)

function block is set to the value 0.

max.

In case of an error the input value of the respective function block is set to the maximum value. The OV bit

last valid value

(overranging) is not set. The input value of the respective function block keeps its last valid value.

Section 4 Communication

Paramerterization

Parameter

Setting

Description

Counting direction

upwards

Positive counting direction. No additional control signals

required for determining the counting direction.

host-controlled

The counting direction is defined by the output data from

terminal (f < 4 kHz)

the process control system (host). The counting direction is defined via the DIR control input (A2 or B2). The logical state 1 means a negative counting direction (downwards). The channels A2 and B2 can be inverted individually.

terminal

A two-channel synchro control transmitter for automatic

(auto, f < 1.25 kHz)

determination of the rotating direction is connected.

Control input

off

   

damping

50 ms

 

The external control inputs of a block are read unfiltered. The external control inputs of a block are debounced for 50 ms.

Reset

host-controlled

The counter of the respective function block is reset by

terminal

output data from the process control system. The counter of the respective function block is reset by an

Edge counting

rising

 

external control input. The signal level can be inverted. The counter of the respective function block is

rising + falling

incremented or decremented by each rising signal edge. The counter of the respective function block is incremented or decremented by every rising and falling signal edge. Thus, the input value corresponds to twice the number of pulses.

Gate time

host-controlled

The counter of the respective function block is enabled by

terminal

output data from the process control system. The counter of the respective function block is enabled by an external control input.

Frequency range

0

100

Hz

Reserved for future module functions.

0

1

kHz

0

4

kHz

reserved

Polarity

normal

 

All channels can be inverted individually.

inverted

Paramerterization

Section 4 Communication

Parameters of Variant FI2 F

Parameterization Mode 1 (Module-wise Parameterization)

Parameter

Setting

Description

Short circuit

on

Switches on short-circuit monitoring for all 8 module

monitoring

channels. When a short-circuit is detected on one channel, the respective input value is marked as invalid

off

and a channel diagnosis is transmitted. Switches off short-circuit monitoring for all 8 module channels.

Wire break

on

Switches on wire break monitoring for all 8 module

monitoring

channels. When a wire break is detected on one channel, the respective input value is marked as invalid, and a

off

channel diagnosis is transmitted. Switches off wire break monitoring for all 8 module channels.

Substitution value

min. value

Sets the input value for both function blocks to zero in

strategy

case of error.

max. value

Sets the input value for both function blocks to 536870911 in case of error.

last valid value

In case of error the last valid value is maintained for both function blocks.

Control input

off

All control inputs use the lowest possible damping. This

damping

setting should be selected if rapid measured value

acquisition is required.

50 ms

All control inputs are debounced with the respective filtering time constant.

Counting direction

upwards

Both function blocks are configured for counting upwards.

host-controlled

The counting direction is defined for both function blocks through output data from the process control system. The given counting direction is output on the field side as a

binary signal.

terminal

The counting direction is defined for both function blocks via the field terminals. The direction control signal is interpreted as a control input and scanned slower than the pulse input. The maximum input frequency of the

terminal (auto.)

pulse signal is limited to 4 kHz. The counting direction is defined for both function blocks via the field terminals. The direction control signal is scanned at the same speed as the pulse input. The maximum input frequency is limited to 2 kHz. The direction can be recognized reliably up to 1.25 kHz.

Section 4 Communication

Paramerterization

Parameter

Setting

Description

Average value

off

The input value is calculated from the scanning interval.

8 values

The input value is calculated as an average over 8 measuring intervals (floating average).

The following parameters are fixed and cannot be set by the user:

same substitution value strategy for the inputs and outputs

frequency range 0

4

kHz

normal polarity of the inputs and outputs.

accuracy 0.1 %

Unused Channels in Parameterization Mode 1

Unused channels will cause a channel diagnosis and an invalid input value. Invalid input values can be ignored in the process control system for these channels. The channel diagnosis (PROFIBUS and LED on the module front panel) can be switched off via a parameter. It is possible to deactivate individual channels for each slot.

Paramerterization

Section 4 Communication

Parameterization Mode 2 (Partly Channel-wise Parameterization)

Channel-wise deactivation is not necessary, since all diagnoses can be switched off individually.

Parameter

Setting

Description

Line monitoring

on

Switches on wire break and short circuit monitoring for the respective module channel. When an error is detected on a channel, the respective input value is marked as invalid, and a channel diagnosis is transmitted.

off

Switches off wire break and short-circuit monitoring for the respective module channel.

Substitution value

min.

Defines the substitution value strategy for the output data

(output)

of the respective function block. These data are not really the module output signals, since these are partly independent of the communication link to the process control system. En example is the "ZERO" signal. Refer to Section 0 for details. In case of an error all internal control signals of the block (= output data of the process

max.

control system) are set to the logical value 0. In case of an error all internal control signals of the function block (= output data of the process control

last valid value

system) are set to the logical value 0. In case of an error all internal control signals of the function block (= output data of the process control

Substitution value

min.

system) keep their last value. In case of an error the input value of the respective

(input)

function block is set to the value 0.

max.

In case of an error the input value of the respective function block is set to the maximum value. The OV bit

(overflow) is not set.

last valid value

The input value of the respective function block keeps its last valid value.

Counting / rotating

upwards

Positive counting direction. No additional control signals

direction

required for determining the counting direction.

host-controlled

The counting direction is defined by the output data from

terminal (f < 4 kHz)

the process control system (host). The counting direction is defined via the DIR control input (A2 or B2). The logical state 1 means a negative counting direction (downwards). The channels A2 and B2 can be inverted individually.

Section 4 Communication

Paramerterization

Parameter

Setting

Description

 

terminal (auto, f < 1.25 kHz)

A two-channel synchro control transmitter for automatic determination of the rotating direction is connected.

Control input

 

off

The external control inputs of a block are read unfiltered.

damping

 

50

ms

The external control inputs of a block are debounced for

 
  • 50 ms.

Measuring cycle

< 300 ms

With a signal frequency of 4 kHz a measuring cycle lasts for around 300 ms. An accuracy of 0.1 % of the measured value is achieved. The setting is valid for the

< 50 ms

respective function block. With a signal frequency of 4 kHz a measuring cycle lasts for around 50 ms. An accuracy of 0.1 % of the measured value is achieved.

Average value

 

off

The input value is calculated from a measuring interval.

4

values

The input value is calculated as an average over 4 / 8 /

8

values

  • 16 measuring intervals (floating average).

 

16

values

Polarity

normal

All channels can be inverted individually.

inverted

Used Data

Section 4 Communication

Used data

Validity of Measured Values

S900 provides an optional status information for every analog or digital input value. To permit this function, the communication interface parameter "Analog Status Format" must be set to "MSB" or "LSB". The status indicates the validity of the measuring value, independent of the selected substitution value strategy.

In the application of the process control system an individual substitution value strategy can be used, with the status bit set. Contrary to the PROFIBUS channel diagnosis the measured value status provides for real-time transmission and data consistency. As a rule, a transmitted substitution value or last valid value always results in a set status bit, provided that status information transmission has not been disabled by setting the communication interface parameters accordingly. The ABB process control systems, e.g. AC870P, always use measured values with status information. This ensures consistent measuring value marking throughout the entire measuring chain. Any channel error, module error or disturbance of PROFIBUS communication will cause an invalid input value. In this case, the PROFIBUS master automatically sets the status bit to the "invalid" state, i.e. to "1". For other process control systems the status information can be accessed like a digital input. However, the user then has to process it "manually" in the application.

Section 4 Communication

Used Data

Criteria for setting a measured value to the "invalid" state:

Reason

Status bit is set by

Requirement

Channel error Wire break Short circuit Overflow Underflow

S900 I/O module DP910

Respective monitoring function is active

Module error

S900 communication interface CI920

 

Configuration error Invalid module Module missing

S900 communication interface CI920

 

Communication interface CI920 defective

PROFIBUS master

The process control system either uses measured values with status information (e.g. ABB AC870P), or the substitution value can be set in the master for the status signal (e.g.

PROFIBUS

PROFIBUS master

ABB AC800F) The process control

communication

system either uses

interrupted

measured values with status information (e.g. ABB AC870P), or the substitution value can be set in the master for the status signal (e.g. ABB AC800F)

Used Data

Section 4 Communication

Mapping the Input Data to PROFIBUS

The S900 communication interface CI920 converts the data format used on the

internal bus to the standardized PROFIBUS data format. The module provides for

each function block 4 bytes input data (i.e. a total of 8 bytes) as Unsigned32 data in

the Motorola format (Big Endian) normally used on the PROFIBUS. As a result,

the values with significances 2 31

..

  • 2 24 are transmitted as the first byte, whereas the

values with signficances 2 23

..

  • 2 16 are transmitted in the second position, and so on. In

some cases the operator of the process control system has to pay special attention

to the byte order, or has to rearrange the bytes in the order normally used in the

process control system. The ABB system AC800F automatically reformats the data

accordingly. The measured value including its sign only requires 20 bits in

Unsigned32 format. This suffices to cover the entire range of -536870912 0

..

..

536870911. The remaining bits are used for status information. The input data

scaling depends on the operating mode (counter / frequency measurement).

Additionally, every function block has 1 byte output data for control. This

information is processed bit-wise.

Used Data Section 4 Communication Mapping the Input Data to PROFIBUS The S900 communication interface CI920

Usually, the input data transformation is automatically performed by the

PROFIBUS master in the process control system. The data formats, however,

depend on the used control system type. If S900 is only integrated by using a

GSD file, the I/O data mapping must be performed manually. The module is

also supplied by the S900 DTM.

Section 4 Communication

Used Data

Analog Status Format

The explanations in the following section refer to the analog status format "MSB",

where the measured value status resides in the most significant bit. It should be

possible to process this format with every PROFIBUS master / control system. As

an alternative, the status for all input modules of an S900 station can be disabled.

The analog status format "LSB" which is also called the ADV format is especially

designed for FDT environments (DTM) and, therefore, is not described here in

detail. The entire double word is rotated left (ROL) by one digit.

Counter Mode

Byte 0*

2

31

2

30

2

29

2

28

 

2

27

2

26

2

25

2

24

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

S

OV

VZ

 

Measured value

   

Byte 1*

2

23

2

22

2

21

2

20

 

2

19

2

18

2

17

2

16

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

Byte 2*

2

15

2

14

2

13

2

12

 

2

11

2

10

2

9

2

8

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

Byte 3*

2

7

2

6

2

5

2

4

 

2

3

2

2

2

1

2

0

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

In the PROFIBUS world, the bytes 0

...

3

are also referred to as octets 1

Significance

 

Bit

Description

 

Significance

Bit

Description

 

Significance

Bit

Description

 

Significance

Bit

Description

 
 

...

4.

The input data

7

(corresponding to

for function block B are transmitted with the same structure in bytes 4

octets 5 ...

8).

S = measured value status, indicates whether the input value is a valid measuring

value (= 0) or a substitution value due to a recognized channel or module error ( =

1).

OV = overflow , indicates whether or not the counter range has been exceeded.

This bit can be reset by the PROFIBUS master. See Section Output Data for

details.The measured value is transmitted in a dual complement, which is usual for

signed values, and can normally be processed directly through interpretation as

Signed Long. Prior to this the upper two bits must be masked out.

Used Data

Section 4 Communication

Frequency Measurement Mode

Byte 0*

2

31

2

30

2

29

2

28

 

2

27

2

26

2

25

2

24

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

S

 

0

VZ

 

Measured value

   

Byte 1*

2

23

2

22

2

21

2

20

 

2

19

2

18

2

17

2

16

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

Byte 2*

2

15

2

14

2

13

2

12

 

2

11

2

10

2

9

2

8

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

Byte 3*

2

7

2

6

2

5

2

4

 

2

3

2

2

2

1

2

0

 
 

7

 

6

 

5

 

4

 

3

 

2

 

1

 

0

 
 

Measured value

   

In the PROFIBUS world, the bytes 0

...

3

are also referred to as octets 1

Significance

 

Bit

Description

 

Significance

Bit

Description

 

Significance

Bit

Description

 

Significance

Bit

Description

 
 

...

4.

The input data

7

(corresponding to

for function block B are transmitted with the same structure in bytes 4

octets 5 ...

8).

S = measured value status, indicates whether the input value is a valid measuring

value (= 0) or a substitution value due to a recognized channel or module error

( = 1).

The measured value is transmitted in a dual complement, which is usual for signed

values, and can normally be processed directly through interpretation as Signed

Long. Prior to this the upper two bits must be masked out. The conversion to Hertz

(Hz) is possible after conversion to Real (Floating Point) format and subsequent

division by 10,000.0. The measured value corresponds to a fixed point number

with four decimals.

Section 4 Communication

Used Data

Output Data Arrangement on the PROFIBUS

Counter Mode

Byte 0

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

Significance

Block A

7

6

5

4

3

2

1

0

Bit

 

not used

 

UP/

RST

MRS

RST

Description

 

DOWN

OV

The byte 1 (octet 2) contains the output data for function block B.

UP/DOWN = With counting direction setting "host" status 1 means that the

respective function block counts downwards.

RST OV = The overflow bit (OV) in the input data is deleted.

MRS = With gate time setting "host" status 1 means that the counter is enabled. 0

will stop the counter, the count will be held at the last valid value.

RST = With reset setting "host" status "1" resets the counter to 0. The counter will

be in the RESET state for the whole time.

Frequency Measurement Mode

Byte 0

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

Significance

Block A

7

6

5

4

3

2

1

0

Bit

 

not used

 

UP/

 

not used

 

Description

 

DOWN

 

The byte 1 (octet 2) contains the output data for function block B

UP/DOWN = With counting direction setting "host" status 1 means that the

respective function block provides a negative frequency.

Diagnosis

Section 4 Communication

Diagnosis

The module performs diagnoses in accordance with the PROFIBUS standard and

provides channel-specific error messages. The coding complies with the

PROFBUS standard as well and is beyond the scope of this document. The

assignment between the error code and the text is also standardized. The channel-

specific diagnostic data comprise the error code and the number of the affected

channel. The numbering is serial, i.e. "1" A1, "2" A2… "8" B4. Diagnostic

messages for channel 0 are valid for the entire module.

Undervoltage (= underflow)

The counter value is below the low limit value. Set at the same time as "OV" in the cyclic data. This

Overvoltage (= overflow)

diagnosis is only available in counter mode. The counter value has exceeded the high limit value. Set at the same time as "OV" in the cyclic data. This diagnosis is only available in counter mode.

Wire break

The wire break limit in accordance with NAMUR has been reached at an input or output channel.

Short circuit

The short-circuit limit in accordance with NAMUR has been reached at an input or output channel.

Section 4 Communication

Reaction in Case of Error

Reaction in Case of Error

The reaction on errors is partly different from that of other S900 modules, since not

all input and output data or signals have physical equivalents.

In frequency measurement mode the ZERO signal does not reflect the status of

PROFIBUS communication or cannot be influenced by setting the substitution

value.

Event

Behavior / Reaction

PROFIBUS error

A substitution value behavior can be parameterized in the S900 station for the control system output data. With "last valid value" setting the latest status of the host control signals is maintained. The module continues operation without interruption. All input data are updated and are available again for the next communication setup, provided that the host control signal was not in RESET state or the counter has been locked (MRS). The module status outputs on the field side represent the status of the respective function block. With "max" setting all host control signals are set to "1". Depending on the scenario (host, not terminal) this setting may cause a counter reset (RESET = 1). With "min" setting all host control signals are set to "0". Depending on the scenario (host, not terminal) this may lock the counter (MRS = 0).

CI920 failure

see PROFIBUS error

DP910 failure

The input data (count / frequency + overflow indication) are set to the values

A1 / B1 channel error

defined under substitution value input. The status bit is set. The "IN" input is affected. No frequency measurement or pulse counting is possible. The input value is set to the parameterized substitution value, the status bit is set. The control outputs on the field side (RST, MRS) are not affected. The DIR_OUT signal is set to the value 0 ( = positive), the ZERO signal

A2 / B2 channel error

to value 1 ( = stand-still). The input value is only invalid (i.e. status bit is set) and is set to the substitution value if no counting or frequency measurement can be performed, e.g. if the affected channel is the second channel of the synchro control transmitter or is used for static direction definition. If the affected channel is an output channel,

A3 / B3 channel error

(counter, direction definition by host), the input data will not be influenced. see A2 / B2 channel error

A4 / B4 channel error

see A4 / B4 channel error

Reaction in Case of Error

Section 4 Communication

Section 5 Commissioning

Standard PROFIBUS Master

Section 5 Commissioning

Standard PROFIBUS Master

The language and the parameterization mode is set by loading the respective GSD

(device data) file. The following GSD files are available for S900:

ABB_04D2.GSD

Parameterization mode 2, English

ABB_04D2.GSG

Parameterization mode 2, German

ABB104D2.GSD

Parameterization mode 1, English

ABB104D2.GSG

Parameterization mode 1, German

Parameterization mode 1 is designed for simple or older master systems. With this

file the master can be parameterized quickly and easily without the need to support

plain text. The desired parameter set can be selected from a list, and the respective

ID is entered as a module parameter.

Parameterization mode 2 is best suited for advanced master systems and allows for

extensive, detailed parameterization.

Section 5 Commissioning Standard PROFIBUS Master Section 5 Commissioning Standard PROFIBUS Master The language and the

The performance specifications, operating data, diagnostic functions and cyclic

data quality are identical for the module in both parameterization modes.

Standard PROFIBUS Master

Section 5 Commissioning

After having configured the module, you usually set the module parameters. How

the input data have to be linked with he application or program cannot be described

here in general. However, the following list is a checklist that shall serve as a

guideline and help you to avoid frequently occurring errors.

If the process control system / DCS uses measured values with status

information, the analog data format has to be set accordingly (LSB / MSB).

If the status is to be processed as a binary signal, it is recommended to use the

MSB format. Only the 15-bit measured value has to be masked accordingly in

this case.

The status bit can be handled as a separate input signal from the beginning, or

can be "split off" in the application through masking.

If the PROFIBUS master does not automatically perform byte swapping when

loading the data, the two input bytes of each channel must be rotated in the

application.

If the process control system / DCS uses the Real format for analog values, the

conversion should be performed at the beginning of the processing chain.

The formatting / interpretation of the input data cannot be described in a general

way, especially for DP910, since it considerably depends on the used process

control system. If the Signed Long data type with a length less than 32 bits is

available, the used data can be accessed easily. The overflow bit should either be

directly extracted as a binary signal or be split off by masking with 0x40000000.

Strictly speaking the measured value status should be assigned to the bit overflow

and the input data themselves (count or frequency). Practically, however, the bit

overflow processing is edge-triggered and, thus, can only be set by a properly

working module. As a result, the status for this input signal is not needed and can

be assigned to the input data (see above. If a Signed Long data format of < 32 bits

cannot be used, the sign must be moved "manually" to the MSB bit position

without affecting the remaining bits. After this has been done, the interpretation in

Standard Signed Long format (32-bit) should be possible, followed by a conversion

to Real format (floating point). In frequency measurement mode a division by

10000,0 is performed, and the frequency is available in Hertz.

Section 5 Commissioning

AC800F

AC800F

AC800F with Control Builder F permits to integrate S900 by

importing the GSD file

using the DTM

using templates

The import of the GSD file for a remote I/O with complex I/O data structures and

parameters is quite complicated for S900 and can only be performed by an

experienced user. The I/O assignment is time-consuming.

Up to Revision 6.2 the DTMs are not fully supported. There are certain limitations

concerning the HART-compatible analog modules (AI930, AI931, AO930).

Moreover, no PROFIBUS diagnostic data can be displayed in the hardware tree

view.

The limitations described above can be avoided by using the device templates to

integrate the S900. A template is a "pre-configured" module with the I/O

assignment already made. Please refer to the Control Builder F documentation for

details about how to install the templates and the respective sources of supply.

Section 5 Commissioning AC800F AC800F AC800F with Control Builder F permits to integrate S900 by importing

"MSB" must be used as the analog data format, since the templates are based on

this format.

AC800F

Section 5 Commissioning

Pulse Counter Mode, Variant FI2 P

Input Data

AC800F Section 5 Commissioning Pulse Counter Mode, Variant FI2 P Input Data The process values (Count

The process values (Count Value Block 1 / 2) can be converted to REAL format if

required. Thus, the signal can be used as input, e.g. for a dosing module. The

dosing module's reset outputs can be linked to the corresponding module output

signals.

Output Data

AC800F Section 5 Commissioning Pulse Counter Mode, Variant FI2 P Input Data The process values (Count

Section 5 Commissioning

AC800F

Frequency Measurement Mode, Variant FI2 F

Input Data

Section 5 Commissioning AC800F Frequency Measurement Mo de, Variant FI2 F Input Data The frequency raw

The frequency raw values are provided in DINT format and should be divided by

10000.0 directly upon conversion to REAL format.

Output Data

Section 5 Commissioning AC800F Frequency Measurement Mo de, Variant FI2 F Input Data The frequency raw

AC800M

Section 5 Commissioning

AC800M

Hardware definition (HWD) files are used to integrate the S900 in the AC800M or

Control Builder M. Refer to the respective documentation for configuration/

parameterization details. The linkage can be realized within this application by

adapting the following codes for frequency measurement and pulse counting. The

function has to be verified by the responsible user.

Data Conversion for Pulse Counter

help_dword2 := input_dword;

help_dword1 := help_dword2 AND 16#2000 0000;

if(help_dword1 <> 0) then

help_dword2 := help_dword2 OR 16#E000 0000;

end_if;

pulse_as_dint := dword_to_dint(help_dword2);

Data Conversion for Frequency Measurement

help_dword2 := input_dword;

help_dword1 := help_dword2 AND 16#2000 0000;

if(help_dword1 <> 0) then

help_dword2 := help_dword2 OR 16#E000 0000;

end_if;

help_dint := dword_to_dint(help_dword2);

help_real := dint_to_real(help_dint);

frequency := help_real / 10 000;

3BDD010424R0201 A

Contact us

ABB AB

Copyright © 2003-2010 by ABB.

 

Control Systems

All Rights Reserved

Västerås, Sweden

Phone:

+46 (0) 21 32 50 00

Fax:

+46 (0) 21 13 78 45

E-Mail:

processautomation@se.abb.com

www.abb.com/controlsystems

ABB Inc.

Control Systems

Wickliffe, Ohio, USA

Phone:

+1 440 585 8500

Fax:

+1 440 585 8756

E-Mail: industrialitsolutions@us.abb.com

www.abb.com/controlsystems

ABB Industry Pte Ltd Control Systems

Singapore

Phone:

+65 6776 5711

Fax:

+65 6778 0222

E-Mail: processautomation@sg.abb.com

www.abb.com/controlsystems

ABB Automation GmbH Control Systems

Mannheim, Germany

Phone:

+49 1805 26 67 76

Fax:

+49 1805 77 63 29

E-Mail: marketing.control-products@de.abb.com

www.abb.de/controlsystems

Power and productivity

for a better world TM

3BDD010424R0201 A Contact us ABB AB Copyright © 2003-2010 by ABB. Control Systems All Rights Reserved