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.
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.
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.
| Error | Cause | Fix |
|---|---|---|
| Device out of range | Address not present on this model | Check the catalogue device-range table |
| Double coil warning | Same coil driven in two places | Summarise via intermediate relays |
| Instruction not supported | Model feature tier differs | Equivalent instruction or a higher model |
| Expansion mismatch | Configured modules differ from reality | Reconfigure 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.
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.
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.
| Symptom | Likely cause | Fix |
|---|---|---|
| Serial will not connect | Wrong COM / non-original cable | Confirm the port number, use the original cable |
| Ethernet will not connect | IP not on the same subnet | Change the PC IP or temporarily the PLC IP |
| "PLC password" prompt | Predecessor set a download password | Get it from the owner |
| Download interrupted | Poor USB cable / serial noise | Shorter cable, re-download completely |
| Uploaded program has no comments | Comments not stored in the PLC / not uploaded | Tick comments in the upload if supported |
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.
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.
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.