You are on page 1of 22

Freelance Training

Chapter 7 CBF Advanced Commissioning

TABLE OF CONTENTS

Chapter 7 CBF Advanced Commissioning .................................................................................................................................... 1


7.1 General Information ............................................................................................................................................................. 2
7.1.1 Objectives ..................................................................................................................................................................... 2
7.1.2 Legend .......................................................................................................................................................................... 2
7.1.3 Reference Documentation ............................................................................................................................................. 2
7.2 Introduction.......................................................................................................................................................................... 3
7.3 Upload and export parameters ............................................................................................................................................. 3
7.3.1 Upload Parameters ........................................................................................................................................................ 3
7.3.2 Export Parameters ......................................................................................................................................................... 5
7.4 System Diagnostics .............................................................................................................................................................. 6
7.4.1 Diagnostics via Controller Web Interface ..................................................................................................................... 6
7.4.2 Microsoft Windows Diagnostics................................................................................................................................. 11
7.5 Use field diagnostic method on PROFIBUS DP communication ...................................................................................... 13
7.5.1 Scan bus ...................................................................................................................................................................... 13
7.5.2 Diagnosis Slave View ................................................................................................................................................. 14
7.5.3 Standard Diagnostic .................................................................................................................................................... 16
7.5.4 Unit Diagnostic (ExtDiag) .......................................................................................................................................... 16
7.5.5 Module Diagnostic ...................................................................................................................................................... 17
7.5.6 Online Help ................................................................................................................................................................. 17
7.5.7 View configuration ..................................................................................................................................................... 18
7.5.8 State of devices ........................................................................................................................................................... 19
7.6 Time Synchronization ........................................................................................................................................................ 20
7.6.1 Time Zone:.................................................................................................................................................................. 21
7.6.2 System Time ............................................................................................................................................................... 21
7.6.3 Enable Time Synchronization ..................................................................................................................................... 21
7.6.4 External Time Synchronization .................................................................................................................................. 22

Chapter7 - 1
T568-07 CBF Advanced Commissioning - RevC

7.1 General Information

7.1.1 Objectives
On completion of this chapter you will be able to:
• Upload and export parameters
• Use Simple controller diagnostics via controller web interface
• Use Microsoft Windows diagnostic methods like Event log
• Use field diagnostic methods on PROFIBUS Remote I/O communication
• Synchronize Setup time

7.1.2 Legend
> Indicates when you go from one menu to a sub-menu
Italic Indicates object and file names
“ “ Indicates dialog box buttons, tabs, menus etc.
Bold Indicates important topics
Indicates start/explanation of student activity

7.1.3 Reference Documentation


3BDD012503R0501 Engineering Manual System Configuration

Chapter7- 2
Freelance Training

7.2 Introduction
There are online diagnostics to evaluate controller information in Freelance. When
commissioning or faultfinding some of the following tools can be invaluable.

7.3 Upload and export parameters

7.3.1 Upload Parameters


The current value of a tag can be modified by the commissioning process or from
DigiVis via a gateway or OPC server. The changed parameters will be lost if a cold
start is performed or if a download is used for reconfiguration.
Individual values can be modified in the commissioning phase in such a way that they
are not lost during a cold start by using the correct function.
Larger amounts of working data can be saved using the “Load parameters” function.
In Commissioning mode, select a station or a section of the project tree.
Left click on “Load>Parameters” in the menu.

Standard Setting

Chapter7 - 3
T568-07 CBF Advanced Commissioning - RevC

All the block parameters below the selected project tree node are read and displayed in
a list.
Each parameter is displayed with the following information: “parameter name”, “data
type”, “tag name”, “short text”, “project path”, “block class”, “configured value” and
“current value”. The list can be sorted on any one of these fields by pressing the
appropriate column button.
According to parameters, the displayed list can be changed. If “all” is selected, all
parameters under the selected project tree node are displayed. “only different” means,
only those parameters are listed whose current value is different from that contained in
the database(standard setting). When “not corrected” is selected, (Only worth selecting
after a correction process has been carried out.) parameters are displayed that should
have been corrected but where the process to do so failed. On completion of a correct
process this radio button is selected automatically.

If the “Upload” button is pressed, all parameters are reread from the working data and
the list is regenerated using the search criteria set.
“Correct” button means that the current values of the selected parameters in the list are
copied to the project database. After “Correct” button is pressed, lists that checked in
the check box are disappeared.

Chapter7- 4
Freelance Training

7.3.2 Export Parameters


If the “Export” button is selected in “Load Parameters”, the selected parameters can be
exported to a file.
The parameters currently displayed - which depend on the active search criteria - are
transferred to a file name.upl. A prompt to enter the file name follows.

To print out the parameters which are currently displayed - which depend on the active
search criteria – select the “Print” button.

Chapter7 - 5
T568-07 CBF Advanced Commissioning - RevC

7.4 System Diagnostics

7.4.1 Diagnostics via Controller Web Interface


All Freelance controllers offer a WEB Server, which comes up with the firmware.

Return to main
page

Select detail

Clear statistic

Write to textfile

Download
memory image

Chapter7- 6
Freelance Training

Click on module to
select detail view

Click on bargraph
for trend display
Open Java
Telnet

Display Boot
Configuration Module hardware
error

To get the necessary information, open a web browser and type the address of the
controller in the address bar, i.e. http://172.16.98.5.
There is not only the controller status visible. A lot of status information can be read
by using this web page, i.e. boot configuration, memory statistics, module status,
network status and so on.

Click to enter
diagnosis page

Select view and


range

On the main page you find some information about the controller status. Some bar
graphs indicate the actual load of the CPU and the network as well as the memory

Chapter7 - 7
T568-07 CBF Advanced Commissioning - RevC

management. CPU and network load are visible as trend displays, left click on the bar
graph opens the selected trend display.
Pressing the “Diagnosis” button the following screen comes up.

11 different diagnostics status information can be selected and shown.


As an example the “Module Status” is displayed as below.

Chapter7- 8
Freelance Training

Slot, name, type, hardware revision, serial number, state are displayed in module
status.
Time Sync Statistics is shown as the status of server, active server, time sync history
Below an external time server, (GwyServer) synchronizes the controller.
Event log (event number, description, position and date) is displayed in Event history.

Chapter7 - 9
T568-07 CBF Advanced Commissioning - RevC

Loaded function blocks and version are displayed in “Loaded FBs”.

Left click on “Write To File” all diagnostics information can be written to a file (txt
file).

Chapter7- 10
Freelance Training

7.4.2 Microsoft Windows Diagnostics


All kinds of downloads, parameter changes and other online working in
commissioning mode is saved in the Application Log file. The Application log file is
one of three different log files of the Microsoft Windows operating system.
Go to “Start>Programs> Administrative Tools>Event Viewer”.
There are three kinds of logs in the Event viewer.

The screen shot below shows an example Freelance application log file entry.

Chapter7 - 11
T568-07 CBF Advanced Commissioning - RevC

The security log records events such as valid and invalid logon attempts, as well as
events related to resource use, such as creating, opening, or deleting files or other
objects. An administrator can specify what events are recorded in the security log. For
example, if you have enabled logon auditing, attempts to log on to the system are
recorded in the security log.
The system log contains events logged by system components. For example, the
failure of a driver or other system component to load during startup is recorded in the
system log.

Double Click

Chapter7- 12
Freelance Training

7.5 Use field diagnostic method on PROFIBUS DP communication

7.5.1 Scan bus


The Master View Diagnosis gets displayed with a single click on the master device in
the hardware structure tree. The Scan Bus function (DPV1) generates a live list of
slaves, which are connected to the bus line.
If PROFIBUS nodes exist, you can find them by scanning the bus. Right click on the
PROFIBUS DP master node and then left click on “Scan Bus”.
The screen shot below shows that three slaves are connected to the bus and a second
master with the address #4 is exchanging the token with the master with the address
#1.
Slave #6 (PNO Ident No. 0x04D2 = S900) belongs to master #1
Slave #12 (PNO Ident No. 0x04D2 = S900) is not locked (belongs to no master)
Slave #21 (PNO Ident No. 0x047C = S800) belongs to master #4

Chapter7 - 13
T568-07 CBF Advanced Commissioning - RevC

V8.2

Right Click on
the master

7.5.2 Diagnosis Slave View


There are three methods of diagnosis: Standard, Unit, and Module diagnostic. They
are displayed in the diagnostic window at the right side, when a Profibus slave is
selected in “HWSYS”. When using a DTM based slave, additionally DTM Info is
visible. The following two pictures show it exemplary for a S900 Remote I/O which
was inserted via DTM.

Select View
Diagnosis (S)

Mark the Slave

Chapter7- 14
Freelance Training

For GSD based Profibus slave the DTM Info tab is not available. Instead of the DTM Info a Modules tab is shown
as in the following picture for a S700 Remote I/O. Standard, Unit, and Module diagnostic are the same.

Chapter7 - 15
T568-07 CBF Advanced Commissioning - RevC

7.5.3 Standard Diagnostic


PROFIBUS defines three ranges from diagnostic data - device, module and
channel.
Device diagnostic data:
The PROFIBUS defines 6 byte diagnostic data for each PROFIBUS device.
The bytes 7 to 32 (expandable to 244) are device-specific (Ext_Diag_Data).
Within this area each Slave can place specific diagnostic data.
For more detailed information refer to the device manual of the respective
manufacturer.
The predefined device diagnostic data are divided into 3 status bytes, the master bus
address and the Ident number.

7.5.4 Unit Diagnostic (ExtDiag)


A system message for save specific diagnostic data is only generated if the ExtDiag bit
of the slave is set. In addition to the device diagnostic data a device can supply a
maximum of a further 62 bytes of diagnostic data. The quantity and structure of this
additional diagnostic data are defined in the device master data file.

Chapter7- 16
Freelance Training

7.5.5 Module Diagnostic


Each PROFIBUS slave assigns 64 bits for module specific diagnosis. If the bit is set, a
diagnostic state in the slave exists. Bit 0 represents module 0, bit 1 module 1.

7.5.6 Online Help


The DTM based devices offer a complete online help. In case of a problem open the
help file for a first step to solve the problem.

Chapter7 - 17
T568-07 CBF Advanced Commissioning - RevC

Select View
Diagnosis

Mark the module

Realize the
channel related
diagnosis

Branch to the
Online Help

7.5.7 View configuration


The vendor’s recommended settings should be compared with the current settings, if
problems are encountered when exchanging data with the device.

Chapter7- 18
Freelance Training

The configuration data is read from the device and displayed. If the configuration data
read does not correspond to the configured data, the configuration of the fitted
modules should be checked. For more detailed information on the modules to be
configured, refer to the documentation from the vendor.

Configuration, that is done by the Control Builder F

Configuration, that has been loaded into the Communication Interface

7.5.8 State of devices


The state of devices is indicated by a colored triangle.

Chapter7 - 19
T568-07 CBF Advanced Commissioning - RevC

Green : At least one I/O channel is forced.

Red : A module is configured in this slot, but not present in the station.

Blue : A diagnostic value has been logged for the device or a module of the
device.

Red : Parameter error.

7.6 Time Synchronization


Freelance handles three different times. All 3 times can be seen in commissioning
mode in Control Builder F using “Options>Set system time”.

System time:
Continuous time on module is used for the internal transfer of time stamp. System
time is equal to Universal Time Coordination (UTC).
Local time:
Local time=actual time - daylight saving time shift. In the process station this time is
stored in the pre-defined global variable msr.DateTime.
Actual time:
Local time with any daylight saving shift applied is the actual time, which the user
see on his watch. This time is used in commissioning.

Chapter7- 20
Freelance Training

7.6.1 Time Zone:


The desired time zone must be determined in the operating system of each PC
(operator station, engineering station). The transfer to the project takes place
automatically in Control Builder F.

7.6.2 System Time


The time master is the station with the lowest IP-address. If a radio clock is attached in
a process station, this process station is the master. In the event of that the time master
being disconnect from the bus, the station with second lowest IP-address becomes the
time master. All process stations have a real time clock. The synchronization of all
stations takes place 1/min. Deviations of 3 ms are possible. The synchronization
begins, as a final activity during commissioning. The time is set once in Control
Builder F. The control of time in the operator station is implemented in local time. The
local time is displayed. All process station leads the local time. This is taken over
when initializing the process station. Function blocks lead their own time and are
uninfluenced by time branches and do not operate with summer time.

7.6.3 Enable Time Synchronization


In order to start the synchronization, the local time must be set first. This applies also
to a system with a single controller if it is changed.
Since there is not a master during the exchange and a new CPU always runs with an
initialization date, the time cannot be correct after the exchange. It must then be set. If
this is not done, the trend displays will not run!

Chapter7 - 21
T568-07 CBF Advanced Commissioning - RevC

The synchronization must be activated. This can be executed immediately with the
installation of the Control Builder F software. To change the settings use the Control
Builder F Configure program.

7.6.4 External Time Synchronization


The external time synchronization allows synchronize the AC 800F controller from a
PC.
Example below:
The station with the name opc1 is defined as an external time server. The station with
the IP Address 10.1.222.215 is synchronized by the gateway opc1.
Practical application:
• Different networks should have the same time.
• The time message (setting and synchronizing) is a broadcast message.
• The sender transmits in the network and not directly to an IP address.
• If the subnet mask of the station does not directly correspond, the message can
not be detected.

Chapter7- 22

You might also like