MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › What is the difference between holding registers and data registers on a Delta DVP?
HomeModels
Table of contents

On this page

PLC & Programming (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

What is the difference between holding registers and data registers on a Delta DVP?

Not all DVP data registers D are equal: some clear at power-off (general area), some are retained (holding area), and a file-register area exists for large data. Getting "what may be lost" and "what must not be lost" into the right areas is what stops the classic post-outage complaint "parameters reset, production counts gone". The sections below cover the areas, the allocation principle, program support and verification.

1. The D-register areas: check the catalogue before coding

Area boundaries differ by model, so open the catalogue first. A typical mapping (example only — verify against your model's catalogue):

AreaTypical range (example)After power-offTypical use
General DLow-numbered block (e.g. D0~D199)ClearedIntermediate results, scratch data
Holding DMiddle blockRetainedSetpoints, counts, calibration
Holding (long) DHigh blockRetainedRecipes, accumulators
Special DFixed block (e.g. D1000 up)System-writtenScan time, error codes, system info
File registersCapacity configured in parametersRetainedLarge recipe data

Some models offer a "latch attribute changeable" block that parameters (or runtime flags) can convert between general and holding — changing that is a structural change to be fixed at design time, not fiddled with on a shipped machine.

2. The allocation principle: classify by "may it be lost on power-off?"

Data kindWhere it goesWhy
Intermediate results, scratchGeneral areaLosing them is fine; a clean restart is a feature
Process setpoints (speed, temperature, times)Holding areaThe operator's tuning must survive an outage
Production counts, run hoursHolding (long)Clearing them is an incident
Calibration factors, sensor correctionsHolding (long)Re-calibration costs half a shift
Recipe dataFile registers / holdingLarge volume, must persist
Comms buffers, sequence step numbersGeneral (or holding as designed)Restart should return to initial state — retention can be dangerous

One counter-intuitive case: the step number of a sequence should usually be in the general area — restarting at step 0 after an outage is safe, whereas retaining it makes the mechanism resume mid-motion, which is worse. Retention is a per-data decision, never a blanket one.

3. Program-level support measures

① Initialisation: on the power-up pulse clear the general area and set a "data valid" flag for the holding area — a fresh factory PLC holds random numbers, and the flag decides whether to trust them; ② parameter protection: password or permission pages on setpoint editing so operators cannot wander into calibration; ③ checksums: key parameters carry a checksum, and a failed check at power-up raises an alarm and loads defaults; ④ reset governance: production counts clear only from a specific screen button — no casual RST in the program.

4. Verification: actually pull the plug once

After design, verify with a real outage: cut power mid-run, restore, and check item by item — setpoints retained? counts intact? general area zeroed? step number back to initial? alarm history preserved? Test both "power cut while running" and "power cut while stopped", and watch data sitting at area boundaries with extra care — mis-drawn boundaries are the classic partition error.

5. Problem table

SymptomLikely causeAction
Parameters reset after outageSetpoints placed in the general areaMove to holding area and update all references
Machine misbehaves after restartStep number retained, motion resumes mid-sequenceStep number to general area, or add reset logic
Garbage data on first power-upHolding area factory-random with no valid flagAdd valid flag + default loading
One register keeps changingSpecial-D area used by mistakeCheck the special-register table, avoid it
Counts mysteriously clearedStray RST or overlapping addressesCross-reference search for clear instructions
Data lost after battery alarmBattery-backed area, battery deadReplace per manual, add to inspection

6. Notes

Register partitioning is really "persistence layering": general = RAM, holding = battery or EEPROM-backed storage. Assign every datum by "may it survive an outage?" at design time — retrofitting the holding area later means moving D addresses and chasing references through the whole program, ten times harder.

7. References

Area ranges and retention follow the Delta DVP-PLC Application Handbook hardware chapters and built-in register tables for the specific model; battery-backed retention service follows the manual; parameter retention and restart safety follow GB 5226.1 / IEC 60204-1 (no automatic restart of mechanisms after power restoration).

8. Cautions

⚠️ Three traps to avoid:
① Writing area boundaries from a previous model's memory — the new model partitions differently and the holding area has moved;
② Step numbers in the holding area — after an outage the mechanism resumes mid-motion and breaks tooling;
③ Holding area with no valid flag — random factory data is read as setpoints on first power-up.

Add a column "OK to lose on power-off?" to the D-area design table, then write code; before shipping, pull the plug once and confirm retention and reset behaviour on the spot.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL