LOGO! 8.3 to 0BA5 Migration: Converting LSC Projects to LOGO! 5
1. Problem Overview
Siemens LOGO! Soft Comfort (LSC) projects created for the LOGO! 8.3 (0BA8.3) platform cannot be uploaded directly to a LOGO! 5 (0BA5) base module. When the PC transfers the program, LSC raises a hardware-type-incompatibility error and the download aborts. The error is not recoverable inside an existing .lsc file because the internal block list, block-name table, and text-message layout differ structurally between the 0BA8 and 0BA5 firmware generations.
This reference documents the manual migration path used when you must reuse the original logic on a 0BA5 hardware target: it identifies why the automatic hardware-type conversion in LSC fails, lists the specification deltas the engineer must absorb, and provides a step-by-step procedure for producing a clean 0BA5 program with verified upload.
2. LOGO! Generation Reference
Each LOGO! generation corresponds to a distinct 0BAx order code suffix and a minimum LSC editor version. Cross-generation LSC files are not interchangeable without a clean rebuild.
| Generation | Order code suffix | Marketing name | Minimum LSC version | Ethernet |
|---|---|---|---|---|
| 0BA0 | 6ED1 052-… | LOGO! 1 | LSC V1.x | No |
| 0BA1 | 6ED1 052-… | LOGO! 2 | LSC V2.x | No |
| 0BA2 | 6ED1 052-… | LOGO! 3 | LSC V3.x | No |
| 0BA3 | 6ED1 052-… | LOGO! 3 (refresh) | LSC V3.x | No |
| 0BA4 | 6ED1 052-… | LOGO! 4 | LSC V4.x | No |
| 0BA5 | 6ED1 052-… | LOGO! 5 | LSC V5.x | No |
| 0BA6 | 6ED1 052-… | LOGO! 6 | LSC V6.x | No (some variants) |
| 0BA7 | 6ED1 052-… | LOGO! 7 | LSC V7.x | No |
| 0BA8 | 6ED1 052-… | LOGO! 8 | LSC V8.0 | Yes |
| 0BA8.1 | 6ED1 052-… | LOGO! 8.1 | LSC V8.1 | Yes |
| 0BA8.2 | 6ED1 052-… | LOGO! 8.2 | LSC V8.2 | Yes |
| 0BA8.3 | 6ED1 052-… | LOGO! 8.3 (current LOGO! 8 line) | LSC V8.3 | Yes |
Reference: Siemens LOGO! product family overview at siemens.com/logo and the LOGO! manual set in the Siemens Industry Online Support portal at support.industry.siemens.com.
3. 0BA5 vs 0BA8.3 Hardware Specification Comparison
The functional and physical differences between the two targets are the source of every migration friction. Confirm the 0BA5 module order code on the nameplate before starting.
| Parameter | LOGO! 5 (0BA5) | LOGO! 8.3 (0BA8.3) |
|---|---|---|
| Base digital inputs | 6 | 8 |
| Base digital outputs | 4 (relay or transistor) | 4 (relay or transistor) |
| Analog inputs on base | 0 (requires AM2 / AM2 PT100) | 2 (0–10 V on I7/I8) |
| Maximum expansion modules | Up to 24 DI / 16 DO + 8 AI (depends on variant) | Up to 24 DI / 20 DO + 8 AI |
| On-board display | Built-in (4 lines × 12 chars) | Built-in (6 lines × 16 chars) or external TDE |
| Ethernet | No | Yes (10/100 Mbit, Web server) |
| SD card slot | No | Yes (microSD) |
| Program memory | Limited (≈ 200 function blocks, 10 text messages max) | Larger (≈ 400 function blocks, 50 text messages) |
| Communication interface to PC | LOGO! PC Cable (RS-232) or LOGO! USB Cable | Ethernet (TCP/UDP) or LOGO! USB |
| Real-time clock (RTC) | 0BA5.RTC variants only | All 0BA8 variants |
| Max program cycle blocks | Restricted block count | Larger block count |
| Available SFB / UDF support | No UDF library | User-defined functions (UDF) |
Reference: LOGO! 5 (0BA5) system manual and LOGO! 8 (0BA8) system manual, both available in the Siemens Industry Online Support portal under entry IDs 6ED1052-1xxxx for 0BA5 and 6ED1052-2xxxx for 0BA8.
4. Why Direct LSC File Editing Fails
LSC stores the program as an XML-like structure with three components that the editor maintains in lockstep:
- Block-number table – Sequential block numbers B001, B002, B003…
- Block-name table – User-assigned display names (e.g. Motor_Run)
- Block-parameter record – Block type, pin connections, and constant values
When the file is downgraded by switching the Hardware Type dropdown in LSC from 0BA8.3 to 0BA5, the editor attempts to translate every block into its 0BA5 equivalent. If any block has no 0BA5 counterpart (e.g. newer special function blocks introduced in 0BA7/0BA8), the translation either silently drops the block, drops the parameter, or leaves the block-number table misaligned with the block-name table.
Three failure signatures appear consistently:
-
Renumbered blocks with stale names:
B005carries the label of an originally-different block (e.g.B46). This indicates cross-file copy/paste into a partially-converted project. - "Missing AI1" warning on conversion – the source used analog input AI1 in 0BA8 (which exists on 0BA8 I7/I8), but 0BA5 base modules do not expose AI1 without an AM2 module. The reference to AI1 is left dangling.
- Text-message overflow – text blocks longer than 4 lines × 12 characters are silently truncated on the 0BA5 display.
5. Prerequisites
| Item | Requirement |
|---|---|
| LOGO!Soft Comfort version | LSC V5.x (for clean 0BA5 editing) – install before launching LSC V8.x if coexistence is required |
| Target firmware | 0BA5 – confirm via menu on the module: Program → Card → PC → Logo! → Setup |
| PC cable | LOGO! PC Cable (6ED1057-1AA00-0BA0, RS-232) or LOGO! USB Cable (6ED1057-1XA01-0BA0). Ethernet cannot be used on 0BA5. |
| Backup of source file | Required – copy the original .lsc to a backup directory before opening it |
| Module order code | Verify by reading the module nameplate; confirm power supply variant (12/24 DC, 24 AC, 115–230 AC) matches I/O expectations |
| Available digital I/O on base | 6 DI / 4 DO – any program using 7 or 8 DI requires an expansion module |
| Available analog I/O on base | None on 0BA5 base – AM2 or AM2 PT100 expansion must be added if AI is referenced |
| Documentation of original logic | Print or export the FBD diagram from the 0BA8 source so you can rebuild by hand |
6. Migration Procedure – Step-by-Step
- Open the original 0BA8.3 file in LSC V8.x in read-only mode. Use File → Open and immediately export a PDF or screenshot of every diagram sheet for reference. Do not save changes.
- Inventory the program. From the LSC Tools → Block List view, record: total block count, list of special function block (SFB) types, every text-message block, and every analog input reference.
- Close the file. Do not attempt File → Save As with the 0BA5 hardware type selected.
- Launch LSC V5.x (or use LSC V8.x with File → New followed by selecting 0BA5 hardware type before any programming).
- Create a new project. File → New. In the hardware-type dialog, choose 0BA5 first. Do not place any blocks before this selection.
- Configure the diagram area. Edit → Grid – confirm grid pitch. Set the diagram sheet count to match the original (or expand to multiple sheets with the matrix icon in the toolbar).
- Re-enter the logic. Rebuild each function block manually using the printed reference. Use the Insert → Block menu. For every block you re-create, assign a new sequential block number (B001, B002…) and a clean block name – never copy/paste from the original 0BA8 file.
- Re-wire the connections. Drag from each block's output pin to the next block's input pin. Confirm every input resolves (no red triangle).
- Convert text messages (Section 7). Remove every text-message block from the 0BA8 source reference and re-create them under the 0BA5 formatting rules.
- Convert analog references (Section 8). If the original used AI1/AI2 on 0BA8 base inputs I7/I8, remap to an AM2 expansion module's AI1/AI2.
-
Save the project. File → Save As with a new filename, e.g.
project_0BA5_v1.lsc. LSC will warn if any block exceeds 0BA5 capacity – address every warning before saving. - Simulate. Tools → Simulation. Step through inputs and confirm outputs behave as in the original 0BA8 simulation.
7. Text Message Block Conversion (Critical)
The 0BA5 display is materially smaller than the 0BA8.3 display, and the on-board LOGO! TD (Text Display) is not supported on 0BA5. Every text block must be reformatted.
| Parameter | 0BA5 | 0BA8.3 |
|---|---|---|
| Lines per message | 4 | 6 |
| Characters per line | 12 | 16 |
| Maximum number of text blocks | 10 | 50 |
| Bar-graph elements | Not supported | Supported |
| Variable fields (AI, AQ, counter, timer) | Supported (same syntax) | Supported |
| Scrolling text | Line-level wrap only | Marquee / scroll supported |
| Character set | LOGO! 5 character ROM (subset of 0BA8) | Extended Latin-1 |
7.1 Conversion Procedure
- Open each 0BA8.3 text block and identify every variable field (
%AI1,%MW0, etc.). - Split lines exceeding 12 characters; if the meaning is lost, abbreviate or move text to a second message block.
- Combine any line that exists below line 4 with line 4 (or move to another message block).
- Verify bar-graph elements are removed – 0BA5 cannot render them.
- Confirm the total text-block count does not exceed 10. If it does, delete lower-priority messages.
8. Function Block Compatibility Matrix
The following special function blocks (SFBs) and resources require manual translation when moving from 0BA8.3 to 0BA5.
| Block / Feature | Available in 0BA5? | Migration path |
|---|---|---|
| On-delay (B004 / SF) | Yes | Direct copy |
| Off-delay (B005 / SF) | Yes | Direct copy |
| On/off-delay | Yes | Direct copy |
| Retentive on-delay | Yes | Direct copy (verify retentive memory is enabled in 0BA5) |
| Weekly timer | Yes | Direct copy (max 3 weekly timers in 0BA5 vs many in 0BA8) |
| Yearly timer | Yes (max 1) | Reduce count or external RTC logic |
| Astronomical clock | No | Replace with weekly/yearly timer combinations |
| Stopwatch | No (added in 0BA7) | Replace with on-delay + edge-triggered counter |
| PWM output | No (added in 0BA7) | Replace with pulse generator + analog threshold logic |
| PI controller | No (added in 0BA7) | Implement discrete PI with arithmetic blocks |
| Math (basic +, -, *, /) | Yes | Direct copy |
| Pulse width modulator | No | Substitute pulse relay + timing logic |
| Analog comparator | Yes | Direct copy |
| Analog threshold trigger | Yes | Direct copy |
| Analog amplifier | Yes | Direct copy |
| Analog multiplexer | Yes | Direct copy |
| Up/Down counter | Yes | Direct copy |
| Hour counter | Yes | Direct copy |
| User-defined function (UDF) | No | Inline each UDF into the main diagram |
| Shift register | Yes (max 8 bits on 0BA5) | Direct copy if width ≤ 8; cascade for more |
| Softkey inputs (F1–F4) | Yes (4 softkeys on 0BA5 display) | Direct copy |
| Network inputs/outputs (Ethernet) | No (0BA5 has no Ethernet) | Remove all NI/NQ references; substitute with local I/O or remove |
| Web server visualization | No | Remove web-editor blocks |
| Data log | No (SD card only on 0BA8) | Remove or implement with external logging |
If the source program uses any block flagged "No" above, the LSC Hardware Type change dialog will refuse the conversion or silently drop the block. Manual rebuild is mandatory.
9. Upload Procedure to LOGO! 0BA5
After the rebuild and simulation pass, transfer the program with the correct cable.
- Power up the 0BA5 module. Connect 115–230 V AC (or 12/24 V DC depending on variant). Verify the display shows the date/time and "No Program" or the previous program name.
- Connect the PC cable. Plug the LOGO! PC Cable (RS-232) or LOGO! USB Cable into the 0BA5's PC interface socket on the front face (under the display cover). Connect the other end to the PC.
- Set PC COM port. In LSC V5.x: Tools → Options → Interface. Select the COM port (COM1 for native RS-232, virtual COM for USB).
-
Open the rebuilt
.lscfile in LSC V5.x. Confirm the bottom status bar shows0BA5as the target hardware type. - Transfer. Tools → Transfer → PC → LOGO! (or click the down-arrow transfer button). LSC will compile and push the program.
- Verify on the module. The 0BA5 display should show "PC <-> LOGO!" briefly, then return to RUN mode. Confirm with LOGO! → Start if the program was previously stopped.
- Test under load. With the panel cover closed (RUN mode active), exercise every input. Watch the outputs and the on-board display.
10. Troubleshooting Matrix
| Symptom | Likely cause | Remediation |
|---|---|---|
| "Hardware type incompatible" error on transfer | LSC project still configured for 0BA8.3 | Re-open the .lsc, verify bottom status bar reads 0BA5. If not, rebuild from scratch with 0BA5 selected first. |
| Block names do not match block numbers (e.g. B005 = name of B46) | File was edited after copy/paste from another project | Discard the file. Start a new project with 0BA5 selected, re-enter every block by hand with sequential numbering. |
| "AI1 not available" warning during conversion | 0BA5 base has no analog inputs; AI1 only exists on an AM2 expansion | Add an AM2 (6ED1055-1MA00-0BA0 for 0–10 V or 0/4–20 mA) or AM2 PT100 (6ED1055-1MD00-0BA0) module on the expansion bus; remap AI references. |
| Text block truncated on display | Line > 12 chars or message > 4 lines | Reformat to 0BA5 limits (4 × 12). Preview in LSC simulation before upload. |
| "Too many text blocks" warning | Source used > 10 text blocks (0BA5 limit) | Consolidate messages; delete low-priority ones. |
| Weekly timer count exceeded | 0BA5 allows max 3 weekly timers | Reduce to 3 or externalize the schedule to a different controller. |
| UDF reference present | UDFs do not exist in 0BA5 firmware | Inline the UDF logic into the main diagram; remove the UDF block. |
| NI/NQ network references present | 0BA5 has no Ethernet | Remove NI/NQ blocks; replace with local I/O or hard-wire replacement logic. |
| Transfer fails partway through | Cable seated loosely or wrong COM port | Unplug and reseat the cable. Re-select COM port under Tools → Options → Interface. Verify in Windows Device Manager. |
| Display shows "Error: Unknown block" after upload | 0BA8-only SFB accidentally embedded during copy/paste | Rebuild from scratch; do not paste blocks across projects of different generations. |
| LSC hangs during "Convert" prompt | File damage from previous save attempt with mismatched hardware | Discard the .lsc file. Start from a fresh template. |
11. Field Commissioning Notes
- Power budget check. 0BA5 base modules with relay outputs consume more inrush than 0BA8 transistor variants. Verify the upstream PSU can deliver the inrush without sagging below the LOGO! brown-out threshold.
- Retentive memory. 0BA5 supports retentive bits, counters, and timers, but the retentive area is smaller than 0BA8. Confirm every variable flagged as retentive in the 0BA8 source fits within the 0BA5 retentive memory map.
-
Real-time clock. Only 0BA5.RTC variants include an RTC. If the original 0BA8 program used weekday or time-of-day logic, confirm the target module is the RTC variant (order code suffix
...-0BA1for AC PSU with RTC, or...-0BA2for DC PSU with RTC). - Expansion bus. 0BA5 supports DM8 / DM16 / AM2 / AM2 PT100 expansion modules on the right-side bus. Up to 4 expansion modules total (older firmware) or more on newer firmware revisions. Check the maximum count in the LOGO! 5 manual for the specific firmware revision on the module.
- Display contrast. 0BA5 has a fixed-contrast built-in display. The 0BA8 TDE (external text display) cannot be attached to 0BA5.
- Documentation: After upload, print the LSC diagram (FBD) and label the panel with the program filename, version, and date. Place the backup of the original 0BA8 source in the panel cabinet for traceability.
-
Verification checklist:
- Every input forced via LSC simulation produces the expected output within one scan cycle.
- Every text message renders within 4 lines × 12 chars without truncation.
- Retentive values survive a power-cycle test (≥ 3 cycles).
- Softkey navigation cycles through menus correctly on the built-in display.
- If an RTC variant is used, confirm date/time persists after power-down.
12. Summary
The migration path from LOGO! 8.3 (0BA8.3) to LOGO! 5 (0BA5) is not a software conversion – it is a manual rebuild. LSC cannot safely downgrade an .lsc file across these two generations because the block libraries, text-message geometry, I/O map, and communication interfaces are fundamentally different. The engineer must start a fresh project, set the hardware type to 0BA5 before any logic is added, rebuild each block with sequential numbering, reformat every text message to 4 × 12 characters and ≤ 10 total messages, remove or substitute any 0BA7/0BA8-only blocks (astronomical clock, PWM, PI, UDF, network I/O), and then transfer the program via the LOGO! PC Cable or LOGO! USB Cable. Following the procedure in Sections 6 and 7 produces a stable 0BA5 program that runs identically to the original 0BA8 deployment within the limits of the older hardware.
Why does my LOGO!Soft Comfort project created for LOGO! 8.3 refuse to upload to a LOGO! 5 (0BA5) module?
The 0BA8.3 and 0BA5 firmware generations use different block libraries, I/O maps, text-message geometries, and communication interfaces. LSC raises a hardware-type-incompatibility error because the internal block structure of the file does not match the 0BA5 target. The fix is a manual rebuild, not a file conversion.
How many text-message blocks does the LOGO! 5 (0BA5) support?
The 0BA5 supports a maximum of 10 text-message blocks. Each block is limited to 4 lines × 12 characters on the built-in display. Any 0BA8.3 message that exceeds these limits must be reformatted or removed.
Can I use the LOGO!Soft Comfort V8.x editor to edit and transfer a 0BA5 program?
LSC V8.x can open and edit 0BA5-compatible programs if the project was created with hardware type 0BA5 selected before any logic was added. For best results with older 0BA5 firmware revisions, install LSC V5.x in parallel and use it as the authoritative editor for 0BA5 targets.
What cable do I need to transfer a program from PC to LOGO! 5?
Use the LOGO! PC Cable (RS-232, order code 6ED1057-1AA00-0BA0) or the LOGO! USB Cable (6ED1057-1XA01-0BA0). The 0BA5 has no Ethernet interface, so the LOGO! 8 Ethernet download method is not available.
How do I handle analog inputs when porting a 0BA8 program to a 0BA5 base module?
The 0BA5 base module has no built-in analog inputs. Add an AM2 (0–10 V / 0/4–20 mA) or AM2 PT100 expansion module on the right-side bus, and remap the AI1/AI2 references in the program to the expansion module's AI inputs. Confirm the expansion module's slot order matches the LSC hardware configuration.