PROSYST · La performance industrielle● AIDIAG · Documentation technique
AIDIAG Premium

BlackBox Manager

AIDIAG Premium Black Box Manager, as its name implies, is a tool that will allow you to manage one or several Black Boxes.

Managing a Black Box entails:

  • Configuring the modules, internal words or system objects which will subsequently be monitored by the AIDIAG Premium module,
  • Retrieving the contents of the Black Box, to process them with AIDMAP II.

The AIDIAG Premium Black Box Manager also integrates an automatic mode, enabling the backup of the content of the Black Box onto a PC.

The AIDIAG Premium Black Box Manager interface complies with Microsoft Windows standards in matters of ergonomics. If you are familiar with using other applications in this environment you will have no problems using the AIDIAG Premium Black Box Manager..

GBN_Interface
1 Command bar
2 Tool bar
3 Representation of Black Boxes, in architectural form
4 The Black Box's status zone: display of contents, manual import, automatic backup activation
5 List of AIDMAP II files, split into 2 folders: manual imports and automatic imports accessible with the filter. This zone includes two hidden functions:
  • Double click on a file to open it in AIDMAP II.
  • Double click in the list to explore the folder.
6 Options tab:
  • General tab: contains the connection parameters for the AIDIAG Premium module.
  • Options tab: contains the options for improving the interpretation of the Black Box contents.
  • Automatic Backup Tab: contains the automatic backup options.
7 Status bar

Data Storage folder


Defining the folder

When run for the first time, the AIDIAG Premium Black Box Manager will ask you to define the data storage folder to which it will subsequently backup your logs.There are two ways of designating the data storage folder:

  • Either by entering the directory path directly into the relevant field,
  • Or by clicking on " Browse " and designating the location using an explorer.

Once you have designated a location, the AIDIAG Premium Black Box Manager shows you the available disk space. Make sure that this space is appropriate for your requirements. If the information is correct, validate and start using the AIDIAG Premium Black Box Manager.

When using the AIDIAG Premium Black Box Manager, if the disk space becomes insufficient, the oldest logs will be erased

Changing the folder

When using the AIDIAG Premium Black Box Manager, you can change the data storage folder, provided that no automatic backups are active.

To change the data storage folder, proceed as follows:

1 In the command bar, click on file then enter the command "Change data storage folder"
2 Define a new folder by clicking on "Parcourir", or by entering the address into the relevant field manually.
3 Click "OK" to confirm your choice. The change can also be cancelled by clicking on "Annuler".
Remarque : When the data storage folder is changed, the former folder is neither moved nor deleted. It can still be accessed using a Windows explorer, or by changing the folder back to its former location.

Creating an architecture

The Black Box management, is in first time to establish a connection between the AIDIAG Premium Black Box Manager and your equipment. This chapter guides you through this process, from organizing into modules to creating a Black Box, through to the first connection.

During the creation of your architecture, you have the possibility of saving your work using save icon in the tool bar or then by using the menu file > Save the configuration.


Using modules

By default, when the application is run for the first time, the Black Box Manager creates an empty architecture named "Root Module" . To facilitate the use of several Black Boxes, a whole tree-structure of modules can be created into which the Black Boxes will be placed. For example, modules can be used to group Black Boxes together for a same workshop, or a production line. The number of modules that an architecture can contain is limitless with AIDIAG Premium Black Box Manager.

Adding modules to an architecture
1 In the modules tree, select the father module for the module that you wish to create.
2 Use the Add Module icon in the tool bar. This command creates a sub-module for the selected module and opens a window. Enter the name of the module in the relevant place and click OK to confirm, you can also use the annuler button to cancel the creation of the module.
You can also use the pop-up menu by right clicking on the father module of the module to be created. Select the Add command, then Module.
Transferring a module
1 Select the module to be transferred from the architecture.
2 Drag the selected module over to the required module and drop.
Comment: the module transfer will only be effective if the module in which it was placed is different from the module to which it is moved.
Renaming a module
1 Right click on the name of the module to be changed, then select the Rename command in the pop-up menu. This command will open a window.
2 Change the name of the module and Click OK to confirm, you can also use the cancel button to cancel the change.
Deleting a module
Select the module to be deleted in the architecture then click on the Delete icon in the tool bar. If the module to be deleted contains sub-modules or Black Boxes, the AIDIAG Premium Black Box Manager will ask you to confirm your action by answering OK to a confirmation message. You can also use the pop-up menu by right clicking on the father module of the module to be deleted.
If you delete a module containing a Black Box, all savings imported from that Black Box will be deleted.

Using Black Boxes

By default, when the application is opened, the AIDIAG Premium Black Box Manager creates an empty architecture named " Root Module ". Once this has been created, Black Boxes can be added to construct the architecture.

Adding Black Boxes
1 In the modules tree, select the father module for the Black Box that you wish to create.
2 Use the Add a Black Box icon in the tool bar. This command creates a Black Box in the selected module and opens a window.
3 Enter the name of the Black Box in the relevant field. N.b., the name of the Black Box must be unique.
4 Define the address for the AIDIAG Premium module, there are two ways of doing so:
  • Search for AIDIAG Premium modules automatically (cf Instructions for use/Restrictions)
  • Enter the AIDIAG Premium module's address manually.
5 Click OK to confirm, you can also cancel the creation of the Black Box using the cancel button.
Changing the address for a Black Box
If the address for a AIDIAG premium module has been entered incorrectly, you can change it as follows:
1 Select the AIDIAG Premium module in the architecture,
2 In the properties zone, click on the general tab,
3 In connection parameters, click on the change button. A window will then appear, in which you can change the address for the AIDIAG Premium module.
4 Click OK to confirm. You can also cancel the change using the cancel button.
Once the AIDIAG Premium Black Box Manager has connected successfully to an AIDIAG Premium module, the address for the Black Box can no longer be changed.
Renaming a Black Box
1 Right click on the Black Box to be changed, then select the Rename command from the pop-up menu. This command will open a window.
2 Change the name of the Black Box and click OK to confirm, the change can also be cancelled with the cancel button.
Moving a Black Box
1 Select the Black Box to be moved in the architecture.
2 Drag the selected Black Box and drop into the required module.
the Black Box transfer will only be effective if the module in which it was placed is different from the module to which it is moved.
Deleting a Black Box
1 Select the Black Box to be deleted in the architecture.
2 click on the Delete icon in the tool bar or use the pop-up menu by right clicking. The AIDIAG Premium Black Box Manager asks you to confirm your action by answering OK to a confirmation message.
If you delete a Black Box, all savings for that Black Box will be deleted.

Configuring Savings

Once a new Black Box has been created, the AIDIAG Premium Black Box Manager connects to the AIDIAG Premium module to upload the PLC configuration. You can now set the parameters for your future savings.


Configuring a Black Box

After an initial connection to the AIDIAG Premium module, the AIDIAG Premium Black Box Manager creates a tree containing your PLC's configuration. By default, the AIDIAG Premium Black Box module monitors all your PLC configuration's discrete and analogue tracks. If you wish to monitor internal objects (%M or %MW) or system objects (%S or %SW), they need to be added manually.

If you parameter internal or system objects, the AIDIAG Premium Black Box manager gives you a request number estimation to monitor this items. The AIDIAG Premium module is limited to one request per PLC cycle, then a lot of requests have a direct impact on the savings precision.

Use the pop-up menu to change the monitoring status for a module or rack; right click on the element in the architecture, then select the required command: Monitor or Do not Monitor ... etc.

Meaning of icons
icone_non_connectee The AIDIAG Premium module is not connected.
icone_connectee The AIDIAG Premium module is connected.
icone_desactive The AIDIAG Premium module's Black Box is disabled.
icone_non_synchronisee The Black Box must be synchronized.
icone_empl_non_surveille The X BUS slot is not monitored.
icone_empl_surveille The X BUS slot is monitored.
icone_fipio_non_connecte The X FIPIO slot is not monitored.
icone_fipio_connecte The X FIPIO slot is monitored.
icone_MW Internal word %MW monitored.
icone_SW System word %MW monitored.
icone_M Internal byte %M monitored.
icone_S System byte %S monitored.

Synchronizing the Black Box
After changing elements monitored by the AIDIAG Premium Black Box, the operating station needs to be synchronized with the AIDIAG Premium module; this means updating the list of elements monitored by the AIDIAG Premium module. To do so, right click on the black box, then select the Synchronize command from the pop-up menu. The Black Box Manager will ask you to specify the direction for the synchronization: from station to Black Box or inversely from Black Box to station. You can also cancel the synchronization operation by clicking on Abort.
The synchronization command from station to Black Box inevitably entails the purging of the black box, this means that all recordings contained in this black box will be lost ! The AIDIAG Premium Black Box Manager asks you to confirm your action by answering OK to a confirmation message.
Purging the Black Box
To carry out a purge operation on the Black Box, right click on the Black Box in the architecture, then select the Purge command from the pop-up menu.
This command will delete all recordings from the black box; the Black Box Manager asks you to confirm your action by answering OK to a confirmation message. After a purge operation, the AIDIAG Premium XL Black Box restarts in default mode, and monitors all the discrete tracks in your configuration.
Enabling / Disabling the Black Box function
While the AIDIAG Premium module is running, you can stop the logging at any point in time. To do so, right click on the black box, then select the Disable command from the pop-up menu. Conversely, If you want to restart the log, select the Activate command from the pop-up menu.

Defining options

Protected PLC application
If the PLC program is read-protected or cannot be read by the AIDIAG Premium module, the AIDIAG Premium module will not be able to retrieve the list of I/Os to be monitored. In this case, the AIDIAG Premium Black Box Manager needs to provide it with this list. To do so, the AIDIAG Premium Black Box Manager must be able to analyze the contents of the PLC application and it can only do so by running the application file (*.stx or *.stu). To select a PLC application file, simply enter manually or using the button "..." the associated editor with the name of a file (*.stx or *.stu) then confirm with the "Open" button.
Filtering analogue variables
Filtering of analogue variables minimises the number of Analogue I/O evolution notifications. The two parameters that minimise these notifications are the dead gap and the refresh.
Dead gap

The dead gap is a value expressed in percentage which minimises notifications of analogue I/O evolutions. This dead gap is used as follows: If the dead gap is of x%, then only evolutions for analogue variables exceeding x% of their previous value will be imported.

Example: Dead gap = 10%. %QW5.0=257. If the following values of %QW5.0 lie between 257-10% and 257+10%, so between 232 and 282, no notification will be sent out to the operating software.

Refresh

The refresh is a sampling period expressed in milliseconds which minimises notifications of analogue I/O evolutions. This refresh period is used as follows: If the refresh period is of x ms, then only evolutions for analogue variables appearing x ms later than their previous evolution will be notified to the operating software.

Example: Refresh = 50ms. %QW5.0=257 at t0. If the values following %QW5.0 appear between t0 and t0 + 50ms, no notification will be sent out to the operating software.

Comment 1: A 0 value for these parameters means that they have not been acknowledged.

Comment 2: If the dead gap and refresh are used simultaneously, an OR rule applies for notifications. Analogue variable evolutions will be notified when one of the two conditions is validated, so if the dead gap or the refresh period has expired.

File of symbols
Each I/O track monitored by the AIDIAG Premium module can be associated with a chain of characters describing the track ( symbol + comment ) and which will be merged in the AIDMAP II file (*.map) during the evolutions import from the AIDIAG Premium black box. To associate such a description to an I/O track, simply click on the button "...". This action will open an explorer; select the file of symbols (*.scy) then validate with the "Open" button.
File of calculated variables
An AIDMAP II file containing calculated variables can be declared. During the import operation on Black Box files, the AIDIAG Premium Black Box Manager carries out a fusion between the file of calculated variables and the file containing the evolutions. To declare the file of calculated variables, simply click on the button "...". This action will open an explorer; select the AIDMAP II file (*.map) then validate with "Open".

Operating modes


Manual import

Savings can be imported manually from the Black Box. Proceed as follows:

1 Select the Black Box in the architecture.
2 Click on the View content button, the AIDIAG Premium Black Box Manager connects to the AIDIAG Premium module, then a window opens with the list of files contained in the Black Box.
3 Select the file that you wish to import, then click on Import.
4 A second window opens featuring a time bar; you can move the two cursors (start and end cursor) so as to only import relevant logs. In the time bar, the AIDIAG Premium Black Box Manager gives you an estimation for the size of the AIDMAP II file (*.map).
5 Click OK to start importing. Once the operation is complete, a message informs you that the import operation has been successful.
Comment 1: Careful not to import AIDMAP II files that are too large. Comment 2: In the case of an AIDIAG Premium module connected on XWAY network, if the automatic backup is activated, it will be impossible to view the Black Box content and consequently make a manual import.

Automatic backup

Parameters for an automatic download of the Black Box contents onto the station can be set with the AIDIAG Premium Black Box Manager. To use the automatic import :

1 Select the Black Box in the architecture.
2 Tick the Activate autosaving box.
3 A wizard will assist you in setting the parameters for the automatic backup.
  1. Define the automatic save period, then click on next.
  2. Specify when automatic saving are to start, then click on next.
  3. Define the automatic saving rules. Once the rules have been defined, click next.
  4. Define the storage rule. Once the rule has been defined, click finish.
4 The AIDIAG Premium Black Box Manager connects to the card and begins the automatic saving operation.

Into the task bar, there is an icon that indicates the automatic backup state:

 
Automatic backup stopped.
Automatic backup activated : automatic backup in progress on one or more Black Box.
 

When the automatic mode is enabled on a Black Box, all actions capable of changing elements monitored by this Black Box are disabled. Nevertheless, if you use an Ethernet TCP/IP connection, you can still carry out manual import operations. During the automatic backup, you can access the saving options applied by clicking on "Saving options". The automatic mode must be disabled before any changes are made.

While the automatic mode is activated, a saving file is created. It contains the AIDIAG Premium module's connection information. The last line of this file appears in the AIDIAG Premium Black Box Manager, it displays any problems concerning the connection. For further details, the full saving file is accessible from the Saving File button.

The automatic backup is not a Windows service, a session must be opened for it to be run.
 
Automatic save period
The automatic save period is optional. It allows to schedule running days and hours for the automatic backup. Apart from defined periods, the automatic backup remains active but in waiting mode. Automatic save period is useful if the AIDIAG Premium Black Box manager saves content from several Black Boxes. The *.map file generation may increase PC workload. So, in the case of multiple AIDIAG Premium modules' saving, where several *.map files are generated this may quickly overload the PC resources, occasion a failure of this one and cause data loss. For this reason, it's recommended to define different saving periods for each AIDIAG Premium module to share the computer workload.
If you define an automatic save period, make sure that the time slot is sufficient for all Black Box contents backup.
Saving rules
With the automatic mode, the saving is divided into successive files at instants which are conditioned by a reinitialization rule. Also, the number of files on the disk can be limited by a storage rule.
La règle de réinitialisation The reinitialization rule is a combination of three types of predicates:
  • Minimum file size
  • Minimum log duration
  • Time in the week (not available if the automatic save period is activated)
For example: "Reinitialization if: - file size >= 4 Mb AND it is 8:00 every day OR - the log duration >= 4d. 0:00 AND it is 8:00 every day" Comment: by default, a file size rule is applied (file size >= 5Mb ).
The storage rule The storage rule makes it possible to:
  • keep the most recent n files
  • define a period of validity
For example: "Delete saving after 30 days" Comment: a storage rule is applied by default (Only keep previous 20 logs). Files resulting from the automatic logs are stored in the "Automatic backup" folder".
Procedure for stopping the automatic backup
Stop one automatic backup
  1. Select the Black Box in the architecture.
  2. Uncheck the Activate autosaving box.
  3. The AIDIAG Premium Black Box Manager asks you to confirm your action by answering OK to a confirmation message.
Stop all automatics backups
  1. Into the "File" menu, Select "Stop automatic backup"
  2. The AIDIAG Premium Black Box Manager asks you to confirm your action by answering OK to a confirmation message.
It's possible that the AIDIAG Premium Black Box manager stops the automatic Backup. This stop only arrives, when the AIDIAG Premium module record more faster than the autosaving.

AIDIAG Premium Black Box Manager tools


PLC configuration update

This plc configuration update will enable to plan a regular checkup of all AIDIAG premium modules managed. In case of PLC modification (hardware, software, ...), the AIDIAG Premium Black Box Manager will upload automatically the new PLC program. This upload may take several minutes in case of voluminous applications. Then, at the next manual connection to the AIDIAG Premium module, you will be notified of a PLC hardware modification and the update is immediate.

If the automatic backup is running, the AIDIAG Premium Black Box manager will automatically update the modules list to monitor.

The update in automatic mode only takes in account the deleted modules. Each new inputs / outputs module, will be by default not monitored.

Error notification by E-mail

The AIDIAG Premium Black Box Manager integrates a function, that automatically sends an E-mail in order to notify an AIDIAG Premium module connection error while the automatic backup is running. In case of one or several distant Black Boxes monitored, you will be automatically warned of all connection errors and you should go on the site to check the problem.

The error notification by E-mail, runs only if it's activated before the automatic backup.
This function requires to have an E-mail account. Maybe, you will be obliged to modify the mail security parameters to allow this functionality. A network administrator intervention may be necessary.

Processing savings


To access logs created by the AIDIAG Premium Black Box Manager:

  1. Select the archive folder, using the filter (Manual import or automatic save).
  2. To open an AIDMAP II file: select the file from the list then click on the AIDMAP II button or double click on an AIDMAP II file (*.map). The directory can also be explored by double clicking in the files zone.

"Useless" logs can also be deleted by selecting the file from the list then clicking on the delete icon.

← Retour à l’accueilDocumentation technique historique AIDIAG · PROSYST