IMDHMIControls LibraryShop main store

Troubleshooting

Why an OP7 ACK key clears alarms through the System Key area pointer

PLC programming Published 4 min read

Short answer

Set the OP7 project's System Key area pointer to VW90. The panel writes system-key status into that word of S7-200 V memory, so the ACK key lands on V91.1, the bit the existing alarm-clear logic reads — no physical input required. Verify by monitoring the bit while pressing ACK; if it never moves, fix the pointer or the panel link before touching the PLC program.

On this page
  1. What the rebuild dropped
  2. Why VW90 puts the ACK key on V91.1
  3. Set the System Key area pointer
  4. Verify the ACK path in order
  5. Keep the word clear
  6. Questions asked

Your rebuilt OP7 project lost the ACK-to-PLC link because that link never lived in the screens or messages you recreated. It lives in an area pointer: set the System Key area pointer to VW90 in the panel project and transfer it. The panel then writes system-key status into that word of S7-200 V memory, and the ACK key's status lands on V91.1, the bit your alarm-clear logic already reads — no pushbutton wired to a controller input required. Below is why the byte arithmetic puts ACK exactly on that bit, the steps to set the pointer, and the ordered checks that separate a missing pointer from a dead panel link or an edited PLC program.

What the rebuild dropped #

The key-to-PLC interface was configuration in the original project, not anything visible on screen. An area pointer is a PLC address that the panel exchanges data with automatically over its link to the controller; recreating screens and messages reproduces what the operator sees and none of those invisible mappings. Every panel function that touches the PLC is an address mapping somewhere — on Modbus-based panels the same job appears when an HMI alarm address maps to a PLC tag (article:what-an-hmi-alarm-modbus-address-maps-to-in-the-plc) — and on this OP7 the mapping for the ACK key is the System Key area pointer.

The PLC side is already proven. Driving the alarm-clear bit from a controller input reset the alarms, so the reset rungs work and the only missing piece is the path from the panel's key to that bit.

Why VW90 puts the ACK key on V91.1 #

S7-200 V memory is byte-addressed: a word address covers two consecutive bytes, and a bit address is byte number, dot, bit number 0 to 7. The arithmetic:

  • The pointer word VW90 spans byte VB90 and byte VB91, because a word is two bytes (90 + 1 = 91).
  • The panel writes each system key's status to a fixed bit of that word, and the ACK key's bit is bit 1 of the second byte.
  • Second byte is 91 and the bit is 1, so ACK lands at V91.1 — exactly the alarm-clear bit the program watches.

One pointer entry therefore replaces a wired pushbutton: ACK key → key-status word at the pointer → bit 1 of byte 91 → your existing reset logic.

Set the System Key area pointer #

  1. Open the OP7 project in the panel's configuration software.
  2. Open the communication configuration for the connection to the PLC.
  3. In the area pointers, enter VW90 as the System Key pointer.
  4. Save, then transfer the updated project to the panel.

The pointer takes effect after the transfer, not when it is typed, so finish the download before testing anything.

Verify the ACK path in order #

Each check ends in one decision:

  1. Monitor the alarm-clear bit online from the S7-200 programming software and press ACK on the panel. The bit must go to 1 and the existing logic must clear the alarms. One caution belongs here: clearing alarms online acts on a running machine, so test with the process in a state where an alarm reset is harmless.
  2. The bit never moves, but the panel's screens show live PLC values. The link is good and the pointer is wrong — check the entry for a typo and confirm the updated project really was transferred to the panel.
  3. Nothing on the panel updates at all. Repair the panel-to-PLC connection first; no pointer can be tested through a dead link.
  4. The bit moves but the alarms stay on. The panel did its job, so the program changed since the input-driven proof — compare the online program with the known-good copy and reload it.

Keep the word clear #

While the pointer is set, both bytes of that word belong to the panel. No other rung may write them, or key detection turns intermittent and you will chase what looks like a communication fault. Search the program for any other use of those two bytes before you close the job. The decision for this machine: keep the pointer at the address the original panel used and leave the proven program untouched — one panel-side change restores the original behavior.

Questions asked

Where does the OP7 manual document area pointers?

The OP7 manual covers them in its communication chapter, numbered 14.3.1, which lists each area pointer, the PLC memory it occupies and the direction the data moves. Read that chapter before adding pointers for other keys or functions, because every pointer reserves PLC memory the program must leave alone.

Can the System Key area pointer sit at a different word?

Yes. The ACK key always lands on bit 1 of the pointer word's second byte, so a pointer moved to VW140 would put it at V141.1 (140 + 1 = 141). The installed program already reads its alarm-clear bit at V91.1, so keep VW90: one panel-side change restores the machine, while moving the pointer forces a matching PLC edit.

Why not keep a wired pushbutton on a PLC input for ACK?

Because the wired input was a test, not the design. It proves the reset logic, but it leaves the panel's ACK key dead, adds a control the operators were never trained on, and adds wiring and an input that must be maintained. Restore the pointer instead: it reproduces the original behavior with no hardware change.

Do other keys write into the same word?

The System Key area pointer maps the panel's system keys into the one word it addresses, each key to its own bit, so ACK shares that word with the other system keys. The manual's communication chapter lists the exact bit of each key. Treat the whole word as panel-owned and keep coils and move instructions away from both bytes.

Keep reading

  • Troubleshooting

    Why modbus_comm_Load Done stays false on an S7-1200 G2

    A false Done on modbus_comm_Load is not yet a fault: the call may never have run, or its Error and STATUS lasted one scan and vanished before you watched them. Capture both in tags set right after the call, confirm the CM1241 firmware is V2.1 or later, and decode the stored STATUS against the instruction's error list. The decoded value, not the serial settings, names the fix.

    PLC programming

  • Troubleshooting

    Modbus_Comm_Load on an S7-1500 CM PtP stays idle at 16#7000

    STATUS 16#7000 on Modbus_Comm_Load means the block is idle: it has not processed any request, so DONE and ERROR stay false. Check that the instruction executes on an active path with one fresh REQ edge, that PORT matches the CM PtP RS422/485 HF hardware identifier, and that the Modbus_Master instance DB is linked at MB_DB before polling.

    PLC programming

  • How-to

    Read DP slave diagnostic addresses with SFC51 on an S7-300

    SFC51 RDSYSST with SSL ID 0x00B4 selects a DP slave by its configured diagnostic address, and that address never comes from the 0x0092 station list: station numbers and diagnostic addresses live in separate addressing domains with no conversion between them. Read the address from the documented 0x00B status list family or from the hardware configuration, then call 0x00B4 once per address.

    PLC programming