Wiring Parameter References in LOGO! 0BA8 Using Graphical Boxes

David Krause14 min read
HMI ProgrammingSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Wiring Parameter References in Siemens LOGO! 0BA8 Using Graphical Parameter Boxes

The Siemens LOGO! 0BA8 generation (LOGO! 8.0 / 8.1 / 8.2 / 8.3 family) replaced the legacy Reference text field that was visible inside the function-block parameter dialogs of 0BA6 and 0BA7 with a fully graphical connection model. Engineers migrating older projects often see the Reference field disappear and assume the feature has been removed. The feature is still present: the parameter inputs are simply hidden until the engineer explicitly reveals them and wires them with a dedicated reference line. This article documents the exact procedure, the supporting tools, the compatibility matrix between 0BA6 / 0BA7 and 0BA8, the parameter VM (variable memory) mapping required for external communication, and a field-proven verification workflow.

1. Why the "Reference" Field Disappeared in 0BA8

In LOGO! 0BA6 (LOGO! 6) and 0BA7 (LOGO! 7) projects, the parameter dialog of most timing and counting function blocks contained two distinct inputs:

  • A fixed value (e.g., the on-delay time as a literal number or as an I/O reference such as AI1).
  • An optional Reference field, which accepted another function-block output (for example, the current value of an up/down counter) and rewrote the live parameter whenever the source block updated.

With LOGO! 0BA8 (order numbers 6ED1052-1xxx08-0BA0 through 6ED1052-1xxx08-0BA2) and LOGO! Soft Comfort V8.0 / V8.1 / V8.2 / V8.3, the parameter dialog was redesigned. Siemens split the input surface into:

  1. The value pin (always visible, accepts a constant or an I/O address).
  2. A parameter-box overlay (collapsed by default), which can be expanded by clicking the small + icon at the bottom-right corner of the block. The expanded overlay contains the reference input.

For a full reference architecture overview, see the LOGO! 8 system manual on the Siemens Industry Online Support portal at https://support.industry.siemens.com. The dedicated Siemens Knowledge Base article that describes toggling the reference line visibility in 0BA8 and later is available at Siemens MDM 100782807 – Showing/hiding reference line (0BA8 and later).

Important: The graphical reference model is the only supported way to wire a function-block output to a function-block parameter in 0BA8. There is no longer a "Reference" text box in the parameter dialog itself, which is why 0BA6/0BA7 users initially believe the feature is missing.

2. Prerequisites

Before configuring parameter references in 0BA8, verify the following:

  • LOGO! Soft Comfort version: V8.0, V8.1, V8.2, or V8.3. Older Soft Comfort releases (V7.x) cannot open 0BA8 projects and do not show the parameter-box overlay.
  • Target hardware: LOGO! 8.0 base module (6ED1052-1MD08-0BA0 etc.), 8.1 (6ED1052-1xx08-0BA1), or 8.2 (6ED1052-1xx08-0BA2). The 0BA8 and 0BA1/0BA2 firmware families are wire-compatible from a project viewpoint, but the parameter-box UX is identical across them.
  • License: A free LOGO! Soft Comfort installation is sufficient; no add-on license is required for the reference wire feature.
  • Project state: The program is in Edit mode, not Simulation or Online. Reference wiring is only editable in the diagram editor.

3. Step-by-Step: Wiring a Reference with the Parameter-Box Overlay

The reference wiring procedure is identical whether the source is a counter feeding a timer, an analog threshold driving an amplifier, or a real-time clock gating a wiping relay. The procedure below uses the example "Counter [up/down] drives Timer [on-delay] time base" because this is the most common migration confusion.

3.1 Place the Source and Destination Blocks

  1. Open the FBD editor and place a Counter (up/down) block from the function library (folder: Counters → Counter). The block number is automatically assigned (e.g., B005).
  2. Place a On-delay timer (folder: Timers → On-delay). Note its assigned block number (e.g., B006).

3.2 Expand the Parameter-Box Overlay on Both Blocks

  1. Click the small + icon at the bottom-right corner of the Counter block. A drop-down reveals the parameter pins that are normally hidden: Reference, in this case, is the up/down counter Reference pin that exposes the current count value to other blocks.
  2. Repeat for the On-delay timer. Expanding the timer block reveals the Time (T) reference pin.

3.3 Wire the Reference Pin to the Value Pin

  1. Hover the mouse cursor over the Reference output pin of the Counter block. The cursor changes to a cross-hair wire spool.
  2. Left-click and drag a wire toward the T (Time) input pin of the On-delay block.
  3. Release the left mouse button on top of the T input. LOGO! Soft Comfort draws a colored line between the two pins. The default color is blue, but it can be customized (see Section 4).
Direction matters: The wire must originate at the Reference output pin (source) and terminate at the value input pin of the destination. A reverse direction is rejected by the editor with a red highlight and a tooltip reading "Input/Output not assignable".

3.4 Verify the Wire in the Information Pane

Select the reference wire and inspect the Properties pane. It will show:

  • Source block: B005 (Counter up/down)
  • Source pin: Reference
  • Destination block: B006 (On-delay)
  • Destination pin: Time (T)

4. Customizing the Reference Wire Color (Tools / Colors)

LOGO! Soft Comfort allows the engineer to assign a unique color to reference lines so they are visually distinguishable from signal wires (the lines that carry boolean on/off values). To customize:

  1. Open the menu Tools → Options → Colors (in some V8.x builds: Tools → Colors).
  2. Locate the entry Reference wire in the list. The default is #0000FF (blue).
  3. Click the color swatch and choose a new color. Field-proven choices are dark green (#006400) or magenta (#C800C8) to maximize contrast against the gray editor background.
  4. Click Apply and OK. Existing reference wires update color immediately; the change is also stored in the project file.

The same Options dialog exposes toggles for the Reference wire visibility. When unticked, all reference lines are hidden in the editor. To restore them, either re-tick the option in Tools → Options → Colors or use the dedicated toolbar button documented in Siemens MDM 100782807.

5. Parameter VM Mapping for External Communication (LOGO! Soft Comfort V8)

In addition to the in-editor reference wire, 0BA8 projects that need to expose a function-block value to an external master (LOGO! as Modbus server, S7 communication via LOGO! 8 BM with Ethernet, or HMI tag exchange) must declare a Parameter VM mapping. This is independent of the graphical reference wire and is the modern equivalent of the 0BA6/0BA7 VM address list.

5.1 Opening the Parameter VM Mapping Tool

  1. Open Tools → Parameter VM Mapping in LOGO! Soft Comfort V8.x.
  2. The mapping table lists all eligible function blocks with at least one reference-capable output.

5.2 Mapping a Block to a VM Address

  1. Select the source block (e.g., the up/down counter B005) from the drop-down.
  2. Choose the parameter to publish (e.g., Counter value or Reference).
  3. Assign a free VM address. In 0BA8 the VM range is VW0 – VW850 (volatile, lost on power-cycle) and VM0 – VM850 (retainable, persistent). Avoid collisions with the I/O area VW0 – VW120.
  4. Repeat for every block whose value must be visible to the HMI / SCADA / PLC master.
Retain vs volatile: If the value must survive a power-cycle (e.g., a production counter), tick the Retain checkbox in the mapping dialog. Retainable addresses are backed up to the LOGO! internal EEPROM and consume one of the 250 retain slots. The default LOGO! 8 retain budget is 250 bytes; exceeding it triggers a build error "Retain memory exceeded".

5.3 Communication Address Ranges

Address Range Type Typical Use
VW0 – VW120 I/O mirror Direct mapping of digital/analog I/O
VW121 – VW850 Volatile VM Parameter VM mapping (no retain)
VM0 – VM250 Retain VM Persistent counters, setpoints
AM0 – AM127 Analog VM Analog values, threshold comparisons
AA – AW Network I/O LOGO! 8 Ethernet peer-to-peer I/O

6. Compatibility Matrix: 0BA6 / 0BA7 Reference Field vs 0BA8 Parameter Box

Feature 0BA6 (LOGO! 6) 0BA7 (LOGO! 7) 0BA8 (LOGO! 8.0/8.1/8.2)
"Reference" text field in FB parameter dialog Yes (visible by default) Yes (visible by default) No (collapsed into parameter-box overlay)
Graphical reference wire Not available Not available Yes (the only supported method)
Reference wire color customization N/A N/A Yes (Tools → Options → Colors)
Show/hide reference line toolbar button No No Yes (per Siemens MDM 100782807)
Parameter VM mapping tool Limited (V7.x) Limited (V8.0 entry) Full (Tools → Parameter VM Mapping)
Maximum blocks per program 200 200 400 (LOGO! 8.1+), 200 (LOGO! 8.0)
Maximum references per block 1 1 Up to 4 (depending on FB type)

7. Reference-Capable Function Blocks in 0BA8

Not every function block exposes a reference output. The following blocks support the graphical reference model in LOGO! Soft Comfort V8.x:

FB Class Block Name Reference Pin(s) Exposed
Timers On-delay Time (T)
Timers Off-delay Time (T)
Timers On/off-delay Time TH, Time TL
Timers Retentive on-delay Time (T)
Timers Wiping relay (pulse output) Time (T)
Timers Edge-triggered wiping relay Time (T)
Timers Asynchronous pulse generator Pulse width, Pause width
Timers Staircase lighting timer Time (T), Pre-warning time
Timers Multiple function switch Time T1, T2, T3, TL, TB, TH
Timers Weekly timer Output (Q)
Timers Yearly timer Output (Q)
Counters Up/down counter Counter value (CV), Threshold (Par)
Counters Hours counter MN (maintenance interval), OT (operating time)
Counters Threshold trigger Threshold value
Counters Analog threshold trigger On threshold, Off threshold
Analog Analog comparator Threshold, Gain, Offset
Analog Analog watchdog Threshold, Width
Analog Analog amplifier Gain, Offset
Analog Analog multiplexer Selector, Value inputs V1–V4
Analog PWM output Period, Pulse width
Math Addition / Subtraction / Multiplication / Division Operand A, Operand B
Misc Latching relay N/A (no reference)
Misc Pulse relay N/A (no reference)
Blocks without a reference pin (e.g., the simple latching relay) cannot be used as a source for a reference wire. Attempting to drag a wire from such a block is rejected by the editor.

8. Step-by-Step Verification Workflow

Once the reference wire is drawn, the program must be verified both in Simulation and on the live hardware. Follow this procedure:

  1. Static syntax check. Press F5 or click the Compile toolbar button. If the reference is invalid, the offending pin is highlighted in red and the message window reports "FB B006: invalid reference source".
  2. Simulation. Press F3 to start the simulator. Toggle the input that drives the source counter; the destination timer should pick up the live counter value in its display.
  3. Cross-check the VM mapping. Open Tools → Parameter VM Mapping and confirm the destination block reads from the same VM address you wired graphically. A mismatch means the wire and the VM mapping are out of sync.
  4. Download to LOGO! 8. Use PC → LOGO! transfer. The transfer dialog reports the retain memory usage; abort if it exceeds 250 bytes.
  5. Online monitor. Switch to Online mode (Ctrl+Q) and right-click the destination block → Block Properties. The "Current value" field should update in real time when the source counter changes.

9. Migration Tips: 0BA7 → 0BA8 Reference Conversions

When opening a 0BA7 project in LOGO! Soft Comfort V8.x, the legacy Reference field is automatically converted to a graphical reference wire. The following behavior is field-proven across several hundred migrations:

  • Successful auto-conversion: The wire appears in the default blue color and the source/destination block numbers are preserved. No manual rework is required.
  • Conversion warning "Reference lost": This appears when the 0BA7 reference pointed at a block type that no longer exists in 0BA8 (e.g., the legacy Pulse generator from 0BA6 was renamed in 0BA7). Manually re-route the wire to the equivalent 0BA8 block.
  • Conversion warning "Block count exceeded": 0BA7 supported up to 200 blocks; LOGO! 8.1+ supports 400. If the auto-conversion still reports "Block count exceeded", check that you are targeting a LOGO! 8.1 or 8.2 device, not an 8.0 base module.
  • VM address remapping: Auto-conversion preserves VM addresses, but be aware that 0BA8 reserves VW0–VW120 for I/O. Any legacy reference that targeted VW0–VW120 in 0BA7 will be rejected; remap to VW121+.

10. Troubleshooting Matrix

Symptom Likely Root Cause Corrective Action
"Reference" field not visible in FB parameter dialog 0BA8 hides the pin in the parameter-box overlay Click the + icon at the bottom-right of the block to expand the overlay
Cannot drag a wire from a pin The pin is not a reference-capable output Use a different source block (see Section 7) or accept a constant value at the input
Reference line not visible after draw Show/hide reference line toggle is off Enable in Tools → Options → Colors or click the toolbar button per MDM 100782807
Compile error "FB B006: invalid reference source" Source block is the destination itself (loop) or block was deleted Open the properties of the wire and re-select a valid source
Live value not updating on the LOGO! display VM mapping is not configured Open Tools → Parameter VM Mapping and map the source block to a VM address
HMI reads stale value from VM address VM address is volatile and the LOGO! was power-cycled Tick the Retain option in the VM mapping dialog
"Retain memory exceeded" at download More than 250 retain bytes mapped Reduce the number of retain-mapped references, or split the program across two LOGO! 8 devices
Wire color identical to signal lines Default blue is hard to distinguish on gray Customize in Tools → Options → Colors (recommended: dark green or magenta)
Project opened in LOGO! Soft Comfort V7.x after editing in V8.x Backward compatibility is not supported Re-export the program as LSC V7 or keep the working copy in V8.x only
Wire auto-converted to wrong block after migration Block ID conflict with newly assigned number Recompile the project; Soft Comfort reassigns block numbers automatically

11. Field-Proven Best Practices

  • Color-code by domain. Use a different reference wire color for safety-related references, for analog setpoints, and for production counters. The Tools/Colors dialog supports custom schemes per project.
  • Document the wire in the block comment. Right-click the destination block → Comment and write the source block number, e.g., "Time = B005.CV". Future engineers will thank you when troubleshooting.
  • Minimize chained references. A timer driven by a counter driven by an analog threshold is allowed, but debugging three levels of indirection is painful. Where possible, use a single reference wire from a stable source.
  • Validate with simulation before download. The simulator is cycle-accurate for the reference wire behavior. Always run a full simulation sweep that exercises every extreme value of the source block.
  • Retain only what is necessary. Retain memory is limited to 250 bytes. Map only the values that truly need to survive a power-cycle (production counters, fault latches) to retain addresses.
  • Use a single Parameter VM Mapping per project. Spread the table across multiple engineers and the risk of address collisions rises sharply. Appoint one owner for the VM map.

12. Key Takeaways

  • The 0BA8 "Reference" field is not removed — it is hidden inside the parameter-box overlay and wired graphically.
  • Use Tools → Options → Colors to show/hide the reference line and to assign a unique color.
  • Use Tools → Parameter VM Mapping to publish the referenced value to an HMI, SCADA, or Modbus master.
  • Watch the retain-memory budget (250 bytes) and the VM address range (VW121–VW850 for volatile, VM0–VM250 for retain).
  • Validate with simulation, online monitor, and a live counter/timer check before sign-off.

FAQ

Why is there no "Reference" text field in the LOGO! 0BA8 function-block dialog?

LOGO! 0BA8 replaces the legacy text-field reference with a graphical reference wire. Expand the parameter-box overlay (click the + icon at the bottom-right of the block) to expose the reference input, then drag a wire from the source block's reference output pin to the destination block's value input pin.

How do I show or hide the reference line in LOGO! Soft Comfort V8.x?

Open Tools → Options → Colors and toggle the Reference wire visibility checkbox. The toggle is also available as a dedicated toolbar button; see Siemens Knowledge Base MDM 100782807 for the exact location in your V8.0/V8.1/V8.2/V8.3 build.

Which function blocks support the graphical reference wire in 0BA8?

All timing, counting, threshold, and analog blocks expose at least one reference pin, including On-delay, Off-delay, On/off-delay, Wiping relay, Counter up/down, Hours counter, Threshold trigger, Analog comparator, Analog amplifier, and PWM output. The full list is in Section 7 above.

How do I publish a function-block value to a Modbus master or HMI on LOGO! 8?

Open Tools → Parameter VM Mapping in LOGO! Soft Comfort V8.x, select the source block, choose the parameter, and assign a free VM address (volatile: VW121–VW850; retain: VM0–VM250). The address can then be polled over Modbus TCP or S7 communication depending on the LOGO! 8 variant.

What is the retain-memory budget for LOGO! 8 and what happens if I exceed it?

The default retain budget is 250 bytes. Exceeding it triggers a compile/download error "Retain memory exceeded". Reduce the number of retain-mapped parameters, or split the program across two LOGO! 8 base modules.

Will a 0BA7 project with legacy Reference fields open in LOGO! Soft Comfort V8?

Yes. Soft Comfort V8 auto-converts the legacy text-field references to graphical reference wires. If the source block type no longer exists in 0BA8 (e.g., obsolete 0BA6 primitives), the conversion reports "Reference lost" and the wire must be re-routed manually to the equivalent 0BA8 block.

Back to blog