MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How do you create a project and download a program in XDPPro for Xinje XD series?
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)(每月更新中)

How do you create a project and download a program in XDPPro for Xinje XD series?

The XD series (Xinje compact PLCs) is developed in XDPPro, and the workflow is a standard five steps: create the project with the right model → write the program → compile → download → monitor online. All routine, but a few beginner traps (model selection, comms port, download mode) are worth naming in advance. The walk-through below follows the steps.

1. Creating the project and selecting the model

File → New: ① pick the series (XD/XL/XC — XD here); ② pick the model from the unit's silkscreen (XD-16, XD-32T-E...), and in particular distinguish transistor outputs (T) from relay outputs (R) — a wrong pick may still compile and download, but the output behaviour will not match; ③ check program capacity and functions against the catalogue, and add expansion modules in the configuration view.

Wrong model selection is common on refurbished machines with worn labels. Do not guess: connect and use the "read PLC model / upload program" function to identify it — and bring the existing program down for reference at the same time.

2. Programming and project structure

XDPPro works mainly in ladder, with instruction list and function blocks available. Suggested structure: the main program is arranged in networks as "initialisation → mode management → process sections → output summary → alarms", each network titled, with a device-comment table (Chinese descriptions for X/Y/M/D). Timer and counter counts and retention attributes are checked in the device settings — the XD series lets you set the retained range, so allocate it per the design.

3. Compiling and common errors

ErrorCauseFix
Device out of rangeAddress not present on this modelCheck the catalogue device-range table
Double coil warningSame coil driven in two placesSummarise via intermediate relays
Instruction not supportedModel feature tier differsEquivalent instruction or a higher model
Expansion mismatchConfigured modules differ from realityReconfigure to the actual modules

Compile to zero errors before downloading; double coils are warnings, not errors — they download fine but are usually a real hazard, so fix them on the spot.

4. Downloading: ports and modes

Three download channels on XD: ① serial (built-in port with the supplied programming cable — select the right COM and baud rate); ② Ethernet (XD5E and other ported models — fill in the IP, same subnet as the PC); ③ USB (some models). In "Communication Settings" pick the port, run "test connection", then download. Tick download items as needed: program, device settings, expansion configuration — everything on the first download, program only for daily small edits.

Downloading stops the machine while writing: downloading to a running machine reorganises outputs instantly under the new program, so bring the machine to stop or manual first. The PLC returns to RUN automatically after the download (per software settings) — verify unloaded first.

5. Online monitoring and simulation

After download, enter online monitoring: contact states and device values update live, with modify/force on right-click. Small edits use "online write" (partial changes without a full download when the project matches). With no hardware attached, use offline simulation first: run the program in the simulator, toggle input states by hand, and walk the flow through before touching the real machine — it saves half the field time.

6. Common connection problems

SymptomLikely causeFix
Serial will not connectWrong COM / non-original cableConfirm the port number, use the original cable
Ethernet will not connectIP not on the same subnetChange the PC IP or temporarily the PLC IP
"PLC password" promptPredecessor set a download passwordGet it from the owner
Download interruptedPoor USB cable / serial noiseShorter cable, re-download completely
Uploaded program has no commentsComments not stored in the PLC / not uploadedTick comments in the upload if supported

7. Notes

XDPPro's flow mirrors mainstream compact-PLC software: select, program, compile, download, monitor. The differences concentrate in device ranges and retention settings — keep the model's catalogue device table at hand and eighty percent of "won't download / won't run right" resolves on the spot.

8. References

Operation follows the Xinje XDPPro Programming Software Manual and the XD Series User's Manual (communication and download chapters); device ranges and retention settings follow the specific model's manual; commissioning-mode safety follows GB 5226.1 / IEC 60204-1.

9. Cautions

⚠️ Three traps to avoid:
① Relay/transistor output models confused — output behaviour mismatch that defies diagnosis;
② Downloading to a loaded running machine — outputs reorganise instantly and cause false motion;
③ Overwriting a second-hand machine without uploading its program first — the original logic is gone for good.

Taking over any Xinje machine, the first move is always: connect → read model → upload program → archive. Do that before touching anything and you always keep an escape route.

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