140 ERT 854 10 Time Stamp Module
140 ERT 854 10 Time Stamp Module
140 ERT 854 10 Time Stamp Module
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or
technical characteristics of the performance of the products contained herein. This
documentation is not intended as a substitute for and is not to be used for
determining suitability or reliability of these products for specific user applications. It
is the duty of any such user or integrator to perform the appropriate and complete
risk analysis, evaluation and testing of the products with respect to the relevant
specific application or use thereof. Neither Schneider Electric nor any of its affiliates
or subsidiaries shall be responsible or liable for misuse of the information contained
herein. If you have any suggestions for improvements or amendments or have found
errors in this publication, please notify us.
No part of this document may be reproduced in any form or by any means, electronic
or mechanical, including photocopying, without express written permission of
Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when
installing and using this product. For reasons of safety and to help ensure
compliance with documented system data, only the manufacturer should perform
repairs to components.
When devices are used for applications with technical safety requirements, the
relevant instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware
products may result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2010 Schneider Electric. All rights reserved.
2 33002499 05/2010
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part I Function Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Module Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2 User Functions and Services . . . . . . . . . . . . . . . . . . . . . 13
Input Processing - Registration and Filtering . . . . . . . . . . . . . . . . . . . . . . 14
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Input Data Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Status Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 3 Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Time Synchronization with Standard Time . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 4 Typical Application Areas . . . . . . . . . . . . . . . . . . . . . . . . 27
Typical areas of application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Part II Module Description . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 5 Module Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Features and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Module Cabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Diagnosis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Part III Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Chapter 6 Quantum Addressing Modes. . . . . . . . . . . . . . . . . . . . . . 43
Flat Addressing—800 Series I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . 44
Topological Addressing—800 Series I/O Modules with Unity . . . . . . . . . . 45
Addressing Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Discrete I/O Bit Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Chapter 7 The Parameter Configuration Window . . . . . . . . . . . . . . 49
The Parameter Configuration Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
33002499 05/2010 3
Chapter 8 Startup the140 ERT 854 10 . . . . . . . . . . . . . . . . . . . . . . . . 55
140 ERT 854 10 Module and Resource Limitations . . . . . . . . . . . . . . . . 56
DCF Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
The GPS Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Behaviour when starting/restarting and the data storage . . . . . . . . . . . . 59
Check List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 9 Integration in the Application Program . . . . . . . . . . . . . . 63
Integrating Intelligent I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Configuration Section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Processing Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Chapter 10 EFBs for the140 ERT 854 10 . . . . . . . . . . . . . . . . . . . . . . . 67
10.1 DROP: Configuring an I/O station rack . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10.2 QUANTUM: Configuring a main rack. . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.3 ERT_854_10: Data transfer EFB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Function mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
EFB configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Data Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Other Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Use of the DPM_Time structure for the synchronization of the internal ERT
clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Using the ERT >EFB Time Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4 33002499 05/2010
Safety Information
§
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
33002499 05/2010 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material.
A qualified person is one who has skills and knowledge related to the construction
and operation of electrical equipment and the installation, and has received safety
training to recognize and avoid the hazards involved.
6 33002499 05/2010
About the Book
At a Glance
Document Scope
This document describes the functionality and performance scope of the Time
Stamp Module 140 ERT 854 10. It should show you how to provide your Quantum
with time stamped data.
Validity Note
This documentation is valid for Unit Pro from version 5.0.
User Comments
We welcome your comments about this document. You can reach us by e-mail at
[email protected].
33002499 05/2010 7
8 33002499 05/2010
Overview
33002499 05/2010
Function Overview
I
Overview
The first part of the manual for the intelligent input module 140 ERT 854 10 gives an
overview of the structure of the module, the functionality and shows typical
applications.
33002499 05/2010 9
Overview
10 33002499 05/2010
Introduction
33002499 05/2010
Introduction
1
Module Overview
Overview
The 140 ERT 854 10 is an intelligent 32 point input module for Quantum that allows
full configuration of inputs and evaluates the input signal status every 1 millisecond.
Up to 9 ERTs can be installed on a local or remote module rack can be used.
The inputs
The 32 inputs are designed for input voltages of 24 to 125 VDC and are distributed
in 2 independent groups. Each group is supplied with a separate external reference
voltage (typically 24, 48, 60 or 125 VDC), to influence the threshold limit and
minimum current consumption. The module status Ready, Active and Error as well
as the input status (status of the terminals) are clearly displayed by the status LEDs
on the module.
NOTE: The reference input voltage must be identical to the input voltage level.
140 ERT 854 10 firmware processes inputs in four separate configurable function
blocks with 8 inputs which support the following functions that can be selected.
z Binary inputs: input values are sent cyclically to the PLC.
z Event inputs: Time registered event logging for 1, 2 or 8 processed inputs, with
5 byte time register, integrated FIFO buffer for 4096 events and acknowledging
PLC transfer by the user.
z Counter inputs: 32 bit addition of processed events up to 500 Hz that are
transferred cyclically to the PLC.
Parameters can be set for processing individual inputs: (disabled, inverted, and with
debouce filter). A configurable chatter filter can be activated for the event and
counter inputs and event edge monitoring carried out.
33002499 05/2010 11
Introduction
Time synchronization
The module clock requires a time synchronization signal and provides a 24 VDC
input with potential isolation for the following standard time receiver with DCF 77
format.
z DCF 77E (long wave reception only in Europe)
z 470 GPS 001 (Global satellite receiver)
The ERT internal software clock can alternatively be created by the application
program, or be free running.
Validity reserve
A validity reserve can determine how long the module clock can continue running
without external synchronization. The ERT data evaluated can be buffered with a
maximum current consumption of 0.07 mA by the 140 XCP 900 00 battery module
in the event of power loss. The current internal software time is transferred to the
PLC at proportional intervals and enables the CPU clock to be set by the application
program. For further information see Time Synchronization with Standard Time,
page 23.
12 33002499 05/2010
User Functions
33002499 05/2010
2
Overview
the 32 inputs of the 140 ERT 854 10 module can be individually preprocessed and
transferred to the PLC as binary value, counter value or event. The following chapter
describes the functions and services available.
33002499 05/2010 13
User Functions
Overview
The input signals connected to the 140 ERT 854 10 go through a multistage
preprocessing stage before they are made available to the user program as binary,
counter values or events. The preprocessing can be set with parameters for each
individual input.
14 33002499 05/2010
User Functions
Registration
Overview
The processing of the individual inputs is completely configurable: (disabled,
inverted and with debounce time). The event inputs can also have a configurable
chatter filter activated and an edge event evaluation.
Disabling
A disabled input always shows the value "0" independent for its input state
Inverting
The input polarity is inverted before further processing. If this is active, the opposite
to the input signal status shown on the status LEDS is passed on for further
processing.
Edge Recognition
Selects the edge transitions which should be used for active events and counter
inputs. "Both Edges" processes rising and falling edges. Otherwise only a signal
edge is processed: rising/falling, either with or without active inversion.
33002499 05/2010 15
User Functions
Filtering
Overview
The configurable filtering is done in 2 stages: debounce and dechattering.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR - INCORRECT INTERPRETATION
OF INPUT DATA
Filters are used to suppress the input recognition in a defined way. Filtering should
only be used in a suitable way to prevent too much or undesired suppression of
input data.
Failure to follow these instructions can result in injury or equipment damage.
Debounce
Debouncing can be used on all input functions and prevents the processing of fast
state changes of the inputs, like for example, those caused by contact bouncing.
Signal changes are ignored depending on the filter type and the preset time. The
value range for the filter time is 0 to 255 ms; the value 0 deactivates the debounce
filter. The selection of the debounce filter type "stable signal" or "integrating" affects
all 8 function block inputs.
z "Stable Signal" Filtering: A signal change is only registered if the polarity change
stays stable for longer than the filter time (each new change resets the filter time).
z "Integrating" Filtering: A signal change is only registered if the time integral of the
input signal reaches the programmed filter time taking any polarity change into
account.
NOTE: Debounce time>=1 ms is recommended to ensure enough immunity against
electromagnetic disturbances. This means that input signal states >= 2 ms and
events up to 250 Hz can be processed. In non-critical electromagnetic
environments, the debounce time can be set to 0 to avoid unnecessary filter delays.
This means that input signal states >= 1 ms and events up to 500 Hz can be
processed.
16 33002499 05/2010
User Functions
Dechattering
Dechattering can only be used for event and counter inputs. It limits the number of
events to a configurable value during a configurable time period. This should prevent
multiple event registrations for the same input, e.g. disturbance influences due to
slowly changing inputs (because the hysteresis is possibly set too small). The
chatter counter is configurable for each individual input, the chatter time for each
input pair. The selection of "dechattering" on the parameter screen activates the
chatter filter for all 8 function block inputs. The chatter filtering for individual inputs
can always be disabled by selecting the value of 0 as chatter count value. A "Chatter
Filter Active" bit within the "status" output word (Bit 7 - DC) which is returned from
the transfer EFB "ERT_854_10" (see ERT_854_10: Data transfer EFB, page 73)
signals that at least one "Chatter" input is being filtered. The bit is reset as soon as
the chatter time of the last active filtered input has run out.
z Chatter time: The time period in which the chatter count limit has an effect. Value
range from 1... 255 * 100 milliseconds = 0.1... 25.5 seconds.
z Chatter count: The maximum number of registered events which are allowed to
be passed on within the chatter time period. Value range from 1... 255, the value
0 deactivates the chatter filter.
NOTE: Dechattering is a very powerful processing tool wich can have undesired
side effects. Its use with counter inputs is questionnable. If edge recognition is
performed for “both edge” then, in case of odd-numbered chatter suppression, 2
successive events with the same edge (2 rising, 2 falling) appear when transferred
to the PLC.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR
Do not perform odd-numbered chatter suppression in case of both edge
recognition.
Failure to follow these instructions can result in injury or equipment dam-
age.
33002499 05/2010 17
User Functions
Overview
The input signal can be used as binary inputs, counter values or for event recording
depending on the parameters set in the Parameter configuration window
(see page 49).
Normally the input data of the ERT 854 module is processed by the corresponding
EFBs (see EFBs for the140 ERT 854 10, page 67)
Binary Inputs
All inputs of the function block are transferred to the PLC after the third processing
stage (i.e. enabling, inverting and debounce filtering) before the chatter filter and
edge recognition are performed. The processed values of all 32 inputs are cyclically
transferred (every second PLC cycle) to the first and second input register word of
the 7 word %IW register block of the ERT The address sequence of the module
inputs corresponds to standard digital input modules, i.e. inputs 1 ... 16 correspond
to bits 15 0. User confirmation is not necessary because the EFB ERT_854_10
must exist and be enabled. The processed values are available for all 32 inputs
independent of their further processing as counter or event inputs. The input
processing is always executed according to the configuration, but the ERT copies
the processed values from the input immediately after the third input processing
stage !
NOTE: If the BoolArr32 output array "Input" of the "ERT_854_10"-Transfer EFB (see
ERT_854_10: Data transfer EFB, page 73) is configured, the processed values are
directly available as Bool values.
18 33002499 05/2010
User Functions
Counter Values
All inputs of the function block go through all five input processing stages (i.e.
locking, inverting, debounce and chatter filtering as well as edge recognition). The
count operation executes once edge recognition has been performed successfully.
For edge recognition which is not set as "both edges", the configured inverting
decides if rising or falling edges are counted.
NOTE: It is probably not worthwhile using inversion for the recognition of "both
edges"
Counter values are 32 bit totals. The PLC receives a complete sequence (configured
as: 8, 16, 24 of 32) of time consistent counter values in a multiplex procedure from
the "ERT_854_10" transfer EFB cyclically (see description of the EFB, section EFBs
for the140 ERT 854 10, page 67). The EFB sets the values in the configured
UDINTArr32 output array "Cnt_Data", without the confirmation of the user. After the
transfer of the new counter values is completed, the EFB sets the signal "New Data",
a Boolean variable "ND_Count", for one PLC cycle.
NOTE: The transfer of the counter values starts with function block 1 and ends with
the last function block which is configured as counter inputs. If a consecutive
sequence of function blocks starting with the first block are configured as counter
inputs, transfer resources are saved. Since the transfer of the counter values
competes with the transfer of the recorded events, faster reaction times for both
types can be achieved if an ERT module is fully configured as either a counter or an
event input. Binary and status inputs have no effect on this.
Event Logging
This function allows input state changes to be registered in time order with a high
resolution. The input state changes are logged with a time stamp with high
resolution. The events can later be shown in the correct sequence. The time
stamping of events can be configured so that a group of 1, 2 or 8 inputs can be
processed in parallel. All inputs of the function block go through all five input
processing stages (i.e. locking, inverting, debounce and chatter filtering as well as
edge recognition). The logging (including time stamping) is done as soon as the
edge reaches the edge recognition. For edge recognition which is not set as "both
edges", the configured inverting decides if rising or falling edges are logged.
NOTE: Inversion is probably not sensible to use with the recognition of "both edges".
A group of inputs is logged as an event if at least one of the inputs in this group has
an edge which has been recognized, i.e.:
z any single input (1, 2 ... 7, 8),
z any input of an input pair (1-2, 3-4, 5-6, 7-8),
z an input of an 8 bit group.
33002499 05/2010 19
User Functions
Events contain a lot of information in an 8 byte block, including the processed values
of all inputs in the group with the corresponding time stamp:
z Module number
z Type of input group and number of the first bit
z The current value of the inputs in the group
z Time stamp: Milliseconds
z Time stamp: Minute
z Time stamp: Hour
z Time stamp: Day of the week / Day in the month
The actual value of the inputs is stored right justified in an event structure byte. The
ERT saves up to 4096 events in its battery backed FIFO buffer. The ERT provides
error bits (bit 5/6 - PF/PH) for buffer overflow/buffer half full within the "Status" output
word which is returned from the "ERT_854_10" transfer EFB. Individual events are
transferred in a "ERT_10_TTag" structure to the PLC by the "ERT_854_10" transfer
EFB. After processing the events, the user must actively signal readiness for the
receiving of new events. See EFB description ERT_854_10: Data transfer EFB,
page 73. If desired, the parameter "Complete time report" can be selected to provide
the month and year. For this purpose, there is a special pseudo event without values
which contains the complete time information with month and year. The event is
marked as a "Complete time report" and precedes the "actual", time stamped event.
(See additional information about "Complete Time Report" in Parameters and
Default Values, page 50).
20 33002499 05/2010
User Functions
Status Inputs
Status word
The "Status" output word which is cyclically returned by the "ERT_854_10" transfer
EFB contains the following error bits:
z D8 ... D0 ERT error bits
z D11 ... D9 reserved
z D15 ... D12 EFB error bits
A complete description of the error bits is in the Division of the Error Bits, page 83
After the transfer of the new status inputs is completed, the EFB sets the signal "New
Data", a Boolean variable from "ND_Stat", for one cycle.
NOTE: ERT/EFB error messages are displayed in the Unity Pro screen Tools →
Diagnostic Viewer with the error number and explanation (see Online error
display, page 85).
33002499 05/2010 21
User Functions
22 33002499 05/2010
Time Synchronization
33002499 05/2010
Time Synchronization
3
Time Synchronization with Standard Time
Overview
The time stamped event logging requires a precise internal clock. The ERT module
uses a software clock for creating the time in millisecond intervals. This software
clock is normally synchronized with the help of an external time signal (standard time
receiver) in one minute intervals. It can also be synchronized via a telegram or be
free running.
The incoming time signal is checked for plausibility. Runtime deviations from the
software clock are corrected. The time reception takes a few minutes before the time
becomes available after startup. The software clock is synchronized to this time. The
module then determines the deviation from the software clock with regard to the
external clock within a specific period, and offsets the deviation accordingly. This is
carried out continuously during the entire runtime. After a few hours runtime
(generally within 2 hours) the software clock reaches maximum precision.
If implausible or incorrect time messages are received, the software clock continues
running without synchronization. The deviation gets larger during this time. If this
time phase does not exceed the "Validity Reserve" specified, the clock
resynchronizes when the next valid time information is received. However, if the
time period is exceeded before the module receives a valid time signal, the ERT sets
bit "Time Invalid" in the "Status" output word (bit 3 - TU), returned by the
"ERT_854_10" transfer EFB (see ERT_854_10: Data transfer EFB, page 73). All
time stamps set after this are invalid (the high priority byte for millisecond information
is set to FF). The bit is reset as soon as the next valid time message is received.
If the module receives no valid time messages for 10 minutes, the ERT sets the bit
"Time Reference Error" in the "Status" output word (bit 2 - TE), returned by the
"ERT_854_10" transfer EFB (see ERT_854_10: Data transfer EFB, page 73). The
bit is reset as soon as the next valid time message is received.
33002499 05/2010 23
Time Synchronization
Synchronization
There are three types of synchronization available:
z DCF 77E reception module (German standard - long wave reception only in
Europe)
z 470 GPS 001 00 satellite receiver, DCF77 formatted signal given (global satellite
reception)
z Synchronized by the PLC using "ERT_854_10" EFB (low precision)
24 33002499 05/2010
Time Synchronization
33002499 05/2010 25
Time Synchronization
26 33002499 05/2010
Application Areas
33002499 05/2010
4
Typical areas of application
Overview
The ERT 854 10 is particularly suited for determining the binary input status and
counter value that require a time stamp
33002499 05/2010 27
Application Areas
28 33002499 05/2010
Module Description
33002499 05/2010
Module Description
II
33002499 05/2010 29
Module Description
30 33002499 05/2010
Module Description
33002499 05/2010
Module Description
5
Overview
This chapter provides information about the structure of the 140 ERT 854 10 module
and its technical data.
33002499 05/2010 31
Module Description
Overview
Introduction
The 140 ERT 854 10 is a Quantum Expert Module with 32 binary inputs (24 ... 125
VDC). The module is suitable for the evaluation of digital inputs, counter pulses and
events.
32 33002499 05/2010
Module Description
Features
The ERT 854 10 is a Quantum Expert Module with 2 groups of 16 binary inputs (24
... .125 VDC). The input groups are potentially isolated to each other and to the
internal logic. In addition to counted values, discrete inputs can be registered with or
without event logging. A digital time standard (DTS) receiver can be connected for
time synchronization.
NOTE: The reference input voltage must be identical to the input voltage level.
Mode of Functioning
The registers of the ERT 854 10 count impulses with frequencies of up to 500 Hz
with an interruption/impulse period of 1 ms and provide these values as 32 bit
counter values for the CPU. The module is logically divided into 4 blocks of 8 inputs.
The inputs of each block can be processed as binary input signals, event or
counters, depending on the parameters set.
The input processing (debounce time, edge recognition and inversion) can be
configured separately for each input.
The module supports DCF77 formatted time receivers over a 24 VDC input.
33002499 05/2010 33
Module Description
Planning
What is to be planned
You plan:
z a slot in the Quantum rack (local or RIO station).
z the ERT Paramteres. Each of the 4 ERT 854 10 input blocks can be configured
with a different functionality (e.g. counters or inputs with our without event
recording).
z the connection of the reference voltage for each input group.
z the Process Peripherials Connection.
z the connection of an external time receiver.
34 33002499 05/2010
Module Description
Module Cabling
Overview
This section describes the connection of time receivers, supply voltages and
external input signals.
Reference Voltage
The input voltage range for the inputs is defined with the reference voltage.
Reference voltages and input signals of the same group are to be protected with a
common fuse. In addition, the inputs can also be individually protected.
CAUTION
MODULE DAMAGE
Never use the ERT module without a proper reference voltage to avoid damage to
the module.
Failure to follow these instructions can result in equipment damage.
33002499 05/2010 35
Module Description
DCF 77E
Connection example for the ERT 854 10 with a DCF 77E time receiver
* UB(1), UB(2):24 ... 125 VDC, UB(3): 24 VDC, separate protection recommended
** not connected, suitable for support clamp for UB(3)
36 33002499 05/2010
Module Description
GPS 001
Connection example for the ERT 854 10 with a GPS 001 time receiver
* UB(1), UB(2):24 ... 125 VDC, UB(3): 24 VDC, separate protection recommended
** not connected, suitable for support clamp for UB(3)
33002499 05/2010 37
Module Description
Diagnosis
Condition Display
The modules have the following indicators:
38 33002499 05/2010
Module Description
Technical data
Supply
Data of the Supply
Reference voltage for each process 24 ... 125 VDC, (max. 18 ... 156 VDC)Current
input group consumption per group: max. 3 mA
internal via the rack 5 VDC, max. 300 mA
Current requirements for buffer maximum 0.07 mA from XCP 900 00
operation
Process Inputs
Data of the Process Inputs
Number 32 in 2 Groups
Input Voltage 24 ... 125 VDC
Potential isolation Inputs to the Quantum Bus, Group 1 to Group 2
(Opto-coupler)
Debounce time 0 ... 255 Millisecunds (configurable)
Inversion Set with parameters
Max. Cable length 400 m unshielded, 600m shielded
Switching Level:
Nominal voltage for the input signals 24V 48V 60V 125V
Min current for a 1 signal 6mA 2.5mA 2.5mA 1mA
Signal level 0 signal nominal 0% of the group reference voltage,
max. +15 %, min. -5 %
Signal level 1 signal nominal 100% of the group reference voltage,
max. 125 %, min. 75 %
Internal power loss from all process max 7.5 W
inputs
NOTE: The reference input voltage must be identical to the input voltage level.
33002499 05/2010 39
Module Description
Mechanical structure
Dimensions and Weight
Connection Type
Data of the Connections
Environmental conditions
Data of the Environmental Conditions
40 33002499 05/2010
Configuration
33002499 05/2010
Configuration
III
Overview
The 140 ERT 854 10 in included in Unity Pro as a standard module. This section
describes the configuration of the modules and the parameterization of the
corresponding EFBs. An example is given for the most important applications.
33002499 05/2010 41
Configuration
42 33002499 05/2010
Addressing
33002499 05/2010
6
Overview
In the functional description of this expert module, the 3x/4x register addressing
mode established in the Quantum world is widely used. This chapter describes the
different modes used in Unity Pro to address the data from a Quantum module.
NOTE: Topological addresses overlapping (%IWr.m.c) is not supported by
Quantum application, use flat addressing (%IWx) when memory overlapping control
is needed.
33002499 05/2010 43
Addressing
Introduction
800 series I/O modules follow a system of flat address mapping in Unity Pro. To work
properly. each module requires a determinate number of bits and/or words. The IEC
addressing system is equivalent to the 984LL register addressing. Use the following
assignments:
z 0x is now %Mx
z 1x is now %Ix
z 3x is now %IWx
z 4x is now %MWx
The following table shows the relationship between 984LL notation and IEC
notation.
Step Action
1 Enter the address range in the configuration screen.
Examples
The following examples show the relationship between 984LL register addressing
and IEC addressing:
000001 is now %M1
100101 is now %I101
301024 is now %IW1024
400010 is now %MW10
44 33002499 05/2010
Addressing
To read Action
input value (rank = 0) from channel 7 of an analog module Enter
located in slot 6 of a local rack: %IW1.6.7[.0]
input value (rank = 0) from channel 7 of an analog module Enter
located in drop 3 of RIO bus 2: %IW\2.3\1.6.7[.0]
’out of range’ value (rank = 1) from channel 7 of an analog Enter
module located in slot 6 of a local rack: %I1.6.7.1[.0]
33002499 05/2010 45
Addressing
Addressing Example
NOTE: For the IODDT the data type T_ANA_IN_VWE is used and the variable
My_Temp with the address %CH1.5.10 was defined.
For comparison, the register addressing as used with Concept is added in the last
column. As Concept does not support direct addressing of a bit in a word, the bit
extraction has to be performed in the user program.
46 33002499 05/2010
Addressing
Introduction
The numbering of channels of an I/O module usually starts with 1 and counts up to
the maximum number of supported channels. The software however starts
numbering with a 0 for the least significant bit in a word (LSB). The Quantum I/O
modules have their lowest channel mapped to the most significant bit (MSB).
The following figure shows the mapping of I/O channels related to the bits in a word:.
I/O channel Bit address Bit address Bit address Bit address
(flat addressing) (topological addressing) extracted from word extracted from word
(flat addressing) (topological addressing)
1 %I1 %I1.4.1[.0] %IW1.15 %IW1.4.1.1.15
2 %I2 %I1.4.2[.0] %IW1.14 %IW1.4.1.1.14
3 %I3 %I1.4.3[.0] %IW1.13 %IW1.4.1.1.13
•••
15 %I15 %I1.4.15[.0] %IW1.1 %IW1.4.1.1.1
16 %I16 %I1.4.16[.0] %IW1.0 %IW1.4.1.1.0
17 %I17 %I1.4.17[.0] %IW2.15 %IW1.4.1.2.15
18 %I18 %I1.4.18[.0] %IW2.14 %IW1.4.1.2.14
•••
31 %I31 %I1.4.31[.0] %IW2.1 %IW1.4.1.2.1
32 %I32 %I1.4.32[.0] %IW2.0 %IW1.4.1.2.0
33002499 05/2010 47
Addressing
Addressing
Flat Addressing
This module requires 7 contiguous, 16-bit input words (%IW), and 5 contiguous, 16-
bit output words (%QW).
Topological Addressing
Topological addresses for the 140ERT85410 Time Stamp Module:
Note
The above described addressing is for information only. Direct access to the
modules raw data is not recomended. All data exchange should be performed
through the EFBs for the ERT module.
48 33002499 05/2010
Parameter Configuration Window
33002499 05/2010
Call
You can access the Parameter Configuration window for the 140 ERT 854 10
module by double-clicking on a module in the Quantum rack.
You can also open the configuration window by clicking on the module with the right
mouse button.
33002499 05/2010 49
Parameter Configuration Window
50 33002499 05/2010
Parameter Configuration Window
The following table provides an overview of the general module parameters and
their default values.
33002499 05/2010 51
Parameter Configuration Window
52 33002499 05/2010
Parameter Configuration Window
Structure of the Parameter Configuration window, specific parameters for the four
function blocks
33002499 05/2010 53
Parameter Configuration Window
The following table provides an overview of the specific parameters for the four
function blocks and their default values. The parameters can be set individually for
each block.
54 33002499 05/2010
Startup
33002499 05/2010
8
Overview
This chapter describes the preconditions and boundary conditions required for
starting the 140 ERT 854 10 and provides a check list with the necessary steps.
33002499 05/2010 55
Startup
Limitations
Check whether the following conditions have been adhered to before starting the
configuration:
z Unity Pro V 1.0 or higher
z Can be used in local or remote module racks (RIO) with RIO Drop Firmware
higher than V1
z Cannot be used in DIO Drops
z Up to 9 ERTs can be mounted on each local or remote module rack (several
module racks possible)
z Processing signal status > 1 millisecond + filter time possible
z Counter inputs up to 500Hz with 32 bit addition
z Each ERT requires an "ERT_854_10" transfer EFB
z 7 INPUT words, 5 OUTPUT words per ERT
z Several ERT modules can be connected to one standard time receiver. The 140
ERT 854 10 requires 5 mA from the receiver
z Maximum power consumption of 0.07mA from the battery module XCP 900 00
required for receiving counter, event FIFO buffer and parameter data.
Time receiver
The standard time receiver must provide an output signal in DCF77 format for 24
VDC.
The following standard time receivers are provided:
z DCF77E: DCF long wave receiver for Europe
z 470 GPS 001 00: A GPS satellite receiver
56 33002499 05/2010
Startup
DCF Receiver
Overview
The DCF 77E module operates as an internal receiver with integrated antenne.
The module receives and converts the received time signal in a 24 VDC signal in
DCF77 format, and amplifies it before sending it on to the 140 ERT 854 10 module.
DCF Signal
The time signal received in the Central European Time zone is known as the DCF77
and provides CET. It is sent from the atomic clock to the National Institute for
Science and Technology Braunschweig, Germany, and sends a long wave signal of
77.5 kHz (from which DCF77 derives its name) via a transmitter in Frankfurt am
Main. The signal can be received throughout Europe (in a radius of approximately
1000 km from Frankfurt).
When selecting a location for erecting an antenne, the following sources of
interference should be taken into account which could disturb or destroy signal
reception through their DCF receivers:
z electromagnetically contaminated areas. Avoid areas with potential sources of
interference, such as strong transmitters, switching stations and airports. Strong
interference can also be caused by industrial machinery and cranes.
z Steel supports in buildings, rooms and appartments. Poor reception can occur in
cellars, underground car parks and closed operating cabinets.
z "Shadows" and "dead band" in mountain areas, high buildings, ...
33002499 05/2010 57
Startup
Overview
The 470 GPS 001 00 module is a GPS time signal receiver. Other usual GPS
standard time receivers can also be used as long as they deliver the time signal in
DCF77 format with a 24 VDC potential.
GPS Signal
A group of lower orbiting GPS satellites (Global Positioning System) send radio
signals from which entensive time information can be derived. Their orbits are
distributed evenly so that every point on earth is covered by at least 3 different
satellites. The GPS signal can be received accross the whole world. The absolute
time precision achieved by the GPS signal is considerably higher than that reached
by the DCF receiver.
GPS satellites sends UTC time (Universal Time Coordinated) which corresponds to
GMT (Greenwich Mean Time). Seconds and years transitions are taken into
account. The 470 GPS 001 can be configured using a time offset from UTC
corresponding to the local time zone. Summer/winter time change overs can be
configured likewise.
Calendar and day data is diverted from the GPS signal and transferred to the 140
ERT 854 10 module.
The antenne must be ordered separately from the GPS receiver. More details are
contained in the technical data section of your reciever.
When selecting a location for erecting an antenne, the following sources of
interference should be taken into account which could disturb or destroy signal
reception through their GPS receivers:
z electromagnetically contaminated areas: Avoid areas with potential sources of
interference, such as strong transmitters, switching stations and airports.
z limitred to the sky and the horizon: The antenne must be erected outside to
ensure disturbance operation. Enclosed spaces or operating cabinets impedes
satellite reception.
z Length of the antenne cable: Do not exceed the maximum permitted length of
the antenne cable
z Atmospheric conditions: Heavy snowfall and rain can impede your GPS receiver
or even prevent any signal reception.
58 33002499 05/2010
Startup
Cold Start
This is the default behavior of the ERT when connecting or reconnecting a stabile
power supply.
z All recorded events, counter values and the current parameters of the ERT are
initialized with a defined state.
z The recording of the process data is delayed until the PLC has been started and
can therefore provide the ERT with a valid parameter set.
z Since the ERT does not have a hardware clock, the internal software clock is
invalid until it has been synchronized in a suitable form:
z Depending on the source which has been configured for time synchronization,
the time stamps for all recorded events are set to invalid time until either: the
internal clock is set with a DPM_Time value using the EFB or time synchroni-
zation with an external time signal has occurred.
z A special case: If the "clock" parameter of the ERT was configured as an
"internal clock" in free running mode (with a power reserve of zero), the
internal clock starts with a default setting at hour 0 on 1/1/1990.
z If a "complete time report" has been configured, a complete time transfer is done
directly before the first recorded event so that the clock synchronization follows.
Data Storage
The current data of the ERT 854 10 can be protected from a power loss if the rack
has a 140 XCP 900 00 battery module. If the supply voltage falls below a defined
limit, it will be recognized by the rack. All recorded data, counter values and the
current parameter set are saved in a non-volatile RAM by the firmware and remain
until the next warm start (see below). In situations where the saving in the ERT does
not happen (5 VDC short circuit or hot swap of the ERT module), a cold start is
performed.
33002499 05/2010 59
Startup
Warm Start
Reconnecting a stabile supply voltage causes a warm start of the ERT module, as
long as the module is in a state where it can store the current data in a consistent
form.
z All recorded events, counter values and the current parameters of the ERT are
restored from the non-volatile RAM.
z If the "warm start" parameters ("Clear counter"/"clear message buffer") are
configured, the recorded events and/or counter values are erased.
z Recording of the process data with the ERT is immediately continued with the
same parameter set even if the PLC is not started yet or the remote connection
could not be restored at this time.
z Since the ERT does not have a hardware clock, the software clock is invalid until
it has been synchronized in a suitable form:
z Depending on the source which has been configured for time synchronization,
the time stamps for all recorded events are set to invalid time until either: the
internal clock is set with a DPM_Time value using the EFB or time synchroni-
zation with an external time signal has occurred.
z A special case: If the "clock" parameter of the ERT was configured as an
"internal clock" in free running mode (with a power reserve of zero), the
internal clock starts with a default setting at hour 0 on 1/1/1990.
z If a "complete time report" has been configured, a complete time transfer is done
directly before the first recorded event so that the clock synchronization follows.
z If the corresponding "ERT_854_10" transfer EFB is active in the PLC again, the
transfer of the events and counter values in the FIFO buffer of the ERT is
continued. Current binary input values and status words are also transferred.
z If the PLC provides a new parameter set when starting which would mean a
change in the time of process data evaluation, all recorded events and counter
values are cleared since they would no longer be consistent with the new
parameter set.
60 33002499 05/2010
Startup
Check List
Step by Step
The following steps are to be performed for successfully start-up of the 140 ERT 854
10:
Step Action
1 Install the 140 ERT 854 10 module in the local or remote rack.
2 Connect the designated process peripherals and the standard time receiver to
the module (see Module Cabling, page 35).
3 Do not forget to connect the reference supply voltage for the ERT input groups.
Note: Please ensure that the installation guidelines for the antennas for the
standard time receiver are followed.
4 Enter the 140 ERT 854 10 in the I/O map.
Note: Take special note that the module requires seven %IW registers and five
%MW registers in state RAM.
5 Configure the 140 ERT 854 10 in the corresponding Parameter Configuration
window to provide the required functionality (see The Parameter Configuration
Window, page 49.
6 Use the correct EFB from the I/O management function block library (Quantum
I/O configuration family) to provide the "slot" input parameter for the
"ERT_854_10" transfer EFB. either QUANTUM for local and DROP for remote
module racks (see DROP: Configuring an I/O station rack, page 68 or
QUANTUM: Configuring a main rack, page 71).
7 Define EFB user data structures for the required data types. Events can be
"used", for example, by outputting them to a printer or storing them in central
data storage.
8 Use the "ERT_854_10" transfer EFB from the I/O management function block
library (Expert I/O module family) to transfer ERT data (see ERT_854_10: Data
transfer EFB, page 73).
Note: The transfer of new events with the "ERT_854_10" EFB overwrites the
previous event information. Therefore the user confirmation should only be
provided when the data has been completely evaluated and is no longer
needed.
9 Please note the difference in the behavior of the ERT when starting/restarting
depending on if the rack has an XCP module (see Behaviour when
starting/restarting and the data storage, page 59).
33002499 05/2010 61
Startup
62 33002499 05/2010
Programming
33002499 05/2010
33002499 05/2010 63
Programming
Introduction
EFBs are provided for integrating intelligent I/O modules. The EFBs are designed so
that the program can be created as independently as possible from the hardware
module used. The project specific information is processed and stored in data
structures on the PLC using hardware dependent EFBs (e.g. ERT_854_10). The
ERT_854_10 data transfer EFB works with these data structures. It reads the raw
values from the Input words (%IWx), processes them and writes the ERT handshake
and clock synchronization data to the output words (%MWx). The result of this is that
changes of direct addresses or changes of the input or output parameters are
automatically evaluated by the EFBs.
By division into a configuration section and several processing sections, the CPU
load can be reduced because the configuration section only has to be executed
once (after a restart or a warm start). The processing section must usually be
executed continuously.
The configuration section is controlled with the EN inputs of the corresponding EFB.
The EFBs are enabled with internal variables that are set to 1 in the first cycle.
64 33002499 05/2010
Programming
Configuration Section
Configuration section
The configuration section is used to configure the analog input and output modules
and controls data exchange between the analog EFBs, the State Ram and the
configuration data.
The configuration section should be called CfgErt and the internal variable which
controls it should be called CfgErtDone to guarantee the compatibility to future
Unity Pro versions.
There are 2 possibilities for the control of the configuration sections:
z using the EN inputs of the individual EFBs
z enabling or disabling the configuration section.
33002499 05/2010 65
Programming
Processing Section
Processing section
The processing section for actual data processing of the ERT 854 10 EFBs.
Example
The following example of a processing section uses the parameter "slot" for its
ERT_854_10 EFB which can be taken from a QUANTUM or a DROP EFB. (See
also Configuration Section, page 65.)
Typical implementation of an ERT_854_10 EFB in the processing section
66 33002499 05/2010
EFBs
33002499 05/2010
10
Overview
The EFBs described in this chapter are required for operating the 140 ERT 854 10.
33002499 05/2010 67
EFBs
Description
Function description
The function block is used to edit the configuration data of a remote or distributed
I/O station for subsequent processing by module configuration EFBs.
To configure an I/O station rack, the function block DROP in the configuration section
is connected to the corresponding SLOT output of the function block QUANTUM. The
number of the I/O station defined in the I/O map has to be entered at the NUMBER
input of the DROP function block. The function blocks for configuration of the analog
modules of the I/O stations are connected to the SLOT outputs.
As additional parameters, EN and ENO can be configured.
Appearance in FBD
Representation:
68 33002499 05/2010
EFBs
Representation in LD
Representation:
Representation in IL
Representation:
CAL DROP_Instance (SLOT:=SlotForRIO_DIO_NOM,
NUMBER:=NumberOfRIO_DIO_NOM, SLOT1=>Slot1,
SLOT2=>Slot2, SLOT3=>Slot3, SLOT4=>Slot4, SLOT5=>Slot5,
SLOT6=>Slot6, SLOT7=>Slot7, SLOT8=>Slot8, SLOT9=>Slot9,
SLOT10=>Slot10, SLOT11=>Slot11, SLOT12=>Slot12,
SLOT13=>Slot13, SLOT14=>Slot14, SLOT15=>Slot15,
SLOT16=>Slot16)
Representation in ST
Representation:
DROP_Instance (SLOT:=SlotForRIO_DIO_NOM,
NUMBER:=NumberOfRIO_DIO_NOM, SLOT1=>Slot1,
SLOT2=>Slot2, SLOT3=>Slot3, SLOT4=>Slot4, SLOT5=>Slot5,
SLOT6=>Slot6, SLOT7=>Slot7, SLOT8=>Slot8, SLOT9=>Slot9,
SLOT10=>Slot10, SLOT11=>Slot11, SLOT12=>Slot12,
SLOT13=>Slot13, SLOT14=>Slot14, SLOT15=>Slot15,
SLOT16=>Slot16) ;
33002499 05/2010 69
EFBs
Parameter description
Description of input parameters:
Runtime error
If no "Head" has been configured for the I/O station rack, an error message is
returned.
70 33002499 05/2010
EFBs
Description
Function description
The function block is used to edit the configuration data of a QUANTUM main rack for
subsequent use by the scaling EFBs.
To configure a Quantum main rack, the QUANTUM function block is inserted into the
configuration section. The function blocks for the configuration of analog modules or
the DROP function block for the I/O station are connected at its SLOT outputs.
As additional parameters, EN and ENO can be configured.
Appearance in FBD
Representation:
33002499 05/2010 71
EFBs
Representation in LD
Representation:
Representation in IL
Representation:
CAL QUANTUM_Instance (SLOT1=>Slot1, SLOT2=>Slot2,
SLOT3=>Slot3, SLOT4=>Slot4, SLOT5=>Slot5, SLOT6=>Slot6,
SLOT7=>Slot7, SLOT8=>Slot8, SLOT9=>Slot9,
SLOT10=>Slot10, SLOT11=>Slot11, SLOT12=>Slot12,
SLOT13=>Slot13, SLOT14=>Slot14, SLOT15=>Slot15,
SLOT16=>Slot16)
Representation in ST
Representation:
QUANTUM_Instance (SLOT1=>Slot1, SLOT2=>Slot2,
SLOT3=>Slot3, SLOT4=>Slot4, SLOT5=>Slot5, SLOT6=>Slot6,
SLOT7=>Slot7, SLOT8=>Slot8, SLOT9=>Slot9,
SLOT10=>Slot10, SLOT11=>Slot11, SLOT12=>Slot12,
SLOT13=>Slot13, SLOT14=>Slot14, SLOT15=>Slot15,
SLOT16=>Slot16) ;
Parameter description
Description of output parameters:
Runtime error
Internal I/O map errors will cause an error message.
72 33002499 05/2010
EFBs
Introduction
This chapter describes the ERT_854_10 block.
33002499 05/2010 73
EFBs
Description
Function Description
The ERT_854_10 EFB provides the programmer with a software interface to the
ERT 854 10 module which allows simple access of the functions such as counting,
time stamp, status or time synchronization. The ERT_854_10 EFB coordinates the
flow of Multiplex data from the ERT to the PLC using the input and output registers.
It also ensures that the intermediate count values are put in an internal storage area
until the data is complete, so a consistent set of all count values is made available
to the statement list. A marker "New data" is always set for every data type if the
input data type in the corresponding EFB output structure was copied.
As additional parameters, EN and ENO can be configured.
Appearance in FBD
Representation:
74 33002499 05/2010
EFBs
Appearance in LD
Representation:
Appearance in IL
Appearance :
CAL ERT_854_10_Instance (SLOT:=SlotIndex,
ACK:=EventAcknowledgment, CL_TT:=ClearEventBufferFlag,
CL_COUNT:=ClearCounters, T_EN:=TimeTransferFlag,
TIME_IN:=InputTimeStructure, INPUT=>OutputBoolArray,
ND_TT=>NewTimeTagFlag, TT_DATA=>TimeTagDataOutput,
ND_COUNT=>NewCounterDataFlag,
CNT_DATA=>CounterValuesArray,
ND_STAT=>NewStatusDataFlag, STATUS=>EFB_ERTStatus)
Appearance in ST
Appearance :
ERT_854_10_Instance (SLOT:=SlotIndex,
ACK:=EventAcknowledgment, CL_TT:=ClearEventBufferFlag,
CL_COUNT:=ClearCounters, T_EN:=TimeTransferFlag,
TIME_IN:=InputTimeStructure, INPUT=>OutputBoolArray,
ND_TT=>NewTimeTagFlag, TT_DATA=>TimeTagDataOutput,
ND_COUNT=>NewCounterDataFlag,
CNT_DATA=>CounterValuesArray,
ND_STAT=>NewStatusDataFlag, STATUS=>EFB_ERTStatus) ;
33002499 05/2010 75
EFBs
Parameter Description
Description of the input parameters:
76 33002499 05/2010
EFBs
Event Structure
Event structure of the ERT_10_TTag with 5Byte time markers (more information can
be found in Data Flow, page 81):
33002499 05/2010 77
EFBs
Function mode
78 33002499 05/2010
EFBs
Contents Function
Digital inputs 1 ... 16 Digitally processed input data which is cyclically updated (the
module’s input address corresponds to that of the digital standard
Digital inputs 17 ... 32
input modules, i.e. inputs 1 16 correspond to bits 15 0)
Transfer status IN transfer status (TS_IN)
MUX 1 Multiplex data block for block transfer, such as:
z 1 event with 5 byte time marker or
MUX 2
z 2 counter values of maximal configuration 32 or
MUX 3 z 1 status word
MUX 4
Simplified structure of the ERT_854_10 output register block with five %MW output
words for the transfer from the PLC to the ERT
ERT_854_10 output register block:
Contents Function
Transfer status OUT transfer status (TS_OUT)
MUX 1 Time data block for the ERT for the clock synchronization
MUX 2
MUX 3
MUX 4
NOTE: User interfaces are normally the inputs and outputs of the ERT_854_10
EFB, not the %IW and %MW input/output words.
33002499 05/2010 79
EFBs
EFB configuration
EFB connection
The EFB connection to the input and output references (%IW and %QW) is
accomplished through a graphic connection to the ERT slot number, in the same
way as with analog modules. The currently available QUANTUM and DROP EFBs from
the I/O Management library are used as follows: QUANTUM for local and DROP for
remote racks. These EFBs transfer an integer index to every specified slot, which
points to an internal data structure with the configured values. The module
parameters and the ID are stored there, in addition to the addresses and lengths of
the assigned input and output references (%IW and %MW).
A significant improvement in the runtime can be achieved by deactivating the
QUANTUM or the DROP EFB after the first execution.
Block diagram
Principle structure
80 33002499 05/2010
EFBs
Data Flow
Digital Inputs
No marker for new data is provided for this input type. The digital inputs in the first
two input register words are updated directly by the ERT in every second cycle. The
EFB makes the processed values available as Bool if the BoolArr32 output field
has been configured accordingly.
Counter Inputs
Cyclic updating of the counted values lasts significantly longer than for other data
types. Counted values are saved as a data set in CNT_DATA after a complete series
(configured as: 8, 16, or 32) of time consistent counted values in multiplex form has
been transferred by the ERT. The marker for new data ND_COUNT is set for one
cycle.
Event Inputs
Readiness to receive new events must be actively confirmed by the user, therefore
the administration of markers becomes somewhat more complex (a handshake
mechanism is required) Event data remain in the data structure ERT_10_TTag and
the marker for new data ND_TT stays set until the ACK input is set and a new event
thus requested. The EFB responds to this by resetting ND_TT for at least one cycle.
After the new event has been sent to the ERT_10_TT structure (marker structure),
ND_TT is reset by the EFB. To prevent the new event data from being overwritten
attention must be paid to fundamentally resetting the ACK input after the EFB has
reset the ND_TT marker. This state can then remain stable to allow the user program
enough time for event processing. Each subsequent event tracked with the ERT is
temporarily stored within the event FIFO buffer.
New events are sent directly from the internal buffer of the EFB in intervals of at least
2 cycles for as long as the ACK input is set (for the special continuous operating
mode); the effect is, however, that the ND_TT only stays set for one cycle. In this
special mode the user program’s task is still to terminate event processing before
ND_TT signals the transfer of other new events to the ERT_10_TT structure as
handshake protection by ACK is not available in this case.
33002499 05/2010 81
EFBs
ERT_10_TTag
ERT_10_TTag event structure with 5 byte time marks
82 33002499 05/2010
EFBs
Note 1:
Interpretation for byte 2
D7 D6 Type of event message D5...D0 No. of the first input of the event
group
0 1 1 pin message 1 ... 32 Input pin number
1 0 2 pin message 1, 3, 5, ...31 First input of the group
1 1 8 pin message 1, 9, 17, 25 First input of the group
Note 2:
The value for the milliseconds is a maximum of 61100 ms with switch seconds
(61000 plus a tolerance of 100 milliseconds)
Note 3:
For time markers containing an invalid time (TI = 1), the time in milliseconds is set
to FFFF HEX. Minutes, hours and DOW/DOM values are invalid (i.e. undefined).
Status Inputs
The marker for new status data ND_STAT is set for one cycle. The status inputs can
be overwritten after 2 inquiry cycles.
The status word contains EFB and ERT error bits
33002499 05/2010 83
EFBs
When configuring the parameter screen some of these errors can be assigned to
grouped error messages with the "F" light as well as the module's error byte within
the status table. All other errors are then defined as warnings.
D11 ... D9 reserved
84 33002499 05/2010
EFBs
33002499 05/2010 85
EFBs
Other Functions
Input marker
Setting the input marker CL_TT deletes the Event FIFO buffer of the ERT. Setting
the marker for one cycle is sufficient.
If the input marker CL_Count is set, the ERT counter is deleted by the EFB. Setting
the marker for one cycle is sufficient.
86 33002499 05/2010
EFBs
Use of the DPM_Time structure for the synchronization of the internal ERT clock
Time synchronization
If the time cannot be synchronized through a standard time receiver, the time
information can alternatively be transferred from the 140 ESI 062 01 communication
module. The ESI makes the updated time available directly to the EFB in a
DPM_Time structure via the TIME_IN parameter. The data structure can also be
filled by the user program and the respective bits can be managed. In this way, for
example, the time can be set by the CPU.
Should the time data later become invalid or no longer set, then the TU does not
switch to 1 until the configured power reserve has expired.
The synchronization/setting of the internal ERT clock takes place via the DPM_Time
structure, if:
z EFB-Parameter T_EN is set to 1 to enable the time setting.
z The time data in TIME_IN made available by ESI are valid (i.e. the "Time invalid"
Bit in the Min value must not be set).
z The status of the DPM_Time element Sync changes from 0 to 1. This change is
run every full hour by the 140 ESI 062 01 but can also be performed as the result
of a suitable telecontrol command.
The precision of the time synchronized by the ESI at the ERT can be influenced by
delays, by the PLC cycle time, as well as by the cumulative component, which
reflects the differences in the ERT software clock (< 360 milliseconds/hour).
33002499 05/2010 87
EFBs
88 33002499 05/2010
EFBs
Application examples
This section presents an internal function which is made available through the ERT
for diagnostics and development. It covers the cyclic transfer of the ERT internal
time to the corresponding EFB in greater intervals. This time application can be used
to display or set the PLC clock etc, regardless of whether it comes from the free-
running internal clock or was synchronized through an external reference clock
signal. The time appears as a DPM_Time structure beginning with word 4 of the IN
register block of the ERT. The following diagram shows the program elements
involved in selection.
Commissioning information
A ERT_854_10 was assigned the IN references %IW1 ... . %IW3 during I/O
addressing. The IN transfer status (TS_IN) in the third word of the register block is
sent to an OR block. A DPM_Time structure is defined within the variable editor as
Variable Mux_IN in the fourth word of the IN register block, and therefore has the
address %IW4 ... %IW7. This variable is sent to the MOVE block as an entry. The
MOVE block output is a DPM_Time structure defined by the variable editor as variable
ERT_Time.
Typical recording mechanism for ERT time data
Explanation:
The MOVE block transfers the time data cyclically stored in the MUX zone of the IN
register block to the DPM_Time structure ERT_Time belonging to the user as soon
as the OR and the EQ block signals a time data transfer. R_TRIG makes a signal in
ND_Time available for further processing of the time data available for one cycle.
The BOOL Sync element value of the ERT_Time should begin to "tick" during each
new transfer from the ERT. There is a new transfer after a maximum of each 200
PLC cycles.
33002499 05/2010 89
EFBs
90 33002499 05/2010
Index
33002499 05/2010
Index
B
AC
A internal clock
EFB synchronized, 23
addressing
IODDT, 67
flat, 43, 44
topological, 43
M
B mounting, 31, 34
binary inputs, 13
bit order for discrete I/O, 43 P
processing sequence, 13
C
cabling, 31 R
cold start, 55
reference voltage, 31
counting values, 13
D T
time base
data storage, 55
DCF, 23
debouncing, 13
GPS, 23
dechattering, 13
default values, 49
W
E warm start, 55
event logging, 13
I
inputs, 11
33002499 05/2010 91
Index
92 33002499 05/2010