HDTools Benutzerhandbuch
Translation for information — the German version is authoritative.
Imported from HDTools_Benutzerhandbuch.docx · 230 Chapter. Screenshots are marked as placeholders.
1. Introduction
1.1 What HDTools is
HDTools is a Windows program for the data analysis of machines (window title “HDTools - Machine data analysis”, motto on the start page: “Machine data · Analysis · Learning”). It reads in the data of a machine, stores it in an orderly way and presents it in modules: as tables, charts, comparisons and calculations. The manual is aimed at machine operators and technicians.
1.2 Base and plug-ins
HDTools consists of a lean base and plug-ins. Two modules are permanently built into the base and are always available, even without a connection to the central server: CSV preparation (reading and evaluating CSV files) and Cycle time (time shares of a machining cycle). All other modules are plug-ins. They are installed, updated and removed individually in the plug-in store without touching the base. Installed plug-ins appear as tiles on the start page.
Each module appears on the start page as a tile with icon, name, short description, category and version. A click opens the module; the Back to menu button leads back to the start page.
1.3 Categories
The tiles are grouped by category. The headings appear as soon as more than one category is visible. A plug-in without a known category is listed under “Other”.
| Category | What it stands for |
|---|---|
| Process data | Measurement series, variable values, histories and time analyses of a machine |
| NC code | Read, translate and trace the sequences of NC programs |
| Calculation | Calculator for frequencies, profiles, threads, material removal rate and fluid technology |
| Diagnosis | Faults, events, traces and documentation |
| Quality | Measuring probes, grinding wheels and backup evaluation |
| Administration | Database, master data, reports and logs |
1.4 All modules at a glance
The table shows all modules. “Base” means: permanently built in. “Store” means: available in the plug-in store. Which plug-ins are offered to you in the store is controlled by the central server.
| Module | Category | Reference | Purpose |
|---|---|---|---|
| CSV preparation | Process data | Base | CSV import and analysis (long and wide format, Q-DAS), machine capability Cm and Cmk |
| Cycle time | Process data | Base | Evaluate the time shares (productive time, secondary time, loading, dressing) of a cycle |
| Dashboard | Process data | Store | Live overview with machine, variables, cycle time and temperatures (automatic update) |
| HMI | Process data | Store | Point-in-time view: variable values at the selected point in time |
| JUPRO1 history | Process data | Store | Variable values from value backup and history for older user interfaces |
| JUPRO2 history | Process data | Store | Variable values from value backup and history combined |
| Comparator | Process data | Store | Compare variable values (current, workpiece, complete backup) |
| Before/after | Process data | Store | Variable values before, at and after a point in time (change check) |
| NC | NC code | Store | Translate CNC code and variables |
| NC trace FANUC | NC code | Store | Sequence analysis and Q'w calculation for FANUC NC programs (HSC, super channel) |
| NC trace Siemens | NC code | Store | Call sequence of NC programs from trace CSV, per channel, with variable mouseover |
| FANUC macro mouseover | NC code | Store | Shows FANUC macro variables as a tooltip when hovering over them |
| Siemens macro mouseover | NC code | Store | Shows Siemens macro variables as a tooltip when hovering over them |
| Fanuc operator history | NC code | Store | Plain-text event log of the CNC (DI/DO, macro, alarm, work offset) |
| Crowning of the bearing seat | Calculation | Store | Swivel angle and dressing profile for two plunges (B axis) |
| FFT | Calculation | Store | Waviness and frequency analysis |
| Fluid technology | Calculation | Store | Flow and pressure loss for hydraulic and pneumatic lines |
| Thread grinding (ball/V-thread) | Calculation | Store | Shared start page for thread type, profile import, distortion, best-fit correction and Q'w calculation |
| Ball screw | Calculation | Store | Workpiece technology, Q'w and profile distortion |
| V-thread distortion | Calculation | Store | Profile distortion of an unswivelled wheel when grinding V-threads |
| Material removal rate | Calculation | Store | Q'w calculator based on Excel template |
| Events | Diagnosis | Store | Alarm and message analysis from the event list and the operation log |
| FAQ agent | Diagnosis | Store | Questions on the documentation of the machines (online only, German and English) |
| Machine comparison | Diagnosis | Store | Compare the history, cycle times, workpiece data and NC programs of two machines |
| Look up | Diagnosis | Store | Search documentation, PMC addresses and PLC blocks |
| PLC comparison | Diagnosis | Store | Compare Siemens STEP7 backups (blocks and symbols) |
| Servo Trace | Diagnosis | Store | Read in, display and compare Servo Guide recordings and SINUMERIK servo traces |
| Memorydump | Quality | Store | Evaluate full backup and grinding and dressing calculations |
| Measuring probe | Quality | Store | Live evaluation of a measuring probe on the COM port |
| Wheels | Quality | Store | Wheel service life (diameter trend) and dressing trend |
| Grinding wheel database | Quality | Store | Specification parser and reference for grinding wheels |
| Report | Administration | Store | Generate an HTML report from the loaded analyses |
| Database | Administration | Store | Store, retrieve, export and import machine data permanently |
| Startup | Administration | Store | Log the assignment automatically: changes, workpieces, comments, report |
| OEE | Administration | Store | Technical availability: production, downtimes, utilisation |
| Master data | Administration | Store | Central machine and workpiece data for all plug-ins |
1.5 Languages and design
The user interface is available in German, English, Czech, Italian, Spanish and Chinese. German is the original language. A text that has not yet been translated in the selected language appears in German. The design is available in a light and a dark version. You set both at the top right of the start page, as described in the chapter “Main menu and plug-in store”.
1.6 General operating aids
- In many modules, there is a Help button at the top. It explains the currently selected input field. You can achieve the same with the F1 key.
- With Ctrl+Shift+F, you open the “Send feedback” dialog from any view.
- If the mouse hovers over a button, a short hint text usually appears.
2. Program start
2.1 Starting
- Start HDTools by double-clicking HDTools.exe.
- HDTools automatically checks whether a valid licence or a running trial period exists. If both are in order, no dialog appears.
- A splash screen appears while the window is being built. With many installed plug-ins, this takes noticeably longer.
- If the Database plug-in is installed, HDTools checks the state of the machine database before the window opens (see below).
- The main window with the start page appears. HDTools remembers the size and window state (normal or maximised) for the next start.
At the very first start on a computer, the free trial period begins (see the chapter “Licence and trial period”). Five seconds after start-up, HDTools resends unsent feedback in the background and asks the central server whether there are replies to your reports.
2.2 Where HDTools stores files
HDTools stores everything you generate in operation in its own data folder: %LOCALAPPDATA%\HDTools\HDTools. The folder belongs to the logged-in user and is not mirrored to the roaming profile. A program update replaces only the program folder. Settings, licence, plug-ins and database are therefore retained.
| Content | Storage in the data folder |
|---|---|
| Settings | config.json |
| Licence file | license.lic |
| Trial phase marker | trial_state.json |
| Most recently reachable address of the server | zentrale.json |
| Machine database and backups | databases |
| Plug-ins installed via the plug-in store | plugins |
| Log file (log book) | logs\hdtools.log |
| Language packs | lang |
| Feedback (outbox, sent reports) | rueckmeldungen |
HDTools takes over inventories from earlier storage locations (program folder and %APPDATA%\HDTools) once by itself at start-up. What was moved in the process is recorded in the logbook.
Note: The data folder can be redirected to a different folder via the environment variable HDTOOLS_DATEN, for example for operation from a USB stick. All data is then located in the folder that has been set, and earlier storage locations are neither read nor adopted.
2.3 Messages at start-up
For an integrated database, HDTools checks before the window whether the file is readable and whether it is in a safe location. This never blocks the start: if you decline a question, HDTools carries on running.
| Message | Meaning | What to do |
|---|---|---|
| Database format changed | The database has a new format. The previous file has been set aside. | Reload the OEM folders of the machines once. You can delete the old file later in the Database module. |
| Database damaged | The database is unreadable or incomplete. | If a backup exists, HDTools offers to restore the data from it. Answer “Yes”. |
| Database location | The database is located in a synchronised cloud folder or on a network drive. This can damage it. | Confirm the offered relocation to a safe location with “Yes” and then restart HDTools. |
3. Licence and trial period
3.1 Overview
HDTools runs with a licence or, as long as there is no licence, in a free trial period. A licence is valid for exactly one computer (hardware ID) and for HDTools and HDTrace together. When changing computers, a new licence must be requested.
3.2 Trial period
- The trial period begins with the very first start of this installation and lasts 30 days. Markers from earlier versions still run out with the three months promised at the time.
- As long as the trial phase is running and no licence file is valid, the start page shows a pill at the top right with the text “Trial phase - N day(s) left”.
- During the trial period, plug-ins in the plug-in store can only be installed if the central server explicitly marks them as licence-free. All others show the note “only with a licence” instead of the Install button. The central server determines for each plug-in whether it is licence-free.
- If the trial period has expired, HDTools opens the dialog “HDTools – licence” at start with the buttons Next and End. Next only becomes available once a valid licence is present.
- If a valid licence is missing at start but the trial period is still running, HDTools starts normally.
3.3 The “Licence” dialog
Open the dialog with Licence … at the bottom right on the start page. The dialog also appears automatically at start if neither a licence nor a trial phase is valid.
| Display or button | Meaning |
|---|---|
| Status message at the top | Shows whether the licence is valid, for whom and until when, or the remaining duration of the trial phase, or the reason why nothing is valid. With a valid licence, the path of the licence file is shown below. |
| Hardware ID of this computer | 16 characters (digits and letters A to F), derived from the network address and the drive serial number of C:. |
| Copy | Places the hardware ID on the clipboard. You need it for the licence request. |
| Request licence (website) … | Opens the licence page of the server in the browser. HDTools determines the reachable address for this. |
| Retrieve licence from the server | Asks the central server for a released licence for your hardware ID and installs it. |
| Install licence file … | Installs a received .lic file. |
3.4 Requesting and installing a licence
- Open Licence … and click Copy to take over the hardware ID.
- Click Request licence (website) …. In the browser, you log in, paste the hardware ID and submit the request.
- Wait until the licence is released. It is issued exclusively by the server.
- Then click Retrieve licence from the server. Alternatively, download the .lic file from the licence page or receive it by e-mail and click Install licence file ….
- On success, the dialog “Licence installed” appears and shows the location of the file. The trial period pill on the start page disappears as soon as you close the dialog.
If the licence has not yet been released, the dialog shows the message from the central server stating what to do. If the central server is not reachable, “Server not reachable” appears in the status bar together with the cause. HDTools reports an invalid file with the window “Invalid licence” and never stores it. A licence that is already valid is never replaced by an invalid one.
Note: A licence file is bound to the hardware ID. If it does not match the computer, HDTools reports “Licence was issued for different hardware” and names both IDs. If the network adapter or drive changes, the hardware ID changes as well.
3.5 Location of the licence file
HDTools stores an installed or retrieved licence as license.lic in the data folder %LOCALAPPDATA%\HDTools\HDTools. It therefore survives an update. HDTools searches for the licence file in this order and takes the first valid one:
- in the data folder (license.lic),
- next to the executable file,
- in the former location %APPDATA%\HDTools (only read now),
- next to main.py (development mode).
An old, expired file next to the executable file therefore does not mask a freshly installed licence. You can also see the licence status in the “Info” dialog (“Licence” line: Licensed with expiry date, Trial period or No valid licence).
4. Main menu and plug-in store
4.1 Layout of the start page
The start page has four areas.
| Area | Content |
|---|---|
| Header line at the top right | Language selection, language pack button, design switch, Select OEM folder & load data …, Connect machine (network) …, Reload data; below them pills for responses, trial phase, the selected OEM folder and machine key data |
| “Menu” sidebar on the left | Notes, Manual, Log book, Send feedback, FAQ, About |
| Centre | “Search plug-in …” field and the module tiles, grouped by category |
| Footer | Manufacturer line on the left; on the right Plug-in store …, OEM folder & data paths …, Reload plug-ins, Check for updates, Licence … |
4.2 Finding and opening modules
Type part of the name, description or category in the Search plug-in … field. The search is not case-sensitive. The number of hits is shown next to the search field. If nothing matches, “No plug-in matches the search.” appears. The tiles arrange themselves in two to four columns depending on the window width. Clicking a tile opens the module.
If a tile has a warning symbol after the name, the plug-in could not be loaded. A click shows the exact error message in the “Plug-in error” window.
4.3 Language and design
- The language selection at the top right switches the user interface immediately. The choice is saved. The start page is rebuilt. Modules that are already open adopt the new language the next time they are opened.
- The button next to it (language icon) opens a small menu with Install language pack … and Write out missing texts …. A language pack is a ZIP file; you can use it to add a language or correct a wording without waiting for a new program version. Write out missing texts … saves the texts that appeared untranslated in the selected language during the current session as a JSON file. For German, nothing is ever missing.
- The Light or Dark button switches between light and dark design. It always shows the design it switches to. The default is the dark design. The choice remains saved.
Note: If Chinese is set but no Chinese font is installed on the computer, HDTools shows English instead of empty boxes. The language selection still shows Chinese. As soon as a suitable font is installed, the setting takes effect.
4.4 The sidebar
| Point | What it does |
|---|---|
| Notes | A simple notepad. Save stores the text in the settings. |
| Manual | Opens the README.md file from the program folder in the default program. If it is missing, HDTools reports “No README.md found in the program folder.” |
| Log book | Shows the last 1000 lines of the log and the path of the log file. With Update, Open file and Show folder, you pass the file on. Here you can also see how long individual loading steps took. |
| Send feedback | Opens the dialog for errors, questions and suggestions (see chapter “Data sources and machine database”). |
| FAQ | Shows three brief notes on loading the data and on the data paths. |
| About | Shows version, manufacturer, copyright, design version, licence status and hardware ID. Open manual opens the README.md file. |
4.5 Plug-in store: managing plug-ins
The plug-in store shows the plug-ins available on the central server. Open it with Plug-in store … in the footer. A connection to the central server is required for this.
| Column | Content |
|---|---|
| Plug-in | Name of the plug-in |
| Description | Short description |
| Installed | Installed version or “-” |
| Available | Latest version in the store |
| last column | Buttons and notes (see below) |
At the top of the window, it states how many plug-ins are available in the store. With Update catalogue, you query the catalogue anew. What appears in the last column:
| Display | Meaning |
|---|---|
| Install | The plug-in is not installed yet. |
| Update | There is a newer version that matches your HDTools version. |
| current | Installed, nothing newer in the catalogue. |
| Remove | Appears for every installed plug-in and deletes it together with its files. |
| only with licence | Trial period only: The plug-in is available only with a licence. |
| needs HDTools X.Y.Z | The latest version of the plug-in requires a newer HDTools (see below). |
4.6 Installing, updating and removing a plug-in
- Open Plug-in store ….
- For the desired plug-in, click Install or Update.
- Some plug-ins show a note before downloading, for example “online use only”. It appears only at the first installation. Read it and confirm with “Yes” (“Install {Name} now?”).
- HDTools downloads the plug-in. The central server checks your licence against the hardware ID. To remove it, click Remove and confirm “Really remove {Name}?”.
- Close the store. If anything has changed, HDTools reloads the plug-ins automatically. A restart is not necessary.
Installed plug-ins are located under %LOCALAPPDATA%\HDTools\HDTools\plugins. When updating, HDTools clears away the old version. If a download fails, the store reports the reason in the “Plug-in store” window, for example “Server not reachable” or “Download failed”.
4.7 The “requires HDTools X” note
Each plug-in knows the minimum version of HDTools that it requires. If the latest version of a plug-in requires a newer HDTools, the store shows “requires HDTools X.Y.Z” and offers it neither for installation nor as an update. In the “Available” column, it then shows, for example, “{ältere Version} ({neueste Version} requires HDTools X.Y.Z)”. If there is an older version that matches your HDTools version, the store offers that one instead. If there is none, first update HDTools with Check for updates.
4.8 Checking for updates
The Check for updates button asks the central server for the latest published HDTools version and compares it with yours. HDTools does not download or install anything in the process.
- If your version is up to date, HDTools reports “You are already using the current version”.
- If there is a newer version, HDTools shows it with the changes. To the question “Open the download page in the browser now?” answer “Yes”. The download page is protected by a login.
- If the central server is not reachable, “Update check failed” appears together with the cause.
4.9 Reloading plug-ins
Reload plug-ins re-reads all plug-ins and rebuilds the start page. You need the button if you have placed a plug-in file by hand in the plugins folder. After installing or removing in the plug-in store, this happens automatically. Module views that are already open are discarded and built afresh the next time they are opened.
5. Data sources and machine database
5.1 How data gets into HDTools
All machine data pass through the same import path into the machine database, whether you load an entire OEM folder, any folder or a single file. HDTools recognises each file by its content. Each machine is uniquely identified by its machine number. All modules then read their data from this database, no longer from the original files.
- Repeated loading is fast: HDTools does not read unchanged files again. If nothing in the whole folder has changed, the run ends after scanning.
- Duplicate data does not occur. An aborted import is harmless; the next run adds exactly what is missing.
- Files that HDTools does not recognise are counted but not saved.
5.2 Connecting a machine (network)
With Connect machine (network) …, you connect a network drive to the machine control. Only the drive is connected. You select the OEM main folder separately afterwards.
- Click Connect machine (network) ….
- Enter the machine number or the IP address, for example “10888”, “VM_10888” or “192.168.1.50”. A plain number stands for a real machine; with “VM_” at the beginning, for a virtual machine.
- Click Connect. A progress window with the option to cancel shows the attempts. HDTools takes the first free drive from X:, Y: and Z:. If none is free, X: is disconnected first.
- On success, HDTools reports “Connected: drive …” with the connected share path and asks you to now select the OEM main folder on this drive.
If the connection fails, the status bar shows the reason together with the number of failed connection attempts.
5.3 Selecting the OEM folder and loading data
The OEM main folder is the folder containing the data backup of a machine. HDTools reads the process data, backups, NC programs, logs and other data from it.
- Click Select OEM folder & load data ….
- In the “Select OEM main folder” window, select the main folder of the machine.
- If HDTools cannot detect a machine number in the folder, it asks for one (“Which machine does the data belong to?”). Enter the number and click Read in. If the field is left empty, the data is loaded for this session only.
- If the option “Copy data to a temp folder before reading” is active, HDTools first copies the relevant data. Then the window “Load OEM folder” appears with “Updating machine database …” and the Cancel button.
- The modules with OEM connection then preload their data (“Loading OEM data …”).
- Finally, HDTools reports in the “OEM data” window what was loaded: first the row for the database with the machine number, then one row per module.
With Reload data, you read the data from the already selected OEM folder again. Without a selected folder, HDTools reports “Please select an OEM main folder first.”
If the OEM folder lacks a current complete backup (memorydump), HDTools puts a warning before the completion message. The current variable values of the user interface exist as a file only in this backup. If it is more than seven days older than the rest of the data, evaluations calculate with an outdated state.
Tip: Create a new complete backup on the machine and reload the OEM folder afterwards if HDTools warns of a missing or outdated complete backup.
5.4 Machine data on the start page
After loading, the start page shows two pills. The first names the selected OEM folder or “(not selected)”. The second summarises the key data, separated by vertical bars.
| Display | Meaning |
|---|---|
| Machine {Nummer} | Detected machine number. If the number was corrected in the Database module, “(detected → corrected)” follows it. |
| HMI: {Version} | Detected version of the machine's user interface |
| Data as of: DD.MM.YYYY | Most recent change in the process data folder |
| loaded temporarily, not saved | The data exists only in a temporary store for this session. |
| for this session only - install the “Database” plug-in to save | The Database plug-in is missing. Nothing is stored permanently. |
| Temp copy | The modules read from the temp copy, not directly from the OEM folder. |
| (no machine data found) | No machine data could be determined in the folder. |
5.5 The “OEM folder & data paths” window
Open it with OEM folder & data paths … in the footer.
| Element | Meaning |
|---|---|
| OEM main folder | Path of the main folder, selectable with Browse …. When saving, HDTools checks whether the folder exists. |
| Copy data to a temp folder before reading | Protects against access conflicts when another program uses the original files. Recommended if the files may be locked. |
| Temp folder | Target of the copy. Empty means the default: the system temp folder, subfolder HDTools_temp. |
| Evaluate the PMC program when loading (symbols and network comments) | When loading, reads the PMC memory image of the FANUC control and stores symbols and network comments for look-up and mouseover. Without the tick, loading is faster; symbols that have already been saved are retained. |
| Also read revision states of the JUWOP workpieces (Archive/…/Stack) | Also reads the earlier revision states of the JUWOP workpieces when loading (folder Archive/<name>/Stack); the technology analysis can then evaluate every revision. Without the tick (default) only the current state is read: loading is faster and the database stays smaller. Revision states already read in are kept. |
| General data paths | Table of the subfolders searched during loading, with the columns Designation, Path (relative), Mode and Detected (preview) |
| Add row | Adds a further data path. |
| Preview: what is detected? | Searches the main folder and shows, for each data path, which file types would be detected. Nothing is imported. |
| Restore default | Resets the table to the verified default. |
| Import mnemonic export … | Reads in a mnemonic export from FANUC LADDER-III (.txt or .mne files). It answers which program block sets a PMC address. Before applying it, HDTools checks whether the export matches the machine. |
The data paths are relative to the main folder. By default, HDTools searches these paths:
| Designation | Path |
|---|---|
| Process data | data/Process |
| Value backups (complete/calibration/change-over) | data/ptp |
| Area backups | data/AreaStorage |
| NC programs | data/nc |
| Logs (events*.csv only) | data/Logs |
| Workpiece data (Wpdata) | data/Wpdata |
| PLC (FANUC Ladder) | data/Plc |
| CNC/PMC data (system) | data/System |
In addition there are further paths for the user interface, grinding wheels and workpiece programming. HDTools skips paths that do not exist. The mode per path determines how it is searched: “Detect automatically (default)” recognises each file by its content, “Ignore (do not search)” skips the path, “Fixed: …” treats all files in it as one fixed type, for special cases.
Caution: Changes to the data paths apply only to the current session. At the next program start the default applies again. Only the main folder, the temp settings and the PMC option remain saved. Click Save to apply the changes.
5.6 Loading individual files and the machine number
If a module loads a single file or a single folder via its own button, HDTools does not know the machine. It then asks for the machine number in the window “Which machine does the data belong to?”.
- Check the suggestion in the “Machine number” field. HDTools fills it in if it detects the number from the file or a machine has already been selected. Known numbers are in the selection list; type in a new one.
- Click Read in, or Cancel if nothing is to be loaded.
- With a machine number, the data passes through the same import as an OEM folder. If the Database plug-in is installed, it is stored permanently.
- If the field remains empty, HDTools loads the data into a temporary inventory for this session only. Nothing is saved.
The machine concerned is then the current source for all modules.
5.7 What the “Database” plug-in changes
Without the Database plug-in, HDTools stores nothing permanently. All imports and views then run via a session data set in main memory that is discarded on exit. The start page and the window “Which machine does the data belong to?” point this out. All other modules work nevertheless.
Only the installed plug-in enables the database file. Loaded machines are then retained and grow with each load. In addition, the following are then possible:
- Load machines from the database into all modules again without reading the OEM folder again,
- Maintain the designation, number and additional data of a machine and delete machines,
- Create and restore backups,
- synchronise the stock with the server.
Operation is described in the chapter on the Database module. Install the plug-in in the plug-in store. After the automatic reload of the plug-ins, HDTools then switches to the database file. The database is located in %LOCALAPPDATA%\HDTools\HDTools\databases.
5.8 Synchronisation with the central server
In the Database module, Synchronise … sends the processed state of your machines to the central server. The transfer goes in one direction only, from your computer to the central server, and never starts automatically. Before starting, HDTools asks “Transfer N machine(s) to {Adresse}?” and names the last synchronisation.
Transferred are processed data per machine, no individual measured values:
- Machine header with number, designation and master data,
- Measurement series with daily aggregates (smallest, largest and mean value per day),
- Value backups with their values,
- History and events,
- Cycles with the individual steps,
- Availability figures per calendar week,
- Text sources of NC programs and workpiece files for the technology analysis, limited in size per file.
HDTools first asks the central server what is already there and sends only what is new. Clicking again never does any harm. If the transfer is interrupted, what has already been transferred is retained and the next click fetches the rest. At the end, “Synchronise” shows for each machine what was newly transferred. The central server recognises your computer by its hardware ID.
5.9 Database backup
The database is a single file. If a third-party program damages it, for example a cloud synchronisation, the data is unusable. That is why HDTools creates backups.
- Automatic: before larger write runs, if the last backup was more than 12 hours ago. Three backups are kept. Both values can be changed in the configuration file.
- Manually: in the Database module via Status & backups … with Back up now.
- Restore: Restore from backup … installs the selected backup. The current state is set aside, not deleted.
- Move: Move to a safe location … moves the database to a location without cloud synchronisation. The old file is only renamed (extension “.alt_…”). A restart is then required.
At start, HDTools checks whether the database is in a synchronised folder or on a network drive and then offers to relocate it. If you decline, HDTools does not ask again at every start.
5.10 Feedback to the central server
With Send feedback in the sidebar or with Ctrl+Shift+F, you report an error, ask a question or make a suggestion. You do not need a licence for feedback. A module that is currently open is already preselected under “Concerns”.
- In the “New feedback” tab, select the type: Report an error, Ask a question, Suggestion / request or Other.
- Check “Concerns” and enter a subject (at least three characters) as well as a description. The e-mail address is voluntary and serves only for queries.
- Under “Include”, select what is transmitted: System info (version, plug-ins, Windows, language), Log (end of hdtools.log, user name removed) and a screenshot of the HDTools window. With Another file … you attach further files. A maximum of five attachments is possible in total; the log and the screenshot count as well.
- Click View what will be sent to see in advance exactly what will be transmitted. Save as file … generates a ZIP file for passing on instead.
- Click Send. Nothing is transmitted without this click.
On success, HDTools states the number of the report. If the central server cannot be reached, HDTools stores the report in the outbox and sends it automatically at the next start. Logs can contain OEM paths and machine numbers. Attachments are deleted 90 days after the report is closed, the report itself after one year.
In the event of an unexpected error, HDTools shows the window “Unexpected error” with Report … and Close. Even then, nothing is transmitted until you click Send.
5.11 Replies to your reports
In the “My reports” tab, you see all reports from this computer with their status and responses. There you send an addition with Send response, query the status with Update, and Send now pushes out reports that have been left waiting. HDTools signals a response from the central server on the start page with a pill: “Response to your report #N” for one response, “N new responses to your reports” for several. A click on the pill opens “My reports”. HDTools checks five seconds after start, provided reports have already been sent from this computer, and after that at most once a day.
6. CSV preparation module – reading, displaying and evaluating process data
The CSV preparation module displays measurement series as curves. You can load variables of the machine from the database, read in your own CSV files or import measurement data in Q-DAS format. In addition, the module calculates the machine capability (Cm and Cmk) of a variable.
6.1 Prerequisites and data source
| Source | How the data get into the module |
|---|---|
| Measurement series of the machine | Load the OEM folder on the start page. The measurement series are then available for selection in the Category: field. |
| Single CSV file | Import single CSV… button at the top right. |
| Q-DAS measurement data | Import Q-DAS… button at the top right. .dfq or the pair .dfd and .dfx are permitted. |
The module has four tabs: Import & mapping, Variables & chart, Capability (Cmk) and Raw data.
6.2 Loading the machine's measurement series
- On the start page, load the OEM folder.
- Open the CSV preparation module.
- In the Category: field, select a measurement series. The number of values and the format are shown after each name.
- The module assigns the columns automatically and creates the variables. If the assignment is not recognised, proceed as in the section on your own CSV file.
To the right of the field, it states how many measurement series exist and where they come from. If there are no measurement series, load an OEM folder or import a CSV file.
6.3 Importing your own CSV file
- Click Import single CSV… and select the file. The module detects the separator (comma, semicolon, tab) by itself. It skips lines that begin with #.
- Switch to the Import & assignment tab. A suggestion is already selected under CSV format. You can change it.
- In long format (one row per measured value), each row contains the value of one variable at one point in time. Under Column mapping (long format), assign the columns: Variable:, Time/date:, Value: and optionally Description (optional):.
- In wide format (one column per variable), each column is a variable of its own. Under Column mapping (wide format), select the time column and tick the columns that are to be adopted as variables. With All and None you set all ticks at once.
- If required, enter a pattern under Date format, for example %d.%m.%Y %H:%M:%S. If the field is left empty, the module detects the format itself. Detect format suggests a pattern.
- Click Process data → create variables. Below it, it states how many variables and valid measured values were detected.
After the first successful assignment, HDTools asks which machine the data belongs to. With a machine number, the data is stored permanently. Without a machine number, it applies to this session only. Afterwards it is also available in other modules.
Note: The module remembers the selected columns and the date format for the next import.
6.4 Importing Q-DAS data
- Click Import Q-DAS… and select one or more files.
- The module creates a variable for each characteristic. It transfers tolerance limits and nominal size to the Capability (Cmk) tab.
- After the import, the Capability (Cmk) tab opens automatically.
6.5 Displaying variables
- Switch to the Variables & chart tab. You get there directly via the Chart button in the Import & assignment tab.
- Under Select variables:, tick one or more variables.
- In the Chart assignment per variable: table, you define the plot group and the scale for each variable. Each plot group is drawn as a separate chart, one below the other. With Shared, the variables of a group share one Y axis; with Separate, the variable gets its own axis.
- Click Create chart.
- Under Chart options, at Legend label:, you set whether the legend shows the Designation (default) or the name of the variable.
Limit period: Under Limit period, select the option By points (index) or By date/time. For points, enter Start point: and End point (-1 = to end):. For date/time, enter From: and To:. The fields are linked: if you change one, the other updates. Then click Create chart again.
6.6 Zooming, panning and tooltip
| Action | Effect |
|---|---|
| Drag with the mouse | Drag a rectangle and enlarge the section. A flat rectangle enlarges only the time, a narrow one only the values. |
| Mouse wheel | Zoom in or out around the mouse position. |
| Shift + drag or middle mouse button | Pan the section. |
| Double-click | Show all. |
| Mouse pointer over the curve | A box shows the designation, timestamp and value of the nearest measuring point. The point is marked with a ring. |
In addition, there is the toolbar above the chart. If zoom or pan is active there, you operate the chart via the toolbar.
For a variable with Separate scale, you can shift the curve vertically to separate it from others. Select the variable under Movable line (separate scale): and drag it in the chart with the mouse button held down. Only the axis range shifts. The measured values remain unchanged. Reset shift restores the initial state.
6.7 Statistics
Below the chart, after you click Update statistics, Statistics (selected variables) shows for each variable Variable, Description, Count, Min, Max, Mean and Std. dev. The values apply to the set period. The standard deviation is calculated with n-1.
6.8 Calculating machine capability
The Capability (Cmk) tab calculates Cm and Cmk of a variable as in qs-STAT.
- At Variable:, select the variable.
- Enter Lower limit (LSL):, Upper limit (USL): and Nominal value:. For Q-DAS data, the fields are already filled. Empty fields mean no specification. The module remembers your entries for each variable.
- Set the required minimum values at Limit Cm ≥ and Limit Cmk ≥. The default is 1.67 in each case.
- Leave Time range as in the 'Variables & chart' tab ticked if only the period set there is to count.
- Click Calculate capability.
6.9 Reading the result
The Parameter and Value table shows, among other things, count n, mean x̄, standard deviation s (n-1), minimum, maximum, range R, x̄ − 3s and x̄ + 3s. This is followed by the limits, Cm and Cmk with the respective limit value, the number of values outside the tolerance and the expected proportion outside in ppm. The last row Result reads capable or not capable.
The following applies: Cm = (USL − LSL) / 6s. Cmk is the smaller of (USL − x̄) / 3s and (x̄ − LSL) / 3s. With only one limit, only Cmk is calculated. The result is capable if Cmk and, where present, Cm reach their limit values.
The chart on the right shows at the top the course of values over Measurement no. with upper limit, lower limit, target, x̄ and x̄ ± 3s. Below is the histogram with a normal distribution curve.
Below the table are notes from the module. The calculation expects at least 25 consecutive values, preferably 50. With fewer values, a warning appears. The module also warns if the Jarque-Bera test rejects the normal distribution (p below 5 %). Cm and Cmk are then only of limited validity.
The Raw data tab shows the loaded table. A maximum of 2000 rows is displayed.
6.10 Tips and troubleshooting
Tip: If no variable appears after loading, check in the Import & assignment tab whether the correct format (Long or Wide) and the correct columns are selected, and click Process data → create variables again.
Note: If the message “Please process data on the 'Import & assignment' tab first.” appears, no variables have been created yet.
7. Cycle time module – analysing cycle times
The Cycle time module evaluates the machine's cycle logs. It shows how the cycle time is distributed over main time, non-productive time, loading and dressing, and displays each machining step as a bar. Use it to detect fluctuations in the cycle time or to calculate the output.
7.1 Prerequisites and data source
The cycles come from the export files of the control. When loading the OEM folder, HDTools reads them once and stores them in the database. The module reads the cycles of the current machine from this database. You set the data folder (default data/Process/CycleTime) in the start menu under OEM folder & plug-in paths. All cycle files of a workpiece are loaded, including those from the Archive and Current subfolders.
A dictionary assigns a description and category to the step codes. It is already provided. Without a dictionary entry, the category of a step remains ?. You load your own dictionary via Load custom dictionary (CSV) ....
The module has two tabs: Workpiece history and Step chart.
7.2 Operation
- On the start page, load the OEM folder. Alternatively, click Load OEM folder … in the Workpiece history tab and select the OEM main folder.
- At Workpiece:, select a workpiece. The number of cycles is shown after the name. The cycles appear in the table.
- Alternatively, click Select workpiece folder manually .... HDTools then asks for the machine number and reads in the folder.
- Under Hide:, hide cycles that do not belong in the evaluation: Warm-up, Test run and Incomplete cycles. Hidden rows remain in the table but are greyed out.
- Select the display: Average (filtered cycles) averages over all cycles that are not hidden. With Selected cycles (ticks in the table below), only the rows ticked in the table count. One tick shows a single cycle; several ticks give the average of this selection.
- Click Show in step chart. The module switches to the Step chart tab.
Two settings in the header affect the evaluation. Both re-evaluate the selected workpiece immediately.
| Setting | Meaning |
|---|---|
| Evaluate raw data from | Rows whose distance to the previous row is smaller are discarded. Default 0.3 s. |
| Loading steps | none, FANUC or Siemens. Mixes the PLC loading steps into the timeline. They count as loading. |
7.3 Reading the result
The cycles table has four columns.
| Column | Meaning |
|---|---|
| File | Name of the cycle file. The checkbox in front of it selects the cycle. |
| Cycle type | Detected automatically from markers in the log: grinding, test run, warm-up, dressing or incomplete. A cycle without a marker appears with ?. |
| Ground on | Start and end of the cycle. |
| Total time [s] | Duration of the longest channel. The channels run in parallel and are not added. |
If a cycle carries several markers, warm-up takes precedence over test run, dressing and grinding. A cycle is considered Incomplete if it has no machining step, for example after an abort during workpiece change.
Under Key figures (filtered cycles), the module calculates the output. The cycle time is the median of the cycles that are not hidden. The proportionate dressing time is added. Pieces per hour = 3600 s / (cycle time + dressing share) × utilisation. The module extrapolates day and year with Working hours/day: and Working days/year:.
- Utilisation: in percent.
- Proportional dressing time: With automatic, the module determines it from the dressing cycles of the same workpiece in the period of the parts. Without the tick, enter the value in seconds yourself.
- The result line states the cycle time, the dressing share and the piece counts per hour, day and year.
In the Step chart tab, the module shows all machining steps for each channel (Channel 1, Channel 2 ...) as horizontal bars. The bar length is the duration in seconds. Below it, a small graphic summarises loading, non-productive time, productive time and total.
| Category | Meaning | Hatching |
|---|---|---|
| Productive time | Machining | Points |
| Non-productive time | Positioning and similar | Diagonals |
| Loading | Loading and unloading | Checks |
| Dressing | Dressing operations | none |
The colours depend on the selected design. Steps without a dictionary entry appear grey. For multiple cycles, the module forms the mean for each step position.
With Minimum duration per step [s]: you merge short steps. Their duration is added to the previous step. The value 0 shows all steps individually. If the chart is larger than the window, scroll in the tab.
7.4 Viewing a cycle in the HMI
Click a cycle in the table (or tick it) and then click Analysis (HMI) …. The HMI module opens at the time at which this cycle was ground. Prerequisites are a loaded OEM folder, an installed HMI module and a cycle with absolute timestamps.
7.5 Tips and troubleshooting
Note: The message “No cycles in the database” means that no cycles are stored for the current machine. Load an OEM folder or select a workpiece folder manually.
Tip: Hide warm-up, test run and incomplete cycles before you assess cycle time and piece counts. These cycles are not part of production.
8. JUPRO2 History module – variable values and change history
The JUPRO2 History module shows what values variables of the control have and when and by whom they were changed. Use it to check whether a backed-up value still applies or has been changed in the meantime.
8.1 Prerequisites and data source
The module evaluates two sources together. Each of the two is optional.
| Source | Content |
|---|---|
| Value backup (memorydump, justagedump, Komplett.xml, Eichen.xml, ChangeOver.xml) | Many variables, but only the state at the time of the backup. |
| History (one XML file per variable) | Every value change with time and user, but only for variables with a managed history. |
When the OEM folder is loaded, HDTools reads in both sources and stores them in the database. The module then shows the merged evaluation of the current machine. The variable descriptions come from the variable database.
8.2 Operation
- On the start page, load the OEM folder. The header line then names the machine, backup and extent of the history.
- Alternatively, load sources by hand: Select history folder ... for a folder with history files, Select value backup ... for a single backup. If you load both one after the other, you also get the combined evaluation without any machine reference.
- Open the Variable overview or Chronology tab.
The complete backup memorydump has no file extension. If necessary, select in the file dialog All files (*).
8.3 Variable overview tab
At Status:, select a filter and enter a search text at Variable/description contains:. Click Show.
| Column | Meaning |
|---|---|
| Variable | Name of the variable. |
| Description | Text from the variable database. |
| Access path | Access path of the variable according to the backup. |
| Value (backup) | Value at the time of the backup. |
| Value (history) | Last value known from the history. |
| Status | Result of the comparison, see below. |
| Last change | Time of the last change. |
| Chg. | Number of changes. |
| User | User of the last change. |
The status has four values.
| Status | Meaning |
|---|---|
| Backup valid | The saved value remains valid. |
| Backup outdated | A more recent history value deviates. The row is highlighted in reddish. |
| only in backup | There is no history for this variable. |
| only in history | The variable is not in the backup. The row is highlighted in yellowish. |
Above the table, it states how many variables are displayed and how many of them have an outdated backup value. A click on a column heading sorts the table. At most 5000 rows are displayed. Otherwise, narrow down the filter.
8.4 Chronology tab
Use From: and To: to set the period, optionally filter under Variable/description contains:, and click Show. The table shows time, variable, description, value and user. If there are more than 5000 hits, the module shows the newest and points this out.
With only one value backup, the chronology remains empty. A backup is a snapshot without a history. The values then appear in the Variable overview.
Note: All timestamps are shown by the module as local time, as displayed in the control. It omits the time zone suffix in the files.
Tip: For a machine of the older generation, use the JUPRO1 history module.
9. JUPRO1 History module – variable values of older machines
The JUPRO1 History module corresponds to the JUPRO2 History module but is intended for machines of the older generation before JUPRO2. The difference lies in the format of the history: there it is in a single file containing the changes of all variables. With JUPRO2 each variable has its own file.
9.1 Prerequisites and data source
| Source | Content |
|---|---|
| JUPRO1 history | An XML file with the change history of all variables. |
| Value backup | As in the JUPRO2 history module: memorydump, justagedump, Komplett.xml, Eichen.xml or ChangeOver.xml. |
Both sources are optional. If HDTools finds a JUPRO1 history when loading the OEM folder, it stores it in the database automatically and the module reads it from there.
9.2 Operation
- On the start page, load the OEM folder.
- Alternatively, click Select JUPRO1 file ... and select the history file. An XML file is expected whose elements carry at least the attributes what (variable), val (value) and when (timestamp).
- Optionally, load a backup as well with Select value backup ....
- Work in the Variable overview or Chronology tab.
9.3 Reading the result
The tabs work as in the JUPRO2 history module. The filters are Status:, From:, To: and Variable/description contains:, triggered with Show. The statuses are Backup valid, Backup outdated, only in backup and only in history. The display is limited to 5000 rows.
Two columns have different names: in the Variable overview the third column is called Access path/channel, in the Chronology the last column is called Channel/origin.
If you load only the history file without a backup, the overview shows all variables with the status only in history. If you load only a backup, the chronology remains empty.
Note: The module rejects a file without readable entries with the message “No JUPRO1 history found”.
10. Dashboard module – live overview and change monitoring
The Dashboard module shows the current state of the loaded machine and updates itself. The second tab monitors the machine's data folders for changes and makes backup copies of changed files. The data is only read. Ongoing machine operation is not disturbed.
10.1 Prerequisites and data source
First load the OEM folder on the start page. Without a loaded folder, the module reports “No OEM folder/machine loaded.”
The module has two tabs: Live and Track.
10.2 Live tab
- Open the module. The display runs immediately. The button shows ● Live: on. A click on it stops the update (○ Live: off).
- At Interval (s):, set the time between two polls (2 to 60 seconds, default 10).
- With Reconnect source, you reconnect the data folder of the loaded machine.
- In the list Select JUPRO variables, tick the variables you want to observe. The field Search (name/description) … filters the list.
The update runs only while the module is visible.
10.3 Display in the Live tab
| Area | Content |
|---|---|
| Machine | Machine number, type / designation, customer, NC, HMI, active workpiece and cycle time (last part). |
| Observed JUPRO variables (current value) | For your selection: variable, description, value, time and user. |
| Current temperatures | Temperature values with description, value and time. The module detects them automatically from the process data. |
| Most recent DPRO data available | The most recently read lines (variable, time, value, description), newest first, a maximum of 200. |
The status bar shows the time of the last update and the number of new rows.
10.4 Saving to the database
The module can regularly transfer the raw data of the loaded folder into the machine database. In this way the inventory also grows by data that has arisen since loading.
- Back up automatically to database: switch on and off. The default is on.
- Interval (min): time between two backups (1 to 120 minutes, default 5).
- Back up now: backs up immediately, regardless of the interval.
The result appears after Database:.
10.5 Track tab
Track monitors all data folders entered under OEM folder & plug-in paths. If a file changes, the module creates a backup copy with a timestamp. This produces a searchable history of what changed when, regardless of the file format.
- Switch Automatic monitoring on or off. The default is on.
- Set Interval (min): (1 to 120 minutes, default 5).
- Click Check now to check immediately. The status bar states the number of new, changed and deleted files.
- Filter with Category: and the search field Search (file name) ….
The table shows the last 500 entries with the columns Time, Category, File, Change (New, Changed or Deleted) and Size. For changed files, the size before and after is shown.
- Open backup folder: opens the folder with all backup copies.
- Open the backup of the selection: opens the folder with the copy of the marked row. There is no copy for deleted files.
The monitoring continues in the background as long as HDTools is open, even if you use another module.
Note: The message “No JUPRO history variables found” means that there is no history in the data folder. The variable list then remains empty.
11. HMI module – viewing values at a point in time
The HMI module shows which values were active at a freely selected point in time. Use it to reconstruct the state of the machine at a particular point in time when there is a problem. To do so, you create variables as freely movable tiles.
11.1 Prerequisites and data source
The module shows data that other modules have already loaded: the process data, the cycles from the Cycle time module and the history from the JUPRO2 History module. First load the OEM folder on the start page. The variable descriptions come from the variable database.
For a point in time, the module shows the last value at or before that point in time. If there is none, it takes the next one after it.
11.2 Operation
- Click Update data if the loaded data has changed, for example after a change of workpiece. The header line names the sources taken over.
- At Point in time:, select date and time. You open the calendar via the date field. For the time, click a segment (hour, minute, second) and type or use the arrow keys.
- With ◀ and ▶, you jump to the previous or next timestamp of the data. The slider runs across all timestamps. Next to it is the position, for example “Timestamp 3/900”.
- Click Add variable …. In the dialog, search for the variable name or description and select the variable by double-click or with OK.
- Arrange the tiles: drag them with the mouse button held down. They snap into a grid of 10 pixels. A right-click opens Remove tile.
In the search dialog, variables with loaded data appear at the top and are marked. A value can only be displayed for these. You set the sorting under Sorting: Data first, A-Z, Last changed ↑ (oldest first) or Last changed ↓ (newest first).
11.3 Reading the result
On the left, the module shows two areas.
- Cycle time (workpiece/cycle closest to the point in time): workpiece, file and cycle type of the cycle that was running at the point in time. Behind it, “active” is shown, or “closest” if no cycle was running. Below it, the total duration per channel is shown with the breakdown by category. A small step chart shows the steps of the cycle.
- DPRO values ≠ 0 (at the point in time): all variables whose value was not equal to 0 at that point in time, with variable, description, value and time.
The tiles are on the right. A tile shows the description (or the variable name) at the top, the value with four significant digits in the middle, and variable, source, time and age of the value at the bottom. The age appears, for example, as “38 min ago”, “12 s after” or “exactly at the point in time”. If data is missing, the tile shows “—” and “no data”. As the source, the module prefers the process data, otherwise the history.
11.4 Saving layouts
You save the arrangement of your tiles under a name.
- Save: overwrites the layout selected in the Layout: field.
- Save as …: asks for a name.
- Delete layout: deletes the selected layout after a confirmation prompt.
- You load a layout via the Layout: field.
The module restores the layout last used at the next start.
11.5 Tips and troubleshooting
Tip: From the Cycle time module, you jump directly to the point in time of a cycle with Analysis (HMI) ….
Note: If the message “No data has been loaded yet.” appears, first load the OEM folder and then click Update data.
12. Comparator module – comparing variable values
The Comparator module places the variable values from two sources side by side and marks deviations. Use it, for example, to compare the currently set state with a backup or the values of a workpiece.
12.1 Prerequisites and data source
First load the OEM folder on the start page or select a machine in the “Database” tile. The module reads the sources from the database of the current machine. For each side, you select one of these sources:
| Source | Content |
|---|---|
| Currently set (history) | Last value per variable from the history. |
| Backup (with designation and date) | Full or adjustment backup, for example memorydump. |
| Workpiece: Name | The values stored for a workpiece. |
12.2 Operation
- Under Page 1 and Page 2, select one source each. Below it, the number of variables the source contains is shown.
- As the default, the module sets page 1 to Currently set (history) and page 2 to a backup, otherwise to the first workpiece.
- Select the filter: Show all or Deviations only.
- If required, tick Hide NA. Then only variables that occur in both sources remain.
- Optionally, enter a search text under Variable/description contains:.
With Update sources, you re-read the available sources.
12.3 Reading the result
The table shows the variable, description and the values of both sides. The name of the selected source serves as the column heading of the values. Deviating rows are highlighted in colour. Clicking a column heading sorts. You drag the column widths at the dividing lines.
If a variable is missing on one side, NA appears there. This counts as a deviation. The module compares numbers numerically. The values 1.0 and 1 are therefore considered equal. All other values are compared as text.
Next to the filter, it states how many variables are displayed and how many of them deviate.
Tip: Select Deviations only and Hide NA to quickly see the values that have actually been changed.
Note: If no machine is selected, the module reports this. Then first load an OEM folder.
13. Before/after module – change check
The Before/after module shows, for each variable, which value was active at a point in time, which was before it and which came after. Use it to check, when there is a problem, whether someone changed something shortly before or after a particular point in time.
13.1 Prerequisites and data source
The data basis is the history from the JUPRO2 History module, with one value change per line and the user name. The module takes over the entries that are loaded there. If no entries are loaded there, it reports “No history loaded.” Then load the history in the JUPRO2 History module, for example via Select history folder ..., and click Update data here.
13.2 Operation
- Click Update data. The header line names variables, changes and the period covered.
- At Point in time:, select date and time. The default is the time of the last change.
- With ◀ and ▶, you jump to the previous or next change in the history. Next to it is the position, for example “Change 5/120”.
- Select the filter: All variables or Only variables changed within the window.
- At Time window ±, set the width of the window in hours. The default is 24 h.
- Optionally, enter a search text under Variable/description contains:.
13.3 Reading the result
| Column | Meaning |
|---|---|
| Variable | Name of the variable. |
| Description | Description of the variable. |
| Before | The value the variable held before the active value. |
| At the point in time | The value that was active at the selected point in time. This is the last change at or before that point in time. |
| After | The value of the first change after the point in time. |
Each cell shows the value, below it the time of change and the user. If a value is missing, NA appears there. This is the case, for example, if there was no further change after the point in time.
The module highlights changes within the time window in colour: the active value and the value after it, provided they lie at most the set time window from the point in time. Next to the filter, it shows how many variables are displayed and how many of them have a change within the window.
Tip: Select Only variables changed within the window and a small time window to see only the variables that were changed around the point in time.
Note: The point in time can also be set from other modules. The module then adopts it by itself.
14. NC module – loading and translating CNC programs
The NC module loads a CNC program as a text file and explains variables as well as G and M codes in it. You select the control (Siemens, Fanuc or Heidenhain) for this. Comments in the program can additionally be translated between German and English. Use the module when you have to read a program written by someone else and want to know what individual lines do.
The module has two tabs: Code analysis and Databases.
14.1 Prerequisites / data source
| What | Origin |
|---|---|
| NC program | Any text file; the dialog suggests *.nc, *.mpf, *.spf, *.h, *.txt and *.cnc |
| Explanations | Database files in the folder databases of the program (variables per control, comment dictionaries) |
| Additionally for Fanuc | Pointer table and descriptions of the macro variables of the selected machine (from the OEM folder, see below) |
14.2 Operation
- Open the Code analysis tab.
- At Control:, select the suitable control. The list shows all controls for which an active database exists. The module remembers the control used last.
- Click Import NC file… and select the file. The original code appears on the left, with the number of lines above it.
- HDTools asks which machine the data belongs to. Enter a machine number and click Read in if the file is to be stored permanently in the machine database. If the field remains empty, the file applies only to this session.
- At Comments:, select the desired translation: no translation, German → English or English → German.
- Click Analyse / translate code. The annotated code appears on the right.
Note: Without a loaded file, clicking Analyse / translate code only shows the prompt to import an NC file first.
14.3 Reading the result
For Siemens and Heidenhain, each line for which the database knows something is followed by a note in square brackets. It contains the recognised words with their explanation, for example G1 = linear interpolation with programmed feed. Lines without a match remain unchanged.
Comments (text in brackets or after a semicolon) are at the end of the line. If a translation is selected, the original comment, an arrow and the translation appear there. The translation works word by word with a simple dictionary. It only replaces words that are in the dictionary and is therefore not a full-text translation.
With Fanuc the module goes further. It places the description directly after each macro variable, for example #5041(description). What the database does not know appears as (unknown). The local variables #1 to #33 are deliberately left undescribed.
If the program accesses variables via the pointer table (indirect addressing), the meaning of the access appears in brackets at the end of the line. PMC addresses such as D5746 or R440, provided they are in the database, are appended at the end as [D5746 = text]. Long descriptions are shortened in the process.
For the pointer table to be found, the machine's OEM folder must be set (button Select OEM folder & load data … in the start menu). Without a pointer table the analysis remains usable, but indirect accesses are then not resolved.
14.4 Managing databases
In the Databases tab, you see all database files found in a table with the columns Active, Type, File, Control / description and Entries. The type is either Variables or Comments. Below the table, it states how many files were found and how many of them are active.
- With the tick in the Active column, you switch a file on or off without deleting it. The state is retained after a restart.
- Several active files for the same control are merged.
- Import database… copies a JSON file into the folder databases and activates it. The module recognises by itself whether it is a variable database or a comment dictionary. Unknown formats are rejected. If the file already exists, you are asked before it is overwritten.
- Reload databases re-reads all files. Use this if you have changed a file by hand in the folder.
Tip: To compare two competing definitions for the same control, simply switch off one of the two files.
15. NC trace Siemens module – program calls from the trace log
While processing a part program, Siemens controls can write a trace log as a CSV file, for example TraceSLCapPPLog.csv. It contains one row for each executed program step. The NC trace Siemens module uses it to show, for each channel, which NC program was called when and for how long. Optionally, a click on a row opens the associated NC program at the matching position.
15.1 Prerequisites / data source
| What | Explanation |
|---|---|
| Trace CSV | Semicolon-separated, values in quotation marks, at least eight columns. The header row timeStamp, clock, diff, duration, ch, prog, seq, record is expected |
| NC folder (optional) | Folder with the NC source files. The programs may be located in subfolders. .spf and .mpf files are taken into account |
15.2 Operation
- Click Load trace CSV ... and select the trace file. Afterwards, the number of loaded rows appears next to the button.
- HDTools asks which machine the file belongs to. With Read in, you save it under a machine number; with an empty field, it applies only to this session.
- For each channel in the file, a separate tab appears, labelled with Channel and the channel number. The tabs are in numerical order.
- If you want to see the program text, click Select NC folder (optional) ... and select the folder with the source files. The status line gives the number of programs found.
- In the channel tab, click a row of the table. The program appears on the right, with the matching line highlighted. Above the program is the file path with the line number.
Note: Without a selected NC folder, nothing happens when you click a row. This is intended.
15.3 Reading the result
Each channel tab shows the table on the left and the program text on the right.
| Column | Meaning |
|---|---|
| Time | Timestamp from the CSV, taken over unchanged |
| Duration (ms) | Duration of the step in milliseconds, unchanged from the CSV |
| Program | Name of the called program |
| Location (record) | The NC line actually executed, usually with the block number at the beginning |
The module finds the program file via the program name. A name such as _N_ABR_CUT_S1UR_1_SPF leads to the file ABR_CUT_S1UR_1.spf (upper and lower case do not matter). Within the file it looks for the line with the same block number, for example N029410. Lines without a block number are found only if their text matches exactly.
If something is not found, this is stated above the program window: either that the program is missing in the NC folder, or that the row for the block number was not found.
15.4 Variables and M functions in the tooltip
In the Location (Record) column and in the program window, variable arrays (for example ABR_RCX[3]) and M function calls (for example M[0]=(83)) are highlighted in colour. If you move the mouse over them, the description appears as a tooltip. The rules are the same as in the Siemens macro mouseover module.
The descriptions come from two database files. Their size is shown in the line below the NC folder. If you have changed one of the files by hand, click Reload variable databases.
Tip: If the time columns are empty or shifted, first check whether the CSV really uses semicolons as separator and has at least eight columns. Rows with fewer columns are skipped.
16. NC trace FANUC module – sequence analysis and material removal rate
The NC trace FANUC module reads FANUC NC programs (high speed cycle and superimposed DIN/ISO program), follows all subprogram and macro calls and lays out the complete sequence as a table. For each feed motion block it also calculates the material removal rate Q'w. Main channel and super channel are displayed separately. Use the module when you want to check the material removal rate at which a program actually infeeds.
16.1 Prerequisites / data source
| What | Explanation |
|---|---|
| NC folder | Folder with the FANUC files. .dat, .src and .txt are taken into account, also in subfolders |
| Program header | The first non-empty line of a file must begin with the O number, for example O1234. Files without an O number are ignored |
| Super channel | Files whose name contains _super are regarded as super channel programs, all others as main channel |
| Pointer table and backup (optional) | Loaded from the OEM folder or by hand, see below |
16.2 Operation
- Click Select folder … and select the folder containing the programs. The status bar at the bottom edge states the number of main channel and super channel programs found.
- HDTools asks which machine the folder belongs to. With Read in, you save it under a machine number; with an empty field, it applies only to this session.
- At Start program (O no.):, select the O number of the entry program. The list contains all numbers of the main channel. You can also type the number.
- At X mode:, select either Radius (X=0 = centre) or Diameter. This determines how the programmed X value is converted into the workpiece diameter.
- Click Load & analyse.
- On the left, check the variable values and add any that are missing. Then click Recalculate.
Note: The module remembers the settings (folder, start program, X mode and the presets) for the next start.
16.3 Reading the result
The evaluation consists of the channel tabs, the variable table in the left-hand area, the pointer table and the tab with the variables #800 to #899. They are described in the following sections.
16.4 Channels: main channel and super channel
On the right, each of the tabs Main channel and Super channel shows two tables. The start program is searched for in both channels. If it is missing in one, its table remains empty.
The upper Sequence table lists the flattened program sequence with the columns Program, Line, Depth and Command. Calls with M98 P... and G65 P... are followed and the called lines are inserted directly below. The Depth column uses arrows to show how deep the line is in the call tree. Feed movement blocks, that is, lines in which both X[ and F[ occur, are highlighted in colour.
The lower Q'w calculation (feed movement blocks) table contains one row for each movement block.
| Column | Meaning |
|---|---|
| Prog, line | Location of the block |
| X expression, X [mm] | The expression in X[...] and its calculated value |
| dw [mm] | Workpiece diameter. In radius mode twice X, in diameter mode equal to X |
| F expression, vfr [mm/min] | The expression in F[...] and the feed |
| ΔX [mm] | Difference from the X value of the previous block |
| Q'w [mm³/(mm·s)] | Material removal rate, calculated as vfr · π · dw / 60 |
| Missing vars | Variables whose value is missing for the calculation |
If a value cannot be calculated, a question mark appears in the cell and the row is highlighted in colour. The calculation evaluates expressions with the operations plus, minus, times and divided by as well as square brackets and variables.
A call with G65 additionally passes arguments to local variables. For example, G65 P9114 X10 Z20 sets the local variable #24 to 10 and #26 to 20. The module adopts such arguments as presets. If several G65 lines call the same variable with different values, the last value found applies.
16.5 Variable table in the left-hand area
The Variables (#numbers) table has the columns #No, Value and Comment. The values can be edited; a comma is accepted as the decimal separator. With + Row and − Row you add rows or remove the selected ones. Recalculate applies your changes to the Q'w tables without reloading.
When loading, the module fills the table from several sources. Assignments in the program and arguments from G65 calls always take precedence over the other sources:
- Assignments in the NC program (#33 = 1) and arguments from G65 calls
- calculated assignments that run via the pointer table (for example #23 = #[#10015+#22*#10016+49]), provided the required values are known
- Values from a loaded backup of the machine, but only for variables that the program actually uses
- Pre-fills from the third tab (see below)
If an assignment contains text in brackets (#33 = 1 (FAKTOR INFEED)), it appears as a comment. For values from the backup or from pointer table calculations, a note appears in the comment column. Below the table, the status line either reports All variables resolved. or names the missing variables.
16.6 Pointer table and backup
With Load pointer table… and Load backup…, you provide the machine's data. The line next to it shows what is loaded. When opening and when changing the NC folder, the module searches by itself in the OEM folder and in the parent folders of the NC folder.
- The pointer table is the file Zeiger.LST or Zeiger.src. In its comments, it explains which data area and which position are behind a calculated assignment.
- The backup consists of the files MACRO.TXT and PCODE.TXT (and RTMMACRO.TXT) of a data backup of the control, usually in the folder Data/System. They provide the real values of this machine's variables, for example for the base variables of the pointer table.
16.7 Tab with the variables #800 to #899
The third tab next to Main channel and Super channel lists the variables #800 to #899 with their descriptions. They are set externally and are not assigned in any NC program. That is why they are otherwise missing from the calculation.
The meaning of a number depends on the technology. Under Element type (#868): select a technology to restrict the table to it. Use Search: to filter by number or text, and Pre-filled only to show only ticked rows.
In the Pre-fill column, tick the box and enter a number in the Value column. Entering a value ticks the box automatically. #881 is pre-filled with 0 by default. If Pre-fill automatically when loading is active, the ticked values are added when a program is loaded, but only for variables that the program does not assign itself. Apply to the variable table, in contrast, also overwrites existing values. Reset restores the factory state.
Pre-filled rows are highlighted in green in the variable table so that you can see which values do not come from the NC program.
Caution: An invalid numerical value in the Value column is highlighted. The variable then remains unresolved in the Q'w calculation.
17. Siemens macro mouseover module – variables and M functions as a tooltip
When you hover over a variable or an M function call in Siemens NC code, the Siemens macro mouseover module shows you the description as a tooltip. You therefore no longer have to look up variable indices in the manual.
17.1 Prerequisites / data source
| What | Explanation |
|---|---|
| NC program | Text file; *.nc, *.mpf, *.spf, *.h, *.txt and *.cnc are suggested |
| Variable database | File nc_var_index_descriptions.json in the folder databases |
| M function database | File m_function_descriptions.json in the folder databases |
17.2 Operation
- Click Import NC file… and select the file. The code appears in the window, with the number of lines above it.
- HDTools asks which machine the file belongs to. With Read in, you save it under a machine number; with an empty field, it applies only to this session.
- Move the mouse over a colour-highlighted location. The description appears as a tooltip. While the mouse is stationary, it remains visible for up to 60 seconds.
- If you have changed a database file by hand, click Reload database. A line above the code window names both databases with the number of their entries.
17.3 Reading the result
Two kinds of locations are highlighted in colour. The colour follows the selected design.
- Variable arrays: name with index in square brackets, for example ABR_RCX[3] or ABR_RScheibe[IS,58]. System variables starting with $ are also recognised. Case does not matter when looking up.
- M function calls of the form M[0]=(83) or M[0]=QU(47). The M number is in the round brackets, so here M83 and M47.
The tooltip of a variable shows the name, the type and the dimension as well as the description for the index. For a variable with two indices, it points out that the first index is not relevant for the description. For an M function call, it shows the M number, the type and the description of the function.
This is how the index is resolved:
| Spelling | Meaning for the description |
|---|---|
| NAME[i] | The index i determines the description |
| NAME[a,b] | Only the second index b counts; the first has no significance |
| More than two indices | Only the last index counts |
| Index with identifier, for example WKZ_RDiarad[IDI,78+IS] | Only the number counts, here 78. The entry is displayed as WKZ_RDiarad[0,78] |
| Index without any digit | No description possible; the tooltip points this out |
If brackets are nested, for example A[(B[1,2]-1),3], the tooltip explains the variable under the mouse and not the outer one.
Note: If nothing is stored in the database for an entry, the tooltip says so explicitly: no description found or no description stored.
18. FANUC macro mouseover module – macro variables as a tooltip
The FANUC macro mouseover module is the FANUC counterpart of the Siemens macro mouseover. You load a FANUC NC or macro program and, when you hover over a macro variable, see its meaning as a tooltip. With the machine's pointer table, the module also resolves indirectly addressed accesses. With a backup it additionally shows the current value of the variable.
18.1 Prerequisites / data source
| What | Explanation |
|---|---|
| NC program | Text file; *.nc, *.cnc, *.txt, *.prg, *.src and *.pmc are suggested |
| Descriptions | File fanuc_makro_db.json in the folder databases |
| Pointer table (optional) | File Zeiger.LST or Zeiger.src, usually in the folder data/nc/Mem/source of the OEM folder |
| Backup (optional) | Files MACRO.TXT, PCODE.TXT and RTMMACRO.TXT of a data backup, usually in the folder data/System of the OEM folder |
When the module is opened, it looks for the pointer table and the backup itself in the OEM folder that is set (start menu, Select OEM folder & load data …). If none are found, load both by hand.
18.2 Operation
- Click Import NC file… and select the file.
- HDTools asks which machine the file belongs to. With Read in, you save it under a machine number; with an empty field, it applies only to this session.
- At Variable range:, select one of the entries Show NC + PCODE, NC macro variables only or PCODE macro variables only. The two variable ranges overlap in their numbering. Which one applies depends on the program type.
- Move the mouse over a variable such as #516. The tooltip appears and, while the mouse is stationary, remains visible for up to 60 seconds.
- For indirect addressing, click Load pointer table…. If no table was found, select the file Zeiger.LST or Zeiger.src yourself.
- For the current values, click Load backup… and select the folder containing MACRO.TXT and PCODE.TXT.
- If you have changed the description file by hand, click Reload database.
18.3 Reading the result
All variables with # are highlighted in colour. The tooltip explains, depending on what you hover over:
- Simple variable such as #516: description from the database, separated by NC and PCODE. If a number has no individual entry, the tooltip shows the documented range, for example #5041 .. #5048 with the position of the variable within it.
- Bit access such as #109.3: The tooltip places the line for bit 3 first. If the bit is not documented individually, a corresponding note appears.
- Cross-channel access such as #020000598: The number has more than seven digits. The leading digits are the channel number, the last seven are the variable. Here it is variable 598 in channel 2, and the tooltip notes this.
- Indirect addressing such as #10003 + #[…]*#10004 + 6: With a pointer table loaded, the tooltip states the data area, the position and the meaning. After each text, the origin, machine or manual, is given in square brackets. Texts from the machine take precedence. If no text is available, the output reads (Description missing).
- Directly addressed legacy programs such as #20006: with a loaded pointer table, the module converts the address back to data area, block and position.
With a backup loaded, the tooltip additionally contains a line such as Current value in backup (NC): 6000. This is the value of the one machine from which the data backup originates. For pointer accesses, the value appears only if the block number is already known. Runtime values, for example a measuring point number in #1, cannot be resolved in advance.
Two rows below the buttons show the state. One gives the number of data areas and position texts of the pointer table and how many accesses are described in the loaded file. The other gives the number of backup variables.
18.4 Annotated version
With the Annotated version button (toggle), the module shows the program with resolved addresses. The descriptions appear below each line with indirect addressing. They begin with ;; so that they stand out from the original text. The original text remains unchanged. A second click switches back to the original.
With Save annotated version…, you save this version as a text file. As the name, the program suggests the name of the loaded file with the suffix _kommentiert.txt.
Note: Both buttons are active only when a pointer table is loaded. Saving additionally requires a loaded program.
19. Fanuc operator history module – event log of the control
The Fanuc operator history module reads the plain-text event log (OPRT log) of a Fanuc control and sorts it into four categories: signal edges, macro variable changes, alarms and work offset shifts. Use it if you want to trace what was operated or reported at the machine and when.
Caution: The file format has not been verified against a genuine export file. If the results are unexpected, compare them with the original log.
19.1 Prerequisites / data source
| What | Explanation |
|---|---|
| OPRT file | Text file of the control; *.txt, *.log and *.oprt are suggested. There is no automatic storage location; you select the file by hand |
| Signal directory (optional) | File with semicolon as separator and a header line. The columns are Call, Status, Kanal, Describtion and Direction. Suggested are *.dfg, *.csv and *.txt |
Every line of the OPRT file must begin with a keyword:
| Start of line | Category |
|---|---|
| DI/DO | Signal edges. Each word ending in _on or _off produces its own event |
| Macro | Change of a macro variable |
| Alarm | CNC alarm. The line must have more than four words separated by spaces; shorter ones count as incomplete |
| Work | Work offset |
All other lines are skipped and counted in the status bar.
19.2 Operation
- Click Select OPRT file ... and select the file. If lines were detected, the status bar names the file name and the number of events per category. If the module finds no matching line, the message No events found appears.
- If you want to see channel, description and direction for signals, click Select signal directory ... and select the directory. An OPRT file that is already loaded is then evaluated again.
- Switch between the tabs DI/DO, Macro, Alarm and Zero point.
- To filter, type a text at Contains: and press Enter or click Show. Each tab filters separately. Case does not matter.
- Clicking a column heading sorts the table.
19.3 Reading the result
Above each table, it states how many entries the filter leaves out of all entries. At most 5000 rows are displayed; a note points this out if applicable. In this case, refine the filter.
| Tab | Columns |
|---|---|
| DI/DO | Row, time, signal, state, channel, description, direction |
| Macro | Row, time, text |
| Alarm | Row, date, time, text |
| Zero point | Row, time, text |
The Line column is the line number in the OPRT file. For the signal, the name is shown without the extension; the state is on or off. Channel, description and direction are filled only if a signal directory is loaded and the signal appears in it. For DI/DO, the text filters by both the signal name and the description.
The module finds the time in the line by itself. It recognises the formats DD.MM.YYYY-hh:mm:ss, DD.MM.YYYY hh:mm:ss, YYYY-MM-DD hh:mm:ss and YYYY/MM/DD hh:mm:ss. For alarms, date and time appear as two consecutive words. The time information is removed from the text of the line. If no time is recognisable, the cell remains empty.
20. FFT module – waviness and frequency analysis
The FFT module helps you assign waviness on the workpiece or a line in the vibration spectrum to a cause. You enter your machine with shafts, units and bearings, enter observed frequencies or orders, and receive a list of possible causes with frequency in Hz and as an order at the workpiece. For two candidates that lie close together, the module names the test that separates them. The module also contains a balance quality calculator, the reading of measurement files, a checklist for causes without a frequency and a report.
The module calculates with the common frequency calculator core of HDTools. The HDTrace and the web application use the same formulas and the same knowledge (spindle types, machine templates, limit curves, documented cases).
20.1 Prerequisites / data source
| What | Origin |
|---|---|
| Machine and spindle type | Templates from the supplied knowledge database |
| Wheel Ø and v_max | Master data and grinding wheel database of the current machine (button from Master data) |
| Workpiece and wheel speed | Technology analysis of the current machine (button from Technology analysis) |
| Observed lines | Manual entry or measurement file (*.csv, *.txt, *.tsv, *.dat) |
| Saved state | Per machine in config.json, added cases in databases/fft_wissen_ergaenzungen.json |
20.2 Operation
The module has five tabs: Process & machine, Analysis, Measurement file, Balance quality and Report & knowledge.
- In the Process & machine tab, select a machine type and a spindle type and click Load template. If there is no matching template, leave – no template – selected and enter the shafts yourself. Spindle types without bearing data are marked with (cage estimate only).
- Check the Shafts and auxiliary units table and adapt the speeds to your machine. With + Shaft, + Auxiliary unit and Remove row, you change the rows.
- Take over data from HDTools where available: from Master data enters wheel Ø and v_max into the shaft with the role Grinding spindle. from Technology analysis reads the grinding programs of the current machine, lets you select a workpiece and takes over the workpiece speed in the last pass and in the working pass as well as wheel speed or cutting speed.
- In the General group, enter mains frequency, mains harmonics, the reference shaft (identifier), the evaluation range up to order and the resolution [orders].
- Switch to the Analysis tab. Click + Line, enter the value and unit (Hz or Order / UPR), optionally amplitude and note, and click Evaluate.
- Save the state with Save. When evaluating, it is stored automatically for the current machine.
The Shafts and aggregates table has the following columns:
| Column | Meaning |
|---|---|
| Identifier, name | Designation of the shaft or unit |
| Role | Grinding spindle, workpiece, dresser, pump, hydraulics, belt drive, belt or feed. The role determines how the frequency behaves when speeds change |
| n [rpm], v [m/s], Ø [mm] | Speed, alternatively peripheral speed and diameter |
| Teeth/pistons, designation | Number of teeth, vanes or pistons, for example for pumps |
| FU | yes, if the unit runs via a frequency inverter |
| Harmonics | Number of harmonics calculated |
| Operating speed [rpm], measuring speed [rpm] | further speed steps of the same shaft |
Tip: For pumps and hydraulic units, enter the number of pistons or vanes. Otherwise the multiple of the pump frequency is not found with few harmonics.
In the Bearings table, enter the number of rolling elements Z, diameters d and D, contact angle α and cage factor. The number of rolling elements alone is sufficient for estimates; with d, D and α, the calculation is exact. If only the cage factor is known, the cage serves as the search range. Estimated values are marked as (estimated) in the evaluation.
20.3 Reading the result
After Evaluate, you see a chart on the right and the results area below it.
- At the top is the reference speed: Reference of the orders names the reference shaft with its speed. One order corresponds to this speed divided by 60 in Hz. If a workpiece shaft with the role Workpiece and a speed is missing, the module reports No reference speed and cannot form orders.
- For each observed line, a candidate table appears with the columns Candidate, Family, Hz, Order and Δ Hz. Matches are highlighted in green. The tolerance corresponds to one order resolution of the measurement in Hz, at least 0.05 Hz. Without a reference speed, two percent of the frequency applies.
- Below the table is the conclusion in one sentence. If the result is ambiguous or there is no match, the conclusion is marked red. An arrow lists the tests that separate two candidates.
- Under Speed ratios and notes, you find findings such as integer speed ratios, proximity to the mains, order series (modulation) and lines above the evaluation range.
The chart shows the observations as black lines and the candidates as coloured lines by family. Estimated candidates are dashed. Without observations the chart shows the first 60 calculated lines. The area above the evaluation range is grey.
The families behave as follows:
| Family | Change workpiece speed | Change spindle speed |
|---|---|---|
| constant-frequency source (pump, hydraulics, conveyor) | Order shifts | Order stays |
| spindle-bound | Order shifts | Order shifts |
| workpiece-bound | Order stays | Order stays |
| dresser-bound | Order shifts | Order shifts, changes after dressing |
| feed-bound | Order shifts | Order stays |
| electrical (mains) | Order shifts | Order stays |
20.4 Evaluating the shift test
If you have already carried out a trial, enter it in the group Evaluate shift test (trial already carried out). Enter the order and speed before and after, select under What was changed either Workpiece speed changed or Spindle speed changed and click Evaluate trial.
- When the workpiece speed is changed, the result is fixed in time, workpiece-related or unclear. The tolerance is 5 percent. If the speed is changed by less than 2 percent, the test is unclear.
- When the spindle speed is changed, the result is spindle-related, not spindle-related or unclear.
20.5 Measurement file
In the Measurement file tab, you read in measured values and take over the peaks as observations.
- Select the type of file: Order spectrum, Frequency spectrum [Hz] or Time series (acceleration sensor). For a time series, enter the sampling rate unless it is stated in the file.
- Optionally select a limit curve.
- Click Open measurement file… and select the file. The module detects column separators and decimal characters by itself.
- Check the chart, the peak table with amplitude and prominence and the message about the limit curve. If the curve is exceeded, the module names the order range, maximum and permitted value. The limit curve is checked only for order spectra.
- Click Take peaks as observations. The eight strongest peaks appear in the Analysis tab.
20.6 Balance quality
The Balance quality tab checks the grinding wheel and the dressing wheel separately. The balance quality G is checked at working speed and at the maximum permissible speed, because a manufacturer's report at a different speed says nothing about operation.
- Optionally, click Ø and v_max from grinding wheel database and select the wheel.
- In the Grinding wheel group and in the Dressing wheel group, enter diameter, weight, measured residual unbalance and working speed.
- Enter either the maximum permissible peripheral speed or the maximum permissible speed. If the speed is 0, the module calculates it from v_max and Ø. Optionally, enter the speed at the unbalance measurement and a differently agreed nominal value.
- Click Calculate balance quality.
The module calculates G [mm/s] = (residual unbalance [g·mm] / weight [g]) · π · n [rpm] / 30. The target value is 0.4 mm/s up to Ø 100 mm, above that 1.0 mm/s, unless a target value has been agreed. For each speed step the result is shown with OK (green) or not OK (red), plus the eccentricity e in µm. If the residual unbalance was measured at a speed that deviates by more than 10 percent from the maximum permissible one, a note appears.
20.7 Report and knowledge
In the Report & knowledge tab, you document the analysis.
- Fill in the report header (mandatory details): title, operator, and the details on the measuring instrument, amplitude or double amplitude, FFT factors R, N0 and K, evaluation range, workpiece speed during the measurement, workpiece, measuring point and grinding wheel.
- In the group Causes without a frequency - checked?, tick off the points that have been checked. The list names, for example, installation and external vibration sources, air in axes or hydraulic oil, stiff movement and stick-slip, valve defects, system stiffness, runout of grinding arbor and grinding pin as well as chatter and structural resonance. The calculator cannot derive these causes from a frequency.
- In the group Procedure, tick off the steps that have been completed.
- Click Create HTML report… or Create Markdown report… and select the storage location. The file name begins with FFT-Protokoll, followed by machine and timestamp. The HTML report opens after saving and contains checklist, procedure steps and the chart.
You file a clarified case in the group Add a clarified case to the knowledge base. Enter a key, the cause, the remedy and the lesson (one per line) and click Store case. The case is saved in databases/fft_wissen_ergaenzungen.json.
Caution: When storing a case, do not enter customer names, persons, or machine or order numbers. The case is subsequently also available to other programs.
20.8 Tips and troubleshooting
Note: If Please enter at least one shaft with speed appears during evaluation, the Shafts and aggregates table is empty.
Tip: If no orders appear, check whether the reference shaft (identifier) matches the identifier of the workpiece shaft and whether its role is Workpiece.
Tip: If two candidates lie within the measurement resolution, the stated test helps. Then evaluate it in the Shift test.
21. Thread grinding module (ball/V-thread) – distortion, correction and Q'w
The Thread grinding module combines the calculations for grinding ball threads and V-threads in one module with six tabs. You enter thread data, wheel profile and process data once on the start page. The other tabs read these values from there. You use them to simulate the profile distortion caused by the wheel, calculate correction values for the machine and the specific material removal rate Q'w, and compare thread and wheel shape.
21.1 Prerequisites / data source
| What | Origin |
|---|---|
| Thread and process data | Manual entry on the start page or adoption from a workpiece file |
| Workpiece file | File with the extension .ejw or .jwa2, via file dialog or from the machine database (the files are archived automatically during the OEM import) |
| Wheel profile | Import file (*.prf, *.csv, *.txt, *.dat) or the synthetic standard profile |
| Measured values for the correction | Manual entry, import from a measurement report PDF or derivation from a workpiece profile |
21.2 Operation
Proceed in this order:
- In the Start page tab, select the thread type: Ball thread or V-thread. Depending on the type, the block Workpiece data (ball thread) or Thread data (V-thread) appears.
- Enter the thread data. Alternatively, load a workpiece file in the Workpiece tab and apply the data with the buttons → Fill the Q'w tab from the workpiece or → Fill the distortion tab from the workpiece.
- Under Tool data (grinding wheel), in the Wheel profile import area, load a wheel profile with Import …. The module detects the format by itself. With Reset, you return to the synthetic standard profile. The Source line shows where the profile comes from.
- Under Process data, enter grain size and peripheral speed, and under Dressing wheel data, enter the dressing wheel radius.
- Switch to the desired tab and click Update or Calculate there.
Note: The tabs do not recalculate automatically. If you have changed something on the start page, click Update or Calculate again in the target tab.
21.3 Start page
The start page contains all shared inputs.
| Block | Content |
|---|---|
| Thread type | Selection of ball thread or V-thread |
| Workpiece data (ball thread) | Ball Ø Dw, radius R (nominal), radius top (nominal), contact angle (nominal), diameter BCD, diameter (ball inscribed circle), diameter (small), lead, pitch diameter; optionally workpiece profile with Import … and Remove |
| Thread data (V-thread) | Flank angle, pitch/lead and profile depth of the synthetic profile, pitch diameter, lead, minor diameter, nominal major diameter, swivel angle ψ, reference diameter D_ref (measurement), simulation diameter D, sweep from diameter, sweep to diameter |
| Tool data (grinding wheel) | Wheel profile import and process data: grain size of CBN coating, peripheral speed v_c, swivel angle ψ, reference Ø D_ref, simulation Ø D, sweep from Ø, sweep to Ø |
| Dressing wheel data | Dressing radius (diamond), dressing wheel diameter and the dimensions of the dressing tip (type, a, a2, b, b2, c, d, dn, r1, r2, r shoulder, r tip) with sketch |
A sketch belongs to each block on the right. When you click in an input field, the sketch highlights the associated label. For the ball thread workpiece data, an auxiliary image also shows the selected dimension. Conformity and opening angle for the simulation are derived from radius R, ball Ø and contact angle and are not entered.
With Set ψ = λ, you set the swivel angle to the lead angle λ = arctan(lead / (π · pitch diameter)). The wheel then stands at the thread flight. With Set ψ = 0, you reset it.
The dressing radius limits the achievable contour: a round dressing tool cannot produce a finer contour than its own tip radius. The dressing wheel diameter is currently not used in any calculation.
Note: For V-thread, the swivel angle ψ, reference diameter, simulation diameter and the sweep limits from the block Thread data (V-thread) apply.
21.4 Workpiece
The Workpiece (…) tab reads a workpiece file and shows the programming. Click Open workpiece file (.ejw/.jwa2) … or select a machine and a workpiece from the machine database and click Load. The status line names the workpiece and the detected type. If it is not a thread grinding workpiece, the line indicates that Q'w and distortion are not applicable.
On the left, the tree shows machining operations: workpiece, jobs, machining groups and operations. On the right appear the details of the selection, for an operation for example the thread data (reference point, pitch, number of starts, division, direction of rotation, cutting edge) and the Infeeds table with passes, infeed amount, coolant pressure, oscillation, both sides and speeds together with the infeed graphic. Under Operation, select the desired operation before you apply the data to Q'w or Distortion.
21.5 Thread distortion
The Thread distortion tab shows which profile the wheel produces on the thread when it is not swivelled by the lead angle and when its diameter decreases through dressing. Click Update. Four charts show the ground axial profile at the reference and simulation diameter, the profile deviation, the maximum deviation over the wheel diameter (tool life) and the required profile correction of the wheel.
The text line states the lead angle λ, the swivel angle ψ, the maximum profile deviation in µm and the flank angle errors on the left and right. For the ball thread, the contact angle span in mrad follows. For the V-thread, the basic distortion due to the lead at ψ = 0 and the check of the outside diameter against the nominal value follow.
21.6 Correction (best fit)
The Correction (best fit) tab calculates six correction values (dX_L, dZ_L, dR_L, dX_R, dZ_R, dR_R) for the ball thread from six measured values: contact angle, radius R and radius top, each -up- and -down-. The calculation is purely geometric.
- Select the source of the actual values: Enter manually or Derive from the workpiece profile (requires an imported workpiece profile). With Import CALYPSO report (PDF)… you read in the values from a measurement report. The module shows a preview before applying them.
- In the CMM values table (characteristic / actual / nominal / UT / LT), enter the values. As long as Take nominal automatically from the start page is ticked, the nominal column comes from the start page.
- Under Nominal geometry, check the ball Ø. It comes from the start page as long as Take ball Ø automatically from start page is ticked. Optionally, enter the core land depth -up- and -down-.
- Under Current correction (from the machine screen), enter the currently set correction values. With Weighting for each parameter, you control how strongly the calculator avoids that parameter. 0 means freely usable.
- Click Calculate.
For each parameter, the result shows the current and new value and the change, then for each characteristic the actual, target and simulated value after the correction, as well as the weighted residual deviation before and after. Two charts show the groove profile before and after as well as the actual, target and simulated value.
Caution: Radius Top cannot be changed with any of the six correction values. It depends on the dressing tool and the grain radius. The module marks these rows accordingly.
21.7 Q'w calculation
The Q'w calculation tab calculates the specific material removal rate per pass. Lead, pitch diameter, wheel diameter and peripheral speed come from the start page and appear in the row From start page. You enter only the total allowance here.
In the table, enter for each pass infeed aₑ [mm], feed [mm/min] and count. With Row + and Row − you change the rows; Default values (screenshot) loads an example table. The other columns are calculated by the module:
| Column | Calculation |
|---|---|
| n_W [1/min] | Feed / pitch |
| v_W [m/s] | π · pitch diameter · n_W |
| Q'w [mm³/(mm·s)] | aₑ · v_W |
| Q'w profile | Q'w · profile factor, where the factor is profile width divided by developed arc length of the wheel profile |
| Q'w ax | aₑ · feed / 60, simplified comparison value |
| h_eq [µm] | Q'w / v_c |
Below, the summary shows the sum of infeed times number compared with the total stock and the maximum Q'w. The bar chart shows Q'w and Q'w profile per pass. Transfer infeeds and feed rates in the Workpiece tab (…) with → Fill Q'w tab from workpiece; the total stock is entered halved.
21.8 Detail view
The detail view compares a thread profile with a wheel shape. The two blocks Thread (nominal) and Wheel can be set freely: pressure angle, width/pitch, tip diameter, root diameter, root radius (target) and tip radius (target); for the wheel additionally the dressing radius and grain size. The display updates with every change, or alternatively with Update detail view. Take from the start page copies flank angle, pitch, minor diameter, nominal outside diameter, dressing radius and grain size once.
The text line states the differences in pressure angle, profile depth and width. The contour can never become finer than the larger of the dressing radius and the grain radius (grain size divided by 2000 in mm). If a target radius is limited by this, (limited by dressing radius) or (limited by grain radius) appears next to it.
21.9 Tips and troubleshooting
Tip: If the distortion reports groove depth greater than shaft radius, the nominal or core diameter on the start page is too small.
Note: If the ball does not match radius R and contact angle, the sketch shows the message Check ball diameter/radius R/contact angle.
Tip: If the measurement report PDF cannot be read as text (scan or photo), the module attempts image recognition. This requires an installed Tesseract OCR.
22. Ball thread module – workpiece, Q'w and profile distortion
The Ball thread module offers the ball thread calculations as a single module with three tabs: Workpiece, Profile distortion and Q'w calculation. You will find the same functions, supplemented by the correction (best fit) and the common start page, in the Thread grinding module. Use the Ball thread module if you only need a quick distortion or Q'w calculation for a ball thread.
22.1 Prerequisites / data source
| What | Origin |
|---|---|
| Workpiece data | Workpiece file .ejw or .jwa2 via file dialog or from the machine database |
| Wheel profile | synthetic ball groove profile or import (*.prf, *.csv) |
22.2 Operation
- Open the Workpiece (…) tab. Click Open workpiece file (.ejw/.jwa2) … or select a machine and a workpiece from the machine database and click Load. On the left, the Machining tree shows the programming; on the right are the details for each operation.
- Under Operation, select the desired operation and click → Fill the Q'w tab from the workpiece or → Fill the distortion tab from the workpiece.
- In the Profile distortion tab, you set the ball Ø Dw, the conformity (r/Dw) and the opening angle under Wheel profile, or load a profile with Import profile (PRF/CSV) …. With synthetic, you return to the standard profile.
- Under Thread & wheel, enter the nominal diameter d0, the pitch (lead), the pitch diameter, the swivel angle ψ as well as reference Ø D_ref, simulation Ø D, sweep from Ø and sweep to Ø. Set ψ = λ sets the wheel to the lead angle, ψ = 0 resets it.
- Click Update.
- In the Q'w calculation tab, under Process quantities, enter pitch P, pitch/pitch-circle Ø d, grinding wheel Ø, peripheral speed v_c and total allowance, and fill in the table for each pass.
22.3 Reading the result
The Profile distortion tab shows charts of the ground axial profile, the profile deviation, the maximum deviation over the wheel diameter and the required profile correction. The text line states the lead angle λ, the swivel angle ψ, the maximum profile deviation in µm at the simulation diameter, the flank angle errors on the left and right, and the contact angle span in mrad.
The Q'w calculation tab works as described in the Thread grinding module: from the infeed and feed per pass it calculates n_W, v_W, Q'w, Q'w profile, Q'w ax and h_eq. Use Row +, Row − and Default values (screenshot) to edit the table.
Note: If the module reports Groove depth greater than shaft radius (d0 too small), increase the nominal diameter d0.
23. V-thread distortion module – profile distortion in the V-thread
The V-thread distortion module simulates how the profile of a V-thread (V profile, for example a 90° threaded spindle) changes when the wheel is not swivelled by the lead angle. The distortion arises from the lead alone and increases when the wheel diameter becomes smaller during dressing. A detail view also compares thread and wheel shape without this calculation. The same function is available in the Thread grinding module with further tabs (correction, Q'w) and a common start page.
23.1 Prerequisites / data source
You do not need a file. By default, the wheel profile is a synthetic V profile. Alternatively, import a profile as a point list or as a file with two columns (lateral position, depth) with the extensions .dat, .csv or .txt.
23.2 Operation
- Open the Distortion analysis tab.
- Under Wheel profile, set Flank angle (synth.), Pitch (synth.) and Profile depth (synth.) of the synthetic profile. Or click Import profile …. With synthetic (V shape) you return to it. The Source row shows the active profile.
- Under Thread & wheel, enter: pitch diameter, pitch (lead), core diameter (minor Ø), nominal outside diameter (major Ø), swivel angle ψ, reference Ø D_ref (measurement), simulation Ø D, sweep from Ø and sweep to Ø. Set ψ = λ sets the wheel to the lead angle, ψ = 0 resets it.
- Click Update.
- If required, open the Detail view tab. In the blocks Thread (nominal) and Wheel, set pressure angle, width/pitch, tip Ø, root Ø, root radius and tip radius, and click Update detail view.
23.3 Reading the result
The distortion analysis shows the axial profile at the reference and simulation diameter, the deviation curve, the tool life sweep over the wheel diameter and the required profile correction. The text line states:
- the lead angle λ and the swivel angle ψ,
- the basic distortion caused by the pitch at ψ = 0 in µm, compared with a pure plunge at the same diameter,
- the maximum profile deviation between reference and simulation Ø,
- the flank angle errors left and right,
- a check of the outside diameter from core diameter plus twice the profile depth compared with the nominal value.
The detail view shows the thread at the top and the wheel geometry below it, and states the differences in pressure angle, profile depth and width.
Tip: If ψ equals λ, the pitch causes no basic distortion. Use Set ψ = λ to check how much the distortion decreases with a swivelled wheel.
Note: If the minor diameter is 0 or less, the module reports Minor diameter must be > 0.
24. Crowning of the bearing seat module – swivel angle and dressing profile
The Crowning of the bearing seat module calculates how a grinding wheel on the swivel axis (B axis) has to be plunged and dressed so that a bearing seat gets a crowned or conical shape. The wheel is narrower than the bearing seat and plunges twice. This produces three areas: on the left only plunge 1, in the middle the overlap, on the right only plunge 2. The module supplies the swivel angle per plunge, the dressing profile, the centre distance X and the shape actually produced, including its deviation from the target shape.
24.1 Prerequisites / data source
You do not need a file. You enter the nominal dimensions of the bearing seat and the machine values by hand. Optionally, you take over wheel dimensions from the central master data. You read in measured values from a table or from an image or PDF of a measurement report.
24.2 Operation
The module has six tabs: Design, Grinding wheel (…), NC macro O1515, Envelope line, Measurement report (image) and Simulation. There is help for every field: click the field and press Help or F1. For geometric quantities a drawing appears.
- In the Design tab, under Configuration, select the number of spindles (2 spindles or 3 spindles) and, with Display in chart, which spindle the chart shows. All active spindles are calculated independently.
- In the block Element (bearing seat), enter diameter, width, target shape, crowning, crowning relative to and taper (over B). The target shape is circular arc (ball radius), parabola or roof shape (two cones).
- Enter the blocks for adjusting the grinding spindle (X and Z of the pivot point, angle zero point), for the grinding wheel (flange to abrasive layer, wheel width, wheel Ø) and for the NC technology (total taper, element width, end positions X, additional swivel angle, taper correction).
- In the Plunges (B axis) block, define Z left and Z right. With Suggest positions, the module sets both plunges symmetrically so that the ground contour ends flush at both bearing edges. In doing so, it takes into account that the swivelling shifts the contact point of the wheel.
- Tick Profile the wheel (dress concave) if the crowning is to result from the wheel shape and swivelling together. Without the tick, the swivelling alone must suffice. With the roof shape, profiling is switched off.
- With Dressing profile as CSV … you export the dressing profile.
Caution: For Crowning referred to, check whether the value applies to the radius (one-sided) or to the diameter (2×). At the diameter, only half acts at the radius. This is the most common error at the machine; if in doubt, read the drawing.
24.3 Reading the result
For each spindle, the area below the inputs shows:
- the swivel angle B axis left and right in degrees,
- the axis distance X left and right as well as the difference in µm,
- the dressing profile with the hollow depth in µm and, if available, the hollow radius,
- the result at the workpiece with crowning and taper compared to the nominal value and the maximum form deviation in µm,
- the three ranges of the plunges and the overlap.
Warnings appear in a separate row. Unusable inputs report Input unusable. Four charts show, among other things, the resulting envelope line and the form deviation actual minus nominal. If the deviation is below a small limit, the chart states that the target shape is met practically exactly.
24.4 The other tabs
In the Grinding wheel (…) tab, you enter all geometry parameters of the wheel by hand: basic dimensions d1 (wheel Ø) and l1 to l4, edge zones and radii a1 to a5, concave form b1 and b2 as well as diameter limits (Ø warning limit, Ø minimum, Ø for speed). Derived quantities appear on the right. → apply to the design sets the wheel width and wheel Ø of the target spindle to l2 and d1. Example values restores the example data set. If the Master data module is available, there is also the button Load from master data, which overwrites five fields.
The NC macro O1515 tab contains the macro variables of the grinding program: workpiece and crowning (among others #816 grinding width, #20 crowning), infeed and fine correction (among others #19 swivel-in position, final dimension X left and right, additional angle B right) as well as limits and checks (fault limits, max. crowning, min. reference width, max. angle, #815 cutting edge). On the right, the module shows live what the control calculates from them, including the checks in which the program aborts with an error number. Select the target spindle at the top and apply the values with → apply to the design. Example values restores the example run.
In the Envelope line tab, you back-calculate a measured envelope line. Enter the measuring points in the Measuring points table (Z [mm] and value) using Row +, Row − and Insert values …. Or, in the Digitise plot (PNG / PDF) area, load a measurement plot with Load image or PDF …, set two known axis points with Set point 1 in the image and Set point 2 in the image, and read out the curve with Scan curve → table. Under Nominal contour and evaluation, define the evaluation width B, nominal crowning, nominal taper, nominal radius at centre, the bearing centre and the strategy (Correction (#20 carries on) or Full crowning via the concave form). Nominal from the NC tab applies the nominal values. After Evaluate, the module fits a best-fit curve through the points, reads off the actual characteristic values and suggests corrected machine values and a dressing specification. → Correction into the NC tab applies them.
In the Measurement report (image) tab, you read in an entire report sheet with actual curve, nominal curve and tolerance band. Click Load report … (with page selection for a PDF), enter the evaluated width and the tolerance ± under Scale (instead of calibration clicks), and check the curve colours. With Suggest from image, Actual ⇄ tolerance and Back to factory detection, you correct the colour assignment. Evaluate delivers a finding with possible causes; → Correction into the NC tab and Points → Envelope line tab apply the result.
In the Simulation tab, you move a slider through the double plunge cycle: position and swivel in on the left, transfer, position and swivel in on the right. The upper part of the image is schematic; the swivel angle is shown greatly exaggerated. Only the lower contour is to scale in µm and may be used to read off values.
Tip: Before loading a measurement report, crop it to the chart area only. A partially cropped second chart otherwise ends up in the same colour detection.
25. Material removal rate module – Q'w calculator
The Material removal rate module calculates feed rates and infeeds from given values for the specific material removal rate Q'w. It replicates a proven Excel template, including Excel's rounding behaviour (ROUND and ROUNDDOWN). Use it when, for a shoulder with diameter and face shoulder, you want to define feed rates that achieve a desired Q'w.
25.1 Prerequisites / data source
The module needs no file. You enter all values by hand. The results update with every change.
25.2 Operation
The module has three tabs: Q'w overview and two further tabs for the two calculation variants (the tab names end in /U and /RP (QP grinding)).
- In the Q'w overview tab, define the max. diameter in the Table group. The table generates rows from this diameter downwards in 5 mm steps to 10 mm.
- In the Feed X (mm/min) group, enter the max. displayed feed and three values for QW´ column. In the Feed Z (mm/min) group, the factor (wear edge) is added.
- In the first additional tab (ending /U), you enter Geometry dimensions (D1, D2, Z1, Z2 (min), Allowance X, Residual allowance X, Allowance Z, Residual allowance Z, Radius SS), Material removal rate (Rating QW, QW´ Dmr, QW´ Face type 1-2, Max factor, QW´ Face type 3, Effective height) and Technology data (Speed).
- In the second additional tab (ending /RP (QP grinding)), you enter Geometry dimensions (D1, D2, Allowance X, Allowance Z, Radius SS, L, H, Max factor) and Material removal rate (Rating QW, QW´ Dmr in X, QW´ Dmr in Z, QW´ Face in X, Max factor in X, QW´ Face in Z, Effective height).
Enter all Q'w values in mm³/(mm·s). D1 and D2 are the two diameters of the shoulder, Z1 and Z2 axial lengths. Stock and remaining stock are the material to be removed radially (X) and axially (Z) respectively. Radius SS is the corner radius at the shoulder. The rating QW in percent scales the Q'w values together, factor max limits the utilisation factor at the engagement angle.
25.3 Reading the result
In the Q'w overview tab, the table shows the feed for each column per diameter. The module calculates the feeds as follows:
| Direction | Formula |
|---|---|
| X | vf = Q'w / (π · d) · 60, limited to the maximum displayed feed |
| Z | vf = (Q'w · wear land factor) / (π · d) · 60, limited to the maximum displayed feed |
The two further tabs show a table with the columns Quantity, Value and Unit, divided into sections.
- In the tab with the ending /U: Technology data (F word C axis as speed times 360 in degrees/min, time/revolution as 60 divided by speed plus 0.004 s), values for calculation (total removal volume, DX due to radius, start pos., D_Min, allowance at DRM, volumes per mm, engagement angle, utilisation factor with raw and limited value), then infeed in mm/rev and feed in mm/min for diameter (T1-T2-T3 in X), face shoulder (T1-T2 in X) including max allowance and face shoulder (T3 in Z).
- In the tab with the ending /RP (QP grinding): Calculation section with DX due to radius, start pos., D_Min, allowance at DRM, volumes, utilisation factors and engagement angle, then feed in X and feed in Z for the diameter, feed and start DRM for the face shoulder, for plunging in X, as well as feed Ta and feed Tb for lateral face grinding in Z.
Note: As in the Excel template, in the /RP tab the feed in X from 35 mm/min and the feed in Z from 450 mm/min are limited to this value. The upper limit is checked against the value without rating; only below it does the rating in percent take effect.
Tip: If the table reports inputs implausible, check diameters and radii for impossible combinations.
26. Fluid technology module – flow and pressure loss
The Fluid technology module calculates flow, pressure loss and flow regime (laminar or turbulent) of a hydraulic or pneumatic line. You model the line as a sequence of sections connected in series. You can calculate the flow from a given pressure or, conversely, the necessary pressure loss from a desired flow. You enter the line geometry by hand.
26.1 Prerequisites / data source
The module needs no file. You need the inner diameters and lengths of the line sections, the number of bends and T-pieces and, for hydraulic oil, the viscosity and density.
26.2 Operation
- Under Medium, select Hydraulic oil / water or Compressed air (pneumatics).
- Under Calculation direction, select Pressure → flow or Flow → pressure.
- Set the medium parameters. For hydraulic oil, select a preset (HLP 32, HLP 46, HLP 68 or water) and adjust the kinematic viscosity ν (mm²/s) and density ρ (kg/m³) if needed. For compressed air, enter the inlet pressure p1 (bar, absolute) and the temperature (°C).
- Enter the default. The label adapts to the medium and direction.
- Enter the line in the Line sections table (in series). Add section creates a row; Remove selected section deletes the selected row.
- Click Calculate.
The specification has the following meaning depending on the medium and direction:
| Medium | Direction | Default |
|---|---|---|
| Hydraulic oil / water | Pressure → flow | Available pressure drop Δp (bar) |
| Hydraulic oil / water | Flow → pressure | Target flow Q (l/min) |
| Compressed air | Pressure → flow | Final pressure p2 (bar, absolute, < p1) |
| Compressed air | Flow → pressure | Target standard volume flow Qn (Nl/min) |
The Line sections table has the columns Designation, Diameter (mm), Length (m), Roughness (mm), 90° bends, 45° bends, T-pieces and Other ζ sum. A new section starts with 10 mm diameter, 1 m length and 0.03 mm roughness. For bends and T-pieces, the module uses fixed resistance coefficients: 0.3 per 90° bend, 0.2 per 45° bend and 0.3 per T-piece (straight through). You enter all other components, for example valves, as a sum in Other ζ sum. With ζ reference values … you open a list of typical values:
| Component | ζ |
|---|---|
| 90° arc, rounded | 0,3 |
| 45° arc | 0,2 |
| T-piece, run | 0,3 |
| T-piece, branch | 1,3 |
| Check valve | 2,5 |
| Ball valve, fully open | 0,05 |
| Sudden narrowing | 0,5 |
| Sudden widening | 1,0 |
26.3 Reading the result
Above the table is the overall result in one row: for hydraulic oil the flow in l/min or the required pressure drop in bar, for compressed air the standard volume flow in Nl/min or the final pressure p2. The result table gives for each section:
| Column | Meaning |
|---|---|
| Section | Designation |
| v (m/s) | Flow velocity |
| Re | Reynolds number |
| Flow regime | laminar (Re below 2320) or turbulent |
| Δp (bar) | Pressure loss of the section |
| Share (%) | Share of the total loss |
| Note | for oil friction and local losses, for compressed air inlet and outlet pressure |
The module calculates the pipe friction coefficient in the laminar range according to Hagen-Poiseuille (λ = 64 / Re) and in the turbulent range according to the Swamee-Jain approximation of the Colebrook equation. For hydraulic oil and water it adds friction and individual losses of all sections; the volume flow is the same in all sections. For compressed air it uses a simplified isothermal model without an acceleration term; the mass flow is conserved in series.
Caution: The compressed-air model is sufficiently accurate for small to moderate pressure ratios (p1/p2 up to about 1.3). It is not suitable near the speed of sound or at very large pressure ratios.
Note: The module does not calculate with a temperature-viscosity conversion. If required, enter the viscosity at the actual operating temperature directly.
Tip: For compressed air and the direction Pressure → flow, the final pressure p2 must be lower than the inlet pressure p1, otherwise a warning appears. An invalid numerical value is reported together with the row concerned.
27. Events module – evaluating alarms and messages
The Events module shows the alarms and messages of a machine in chronological order. You see what was reported when and which messages occur particularly often. Use it if you want to trace a fault or find recurring messages. Optionally, you can also show the machine's operation log.
| Detail | Content |
|---|---|
| Data source | The events of the currently loaded machine from the database. During import, the file eventHistory.dat (alarms and messages) as well as JUPRO_II.log and changeOver.log (operation log) are read. |
| Load | On the start page, run Select OEM folder & load data, or load a machine in the “Database” tile. |
| Additional modules | For the jump functions, the modules HMI and Before/after must be installed. |
27.1 Operation
- Load the machine as described above. The module reads the data automatically when opened. Use Reload to refresh the display.
- At Source:, select what you want to see: Alarms & messages, Operating log (JUPRO II) or All.
- Restrict the period with From: and To:. Both fields have a calendar and are initially set to the entire period of the data.
- Enter a search text at Message contains: to see only matching rows. Case does not matter.
- Click an event in the list on the left. With Analysis (HMI) … you jump to the HMI module at the time of this event. With Before/after … you jump to the Before/after module and see who changed something around the event.
If you did not click an event before the jump, the message “Please click an event in the list first.” appears.
27.2 Reading the result
On the left is the chronological list with the columns Time, Type and Message. On the right is the ranking list with the columns Count, Type and Message. It counts how often a message occurs in the selected period. Both tables follow the filters.
Operating messages with a BM code appear in plain text, for example “BM0233 – Machine has reached dressing position”. If further details are available for a message, a tooltip shows them when you move the mouse pointer over it. At the top, next to Reload, are the number of events and the period. The messages from eventHistory.dat are also shown by the OEE module in its timeline.
Tip: The ranking on the right immediately shows which message the machine issues most often. Enter this message at Message contains: to see all points in time in the list on the left.
Note: If “No machine loaded (load an OEM folder).” appears, the import is missing. If “No events for machine …” appears, the database contains no entries for the selected source.
28. Servo Trace module – viewing and analysing axis recordings
During commissioning and troubleshooting, the control records axis signals at a high sampling rate, for example actual position, following error and torque. The Servo Trace module reads these recordings without manufacturer software, shows the channels together over time, calculates characteristic values and exports sections as a CSV file. In addition, you can send a recording to the HDTools central server for automatic analysis and read the report with the conspicuous ranges in the module.
| Detail | Content |
|---|---|
| File formats | Servo Guide (.gdt) and SINUMERIK Servo Trace (.xml). Several files can be opened and compared together. |
| View, characteristic values, CSV | The files are read directly; a connection to the central server is not required for this. |
| Requesting an analysis, “Analyses” tab | Needs a connection to the central server and a valid licence. The recording is transmitted packed for this purpose. |
| Version | The plug-in requires HDTools from version 1.0.0. |
28.1 Operation
- Click Open trace… and select one or more files with the extension .gdt or .xml. Files that cannot be read are listed in a message.
- On the left of the tree, one row per file appears with the channels. The columns are Channel, Type, Unit, Min, Max and Interval. Min and Max apply to the entire recording.
- Tick the channels you want to see. With All on and All off you set all ticks at once. Remove file takes the selected file out of the tree.
- At Display:, select the split: One chart per data type, One chart per unit, All in one chart or One chart per channel. Per data type prevents large position values from hiding small following errors.
- With Relative to start value, you subtract its first value from each channel. This makes absolute positions of different axes comparable. Under Time in:, choose seconds or milliseconds. Legend shows or hides the legend.
- Enlarge a section by dragging with the left mouse button held down. The mouse wheel zooms. With Shift+drag or the middle mouse button, you move the section. A double click or Show all displays the entire recording again.
- With Save as image… you save the chart as a PNG image.
- With Section as CSV…, you save the ticked channels in the visible time range at full resolution. The separator is the semicolon. With CSV with decimal comma, you choose the decimal character. The CSV file can, for example, be examined further in the FFT module.
For a SINUMERIK file, after loading, the module asks whether you want to give names to the machine axes. The file only gives the numbers (A1, A2 …). If you enter the names in the Assign axes window, you will see them in channels, chart and report. This is optional; empty fields keep the number. With Remember assignment for this machine, the entry applies again next time. You can call up the prompt again later via Assign axes…. To do so, select the file in the tree beforehand.
28.2 Reading the result
Below the chart, the table shows for each ticked channel the parameters Values, Min, Max, Mean, Std. dev. and Peak-to-peak. They apply to the visible range and change when you zoom. If you move the mouse over a curve, you see the channel, time and value of the nearest point. The File info tab shows the details of the file and the channel list with meaning.
28.3 Requesting an analysis
- In the tree, select the file to be analysed and click Request analysis….
- Enter the machine number and select Problem type and Occurrence. At Affected axis, name the axis, and describe the problem at Description. The problem description is the most important entry: without it, the server can only compare key values. Without problem type and description, the module asks once more before sending.
- The original file is always included. The Send original file (compressed) tick is permanently set because the conspicuous ranges can only be determined from all sample values.
- With Propose as reference, you report a recording with a known symptom. An administrator must approve the proposal. Do not write any customer or personal names in the field for the symptom.
- Confirm with Request analysis. The central server creates a case. The report usually appears after 1 to 4 minutes in the Analyses tab.
The Analyses tab shows your cases. Under Show: choose Open cases, Closed cases or All cases. The list has the columns File, Machine, Sent, Status and Verdict. The status is Being analysed …, Error, New, Open or Closed. A new report appears in the tab title as “Analyses (n new)”. While an analysis is running, the list updates every 30 seconds; otherwise use Update.
The report contains the overall verdict (inconspicuous, conspicuous or critical), a summary and the Conspicuous ranges. Each range has a number, a severity (low, medium, high), the affected channels with peak value and the motion context of the axis, such as direction reversal, rapid traverse, motion or standstill. In the chart the ranges are marked as numbered red boxes. A click on the number in the report zooms to the range. Further sections are Findings of the preliminary check, Possible causes, Recommendation and Uncertainty. If the report states that it was created without a language model, the assessment is based on the key figures only.
Use the buttons in the tab to control the case.
| Button | Effect |
|---|---|
| Close case… | You enter the cause and the measure / remedy (or tick No solution found) and rate with Did the analysis help?. The local copy of the file is deleted. |
| Reopen | Reopens a closed case. |
| Delete case | Hides the case from the list. The uploaded recording remains on the central server. |
| Open in chart | Loads the local copy of the file into the Chart tab. Only available as long as the local copy still exists. |
| Open in browser | Opens the case on the server website. |
| Save as image… | Saves the analysis chart as a PNG image. |
Note: If the central server rejects the transfer, no valid licence is on file for this hardware. If the compressed file is larger than 64 MB, it cannot be sent. In that case, select a shorter recording.
Tip: When closing a case, always state the cause and remedy. The solution is saved with the recording, and future analyses learn from it.
29. Look up module – documentation, PMC addresses and PLC blocks
The Look up module searches the databases compiled from the manuals. You no longer have to leaf through almost 4000 PDF pages; instead you enter a search term. Use it for commissioning and troubleshooting, for example when you want to have an address, a block or a term from the documentation explained.
| Detail | Content |
|---|---|
| Tab | Documentation, PMC addresses, PLC blocks |
| Data source | Three databases generated from the manuals. They do not need a machine folder. |
| Missing database | If a database is missing, the tab shows a note. The other tabs continue to work. |
| Version | The plug-in requires HDTools from version 1.0.0. |
29.1 Operation
- Select the tab. Above the hit list is a row with the scope of the database, for example how many chapters, addresses or blocks can be searched.
- Enter the search term. From three characters, the search starts while you type. With Enter or Search you trigger it immediately.
- In the hit list, click a row. The detail area below shows the full text. The first hit is already selected.
If you clear the search text, the hit list is emptied.
29.2 Reading the result
Each tab has its own hit list.
| Tab | Search and columns | Detail area |
|---|---|---|
| Documentation | Full-text search across all captured manuals, for example “Hinterfahrschutz” or “Kühlmitteldruck”. Columns: Page, Document, Chapter, Excerpt. The selection list all documents limits the search to one document. | Location and the text of the chapter. With the page number, you can find the passage in the PDF. |
| PMC addresses | Enter an address (e.g. D12280, R440, E0022.0) or a term. The search covers address, description and symbol. An exact match appears at the top; a maximum of 200 matches are displayed. Columns: Address, Description. | Description of the address, the assignment of the associated assembly and – if the address occurs in the diagnosis of an operating message – the diagnosis of that message. |
| PLC blocks | Enter a block identifier (e.g. FB86), a name (e.g. FB_Q_CHECK) or a term. Columns: Block, Description. | The documented interface of the block with its parameters and signals. |
Tip: If an operating message names an address, search for it in the PMC addresses tab. The detail area then also shows the diagnostics of the associated operating message.
Note: If a note appears instead of the key figures saying that no database is available, this database is missing in your installation. The other tabs are not affected.
30. PLC comparison module – comparing two STEP7 versions
The PLC comparison module shows what has changed between two backup versions of the PLC. Use it when a problem has existed “since some update” and you want to know which blocks or symbols are new, removed or changed. Blocks (OB, FB, FC, DB, UDT, VAT, optionally SDB) and the symbol table are compared.
| Detail | Content |
|---|---|
| Data source | Two STEP7 backups (S7-300/400). Each is either a zip file with the STEP7 project or an unpacked project folder with an .s7p file. |
| Processing | The backups are read locally; zip files are temporarily extracted for this. |
| Version | The plug-in requires HDTools from version 1.0.0. |
30.1 Operation
- At Stand OLD (zip or project folder):, select the older backup. Click Select zip … for a zip file or Folder … for an unpacked project folder. You can also type the path.
- At Stand NEW (zip or project folder):, select the newer backup in the same way.
- After the selection, HDTools asks which machine the data belongs to. Specify the machine number if you want to store the file in the machine database. If you leave the field empty, the data applies only to this session.
- Click Compare.
- With the Differences only tick, you hide unchanged blocks. It is set at the start. With Include SDBs, you include the system data blocks (hardware configuration). They change with every save and compile and therefore generate a lot of noise.
If one of the two entries is missing, the message “Please select both versions (old and new).” appears. If no STEP7 project is found in a path, the module reports “Comparison failed”.
30.2 Reading the result
Next to the header line is the number of blocks and symbols of both versions. Next to the buttons is the number of displayed rows and of differences. Both tables can be sorted by clicking a column header.
In the Blocks tab, the table has the columns Type, No, Symbol name, Status, Length old, Length new, Code length old, Code length new and Documentation. The status is highlighted in colour.
| Status | Meaning |
|---|---|
| new | The block exists only in the new version. |
| removed | The block exists only in the old version. |
| changed | The program code differs. The lengths help with the assessment. |
| equal | The program code is identical. |
The Documentation column states what the block does according to the software documentation, provided it is described there. The project's symbol table, by contrast, supplies only its name. If you move the mouse over the cell, you see the complete interface of the block.
The Symbols (differences only) tab has the columns Operand, Old symbol, New symbol, Comment (new) and Status. It lists new, removed and renamed symbols.
Note: The module deliberately does not show change times. The statement “changed” is based solely on the comparison of the program code.
Tip: Switch on Include SDBs only if you want to check the hardware configuration. Otherwise many SDB rows hide the actual changes.
31. Machine comparison module – comparing two machines
The Machine comparison module places two machines from the machine database side by side. It compares JUPRO history, cycle times, saved workpieces (Wpdata), NC programs and workpiece program files. Use it when two identical machines behave differently and you are looking for the differences in parameters, programs or times.
| Detail | Content |
|---|---|
| Data source | Both machines must have been loaded into the database at least once (“Database” tile, load machine). |
| Additional module | The Cycle time tab requires the Cycle time module. |
| Workpiece programs | The last tab shows entries only for machines that have workpiece program files (.ejw, .jwa2). |
| Version | The plug-in requires HDTools from version 1.0.0. |
31.1 Operation
- At Machine A: and Machine B:, select the two machines. If a machine is missing from the list, load it in the “Database” tile and then click Update machine list.
- Click Compare / update. The module then loads the JUPRO variables, cycles, workpieces and NC programs of both machines from the database.
- Switch between the tabs and select the data to compare in them.
For the workpiece comparisons, select exactly one workpiece per machine. The selection Show all or Deviations only determines which rows appear. Hide NA removes rows that occur on only one of the two machines (showing “NA” there). The text field filters by name.
31.2 Reading the result
| Tab | What you compare |
|---|---|
| JUPRO history | You select a JUPRO variable. The chart shows the progression of both machines in two colours (can be switched off with Show chart). The table lists for each machine Count values, First value, Last value, Min and Max. |
| Cycle time | One chart per machine. Select the workpiece, hide the warm-up cycles with Hide warm-up cycles, and decide between Average (filtered cycles) or Selected cycles (ticks below). With Show in step chart, you draw the sequence. The cycle table has the columns File, Cycle type, Ground on and Total time [s]. |
| Workpieces (Wpdata) | You select a stored workpiece for each machine. The table lists the variable, description and the value of both machines. Deviating rows are highlighted in colour. Next to the filters you can see how many variables are displayed and how many deviate. |
| NC programs | You select an NC program for each machine. Both programs are shown side by side line by line, deviating lines are coloured. Show deviating rows only hides identical lines. For very long comparisons, at most 20000 lines are displayed. |
| Workpiece programs | The last tab compares the workpiece program files (.ejw, .jwa2). The detected workpiece type is shown above the table, and below it the parameters of both workpieces with the same filters as in Wpdata. |
Note: If the selection in the last tab is empty, the machine has no such files, or it must be loaded into the database once again after a program update.
Tip: For Wpdata, select Deviations only and Hide NA. This leaves only the variables that exist on both machines and differ.
32. FAQ - Agent module: asking questions about the documentation
In the FAQ agent module, you ask questions in your own words and receive an answer from the machine documentation. The agent searches manuals, wiki pages and training material. It answers an operating message such as BM0837 or an identifier such as DB1154 directly from the databases. What it cannot substantiate, it says openly; it does not guess.
| Detail | Content |
|---|---|
| Usage | Online only. Every question goes to the agent via the HDTools central server. Without an internet connection, the module cannot be used. |
| Languages | The agent understands and answers only in German and English. |
| Daily limit | Without a licence, a daily quota of questions applies. The number of questions still possible today is displayed. |
| Version | The plug-in requires HDTools from version 1.0.0. |
32.1 Operation
- Open the module. At the top right, a dot shows the state. Green with “online” means ready for use, red with “offline” means not. The reason is given in the tooltip at the dot. The state is checked when opening and every minute thereafter.
- Enter your question at the bottom, a maximum of 1000 characters. Enter sends the question; Shift+Enter starts a new line. You can also click on questions. While the history is empty, sample questions are available as buttons.
- Wait for the response. A timer in seconds runs alongside. The interface remains operable.
- Ask follow-up questions. They refer to the last five responses of the conversation. With New conversation you start over.
32.2 Reading the result
Your question appears on the right, the response on the left. If the agent has phrased your question differently, “understood as” with the wording appears above the response. If the agent is restricted or the language model cannot be reached, the response points this out and, where applicable, shows references from the databases. Without a licence, the response is followed by how many questions are still possible today. Source references, diagnostic model and the web search are visible only on devices of the administrator account.
Below each response are buttons for feedback and for creating documents.
| Button | Effect |
|---|---|
| Thumbs up | Reports the answer as helpful. |
| Thumbs down | Reports it as not helpful. Two fields appear: What would have been correct, and a reference (both optional). Use Send to submit the feedback. |
| As document | Creates a checklist, a fault description or a quick guide from the response. This can take up to two minutes. |
The document created is marked “automatically created, unchecked”. View / print opens it in a window of its own with Print … and Save as Word …. You can also save it directly with Save as Word ….
32.3 Data protection and notes
Questions and answers are logged under a pseudonym (no name, no hardware ID) and deleted after 90 days. Do not write any personal, customer or order data in your questions or feedback. The answers replace neither the manufacturer's documentation nor approval by qualified personnel.
Caution: The answers and the documents created are generated automatically and are unchecked. They do not replace approval by qualified personnel.
Note: If the red dot says that the AI computer cannot be reached or the agent has not been set up, try again later. Without a licence, the daily quota may also be used up; the reason is then given in the note text.
33. Memorydump module – evaluating a memory dump and calculating grinding/dressing values
The Memorydump module shows the machine's memory dump (the file memorydump) as labelled tables. It also contains a tab with calculation sheets for grinding and dressing parameters. Use it when you want to check the stored machine values clearly or recalculate cutting values.
| Prerequisite | Explanation |
|---|---|
| Data source | First the value backup of the currently loaded machine from the machine database, otherwise the file memorydump in the OEM folder under data/Process. |
| Load | On the start page, run Select OEM folder & load data, or load a machine in the Database module. |
| Without data | The Calculations tab remains usable even without a memory dump. |
33.1 Operation
- Load the OEM folder or a machine from the database. The module reads in the values automatically.
- Switch between the tabs of the evaluation sheets. Only sheets for which values exist appear (possible sheets: 6_Zyl, 8_Zyl, 10_Zyl, J2-Messen, J2-Werkzeug, J1-Werkzeug).
- With Reload memorydump, you read the data in again.
- The tick Only populated rows/sections hides rows and sections for which the extract contains no values, for example connecting rods or tools that do not exist. It is switched on by default.
- Open the Calculations tab. On the left, you select one of the calculation sheets: Dressing (rotary dresser), Surface grinding, External cylindrical plunge grinding, External cylindrical traverse grinding, Internal cylindrical grinding, Thread grinding or Gear/worm grinding.
- Enter the input values by hand. The module recalculates the results immediately.
- If you want to fill a field from the memory dump, enter the variable name to the right of the field. While you type, matching variables appear as suggestions. The field is then filled, locked and updated automatically at the next load.
- To remove the link, delete the variable name again. The field is then freely editable again.
33.2 Reading the result
Each evaluation sheet has the Key data box at the top and below it sections with a table. The first column is called Measured quantity; the further columns carry the designations of the respective evaluation. If you move the mouse over a value, you see the name of the associated variable. Integers appear without decimal places, other values compactly rounded. In the Key data box, a dash appears if no value is available.
In the calculations, the Results table shows the columns Quantity, Value and Unit. Text results appear in the success colour. In the case of nonsensical inputs, an error message appears in the table.
Note: The binding of a field to a variable is saved and also applies after a restart.
Tip: If the status line shows “Database”, the values come from the most recent complete backup of the machine database. Otherwise it shows the path of the file read.
34. Measuring probe module – live evaluation of the Marposs U-Probe
The Measuring probe module continuously reads a Marposs U-Probe at the COM port. It shows the current measured value in large size, evaluates it against tolerance limits and plots the history as a curve. Use it to observe measurements directly at the probe, for example during setup or checking.
| Prerequisite | Explanation |
|---|---|
| Hardware | Marposs U-Probe with USB interface that appears as a virtual COM port. |
| Port | A COM port can only be used by one program. If the Marposs software U-com.exe is running, close it beforehand. |
| Data source | Live from the probe, no OEM folder needed. |
34.1 Operation
- Open the module. It searches for the ports automatically. Marposs devices are detected and appear at the top of the list. With Search ports you update the list.
- Under Port, select the connection and click Connect. The button is then called Disconnect.
- Under Unit, select either µm or mm. The tolerance limits are converted along when you switch.
- Enter the Lower limit and the Upper limit. The values remain stored.
- With Reset to zero, you set the current probe position to 0 computationally. The probe itself is not changed. The zero point also applies retroactively to values already collected so that the curve remains continuous.
- Clear measurement series deletes the collected values and key figures.
- With Record, you start a recording with timestamps. On the next click, the program asks where the CSV file is to be saved. A name of the form Messtaster_date_time.csv in the user folder is suggested.
34.2 Reading the result
The Current measured value box shows the value with sign in the selected unit. Below it is the assessment: OK, too small or too large. It always refers to the last measured value. If the value is within the limits, the text is green, otherwise red.
The Measurement series box shows Number of values, Smallest value, Largest value, Span (max - min), Mean and Standard deviation. The Probe box shows the serial number, probe code, probe version, firmware code, hardware code, measuring range and resolution of the connected probe.
The curve shows the last 1000 values, which at around 45 measured values per second is a little more than 20 seconds. The tolerance limits are drawn as dashed red lines.
The CSV file uses the semicolon as separator and the decimal comma. Each row contains a timestamp and a measured value in µm; the first row contains the serial number and the probe code.
Caution: If you leave the screen, the module disconnects so that the port is free again. Minimising the window does not end the measurement.
Note: If the status line says “no probe connected”, check the cable and interface. With “no COM port found”, no port is available.
35. Wheels module – service life and dressing trend
The Wheels module shows how the diameters of the grinding wheels and dressing wheels decrease over time. From the history it calculates the wear rate and estimates when an adjustable minimum diameter will be reached. It also shows how many dressing cycles took place per day.
| Prerequisite | Explanation |
|---|---|
| Data source | The data of the currently loaded machine from the machine database: the diameters from the DProWheelLife data and the dressing times from DressingTime. |
| Load | Load the OEM folder or select a machine in the Database module. Without a loaded machine, a note appears. |
35.1 Operation
- Load the machine. The module reads the data automatically. Use Update data to load again.
- Set the evaluation period (3 to 3650 days, default 30). The wear rate is determined over the last days before the most recent measured value.
- Enter the minimum diameter. If it is greater than 0, it appears as a dashed line in the chart.
- On the left in the list, tick the variables you want to see. Variables whose description denotes a diameter are ticked in advance.
35.2 Reading the result
The upper chart shows the diameter history of the ticked variables. The lower chart shows the dressing cycles per day as bars.
| Column | Meaning |
|---|---|
| Variable | Name of the measured quantity |
| Description | Plain text for it |
| Current | Most recent diameter |
| Rate/day | Slope of the regression line. A negative value means wear. |
| Minimum dimension reached on | Date on which the minimum diameter is reached |
| Measuring points | Number of values in the evaluation period |
If a dash appears at Minimum size reached on, there is no forecast: either there are too few points (at least 3) or the diameter is not decreasing. If “>27 years” appears there, the wear is so low that the forecast lies outside the meaningful range.
Note: Values equal to 0 are ignored; they mean that no wheel is fitted.
36. Grinding wheel database module – reading and looking up specifications
The Grinding wheel database module breaks down the specification of a grinding wheel (for example SD140N100BA3.0) into its components, explains it and suggests suitable fields of application. It is also a reference work for abrasives, bonds, grit sizes and other categories.
The supplied factory data is write-protected. Your own additions are stored separately and never mixed with the factory data. The module does not need an OEM folder.
36.1 Parsing a specification
- Open the Parse specification tab.
- Enter the code under Specification code or click one of the buttons under Examples.
- Click Parse or press Enter. The result appears below as text, with technical interpretation, matching applications and warnings.
36.2 Searching the database
- Open the Search the database tab.
- Select a category. The choices are Source, Manufacturer, Abrasive type, Grit size (FEPA), Bond, Concentration, Hardness grade, Material, Application, Code pattern (parser rule), Recommendation rule and Problem solution (troubleshooting).
- Enter a text under Search. The table shows only rows in which the text occurs in a field.
36.3 Adding your own entries
- Open the Add new specification/data tab and select the category.
- Fill in the form. For fields marked “comma-separated”, separate several values with a comma. The first field of the form is mandatory.
- For Source, Code pattern, Recommendation rule and Problem solution there is no form. There you enter the entry as a JSON object. The placeholder text shows the fields.
- Click Add entry.
- At the bottom of the table you see Own additions of this category. To delete, mark a row and click Remove selected addition.
Note: A new entry is immediately visible in the Search the database tab. Factory data cannot be changed or deleted.
37. Database module – managing the machine database
The Database module is the permanent store for all loaded machine data. Each machine is stored under its machine number. When an OEM folder or individual files are loaded, the database fills automatically. The inventory of a machine grows without duplicates. Here you select a machine, change the designation or number, delete machines, back up the database and transfer data to the central database.
37.1 Loading and viewing a machine
The table shows the following columns for each machine: Machine number, Designation, NC, HMI, Measurement series, Measured values, Events, Cycles, History, Last import and Additional data. The status line states the number of machines and the currently loaded machine.
- Select a machine.
- Click Load machine or double-click the row. The machine becomes the data source of all modules without the OEM folder being read again. A previously selected OEM folder is discarded in the process.
- Details … shows the measurement series, ranges, documents and additional data of the machine.
- Edit designation … sets the designation by hand.
- Update re-reads the list.
Note: If you have stored a designation via Load additional data (Excel) …, the Excel entry applies and overwrites a designation set by hand the next time it is loaded.
37.2 Changing the number (F2)
The machine number is read from the OEM folder when loading. If one of the files used for this comes from a different machine, the data ends up under the wrong number. You correct this as follows:
- Select the machine and press F2 or click Change number ….
- Enter the New number. All stored data move with it.
- Leave the tick at “Use the new number automatically the next time this OEM folder is loaded” set if the same folder is to be loaded under the new number straight away in future.
- Confirm with OK.
If the machine was already synchronised with the central database, the previous state remains there under the old number. At the next synchronisation, it is transferred under the new number.
Note: The Change number … button appears only if the installed program version contains the function.
37.3 Deleting (Del) and right-click
- Select one or more machines. Multiple selection works with Ctrl or Shift.
- Press Del or click Delete ….
- Read the confirmation prompt. It states the number of measurement series and measured values affected. Confirm with Yes.
The next time the OEM folder is loaded, the data is created anew. If the deleted machine was the current data source, the selection is cleared.
A right-click on an entry opens a menu with Load machine, Details …, Edit designation …, Change number … and Delete …. If several machines are selected, only Delete … is possible.
37.4 Additional data, backup and synchronisation
- Load additional data (Excel) … reads in an Excel list (.xlsx, .xlsm) with additional machine data. The link is made via the machine number (column “Equipment”). When an updated file is loaded again, the entries are overwritten.
- Status & backups … shows file, size, status and storage location of the database as well as the existing backups. With Back up now, you create a backup immediately. Restore from backup … installs a selected backup. The previous state is set aside, not deleted.
- If the database is in a folder with cloud synchronisation or on a network drive, the dialog reports the storage location as at risk. With Move to a safe location …, you move the database. Then restart HDTools.
- Before major write runs, HDTools automatically creates a backup if the last one is at least 12 hours old. By default, three backups are kept.
- If the database is damaged, the module offers when opening to restore it from the most recent backup or to create it anew. The defective file is only set aside in the process.
- Synchronise … transfers processed data of all machines to the central database. Raw files and individual measured values are not transferred. The transfer takes place only when you click, never automatically, and requires a valid licence for this computer. Clicking again transfers only what has been added since.
- Delete old database (v1) … appears only if an old file still exists after the switch to the new database format. Delete it only once the OEM folders have been reloaded.
38. Master data module – central machine and workpiece data
The Master data module is the one place where you enter machine and workpiece data by hand. Each field saves immediately on change. Other modules fetch the values with their own button Load from master data, for example Crowning. There you can then overwrite them freely. Another click reloads the current state. There is no automatic back-synchronisation.
38.1 Operation
- Open the Machine box and enter: machine number, control, HMI version and designation/customer. In addition come the wheel values d1 grinding wheel Ø, l2 wheel width, Ø pre-warning limit, Ø minimum and Ø for speed, each in mm.
- With Take suggestion from loaded OEM folder, you fill in machine number, control, HMI version and, if additional data is stored in the Database module, the designation. The wheel values remain untouched. All fields remain editable afterwards.
- Open the Workpiece box and enter designation, material, hardness, diameter and length.
- In the Machine type box, you select the size, the number of grinding headstocks and, for each headstock, the variant. Below it appear the manufacturer's technical data and a schematic top view. With Take type designation into machine you write the type designation into the field Designation/customer. The previous content is replaced.
- In the Grinding wheels box, you maintain a library of the machine's wheels and tools.
Note: The Machine type box appears only if the associated database file was supplied. The data there is for lookup only and is not mirrored into the machine fields.
38.2 Grinding wheel library
The entries are reconstructed from T600 tool files (.ejt). The table shows ID1 / ID2, Comment, Ø [mm], Profile width [mm] and Source.
- With Load file(s) …, select one or more .ejt files, for example from data/T600/Wheels of an OEM folder. Entries with the same ID1/ID2 are replaced.
- Alternatively, under from machine DB: select a machine and a tool file and click Load from database. This works only if the machine was archived with the data path “T600 Schleifscheiben”.
- Remove deletes the selected wheel from the library.
- Apply Ø/width to machine (d1/l2) writes diameter and profile width of the marked wheel into the fields d1 and l2 in the Machine box.
39. Startup module – logging an assignment automatically
The Startup module logs an assignment at the machine automatically: file changes, parameter changes, alarms and workpieces ground. You add comments and notes and finally generate an HTML report. Use it for commissioning and service assignments.
| Prerequisite | Explanation |
|---|---|
| OEM folder | The OEM main folder of the machine must be selected. Without it, the log cannot detect any changes, and only manual notes are possible. |
| Connection | With Connect machine …, you mount the control as a network drive. |
| Background | The recording continues while you use other modules. |
39.1 Starting an assignment
- In the Assignment tab, click Connect machine …. Enter a machine number or IP address and click Connect. A free network drive is assigned. Afterwards you can immediately select the OEM main folder on this drive. Alternatively, use Select OEM folder ….
- Enter the header data of the assignment: machine, customer, location, commissioning engineer, order / project, workpiece and note. Take from master data fills in machine and customer from the Master data module. At least machine or customer must be filled in.
- Under What should be recorded automatically?, select the sources: File changes, Parameter changes on the control, Alarms and messages, ground workpieces. All four are preselected.
- Set the polling interval (10 to 3600 s, default 60 s). The time of a change comes from the file or history itself. A larger interval therefore only delays the display. On slow network drives, 120 s or more makes sense.
- Click Start assignment.
- Pause recording interrupts the recording; afterwards the button is called Resume recording. End assignment completes the assignment. The log is retained and the assignment can be resumed later.
- With Open assignment …, you load an earlier assignment. An assignment that is still running is found automatically when the module is opened.
39.2 Timeline and comments
In the Timeline tab, each recorded operation appears with the columns Time, Type, Operation, Category and Comment. The type is File, Parameter, Alarm, Workpiece, Note or System.
- Check now triggers a run immediately.
- With the ticks of the types and the Filter field, you narrow down the list.
- Select an operation. On the right you see the details, for files also the before/after comparison, for workpieces the process values.
- Select a category (Observation, Measure, Result, Problem, Open item), write the comment and click Save comment. You can also do this hours later.
- Attachment … adds a photo, a screenshot or a measurement report. Images appear in the report.
- Add note … creates a free note with title, category and text.
- Log workpiece … records a part by hand, for example set-up parts or manual operation. You enter workpiece, program, measured values, rating (OK, not OK, rework, set-up part) and note. The current process values are saved as a snapshot. Ground parts with a full cycle are recorded by the log itself.
39.3 Generating a report
- Open the Report tab.
- Select the sections of the report: Assignment data, Summary, Open items, Timeline (all operations), Changes in detail and Workpiece records.
- Under Which operations should appear in the timeline?, select which types are to be included.
- Click Generate report …, select the storage location and open the file in the browser. There you can print it as a PDF.
- Open assignment folder opens the folder of the assignment.
Tip: A report can be generated again at any time, even after the end of the assignment.
Note: Error messages from individual sources appear as “Notes” below the buttons in the Assignment tab.
40. Report module – HTML report from the loaded analyses
The Report module collects the current state of other modules in a single HTML file. All charts are embedded; no further files are needed. It is suitable for service assignments and for documentation at the end customer. If you open the file in the browser, you can print it from there as a PDF.
The report contains only what is loaded in the other modules. Therefore first run Select OEM folder & load data on the start page and, if necessary, set the desired point in time in the HMI module.
40.1 Operation
- Tick the desired sections. All are preselected.
- Click Create report ….
- Select the storage location. A name of the form HDTools_Bericht_Datum_Uhrzeit.html is suggested.
- Answer the question “Open the report in the browser now?”.
| Section | Content |
|---|---|
| Overview (OEM folder, data sources) | OEM main folder, analysis time, time of creation and the state of the loaded modules |
| HMI point in time (DPRO values ≠ 0, tiles) | Values at the selected point in time and the configured tiles |
| Cycle time step chart (cycle at the point in time) | Step chart of the cycle at the point in time |
| Comparator (deviations only) | The comparison shown in the Comparator module, a maximum of 500 deviations |
| Before/after (changes in the time window) | Variables with a change in the time window of the Before/after module, at most 300 |
| Events (±24 h around the point in time) | Alarms and messages 24 hours before and after the point in time, at most 500. Without a point in time, the last 100 events. |
| OEE daily table | Operating hours, production hours, utilisation, parts and alarms of the last 60 days |
40.2 Reading the result
Sections for which the responsible module has not loaded any data appear with a note such as “No events loaded.” The report therefore never aborts. If a section fails, it says “Section failed” together with the cause, and the remaining sections are retained. Deviations in the comparator are highlighted in red. The report is always a light print page, regardless of the selected design.
Tip: For a report with comments and notes on an assignment, use the Startup module.
41. OEE module – technical availability, downtimes and utilisation
The OEE module shows how many parts a machine has produced, when it stood still and how heavily it was utilised. It is called OEE but deliberately does not calculate a complete OEE. Performance rate and quality rate cannot be determined from the machine data; they appear as “n/a” and are not estimated. They need good/bad counters and a target cycle time, which the systems examined do not supply.
| Prerequisite | Explanation |
|---|---|
| Data source | The machine database: process step trace with the workpiece changes, alarms and the operating hour counters of the loaded machine. |
| Load | Load the OEM folder (it must be archived) or select a machine in the Database module. |
41.1 How the evaluation is produced
Each manufactured part is a workpiece change in the machine's process step trace. The normal cycle per workpiece results from the intervals. A gap of more than twice the normal cycle is conspicuous. It only becomes a standstill if an alarm occurred within this gap. Otherwise it counts as a break or setup operation and does not affect availability.
41.2 Operation
- Load the machine. The period is set to the available data.
- Select the period with From and To or via the quick selection: Entire period, Last 7 days, Last 30 days, Last 90 days, Last year.
- Select the grouping: Day, Week or Month.
- Use Occupancy time … to set the planned occupancy time. The machine data contain no shift calendar. Select Continuous (24/7) or shift operation with weekdays, start, end and break for each day. The default is Monday to Friday from 06:00 to 22:00 with a 30-minute break. The setting is saved.
- Click Evaluate to recalculate.
41.3 Reading the result
The tiles show:
| Tile | Meaning |
|---|---|
| Tech. availability | Production time divided by production time plus downtime. Independent of the shift model. |
| Utilisation | Occupied time divided by the planned occupancy time, at most 100 % |
| Parts | Number of parts produced in the period |
| Median cycle | Mean normal cycle in minutes |
| Downtimes | Number of confirmed downtimes and their duration in hours |
| Performance rate, quality rate | Always “n/a” |
The tabs:
- Progression: parts and downtime in hours per day, week or month.
- Timeline: the plant over time. Green is production, red is a downtime with an alarm in the gap, blue is a gap without an alarm (break/change-over), grey is a gap without alarm data. Vertical lines mark alarms.
- Cycle time: box plot of the cycle time per workpiece, without the top 5 %. The lines show the median and the downtime threshold.
- Downtimes: table with From, To, Duration, Workpiece, Rating, Alarm and Message, sorted by duration. The rating is Downtime, Break/change-over or unrated. Confirmed downtimes are red.
- Operating hours: increase of the accumulated operating and production hours in the period. Counters that are not running are omitted.
Under the tabs, the module gives notes, for example on gaps outside the alarm data or on periods in which the plant hardly ran. In this case, the availability is of little significance.
Caution: Utilisation depends on the selected shift model. Check it before you pass on any figures.
Note: If the status line says “No workpiece changes found”, the OEM folder is not archived. The process step trace is available only via the machine database.
Appendix A Technical appendix (for technicians)
A.1 File formats
The table lists the formats that HDTools currently reads or writes. The extensions correspond to the file selection windows of the modules and to the detection during import. When loading an OEM folder, HDTools recognises the files by their content, not only by their extension.
| Format | Extension or name | Use |
|---|---|---|
| CSV, long and wide format | .csv | Measurement series. HDTools detects the separator (semicolon, comma, tab or vertical bar) by itself; the encoding is UTF-8, alternatively Windows-1252. |
| Rolling CSV backups | <Category>_<Number>.csv | Series such as DPRO_0.csv to DPRO_9.csv. All files of a category are merged; exact duplicates are dropped. |
| Process database of the machine | .sqlite in data/Process/Database | Current stock of process values. Older versions are stored alongside as ZIP archives. |
| Event log | events*.csv in data/Logs | Alarms with time. |
| Operating log | JUPRO_II.log (also .log.1 and further), changeOver.log | Operating sequence: page changes, key switch, workpiece changes. |
| Event list | eventHistory.dat | Faults and messages of the user interface, Events module. |
| Value backups | memorydump, justagedump, Komplett.xml, Eichen.xml, ChangeOver.xml, workpiece data under data/Wpdata | Snapshots of the variable values in XML format. |
| Variable history | .xml, one file per variable in data/JUPRO_II/History | Every value change with time and user. Older user interfaces keep the history in a flat XML file. |
| Cycle export | .xml (Excel 2003 XML, SpreadsheetML) | Event log per channel and workpiece in the folders CycleTime and DressingTime, Cycle time module. |
| Trace log Siemens | .csv | NC trace Siemens module. |
| Servo traces | .gdt (Servo Guide) and .xml (SINUMERIK trace) | Servo trace module. |
| NC programs | .nc, .mpf, .spf, .h, .txt, .cnc; for FANUC additionally .prg, .src, .pmc | NC module and mouseover plug-ins. In the OEM folder under data/nc. |
| FANUC backup | MACRO.TXT, PCODE.TXT, RTMMACRO.TXT (also with extension .P-2 to .P-4) | Real values of macro and PCode variables. |
| FANUC PMC | PMC1.00n (memory image), PMC1_PRM.* (parameters), .LAD (ladder project) | Symbols, network comments and parameters of the PLC. |
| Mnemonic export | .txt, .mne | Ladder logic in plain text from FANUC LADDER-III. |
| Fanuc operator history | .txt, .log, .oprt; signal directory .dfg, .csv, .txt | Fanuc operator history module. |
| PLC backup Siemens | .zip | PLC comparison module. |
| Workpiece files | .ejw (ZIP container), .jwa2 (ZIP archive) | Parameter tree of a workpiece. |
| Grinding wheel files | .ejt (plain-text XML) | Tool data of grinding wheels. |
| Profile files | .prf, .csv, .txt, .dat | Wheel and workpiece profiles for the thread modules. |
| Q-DAS | .dfq, or the pair .dfd and .dfx | Measurement data for the capability evaluation Cm and Cmk. |
| FFT measurement data | .csv, .txt, .tsv, .dat | FFT module. |
| Measurement plots and reports | .png, .jpg, .jpeg, .bmp, .tif, .tiff, .pdf | Crowning of the bearing seat module; PDF measurement reports in the Thread grinding module. |
| Additional data | .xlsx, .xlsm | Excel spreadsheet with master data per machine (Database module). |
| Language pack | .zip with meta.json and <language code>.json | Addition or correction of a language. |
| Licence | .lic (JSON) | Signed licence file. |
| Database | hdtools_maschinen.db (SQLite) | Machine database. |
| Reports and exports | .html, .md, .docx, .csv, .png | Outputs of individual modules. |
A.2 Configuration file config.json
HDTools stores its settings as a JSON file in the data folder: %LOCALAPPDATA%\HDTools\HDTools\config.json. Up to an earlier version, the file was located in the program folder. HDTools fetches it once from there into the data folder at start. HDTools supplements missing keys with default values when loading, including after an update. If the file is not readable, HDTools starts with the default values and overwrites the file the next time a value is saved.
Caution: Close HDTools before you change config.json with a text editor, and make a copy first. HDTools rewrites the file every time a setting is changed.
| Section and key | Meaning |
|---|---|
| window (width, height, maximized) | Window size and whether the window was maximised |
| ui (theme, language) | Design (dark or light, default dark) and language code |
| last_paths | Recently used files and folders of the modules |
| plugins (installed_store) | Plug-ins installed via the store: abbreviation and version |
| oem (root) | Selected OEM main folder |
| oem (plugin_paths) | Fixed sub-paths of the modules for direct display |
| oem (use_temp_copy, temp_dir, active_copy) | Temp copy on or off, target folder of the copy and the copy currently in use |
| oem (pmc_auswerten, archiv_revisionen) | Evaluate the PMC program when loading (default: on); also read revision states from archive folders (default: off). Both selectable in the dialog “OEM folder & data paths” |
| datenbank (pfad) | Custom storage location of the database file. Empty means default. |
| datenbank (sicherung_stunden, generationen, ort_warnung) | Minimum interval between backups in hours (default 12, 0 switches off), number of backups (default 3), warning about the storage location (default on) |
| maschine (aktuell) | Most recently selected machine |
| stammdaten | Current data record of machine and workpiece |
| sync (install_uuid, letzte_synchronisierung) | Identifier of this installation and time of the last synchronisation |
| rueckmeldung (email) | Most recently entered e-mail address for queries |
| notizen (text) | Text of the notepad |
| log (level) | Log level, default INFO |
| Sections of the modules | Each module creates its own section, for example dpro, taktzeit, nc, fft, hmi, dashboard, messtaster, servotrace. |
The data paths of the database archiving are deliberately not stored in the file. They start from the verified default at every start.
A.3 Environment variables
| Variable | Effect |
|---|---|
| HDTOOLS_DATEN | Sets the data folder. It replaces %LOCALAPPDATA%\HDTools\HDTools, and earlier storage locations are no longer read or taken over. Useful for running from a stick and for two separate data sets on one computer. |
| HDTOOLS_ZENTRALE_URL | Address of the central server for special cases, such as a test system or a different company address. It takes precedence over all other addresses. |
| HDTOOLS_KEINE_UEBERNAHME | With the value 1, the one-time takeover from earlier storage locations is omitted. Intended for build and test runs. |
A.4 Address of the central server
Everything HDTools retrieves from the central server goes through the same address selection: update check, plug-in store, licence, synchronisation and feedback. There are two addresses because in some company networks one of them is blocked. HDTools takes the first one that responds and tries them in this order:
- the address from the environment variable HDTOOLS_ZENTRALE_URL,
- the most recently used successful address (file zentrale.json in the data folder),
- the fixed stored addresses in order.
An address counts as reachable only if it responds at /api/health with the status “ok”. If a different page responds at the same address, for example the interface of a storage system, that does not count. HDTools skips an address that has not responded during the program run until the program ends. An error response from the central server, for example because of a missing licence, does not lead to a change of address, because then the right service has responded.
A.5 Licence file and trial period marker
The licence file is a JSON file with the fields hardware_id, expires (expiry date), customer, issued and signature. HDTools checks whether the hardware ID and the computer match, whether the expiry date is in the future and whether the RSA signature matches the embedded public key. The hardware ID consists of 16 characters and is derived from the network address and the serial number of the C: drive.
The trial period is stored in the file trial_state.json in the data folder. It contains the start date, hardware ID, duration in days and a checksum. A marker file that belongs to a different computer or whose content does not match the checksum is considered invalid. Therefore, do not copy the marker between computers.
A.6 Databases
HDTools knows two kinds of databases: the machine database with the machine data that has been read in, and several lookup databases as JSON files.
A.7 Machine database
The machine database is an SQLite file named hdtools_maschinen.db. The key throughout is the machine number. The file is located in the data folder under databases. The current schema is version 3. Times are stored as seconds since 1970, measured values as numbers. Important tables:
| Table | Content |
|---|---|
| machines | Machines with number, control, user interface, designation and time of first and last import |
| stammdaten | Additional data per machine from Excel |
| messreihen, messwerte, variablen | Measurement series with their values and variables |
| wert_sicherungen, sicherungs_werte | Snapshots of the variable values |
| historie | Value changes with user |
| ereignisse | Alarms, messages and operating sequence |
| zyklen, zyklus_ereignisse | Cycles and their individual steps |
| werkstuecke, schleifscheiben | Workpiece files and grinding wheels |
| dokumente | Selected raw files (NC programs, PMC images, software scan, event list), compressed |
| plc_* | Symbols, network comments, blocks and cross-references of the PLC |
| datei_stand | Size and modification time of the most recently adopted source files for detecting the current state |
Modules read the database exclusively via core/datenquelle.py. An import never creates duplicates.
The storage location follows this order: a path entered in config.json under datenbank and pfad, otherwise the data folder, otherwise older locations where an inventory exists. A file from an earlier schema is set aside at start-up (extension .v1.db) and not taken over. Backups are named hdtools_maschinen.db.sicherung_<timestamp>. If the database is in a synchronised folder or on a network drive, HDTools stores the backups in a local location. A relocation renames the old file (.alt_<timestamp>).
Without the Database plug-in, HDTools works with a session data set in main memory that has the same schema and is discarded on exit. The temporary data set that you create with an empty machine number is built in the same way.
A.8 Lookup databases (JSON)
The supplied lookup databases are located as JSON files in the databases folder of the program folder. They are part of the delivery and are replaced during an update.
| File | Content |
|---|---|
| JUPRO_db.json | Reference work for machine and control variables with type, description, unit and addresses |
| nc_var_index_descriptions.json | Descriptions of the Siemens NC variables for the mouseover |
| nc_variables_siemens.json, nc_variables_fanuc.json, nc_variables_heidenhain.json | Detection patterns of the NC variables per control |
| m_function_descriptions.json | Descriptions of the M functions |
| fanuc_makro_db.json, fanuc_zeiger_db.json | FANUC macro variables and indirectly addressed data areas |
| pmc_adressen_db.json | PMC addresses and assignment of operating messages to cause addresses |
| betriebsmeldungen_db.json | Operating messages with causes and remedies |
| siemens_plc_db.json | Documented Siemens PLC blocks |
| taktzeit_dict.json | Assignment of codes to categories in the Cycle time module |
| doku_index_db.json | Searchable index of the documentation |
Your own additions are possible without programming:
- Further NC variables: place a file nc_variables_<name>.json in the databases folder, in the same format as the existing ones. Variables are recognised by regular expressions (variable_patterns) or fixed tokens (tokens).
- FFT knowledge: your own entries in databases/fft_wissen_ergaenzungen.json. They are appended on loading.
- Comment dictionary for the NC module: the optional file databases/nc_comment_dict.json.
After making changes in the NC module, click Reload databases there. A restart is not necessary.
A.9 Other files in the data folder
| Folder or file | Content |
|---|---|
| logs\hdtools.log | Log, rolling with five backups of two megabytes each |
| file_tracker | Status and backup copies of the file monitoring per OEM folder |
| inbetriebnahme | Logs of the Startup module |
| rueckmeldungen | Outbox and list of the messages sent |
| lang | Language packs installed by you |
| plugins | Plug-ins installed via the store, one folder per abbreviation and version |
| uebernahme.json | Note on the one-time takeover from earlier storage locations |
A.10 Creating your own plug-ins
A plug-in is a single Python file that provides a module with its own tile. For distribution to other computers, it additionally receives a manifest.json and is distributed via the plug-in store. The two base modules CSV preparation and Cycle time are not built as store plug-ins. They are permanently located in the program folder.
A.11 Structure of the plug-in
- In the plugins folder of the program folder, create a file with a name such as 27_meinplugin.py. HDTools orders the base plug-ins by file name, so the number at the beginning determines their sequence.
- The file must contain the dictionary PLUGIN_INFO and the function build_widget(main_window). The function returns the window element that appears as the view when the tile is clicked.
- Files whose name begins with an underscore are regarded as private helper modules and are not loaded as a plug-in. In a plug-in folder, exactly one file without an underscore may carry the plug-in entries.
- In the program, click Reload plug-ins. The plug-in appears as a tile. If it could not be loaded, the tile shows a warning sign, and a click shows the error message.
Instead of .py, a plug-in may also be provided as a compiled .pyc file. If both are present side by side, the .py takes precedence. A .pyc file only runs under exactly the Python version with which HDTools was built.
| Field in PLUGIN_INFO | Meaning |
|---|---|
| name | Display name of the tile. If it is missing, the file name applies. |
| description | Short sentence for the tile |
| version | Version shown on the tile |
| category | Category key: prozessdaten, nc-code, diagnose, berechnung, qualitaet or verwaltung. If it is missing or unknown, the plug-in appears under “Others”. |
| api | Interface version. A store plug-in must specify 2, otherwise HDTools does not load it but shows a notice tile. |
| order | Sequence specification. HDTools does not evaluate it. Base plug-ins are sorted by their file name; plug-ins installed via the store follow in the order of their short name. |
A.12 Access to machine data
Plug-ins read machine data exclusively via core/datenquelle.py. They do not open any files of their own in the OEM folder and run no SQL of their own. If the user is to load a single file or a folder, the plug-in calls core/db_prompt.py: frage_und_speichere(self, datei=…), with ordner=… or with dataframe=… and name=…. The function asks for the machine number, imports the data and returns the import result, or None if the user cancels. If the widget offers a method oem_daten_laden(), HDTools calls it when an OEM folder is loaded and shows the returned text in the final window.
Code that several plug-ins need belongs in core/. Only the two base modules are always present; access to another store plug-in is not guaranteed.
A.13 The file manifest.json
Each plug-in for the store has a manifest.json in the plug-in folder.
| Field | Meaning |
|---|---|
| name | Name in the plug-in store |
| description | Description in the plug-in store |
| category | Category key as above. When installing, HDTools stores the category and minimum version as manifest.json in the version folder. |
| min_base_version | Smallest HDTools version that the plug-in requires. Otherwise the store shows “requires HDTools X.Y.Z”. |
| api | Interface version, 2 |
| languages | List of language codes for which the plug-in brings texts (de, en, cs, it, es, zh) |
| installationshinweis | Optional: one text, or one text per language ({"de": …, "en": …}). The store shows it before the first download and installs only after “Yes”. If the interface language is missing, English applies, then German. |
A.14 Language catalogues
The program code contains the original German text, enclosed in tr("…"). You write placeholders as {n} and fill them with tr("{n} Dateien", n=3). For each additional language, create the folder lang next to the plug-in file, containing a file <language code>.json. It maps the German text to the translation. HDTools registers the folder when the plug-in is loaded, so a text change does not require a new base program. If a text is missing from the catalogue, the original German text appears. Keys that begin with an underscore are metadata and are ignored. Language packs of the user in the data folder take precedence over the bundled catalogues.
A.15 Publication
For distribution, the plug-in belongs, together with its manifest.json and the language catalogues, in a separate subfolder of the plug-in repository. A script builds the package from it: it compiles the plug-in file to .pyc and packs the language catalogues with it. The result is then located on the central server, where there is a folder for each plug-in and version. Whether a plug-in is visible to customers in the store is determined by the central server for each plug-in (Trial phase or Public). New plug-ins start in the trial phase.
Appendix B Troubleshooting
B.1 How to proceed
For every problem, first check the log book in the sidebar. HDTools records every loading step with duration and key figures. Steps of three seconds or more are marked as a warning. If this does not solve the problem, send feedback and have the log sent along.
B.2 Start and licence
| Problem | Cause | Solution |
|---|---|---|
| The “HDTools – Licence” dialog appears at start-up | There is neither a valid licence file nor a running trial phase. | Request and install a licence, see “Requesting and installing a licence”. Next becomes available as soon as the licence is valid. |
| “The free trial phase expired N day(s) ago” | The 30 days are over. | Install a licence file or request a new licence. |
| “Licence expired N day(s) ago” | The expiry date of the licence file has passed. | Have it extended by the dealer, retrieve the new licence file from the central server, or take it over with Install licence file …. |
| “Licence was issued for different hardware” | The hardware ID of the file does not match this computer. It changes with the network adapter or the C: drive. | Copy the hardware ID from the dialog and request a new licence. |
| “Invalid licence signature” | The file has been modified or is damaged. | Do not edit the file; fetch a fresh copy from the central server. |
| “Licence file could not be read” or “This is not a valid licence file” | The selected file is not a licence in the expected JSON format. | Select the correct .lic file. |
| “Licence is valid but could not be stored” | The data folder lacks write permission. | Restore write permission for %LOCALAPPDATA%\HDTools\HDTools and install again. |
| Retrieve licence from the server delivers a message instead of a licence | The licence has not yet been released or has expired. | Follow the message from the central server. If the central server cannot be reached, see the next section. |
| The trial period pill remains despite a licence | The licence file is invalid or not in the search location. | Open the “Licence” dialog and read the status message. The search order is given in the chapter “Licence and trial period”. |
B.3 Central server, plug-in store and updates
| Problem | Cause | Solution |
|---|---|---|
| The plug-in store is empty or shows only plug-ins that are already installed | The catalogue could not be queried. At the top it says “Catalogue could not be updated”. Without a connection, the store shows only the locally known installations under their abbreviation. | Click Update catalogue once the connection is established. For the cause, see “Server not reachable”. |
| An expected plug-in is missing from the store | Which plug-ins the store shows you is controlled by the server for each plug-in. | Ask the central server whether the plug-in has been released for you. |
| “Server not reachable”, “Timeout/network error” or “Server not reachable” | No internet connection, or the company network blocks the address of the central server. | Check the network and firewall and have the addresses of the central server released by IT. HDTools tries two addresses in succession. In special cases, HDTOOLS_ZENTRALE_URL sets a different address. |
| “Invalid response from server” | The response cannot be read, usually because the address is not answered by the HDTools central server, for example due to a redirect in the network. | Ask IT to release access to the central server without a redirect. |
| “only with licence” is shown instead of Install | HDTools is running in the trial period; the plug-in is not marked as licence-free. | Install a licence. |
| “needs HDTools X.Y.Z” | The latest version of the plug-in requires a newer HDTools. | With Check for updates, check and update HDTools. If there is an older matching version, the store offers it. |
| “Download failed: …” | The central server rejected the download, for example because of a missing licence. | Read the reason in the message. Check the licence. |
| “Downloaded file is not a valid zip” or “Zip contains no loadable plug-in file” | The download was incomplete or the package is faulty. | Repeat the installation. If the error persists, send feedback. |
| Tile with warning sign, message “built for an older HDTools version” | The plug-in does not have interface version 2. | Update in the plug-in store. |
| Tile with warning sign and a Python error message | The plug-in could not be loaded, for example because of a missing library. | Report the error message with Send feedback. The error message appears when you click the tile. |
| A plug-in copied by hand, but no tile | The start page does not yet know the file. | Click Reload plug-ins. Files with an underscore at the beginning are not loaded. |
| “Update check failed” | The central server cannot be reached or responds invalidly. | Check the connection, try again. |
| “No releases have been published on the server yet” | The central server does not yet know of a published version. | No error. |
B.4 Data, data paths and database
| Problem | Cause | Solution |
|---|---|---|
| “Please select an OEM main folder first.” | Reloading data without a selected OEM folder | First use Select OEM folder & load data …. |
| “The folder does not exist” in the “OEM folder & data paths” window | The entered main folder cannot be reached, for example because the network drive is missing. | Connect with Connect machine (network) … and check the path. |
| My changed data paths are gone after the restart | Data paths apply only to the current session. | This is intentional. The verified default applies at every start. |
| After loading, data is missing in a module | A data path is set to “Ignore”, the subfolder is missing in the OEM folder, or the files are not recognised. | In the window “OEM folder & data paths”, check with Preview: what is detected? and verify the modes. Restore default resets everything. |
| Connecting the machine fails | The machine cannot be reached, or no drive letter is free. | The status bar shows the reason and the number of attempts. If no letter from X: to Z: is free and X: cannot be disconnected, release a drive. Check the number or IP address. |
| Warning “No complete backup (memorydump)” | In the OEM folder, the full backup is missing or is more than seven days older than the rest of the data. | Create a full backup at the machine and reload the OEM folder. |
| Start page shows “for this session only - install the Database plug-in to save” | The Database plug-in is missing. | Install in the plug-in store. |
| Start page shows “loaded temporarily, not saved” | The machine number remained empty during loading. | Reload and enter a machine number. |
| The database appears to be empty | The Database plug-in is missing (session inventory), the file is in a different location, or the path in config.json points nowhere. | First check the notes on the start page. Then look at datenbank and pfad in config.json and at the log book. The data folder is stated in the chapter “Program start”. |
| “Database damaged” at start | The file is incomplete, often after synchronisation by a cloud service. | If a backup exists, restore it with “Yes”. Without a backup, reload the OEM folders of the machines. |
| “Database location” at start | The database is located in a synchronised folder or on a network drive. | Agree to the relocation and then restart HDTools. |
| After an update, settings, licence or plug-ins are missing | The one-time transfer from earlier storage locations failed. If unsuccessful, it is repeated at the next start. | Look in the log book (“Takeover” entries). If necessary, HDTools finds the licence, plug-ins and database at their old location. |
| The synchronisation aborts | The central server was not reachable or rejected a request. | The message “Synchronisation failed” names the machine and part. Check the connection and synchronise again. Anything already transferred is retained. |
| “The server is currently not reachable” when sending feedback | No connection to the central server. | The message is stored in the outbox and will be sent at the next start. Under “My reports” there is Send now. Alternatively Save as file …. |
| HDTools takes a very long time to load | A loading step is slow, for example a network drive. | Search the log book for lines containing a warning. The temp copy allows reading to be decoupled from the original. |
B.5 Language and display
| Problem | Cause | Solution |
|---|---|---|
| Individual texts appear in German | The translation is missing for this language. German is the fallback. | Fill in the file from Write out missing texts … and install it as a language pack. |
| Chinese is set, the interface is in English | No Chinese font is installed on the computer. | Install a suitable font. The setting is retained. |
| “meta.json is missing in the package” or “The catalogue file … is missing in the package” | The language pack does not have the expected structure. | The package must contain, as a ZIP, a meta.json with code, name and version and the file <code>.json. The code consists of two to five letters. |
| “… is not a valid ZIP file” or “The package contains corrupt JSON” | The file is damaged. | Regenerate the package. |
| The new language does not appear in the selection | The language pack was not installed. | Install language pack … and select the ZIP file. HDTools then switches to that language. |
| Manual opens nothing | There is no README.md in the program folder. | Install the program completely. |