Troubleshooting
Why a LOGO 0BA8 clock transfer needs VW991 and the right HMI driver
Short answer
A LOGO! 0BA8 hands its clock to an HMI through the documented VM block at addresses 991 to 1002, so the Date/time PLC area pointer must start at VW991 under the SIMATIC S7 200 driver on a first-generation KTP400. If the panel still shows its own time, its NTP synchronization is overwriting the transfer; clear that setting and the LOGO! clock takes over.
On this page
- Why does a working LOGO 0BA8 connection still leave the panel clock wrong?
- Which memory block does the LOGO 0BA8 use to hand its clock to an HMI?
- Which communication driver does the panel need for the LOGO 0BA8 clock?
- Where does the Date/time PLC area pointer start?
- Why does the date/time field show an invalid value while normal tags work?
- Why does the panel keep showing its own stale time?
- How do you prove the panel accepted the LOGO clock?
- Questions asked
Your LOGO! 0BA8 and the panel talk fine — switching times arrive, weekday bits toggle — yet the date/time display never follows the controller clock. That is not one fault but a missing mechanism: process tags and clock transfer ride separate paths. The LOGO! documents a clock exchange at VM addresses 991 to 1002, and the panel reaches it only through the Date/time PLC area pointer, with the controller set as time master. On the reported first-generation KTP400, the combination that runs is the SIMATIC S7 200 communication driver with the pointer at VW991; on the reported KTP600 with WinCC Basic V13, the panel's NTP synchronization had to be cleared before the transfer stuck. Work the checks below in order and finish with the bench test that proves the panel accepted the LOGO! clock.
Why does a working LOGO 0BA8 connection still leave the panel clock wrong? #
Because ordinary tags and the clock ride different mechanisms: your on and off times prove the communication link works, while the date/time display is fed by the Date/time PLC area pointer, a separate setting that many projects never configure.
Decide the direction first: the LOGO! clock is the source and the panel is the recipient, so the controller is the time master and every later setting follows from that. Splitting the weekday bits out of a switching function and toggling them from the panel is ordinary tag traffic — the same class of exchange as setting a LOGO! 0BA8 timer from a KP400 HMI via VM mapping. The clock is a different kind of object: a structured block the controller publishes through its own dedicated mechanism, not a value anyone writes into it. That is why these jobs fail in a uniform way — every process value moves and only the clock stays wrong — and why repairing the connection never repairs the clock.
Which memory block does the LOGO 0BA8 use to hand its clock to an HMI? #
The LOGO! Base Module exchanges its date and time with SIMATIC S7-compatible devices and HMI devices over VM addresses 991 to 1002, a structured twelve-address block that the LOGO! system manual documents for exactly this purpose.
VM is the LOGO!'s variable memory, and the manual reserves this window for the calendar and time-of-day exchange; it is not scratch space to borrow single words from. Treat the whole block as one object: the panel's area-pointer function consumes the structure in one transfer, and the manual carries the field layout, so take the encoding from the documentation rather than reconstructing bytes. One check keeps the scale in view: 1002 − 991 + 1 = 12 byte addresses, a structure far larger than the single word an ordinary tag moves. Anything that tries to read the exchange as one scalar is wrong before communication even starts.
Which communication driver does the panel need for the LOGO 0BA8 clock? #
On a first-generation KTP400 the reported working combination selects the SIMATIC S7 200 communication driver for the LOGO! connection, not the LOGO driver, and the clock transfer ran with the area pointer sitting at the start of the documented block.
A communication driver defines how the panel reaches controller memory, so the clock exchange inherits whatever driver its connection uses. The SIMATIC S7 200 selection is the reported working choice for that panel generation, because the LOGO! exposes an S7-compatible interface; it is not a rule for every LOGO! and panel pair, so confirm the driver list for your own panel before copying it. Prove the transport before judging the clock: read an existing process value through the same connection and watch it agree with the controller. When one panel serves two LOGO! units, the area pointer attaches to one connection, and a healthy tag arriving over the other connection proves nothing about the clock exchange. If the physical link itself is still in question, connecting a LOGO! 0BA8 to an MT8050iE HMI over Ethernet walks that setup end to end.
Where does the Date/time PLC area pointer start? #
The global Date/time PLC area pointer must start at VW991, the first address of the documented clock block; the reported project only ran after the pointer moved there from VW985, while every process tag on the same panel stayed healthy throughout.
The pointer name carries the direction: Date/time PLC moves the clock from the controller to the panel, which the WinCC documentation gives as the choice when the PLC is the time master, while the plain Date/time pointer sends the panel clock the other way. Use the area-pointer function of the HMI engineering software, found with the connection settings in the project, and never substitute an ordinary tag just because both hold an address. Attach the pointer to the connection that reaches the LOGO! whose clock you want, then reopen the saved project and confirm the connection and the address are what you intended.
Worked example, with documented addresses and illustrative arithmetic: the block begins at byte 991, so a pointer entered at VW985 begins six bytes too early — 991 − 985 = 6 — and every field of the exchange lands on memory that belongs to other VM content. The panel then decodes unrelated data as calendar fields, which reads back as an invalid or nonsensical value while process tags stay healthy. Aligned at the block start, the first field sits on the byte the manual names and the structure runs forward from there.
Why does the date/time field show an invalid value while normal tags work? #
A scalar tag cannot carry a date and time: the reported project tried INT and then WORD for the field's process value and the panel flagged both invalid, because the field expects the structured block the area pointer delivers, not a single number.
Check what the screen object actually reads before changing any data type. Some date/time objects show the panel's own clock, and that kind of display can be perfectly formatted and completely wrong at once — plausible numbers, stale clock. A field tied to a process value needs the clock structure the pointer delivers, and a twelve-address calendar will never fit an INT or a WORD, which is why retyping the tag changed nothing in the reported project. The symptoms split cleanly: valid process tags with an invalid date/time value point at the field's source, a plausible but frozen time points at synchronization, and a clock that stays wrong after the pointer is configured points at a competing time source, taken up next.
Why does the panel keep showing its own stale time? #
Because a second clock source is still active: on a KTP600 with WinCC Basic V13 the panel kept displaying its time, year 2004 at 13:00, until the NTP time synchronization option was cleared, because the panel refreshed against NTP entries even with no valid server address entered.
A panel can take its time from several masters — a PC, a controller, an NTP server — and only one should be authoritative in this project. Panels with their own network clock troubles are covered in troubleshooting SNTP clock sync on a Windows CE panel, and deliberately combining a PC and a controller as sources is what setting HMI clock time from PC and PLC daily is about. In the reported KTP600 case, clearing the NTP synchronization option let the LOGO! clock through immediately, because the panel had been refreshing against NTP entries that had no valid address behind them. Work the chain both ways before blaming the panel: the LOGO! itself can take its time from NTP and applies its own summertime and wintertime conversion settings, so a controller you treat as master may itself be following the network.
How do you prove the panel accepted the LOGO clock? #
Change the clock on the LOGO!, not on the panel: set the controller time a few minutes ahead from its display or the programming software, run the screen, and call the transfer proven only when the panel's date/time display follows that change.
Run the proof on the bench with the process untouched, in this order:
- Confirm the LOGO! clock is correct at the controller, from its display or the programming software.
- Read a known process value through the panel connection and watch it agree with the controller.
- Check the communication driver on that connection; the reported first-generation KTP400 case ran on SIMATIC S7 200.
- Check the global Date/time PLC area pointer on that same connection and confirm it starts at VW991.
- Clear the panel's NTP time synchronization option and any other competing time source.
- Feed the date/time field from the pointer-delivered clock, not from a retyped INT or WORD tag.
- Move the LOGO! clock a few minutes, watch the panel display follow, then set the correct time back.
Decision, by symptom: healthy tags with an invalid date/time value — fix the field's source, not the link. A panel stuck on its own or a network clock — clear the NTP option and let the controller act as master. A transfer that never runs on a first-generation KTP400 — check the driver selection and the pointer address before anything else. If logged records or time-stamped alarms depend on the panel clock, re-verify them once the time source changes.
Questions asked
Which direction does each date/time area pointer run?
The pointer named Date/time PLC sends the controller clock to the panel, so the controller is the time master and that is the one a LOGO!-fed panel needs. The plain Date/time pointer runs the opposite way: the panel pushes its clock into the controller, which collects it through control job 40 or 41 in its job mailbox. Decide which device is master, then pick the pointer to match.
Can I read the clock with ordinary VM word tags instead of the area pointer?
A date and time is a structured block spanning twelve VM addresses, and the panel's date/time field expects that whole structure. A single INT or WORD carries one number, so the field reports the value invalid, which is the exact symptom reported when those two data types were tried. Configure the area pointer and feed the field from it instead.
What if the LOGO! itself gets its time from the network?
The controller can synchronize from an NTP source and applies its own summertime and wintertime conversion settings, so a panel following the LOGO! clock ultimately follows whatever chain feeds the controller. If both devices sync from the same network source, the transfer still works but neither device is truly master. Check the controller's own clock settings before blaming the panel.
Does this driver and pointer combination apply to every panel and LOGO generation?
Treat the reported setup as one verified configuration, not a universal recipe: it was documented on specific panel generations and WinCC versions. Newer panels and LOGO! generations have their own documented drivers and synchronization paths, so confirm the driver list and clock functions for your exact panel and firmware before copying settings between projects.