Problem Overview
Engineers commissioning Siemens LOGO! 0BA6 controllers with LOGO! Soft Comfort V7 occasionally encounter a display defect in the Math instruction block's properties dialog. The Operation field, which should expose the four arithmetic operators (+, −, ×, ÷), collapses to a single dot or period glyph. Selecting or changing the operator becomes impossible through the GUI even though the underlying project remains valid. The block appears to lock the operation type, and the operator character can neither be read nor switched.
This is a rendering defect of the LOGO! Soft Comfort V7 properties pane rather than a hardware or firmware limitation on the LOGO! 0BA6 device itself. The on-line program, the compiled bytecode, and the transfer to the controller are not affected. The fix is purely an editor-side intervention.
- Math instruction block opens but Operation field shows only a dot.
- Drop-down or selector arrows for the Operation field are not rendered.
- The Operator setting remains at a default (often Addition) but cannot be verified visually.
- Priority settings inside the same block properties dialog also appear suppressed.
- The block can still be deleted, copied, and reinserted without error.
Affected Software and Hardware Versions
| Component | Versions / Models | Status |
|---|---|---|
| LOGO! Soft Comfort | V7.0 through V7.4 | Display defect reproducible across all V7 builds against 0BA6 projects |
| LOGO! 0BA6 hardware | 6ED1052-xxx06-0BAx, all variants (12/24 V, 24 V, 230 V, with and without Ethernet) | Not hardware-faulty; defect is in the editor |
| Operating system | Windows 7 / 8 / 10 (32- and 64-bit) | Affected across all supported Windows versions; rendering depends on Java Look-and-Feel |
| Display scale | Windows DPI scaling 100 %, 125 %, 150 % | Higher scaling increases probability of the dot-only state |
| Project state | Both new and previously saved programs | Defect appears regardless of program age or revision |
Later releases in the LOGO! Soft Comfort line (V8.x targeting 0BA7 and 0BA8 hardware) re-implement the properties dialog and do not exhibit this specific symptom. The defect is therefore a quirk of the V7 generation of the editor against the 0BA6 device profile.
Root Cause Analysis
LOGO! Soft Comfort V7 is built on a Java Swing runtime. The Math instruction block properties dialog defines a minimum and a preferred dialog size in pixels. Several internal fields (Operator selector, Gain, Offset, Priority, Comment) are positioned by a Swing layout manager that hides glyphs whose drawing area falls below a configurable threshold width.
When the dialog is launched at its default size on Windows systems with non-default DPI scaling, or when the user has manually shrunk the dialog in a previous session, the Operator control's drop-down chevron and the operator character itself are clipped. The Swing renderer replaces the clipped glyph with the placeholder character used for incomplete strings — visually a dot or period.
Three underlying conditions produce the failure:
- Dialog width below the layout threshold. The math block properties dialog requires roughly 380 px of internal width to render the operator selector with the correct glyph. Below this, the JComboBox falls back to the placeholder.
- Look-and-Feel rendering path. The Metal and Nimbus look-and-feels clip the JComboBox differently from the Windows look-and-feel. The Windows look-and-feel is the most prone to dot-only rendering because it relies on native Win32 combobox painting that does not redraw when the dialog is shrunk.
- Saved window state. LOGO! Soft Comfort persists the size and position of every dialog across sessions. Once a small dialog size is saved, every subsequent session re-opens the dialog at the broken size.
The defect is not triggered by the program memory state. Even programs with very few used blocks display the same behaviour.
Primary Solution: Resize the Properties Dialog
The fastest and most reliable fix is to drag the properties dialog wider until the Operation field fully renders.
Step-by-Step Procedure
- Open the affected LOGO! program in LOGO! Soft Comfort V7 and click the Math instruction block once to select it.
- Double-click the block (or press Enter) to open the block properties dialog.
- Move the cursor to the right edge of the properties dialog until the resize cursor (a double-headed horizontal arrow) appears.
- Click and drag the right edge rightward by at least 60 pixels. Drag the bottom edge downward as well if the dialog appears vertically clipped.
- Release the mouse. The Operation selector should now render the available operators (+, −, ×, ÷) and the drop-down chevron.
- Select the desired operation and confirm with OK.
Once the dialog is widened, the layout manager re-flows every internal control. The Operator selector, Gain, Offset, Priority selector, and Comment field all redraw correctly. The dialog retains the new size for the rest of the session and for subsequent sessions, because the resized geometry is written to the user profile.
Secondary Solution: Switch the Look-and-Feel
If resizing alone does not redraw the operator glyph, switch LOGO! Soft Comfort to an alternative Swing look-and-feel. This forces a complete repaint of every dialog using a different native rendering path.
- In LOGO! Soft Comfort V7, open the Tools → Options menu.
- Navigate to the Look and Feel section.
- Change the active look-and-feel from Windows to Metal, Nimbus, or Classic.
- Click OK and restart LOGO! Soft Comfort V7.
- Open the Math instruction block properties again. The operator selector should render correctly under the alternative look-and-feel.
The Metal look-and-feel is bundled with every Java Runtime Environment and is therefore the most portable fallback. Nimbus requires JDK 6 update 10 or later and is available on every machine that runs LOGO! Soft Comfort V7. The Classic look-and-feel reproduces the legacy Java appearance and is useful when the dialog must match older project screenshots.
Tertiary Workaround: Re-Insert the Block
If the two solutions above cannot be applied (for example, on a locked-down engineering workstation), recreate the block from scratch. The Math instruction block has only one operator per instance, so deletion plus re-insertion is fast.
- Right-click the affected Math instruction block and choose Delete.
- Drag a new Math instruction block from the Special Functions palette (folder Analog → Math) onto the programming canvas.
- Re-wire the operands and the result tag from the original block.
- Open the properties dialog. The new block renders with the default operator, and the dialog opens at its preferred (full) size, bypassing the saved broken size.
This approach discards the operator selection inside the broken block but preserves every other program element.
Clearing the Saved Dialog Geometry
LOGO! Soft Comfort V7 stores dialog geometry in the Windows registry under HKEY_CURRENT_USER\Software\Siemens\LOGO! Soft Comfort V7\DialogGeometry. If a broken dialog size has been persisted, every future session re-opens at the broken size. Clearing the registry subkey restores the default geometry.
- Close LOGO! Soft Comfort V7.
- Open regedit with elevated privileges.
- Navigate to
HKEY_CURRENT_USER\Software\Siemens\LOGO! Soft Comfort V7. - Delete the
DialogGeometrysubkey. - Restart LOGO! Soft Comfort V7 and reopen the program.
This is a more aggressive fix than resizing the dialog and should be applied when the broken dialog size has propagated across multiple special-function blocks.
Memory Considerations for LOGO! 0BA6
The Math instruction is one of the special-function blocks that consume program memory. The LOGO! 0BA6 Standard controller exposes a finite function-block budget that is enforced at compile time.
| 0BA6 Variant | Function Blocks Available | Retentive Flags | Remarks |
|---|---|---|---|
| LOGO! 6 Standard (12/24 V, 24 V, 230 V) | 200 blocks | Up to 250 retentive bits / words depending on operand | Most 0BA6 units in field service |
| LOGO! 6 Pure | 200 blocks | Same as Standard | No display, no keypad |
| LOGO! 6 with Ethernet (6ED1052-xxx06-0BA0 E variants) | 400 blocks (extended memory) | Same as Standard | Ethernet variant offers the larger program budget |
To verify remaining program memory in LOGO! Soft Comfort V7:
- Open the program in LOGO! Soft Comfort V7.
- Press F2 to open the project information dialog.
- Inspect the Program Memory indicator. It shows used blocks, free blocks, and any warning messages issued by the compiler.
The Math instruction block consumes one function-block slot regardless of operator or operand count. Projects approaching the 200-block ceiling should be audited for unused blocks and consolidated where possible. Retentive operands and unused markers do not consume additional block slots but do count against the retentive-memory budget.
Math Instruction Block Reference
The Math instruction is one of the analog special functions in LOGO! Soft Comfort. It computes a single analog result from two or four analog operands plus optional constants.
| Property | Value Range | Notes |
|---|---|---|
| Operator | + (Addition), − (Subtraction), × (Multiplication), ÷ (Division) | Selection locked to one operator per block instance |
| Operand count | 2 or 4 analog inputs (Ax, Ay, plus Ax2, Ay2) | Four-operand mode requires the operator + or −; × and ÷ are limited to two operands in older firmware |
| Result | One analog output AQ (integer in LOGO! units) | Result can be routed to any analog marker or to a physical output |
| Gain | −10 000 to +10 000 (resolution 0.01) | Applied to the result before output |
| Offset | −10 000 to +10 000 (resolution 0.01) | Added to the result after Gain |
| Priority | 0 (lowest) to 7 (highest) | Same priority model as timers and counters |
| Retentivity | Off only | Math instruction has no internal state and cannot be retentive |
The Math instruction is not retentive by design — the result is recomputed every scan. Operators exposed in 0BA6 firmware are limited to the four arithmetic primitives; trigonometric and exponential functions are not available at this device level.
Verification Procedure
After applying the fix, verify that the operator is correctly set and that the program transfers cleanly to the controller.
- Re-open the Math instruction block properties dialog and confirm that the Operation field shows the expected operator glyph.
- Click the drop-down chevron and verify that all four operators (+, −, ×, ÷) are listed.
- Select the desired operator and confirm with OK.
- Press F5 to compile the program in LOGO! Soft Comfort V7. Confirm that no errors are reported in the message pane.
- Connect to the LOGO! 0BA6 over Ethernet or serial and press F11 (or use Tools → Transfer → To Device) to upload the program.
- On the controller, navigate to the program mode indicator and confirm that the controller enters RUN mode without diagnostics.
- Toggle the inputs of the Math block and confirm that the analog result tracks the expected calculation on the LOGO! display or in LOGO! Soft Comfort online view.
If the controller refuses to enter RUN mode, press ESC on the LOGO! 0BA6 front panel to read the diagnostic code. Common fault codes at this stage include Program memory full and Block configuration error. The former is resolved by freeing blocks; the latter indicates a corrupted operator setting that must be re-entered.
Related UI Rendering Defects in LOGO! Soft Comfort V7
The Math instruction dot-glyph defect is the most visible but not the only rendering issue in LOGO! Soft Comfort V7 against 0BA6. The same root cause — minimum-size enforcement on Swing dialogs — produces similar defects elsewhere:
| Dialog | Symptom | Fix |
|---|---|---|
| Analog Comparator | Gain and Offset selectors collapsed to dots | Resize dialog width > 380 px |
| PID Controller block | SP / PV selector collapsed | Resize dialog width > 420 px |
| Shift Register | Bit-width selector invisible | Resize dialog width > 360 px |
| Message Text block | Character set selector invisible at high DPI | Set Windows DPI scaling to 100 % or switch look-and-feel |
| UDF (User-Defined Function) header | Parameter name fields collapsed | Resize dialog height > 320 px |
The same fix strategy — resize the dialog, switch look-and-feel, or clear the saved geometry — applies to all of these defects. Treat them as a single class of UI rendering issues rather than as independent bugs.
Long-Term Migration Path
For new deployments, the V7 editor should be considered transitional. Siemens has shipped LOGO! Soft Comfort V8 and V8.1 as the long-lived programming environment for 0BA7 and 0BA8 hardware. Existing 0BA6 programs can be opened in LOGO! Soft Comfort V8 with full forward compatibility, although the operator experience changes:
- Properties dialogs in V8 are wider by default and do not exhibit the dot-glyph defect.
- The Math instruction block exposes the same operators but adds a fifth option, the Modulo operator, on 0BA7 / 0BA8 devices only.
- Gain and Offset ranges are extended to ±100 000 on 0BA8.
- Online transfer over Ethernet uses the same protocol on 0BA6, 0BA7, and 0BA8 controllers.
Projects that rely on the dot-glyph workaround should be migrated to V8 at the next opportunity. Migration is performed by File → Open in V8 against the existing V7 program file; no manual conversion is required.
Frequently Asked Questions
Why does the Math instruction Operation field show only a dot in LOGO! Soft Comfort V7?
The dialog was opened at a width below the layout threshold (~380 px) for the JComboBox rendering path. The Swing manager replaces the clipped operator glyph with a placeholder dot. Drag the dialog's right edge rightward by at least 60 px to restore the operator selector.
How do I check the available program memory on a LOGO! 0BA6?
Open the project in LOGO! Soft Comfort V7 and press F2. The program-memory pane reports used blocks, free blocks, and any compiler warnings. The 0BA6 Standard allows 200 blocks; the Ethernet variant allows 400.
Does this defect affect LOGO! 7 (0BA7) or LOGO! 8 (0BA8) projects?
No. LOGO! Soft Comfort V7 only targets up to 0BA6. Projects for 0BA7 and 0BA8 require LOGO! Soft Comfort V8, which uses wider dialog defaults and does not exhibit the dot-glyph rendering issue.
What are the four operators supported by the Math instruction on 0BA6?
Addition (+), Subtraction (−), Multiplication (×), and Division (÷). The four-operand mode is available only with + and −; × and ÷ are limited to two operands in the 0BA6 firmware.
Can I keep the resized dialog size across LOGO! Soft Comfort sessions?
Yes. The dialog size is persisted under HKEY_CURRENT_USER\Software\Siemens\LOGO! Soft Comfort V7\DialogGeometry once the user closes the dialog with OK. The new size is reused for every subsequent session until the registry subkey is cleared or LOGO! Soft Comfort is reinstalled.