IMDTouchKnowledge BaseShop main store

Explainer

What a WinCC application needs to exchange data with WF723 modules

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

No fixed GRACIS DBs or FBs define the exchange, so GRACIS block names cannot be mapped tag by tag. For each WF723 module, trace one request area, one status readback area and the request, busy or complete and error bits in the installed controller program, map WinCC tags with matching data types, and set the done supervision at three times the worst measured completion time. Manuals come from Siemens Industry Online Support; the software is licensed through Siemens.

On this page
  1. Are there special GRACIS DBs or FBs a WinCC application can use?
  2. Where can you get the GRACIS software or its handbook?
  3. Which data areas does each WF723 module need in WinCC?
  4. How do you find those areas in the installed controller program?
  5. How do you map WinCC tags to the traced areas?
  6. How long should WinCC wait for a done or error bit?
  7. How do you commission several WF723 modules one by one?
  8. Questions asked

There is no fixed set of GRACIS DBs or FBs you can copy into a WinCC application, because no Siemens document defines the exchange that way: the installed controller program defines it. What WinCC needs from that program is small and concrete — for each WF723 module one request area, one status readback area and the handshake bits that sequence them, with machine data handled apart from routine commands. This article names the manuals that cover each WF723 variant, shows the cross-reference trace that finds the areas, sets the tag-mapping rules, and derives the wait time from measured completion times.

Are there special GRACIS DBs or FBs a WinCC application can use? #

No. The WF module documentation presents GRACIS as the vendor's HMI package for configuring these modules, but no published document fixes its DB and FB numbers as an interface, so the exchange is defined by the controller program installed in your machine.

A data block (DB) stores controller data; a function block (FB) runs logic with its own instance data. Neither word identifies an interface. A DB number says where data sits, not which module it belongs to, who writes it, or what a single bit means. Where one program serves several WF modules, a shared area often carries a target index, an FB instance can hold one module's transfer state, and some transfers run through peripheral I/O rather than any DB at all. Those semantics live only in the installed program.

One correction to the usual search: Siemens documents WF 721, WF 723 A, WF 723 B and WF 723 C as positioning modules for special machines and machine tools, so look for positioning-module manuals, not weighing or process documentation. The decision stands: treat GRACIS block names as a hint at most, and build the interface from the installed program before you map a single tag.

Where can you get the GRACIS software or its handbook? #

Through Siemens only: the manuals sit on Siemens Industry Online Support under their attachment codes, and the GRACIS software itself comes from Siemens or an authorized distributor under its license.

Search the code and you reach the attachment for your variant:

Module Document Attachment code
WF 721 / WF 723 A, machine tools Manual with the Step 5 software usage section 0NE02-0BA6
WF 721 / WF 723 A / WF 723 B, special machines Manual: overview, structure, installation, operation, messages 0SF02-0BA2
WF 721 / WF 723 A Planning instructions for project engineers and planners 0WG02-0AA1
WF 721 / WF 723 A Concise manual for machine design engineers 0NF02-0BA7
WF 721 / WF 723 A Manual for machine design engineers 0NB02-0AB0
WF 723 B Planning instructions 0WT02-0AA0
WF 723 C Concise manual 0VW02-0BA2
WF 723 C Planning instructions 0WL02-0AA1

Read the variant letter on the installed module first — A, B and C are documented separately for a reason. The machine-tools edition for the A modules is the one with the Step 5 software-usage section, which is where the controller side of the exchange is described. For the GRACIS package itself, ask Siemens whether it is still deliverable and what license covers it, or obtain it through an authorized distributor; copies from anywhere else are not a route this article describes. In practice the manual plus the installed program are enough to build the exchange.

Which data areas does each WF723 module need in WinCC? #

Each module needs exactly three things mapped: a request area you write, a status readback area you display, and the handshake bits that sequence them — request, busy or complete, and error — with machine data kept apart from routine commands.

  • Request area: the command bits, a target selection where one area serves several modules, and for machine data the value with a submit trigger. This is the only area that gets write access.
  • Status readback area: what the transfer returned — actual values, state and diagnostics, including the machine data the module reports after a change. Read-only in WinCC.
  • Handshake bits: they distinguish a new request from an active, finished or failed transfer, and they belong to the module the target selection names.

Machine data are configuration values that change how the module behaves, so they get their own access policy: the operator's edited value sits in a staging tag, goes in through the documented sequence, and only the readback comparison counts as configured. A successful WinCC write proves memory access, never a completed module operation. For every field, record address, data type, length, scaling and unit, permitted range, writer, reader, trigger and completion indication — a writable tag with an unexplained writer stays unmapped.

How do you find those areas in the installed controller program? #

Start from each module's address in the controller hardware configuration and use the programming tool's cross-reference to list every instruction that reads or writes it; the routines that appear are your transfer logic.

Then work inward:

  1. Confirm the variant letter and the slot or address of every module, one physical module at a time.
  2. Cross-reference those addresses; every hit is part of the transfer logic.
  3. Inside that logic, note where the request is copied from and where the returned status is copied to — those are your request and readback areas.
  4. Cross-reference those areas in turn to find every other writer: interlocks, initialization routines, the command path of whatever HMI ran before.
  5. If an older HMI project exists, trace one working operator command end to end; it shows the request bit's true trigger semantics.

The discipline is the same producer-to-consumer walk that traces the path when WinCC receives no data from an S7 PLC, only here you start at the module and walk back. An online trace shows execution order; it does not give a field its meaning or its permitted range — those come from the program documentation and the manual's software-usage section.

How do you map WinCC tags to the traced areas? #

Match data type, length and scaling exactly as the program declares them, give write access only to the request area, and keep the operator's edited value in a separate staging tag until the module's readback confirms it.

STEP 5 data words are 16 bits, and a machine datum that spans two words needs both, in the order the program uses — read the order from the code, never assume it. A type or length mismatch is exactly why an HMI writes the wrong PLC value above 9. Carry scaling and unit into the tag definition, or a raw count shows up on screen as millimetres.

HMI input limits stop one screen; they do not stop another writer. Validate target, range and machine state in the controller before a request is forwarded — that check is part of the interface, not decoration. Back up the controller and the WinCC projects before the first change, and keep the restore path tested.

How long should WinCC wait for a done or error bit? #

Base the supervision limit on measurement: three times the worst completion time you record during commissioning, rounded up, and re-check it whenever mechanics or scan time change.

Take the request semantics from the program: some routines need a bit that stays set until the program clears it, others need a pulse or a value change — substituting one for another loses requests or repeats an operation. Never clear a bit the program clears, and never issue a new request while the busy indication stands. The done bit is the only proof of a finished transfer; the supervision time only decides when the operator is told something is wrong.

Worked example, with numbers from one machine's commissioning — yours will differ: the reference-point command was issued 50 times under a timestamped controller trace, and the done bit arrived 0.6 s to 1.8 s after the request edge. Limit = 3 × 1.8 s = 5.4 s, set to 6 s. The status word is read cyclically every 1 s, so the screen lags the bit by up to one refresh, and the on-screen no-response message appears at 6 s + 1 s = 7 s after the click. A second machine measuring a 2.4 s worst case gets 3 × 2.4 s = 7.2 s, set to 8 s.

The factor of three covers the spread between typical and worst already measured, plus cold mechanics and scan-time drift; it is an alarm threshold, not a module specification, so re-measure after mechanical work. Commit the measured limit to the interface record beside the trigger it supervises.

How do you commission several WF723 modules one by one? #

One module at a time under controlled machine conditions: verify target identity, status freshness and one full command sequence before adding the next target, with a recoverable backup of both projects before the first write.

For each module, take these readings:

  • Target identification: select the module and compare the displayed identity or observable reaction with the physical assignment.
  • Status freshness: change a documented, safely observable condition and watch the indication arrive through the intended path.
  • Command sequence: issue an approved test command and observe request, busy and done as separate states; provoke the error path on an isolated bench with verified test tags before you trust the alarm.
  • Machine data: submit a test value, compare the readback, restore the original.

These are positioning modules, so run command tests with the axis guarded — a traced request bit produces real motion. When the per-module areas end up in different DBs, bind PLC tags from different DBs into a WinCC HMI UDT so each module reuses one template. Before two screens may request at once, verify how the program arbitrates a shared transfer area; a second request overwriting an active one is the failure this screens out. Commissioning ends when you can show, per module, both a finished WinCC transaction and the finished module operation behind it.

Questions asked

Can you finish the WinCC application without owning GRACIS?

Yes. The addresses, data types and handshake semantics already exist in your installed controller program and the module manual, which is everything the exchange needs. GRACIS is worth requesting only as a reference for screen layout and workflow, so ask Siemens for it as documentation, not as a prerequisite.

Does WinCC communicate with a WF723 module directly?

No. The module sits on the controller's I/O and the controller program performs every transfer; WinCC only reads and writes controller data areas. The HMI is never in the module's real-time path, so its display refresh adds delay on top of the transfer, and only the readback confirms an operation.

Does an interface record built for a WF 723 A also fit a WF 723 C?

No. Treat the variants' data areas as different until the installed program shows otherwise, even for two modules in one rack behind the same controller: each physical module gets its own traced request, readback and handshake fields, and its own entry in the record with its own measured wait time.

What is the minimum handshake for one module?

Three bits: a request the operator sets, a busy or complete indication the program sets, and an error bit. If the program packs done and error into one status word, map that word and decode its documented bits instead. Never reuse the request bit as the done indication, or a lost transfer looks like a fast one.

Keep reading

  • Troubleshooting

    Why WinCC Runtime Professional Shows No Data From PLCSIM

    The runtime window opening with static screens means the runtime process runs but its path to the simulated CPU does not. Point the access point in Set PG/PC Interface at PLCSIM or the matching TCP/IP route, compile the PC station, connect the TIA project to PLCSIM, and put the CPU in RUN before the runtime starts.

    HMI and touchscreens

  • Troubleshooting

    Why a WinCC Flexible data log trigger bit writes zero values

    A zero-filled values column in a WinCC Flexible data log proves the TXT storage ran, not that Tag_2 was acquired. Fix the Runtime interface assignment so it attaches to PLCSIM, prove that MD500 tracks a known Real value online, then drive logging from the Change value event on Tag_1 instead of High and Low limit events, calling StartLogging on 1 and StopLogging on 0.

    HMI and touchscreens

  • Troubleshooting

    Why GRAPH instance DB tags are hidden from WinCC in TIA Portal

    A GRAPH instance data block inherits its visible-in-HMI and accessible-from-HMI attributes from its function block, so the DB check boxes stay greyed out and WinCC cannot select the sequencer tags. Enable the GRAPH parameters for HMI access in the FB editor, reassociate the instance DB and recompile; the tags then appear in the WinCC tag browser.

    HMI and touchscreens

Why a Twido needs no Comm macro or EXCHANGE for an HMI button