MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Common errors in code assignment and their fixes
HomeModels
Table of contents

On this page

Electrical Control & Drawings (500 articles)

Quick Reference

Common errors in code assignment and their fixes

Code assignment looks simple but hides many traps: duplicates, gaps, wrong class, mismatch. This lists the frequent errors with fixes so you can self check instead of repeating them.

1. How it works

Error one: mixing prefixes of the same type (K with KM) makes the drawing messy; fix by issuing one letter table for the whole project. Error two: duplicate numbers (two KM1) leave locating ambiguous; fix with software duplicate check and a unified revision. Error three: gaps (KM1, KM3 missing KM2) make later readers think something was missed; fix by numbering continuously or noting the gap reason. Error four: wrong class (motor under K); fix by classifying per GB/T 5094.

2. Practice and pitfalls

Further errors: five, no higher level across subsystems so both have KM1; fix with =A/=B. Six, code disagrees with list so purchasing errs; fix by making code the list key, character matched. Seven, change drawing without revising so they diverge; fix by revising on change. Eight, free text for code so reports cannot filter; fix with device identifiers. Nine, missing position mark so hardware is unfindable; fix by marking both code and position. After writing, run duplicate and consistency checks and log errors for review.

3. Code error fix table

ErrorSymptomFix
Mix prefixK with KMOne table
DuplicateTwo KM1Software check
GapMissing KM2Continuous
Wrong classMotor under KPer 5094
No higherCross dupAdd =A
No reviseDivergeRevise on change

4. Notes

Rule: issue the letter table and template before coding; unify mixed prefixes, duplicate check and revise, number continuously or note gaps, classify per GB/T 5094, add higher level across systems, make code the list key, revise on change, use device identifiers, mark code and position; after coding run duplicate and consistency checks and log errors for review.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Item codes per GB/T 5094 (IEC 61346), documentation per GB/T 6988, symbols per GB/T 4728. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Skip duplicate check after coding: repeats reach site
② Errors uncorrected: repeated next time
③ No standard template: everyone their own

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

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