0% found this document useful (0 votes)
66 views178 pages

XDXL Hardware Manual

Uploaded by

Nguyen Quan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views178 pages

XDXL Hardware Manual

Uploaded by

Nguyen Quan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

XD/XL series PLC

User manual[Hardware]

WUXI XINJE ELECTRIC CO., LTD.

No. PD01 20220307EN 1.1


1 Preface
—————————————————
2 XD series PLC summary
—————————————————

XD/XL series PLC 3 PLC specifications and parameters


—————————————————

User manual[hardware] 4 System structure


—————————————————
5 Power specification and wiring
—————————————————
6 Input specification and wiring
—————————————————
7 Output specification and wiring
—————————————————
8 Run, debug, maintain
—————————————————
9 Expansion devices
—————————————————
10 Switch between soft elements
—————————————————
11 Appendix
—————————————————

1
General descriptions
⚫ Thank you for purchasing Xinje XD/XL series PLC.
⚫ This manual mainly introduces XD/XL series PLC hardware features etc.
⚫ Please read this manual carefully before using and wire after understanding the
content.
⚫ About software and programming instructions, please refer to related manuals.
⚫ Please hand this manual over to operation users.

Notices for users


⚫ Only experienced operator can wire the plc. If any problem, please contact our
technical department.
⚫ The listed examples are used to help users to understand, so it may not
act.
⚫ Please conform that PLC specifications and principles are suitable when connect
PLC to other products.
⚫ Please conform safety of PLC and machines by yourself when use the PLC.
Machines may be damaged by PLC errors.

Responsibility statement
⚫ The manual content has been checked carefully, however, mistakes may happen.
⚫ We often check the manual and will correct the problems in subsequent version.
Welcome to offer advices to us.
⚫ Excuse us that we will not inform you if manual is changed.

Contact information
If you have any problem about products, please contact the agent or Xinje
company.
⚫ Tel: 0086 510-85134136 85123803
⚫ Fax: 0086 510-85111290
⚫ Address:
No.816, Jianzhu West Road, Binhu District, Wuxi City, Jiangsu Province, China
⚫ Code: 214072

WUXI XINJE ELECTRIC CO., LTD. copyrights


Do not copy or use manual without written permission. Offenders should be
responsible for losses. Please keep all copyrights of our company including
practical modules, designed patents and copyrights mentioned in register.

2
3
Safety notes

Please read this part carefully before using and operate after understanding the usage,
safety and notices. Pay attention to safety and wire correctly.

We have summarized possible problems that may happen and classify them by
warning and caution. About other matters, please operate in basic working order.

Incorrect use may lead to danger, such as moderate and slight injury,
Caution
property loss.

Critical miss may lead to serious danger, such as death or serious


Warning
injury, serious loss of property.

⚫ Conform about products

Caution

Do not install the controller which is damaged, lack parts or type unfit. Otherwise,
injury may occur.

⚫ Product design

Warning

Please make safety circuit outside controller to make sure the system can run in
safety when controller errors. Otherwise, incorrect action or fault may occur.

Caution

Do not put control wiring or power wiring together, separate them at least 10cm in
principle. Otherwise, incorrect action or damage may occur.

⚫ Product installation

Warning

Cut off all external power before installing controller. Otherwise, an electric shock
may occur.

4
Caution

1.Please install and use the PLC in the environment condition that specified in
general specifications in this manual. Do not use in wet, high temperature, smog,
conductive dust, corrosive gas, combustible gas, vibration, shock occasion.
Otherwise, electric shock, fire disaster, incorrect action, damage etc.
2.Do not touch conductive parts of PLC. Otherwise, incorrect action or fault may
occur.
3.Please install the product by DIN46277 or M3screw and install them on flat
surface. Otherwise, incorrect action or damage may occur.
4.Avoid ablation powder or clastic wires into product shell when processing screw
holes. Otherwise, incorrect action or fault may occur.
5.Make sure connection compact and good when using expansion cables to connect
expansion modules. Otherwise, bad communication or incorrect action may occur.
6.Cut off power when connecting external devices, expansion devices and battery
etc. Otherwise, incorrect action or default may occur.

⚫ Product wiring

Warning

1.Cut off external power before wiring. Otherwise, an electric shock may occur.
2.Connect AC or DC power to special power terminal correctly. Otherwise, may
burn the controller.
3.Close the panel cover plate before controller powering on and running. Otherwise,
an electric shock may occur.

Caution

1.Do not connect external 24V power to controllers’ or expansion modules’ 24V
and 0V
terminals, products damage may occur.
2.Use 2mm2 cable to ground the ground terminals of expansion modules and
controllers, never common ground to high voltage system. Otherwise, products
fault or damage may occur.
3.Do not wiring between idle terminals. Otherwise, incorrect action or damage may
occur.
4.Avoid ablation powder or clastic wires into product shell when processing screw
holes. Otherwise, incorrect action or fault may occur.
5.Tighten up wiring terminals and separate conductive parts. Otherwise, incorrect
action or product damage may occur.

5
⚫ Run and maintenance

Warning

1.Do not touch terminals after power on.


Otherwise, an electric shock may occur.
2.Do not connect or move the wires when power on.
Otherwise, an electric shock may occur.
3.Make sure to stop the PLC before changing the controller program.
Otherwise, malfunction may occur.

Caution

1.Do not disassemble and assemble product arbitrarily.


Damage to product may occur.
2.Plug and connect cables on the condition of power off.
Otherwise, cable damage or malfunction may occur.
3.Do not wire the idle terminals.
Otherwise, malfunction or damage may occur.
4.Cut off the power when disassemble expansion modules, external devices and
batteries.
Otherwise, malfunction and fault may occur.
5.Dispose them as industrial waste when out of use.

6
Catalog

1 SUMMARY OF XD/XL SERIES PLC ................................................................. 16


1-1.PRODUCT SPECIFICATIONS.......................................................................................................... 17
1-1-1.XD SERIES CPU UNITS............................................................................................................. 17
1-1-2.XL SERIES CPU UNITS ............................................................................................................. 21
1-1-3.XD EXPANSIONS ...................................................................................................................... 24
1-1-4.XL EXPANSIONS....................................................................................................................... 26
1-2.MODEL LIST ...................................................................................................................... 28
1-2-1.XD series basic unit model and list ................................................................................... 28
1-2-2.XL series basic unit model and list .................................................................................... 33
1-2-3.XD expansion module list .................................................................................................. 35
1-2-4.XL expansion module list ................................................................................................... 40
1-3.EACH PART’S DESCRIPTION ................................................................................................ 43
1-3-1.XD series structure ............................................................................................................ 43
1-3-2.XD5E-24/30, XDME-30, XDH-30 structure ...................................................................... 44
1-3-3.XD5E-48/60, XDME-60, XDH-60 structure ...................................................................... 45
1-3-4.XL series structure ............................................................................................................. 46
1-3-5.XL5-64 series structure ..................................................................................................... 47
1-3-6.XL5E-16 series structure ................................................................................................... 48
1-3-7.XL5E-32, XLME-32 structure............................................................................................ 49
1-3-8.XL5E-64, XLME-64 structure............................................................................................ 50
1-3-9.XLH-24 series structure..................................................................................................... 51

2 SPECIFICATIONS AND PARAMETERS OF CPU .......................................... 52


2-1.SPECIFICATIONS AND PARAMETERS .................................................................................... 53
2-1-1.General Specifications ....................................................................................................... 53
2-1-2.Performance and Specifications ........................................................................................ 54
2-2.DIMENSIONS...................................................................................................................... 60
2-2-1.XD series dimensions......................................................................................................... 60
2-2-2.XL series dimensions ......................................................................................................... 62
2-3.TERMINAL ARRANGEMENT .................................................................................................. 65
2-3-1.XD series terminal arrangement ....................................................................................... 65
2-3-2.XL series terminal arrangement ........................................................................................ 68
2-4.COMMUNICATION PORTS..................................................................................................... 70

3 SYSTEM STRUCTURE ........................................................................................ 74


3-1.SYSTEM STRUCTURE .......................................................................................................... 75
3-2.PERIPHERAL DEVICES ....................................................................................................... 76

7
3-2-1.Program Software ............................................................................................................. 76
3-2-2 Human Machine Interface (HMI) ...................................................................................... 77
3-2-3 XL adapter power supply ...................................................................................................... 78
3-2-4 Downloader .......................................................................................................................... 79
3-2-5 External terminal .................................................................................................................. 85
3-3.CONFIGURATION PRINCIPLE .............................................................................................. 86
3-4.ID ASSIGNMENT OF EXPANSIONS ....................................................................................... 88
3-5.INSTALL THE PRODUCTS .................................................................................................... 89

4 POWER SUPPLY SPECIFICATION AND WIRING METHOD .................... 91


4-1.POWER SUPPLY SPECIFICATIONS ....................................................................................... 92
4-2.AC POWER SUPPLY AND DC INPUT.................................................................................... 93

5 INPUT SPECIFICATIONS AND WIRING METHODS ................................... 95


5-1.INPUT SPECIFICATION ....................................................................................................... 96
5-1-1.XD series input specification ............................................................................................. 96
5-1-2.XL series input specification............................................................................................ 102
5-2.DC INPUT SIGNAL (AC POWER SUPPLY) ........................................................................... 105
5-3.HIGH SPEED COUNTER INPUT ......................................................................................... 110
5-3-1.Counting mode................................................................................................................. 111
5-3-2.High Speed Counting Range............................................................................................ 112
5-3-3.The Input Wiring Of HSC ................................................................................................ 112
5-3-4.Input Terminals Assignment ............................................................................................ 113
5-3-5.AB Phase Counter's Frequency Multiplication Setting ................................................... 123

6 OUTPUT SPECIFICATION AND WIRING METHODS ............................... 124


6-1.OUTPUT SPECIFICATION .................................................................................................. 125
6-2.RELAY OUTPUT TYPE....................................................................................................... 128
6-3.TRANSISTOR OUTPUT TYPE .............................................................................................. 130

7 RUN, DEBUG, MAINTENANCE ....................................................................... 133


7-1.RUN AND DEBUG ............................................................................................................. 134
7-2.DAILY MAINTENANCE ...................................................................................................... 136

8 SWITCH BETWEEN SOFT COMPONENTS .................................................. 137


8-1.FUNCTION SUMMARY....................................................................................................... 138
8-2.OPERATION METHOD ...................................................................................................... 139

APPENDIX 1 SPECIAL SOFT ELEMENT SCHEDULES ................................ 142


APPENDIX 1-1.SPECIAL AUXILIARY RELAY SCHEDULE............................................................. 143
APPENDIX 1-2.SPECIAL DATA REGISTER SCHEDULE ............................................................... 150
APPENDIX 1-3.SPECIAL FLASH REGISTER SCHEDULE .............................................................. 161

APPENDIX 2 INSTRUCTION SCHEDULE........................................................ 165


APPENDIX 2-1.BASIC INSTRUCTION LIST ............................................................................... 166
APPENDIX 2-2.APPLICATION INSTRUCTION LIST ..................................................................... 167
8
APPENDIX 2-3.SPECIAL INSTRUCTIONS LIST ........................................................................... 171

APPENDIX 3 PLC CONFIGURATION LIST ..................................................... 173


APPENDIX 4 COMMON QUESTIONS Q&A..................................................... 176

9
Preface

We will introduce constitution of content, application, convention, relevant manuals


and how to get data in this part.

Content Components
This manual includes XD/XL series PLC types and system constitutions. It mainly
introduces XD/XL series PLC basic units’ specification, I/O wiring, run and
maintenance, and XD/XL series PLC expansion modules’ parameters, appearance and
features etc.
This manual has 9 chapters, an overview of each chapter are as follows:
1.Summary
This chapter mainly introduces XD/XL series PLC specifications, types and
descriptions.
2. Specifications
This chapter mainly introduces XD/XL series PLC basic units’ common
specifications, performance specifications, terminal placement, product dimensions,
interface descriptions etc.
3. System constitutions
This chapter mainly introduces XD/XL series PLC system constitutions, peripheral
devices, expansion devices, CPU and expansion devices connection principles,
products installation, I/O point calculation, I/O address number distribution etc.
4.Power specifications and wiring
This chapter mainly introduces XD/XL series PLC power specifications, wiring
methods.
5.Input specifications and wiring
This chapter mainly introduces XD/XL series PLC input specifications, input wiring,
high speed counting etc.
6.Output specifications and wiring
This chapter mainly introduces XD/XL series PLC output specifications, relay
output and transistor output etc.
7.Run, debug, maintenance
This chapter mainly introduces XD/XL series PLC run, debug steps, daily
maintenance etc.
8.Expansion devices
This chapter mainly introduces I/O expansion modules, analog temperature modules’
specifications, dimensions and terminal placements.
10
9.Switch between soft elements
This chapter mainly introduces XD/XL series PLC special function that free switch
between input and output points.
Appendix 1.Special soft elements schedule
This chapter mainly introduces XD/XL series PLC special function soft elements,
registers and expansion module address distribution etc.
Appendix 2.Instruction schedule
This chapter mainly introduces basic instructions, application instructions and
special instructions that XD/XL series PLC support.
Appendix 3.PLC function configuration schedule
This chapter mainly introduces XD/XL series PLC main function of each type for
lectotype.
Appendix 4.Common questions A&Q
This chapter mainly introduces XD/XL series PLC problems and solutions that may
occur when using.

Manual scope of application


This manual is hardware manual of XD/XL series PLC, contents are as follows:
1.XD series PLC basic units
Series Product model
XD1-10R/T , XD1-16R/T
XD1
XD1-24R/T, XD1-32R/T
XD2-16R/T
XD2 XD2-24R/T/RT, XD2-32R/T/RT
XD2-48R/T/RT, XD2-60R/T/RT
XD3-16R/T/RT, XD3-16PR/T
XD3-24R/T/RT, XD3-24PR/T/RT, XD3-24T4
XD3
XD3-32R/T/RT, XD3-32PR/T/RT, XD3-32T4
XD3-48R/T/RT, XD3-48PT, XD3-60R/T/RT, XD3-60PT
XD5-16R/T/RT
XD5-24R/T/RT, XD5-24T4, XD5-24D2T2,
XD5-32R/T/RT, XD5-32T4
XD5
XD5-42R/T, XD5-48R/T/RT, XD5-60R/T/RT, XD5-48T4,
XD5-48D4T4, XD5-48T6, XD5-60T4, XD5-60T6, XD5-60PT6,
XD5-60T10
XDM-24T4, XDM-24PT4, XDM-32T4, XDM-32PT4,
XDM
XDM-60T4, XDM-60T4L, XDM-60T10, XDM-60PT10
XDC XDC-24T, XDC-32T, XDC-48T, XDC-60T, XDC-60PT
XD5E XD5E-24R/T, XD5E-30R/T, XD5E-30PT/PR, XD5E-30T4,
11
XD5E-48PR/R/T, XD5E-60R/T, XD5E-60T4, XD5E-60T6,
XD5E-60T10, XD5E-60PT6, XD5E-60PT10
XDME XDME-30T4, XDME-60T4, XDME-60T10
XDH-60T4, XDH-30A16, XDH-30A16L, XDH-30PA16L,
XDH
XDH-60A32

2.XD series PLC expansion modules


Module type Product model
I/O XD-E16X, XD-E16PX, XD-E32X, XD-E32PX
extension XD-E16YR, XD-E16YT, XD-E32YR, XD-E32YT
XD-E8X8YR, XD-E8PX8YR, XD-E8X8YT, XD-E8PX8YT
XD-E16X16YR, XD-E16PX16YR, XD-E16X16YT,
XD-E16PX16YT
AD/DA AD: XD-E4AD, XD-E8AD, XD-E8AD-A, XD-E8AD-V,
extension XD-E12AD-V
DA: XD-E2DA, XD-E4DA
AD/DA: XD-E4AD2DA
Temperature XD-E4PT3-P, XD-E6PT-P, XD-E6TC-P, XD-E6TC-P-H ,
control XD-E2TC-P
Pressure XD-E1WT-A, XD-E2WT-A, XD-E4WT-A
control XD-E2WT-B
XD-E1WT-C, XD-E2WT-C, XD-E4WT-C
XD-E1WT-D, XD-E2WT-D, XD-E4WT-D
Encoder XD-E4SSI
testing

3. XD series expansion BD card


BD card type Product model
Communication XD-NE-BD, XD-NO-BD, XD-NS-BD
Precise clock XD-RTC-BD

4. XD series left expansion ED module


ED module Product model
type
Communication XD-WBOX-ED, XD-SBOXT-ED, XD-4GBOX-ED,
XD-NES-ED, XD-COBOX-ED
Analog AD: XD-4AD-A-ED, XD-4AD-V-ED
DA: XD-4DA-A-ED, XD-4DA-V-ED
AD/DA: XD-2AD2DA-A-ED, XD-2AD2DA-V-ED
AD/PT: XD-2AD2PT-A-ED, XD-2AD2PT-V-ED
PT/DA: XD-2PT2DA-A-ED, XD-2PT2DA-V-ED

12
5. XL series PLC basic units
Series Product model
XL1 XL1-16T, XL1-16T-U
XL3 XL3-16R/T, XL3-16PR, XL3-32R/T, XL3-32PR
XL5 XL5-16T, XL5-32T, XL5-32T4, XL5-32PT4, XL5-64T10
XL5E-16T, XL5E-32T, XL5E-32T4, XL5E-32PT4, XL5E-64T6,
XL5E
XL5E-64T10
XLME XLME-32T4, XLME-64T10
XLH XLH-24A16, XLH-24A16L

6.XL series PLC expansion module


Module type Product model
I/O XL-E16X, XL-E16PX, XL-E32X, XL-E32PX
extension XL-E16YR, XL-E16YT, XL-E16YT-A, XL-E32YT
XL-E8X8YR, XL-E8PX8YR, XL-E8X8YT, XL-E8PX8YT,
XL-E16X16YT, XL-E16PX16YT
AD/DA XL-E4AD, XL-E4AD2DA, XL-E8AD-A, XL-E8AD-V,
extension XL-E4DA
Temperature XL-E4PT3-P, XL-E4TC-P
control
Weighing XL-E2WT-D
extension

7.XL series ED expansion module


ED type Product model
Communication XL-NES-ED, XL-COBOX-ED
Analog XL-4AD-A-ED, XL-4AD-V-ED
XL-4DA-A-ED, XL-4DA-V-ED
XL-2AD2DA-A-ED, XL-2AD2DA-V-ED
XL-2AD2PT-A-ED, XL-2AD2PT-V-ED
XL-2PT2DA-A-ED, XL-2PT2DA-V-ED

8.XL power supply module


Module type Product model
Power supply XL-P50-E

9. Version requirements
 The XD series PLC requires the software version to be v3.2 and above.
 The XL series PLC requires the software version to be v3.5 and above.
 There are version requirements for some instructions. Please refer to each
instruction for details.
13
[Note]: XD2 series PLC requires the software version to be v3.5.1 and above.

Manual conventions
We use some short names to replace the original names in the manual. The possible
names have been listed in the table below to compare.

Short name Explanation


XC series PLC General name of XC series programmable logic
controllers
XL series PLC General name of XL series programmable logic controllers
XD series PLC General name of XD series programmable logic
controllers
Basic units or noumenon Short name of XD series PLC basic units
Expansion devices or General name of XD series PLC expansion modules and
expansion units BD cards
Expansion modules General name of XD series PLC all expansion modules.
Input and output Short name of XD series PLC all input and output
expansion or I/O expansion modules
expansion
Analog expansions Short name of XD series PLC all analog expansion
modules
Peripheral units General name of programming software, HMI and
network modules
Programming software General name of XD series PLC programming software
XDPPro
HMI General name of TG, TH, TP, OP, MP series products
TG series General name of TG series touch screen
TH series General name of TH series touch screen
TP series General name of TP series touch screen
OP series General name of OP series text panel
MP series General name of MP series touch display

Relevant manual
This manual includes XD/XL series PLC hardware, about more application such as
programming and instructions, please refer to relevant manuals.

Manual name Manual introduction Notes


Installation manual
XD/XL series PLC Descript XD/XL series basic units’ Electronic
installation manual specification, dimensions, installation, version
wiring etc. Need additional
request
14
Programming software
XD/XL series PLC Introduce XD/XL series PLC software Electronic
users’ manual【software XDPPro usage and skill etc. version
】 Need additional
request
Instruction programming manual
XD/XL series PLC Introduce XD/XL series PLC basic Electronic
users’ manual【 instructions, application instructions, version
instructions】 communication, PID, C language, Need additional
BLOCK etc. request
Expansion manual
XD/XL series analog Introduce XD/XL series analog, Electronic
temperature expansion temperature expansion module feature, version
manual parameters, ID, dimension, terminals need additional
and wiring etc. request
X-NET manual
X-NET fieldbus Introduce X-NET fieldbus using method Electronic
communication manual version
need additional
request

Manual Acquisition
Users can get manual above in the following ways:
1.Paper manual
Please ask product vendor, agent or agency to supply.
2.Electronic version
Please ask product vendor, agent or agency to supply CD.

15
1 Summary of XD/XL Series PLC

XD/XL series PLC have diverse CPU units and expansions with powerful functions.
In this chapter, we mainly introduce the XD/XL series PLC performance, program
summary and product different parts.

1-1.Product Specifications

1-2.Type Constitute and Type Table

1-3.Each Part’s Description

16
1-1. Product Specifications

1-1-1.XD series CPU units

1 Models

XD series PLC CPU unit have rich product types.


⚫ I/O Points 16, 24, 30, 32, 48, 60 points
⚫ Output Type transistor, relay, transistor and relay mixed.
⚫ Input Type PNP, NPN
⚫ Power Type AC220V, DC24V
Series Description
Include 10, 16, 24, 32 points.
XD1(economic
cannot support right expansion module, left
type)
expansion ED module, expansion BD.
Include 16, 24, 32, 48, 60 points.
cannot support right expansion module, can
XD2(basic)
connect left expansion ED module, expansion BD
(except 16 points model).
Include 16, 24, 32, 48, 60 points.
XD3(standard) Can connect expansion module, ED module,
expansion BD (except 16 points model).
Include 16, 24, 32, 48, 60 points.
With all the XD3 functions, the speed is 15 times
of XC series, larger capacity. Support 2~10 axes
pulse output, can connect expansion module, ED
XD5(enhanced)
and BD (16 points cannot support). Support SD
card (except 16 points models).
XD5-24D2T2-E and XD5-48D4T4-E models
support differential input and output.
Include 24, 32, 60 points.
With all the XD3 functions, support 4~10 axes
XDM
high speed pulse output, support 2-axis linkage
(motion control)
motion, interpolation, follow-cutting, can connect
expansion module, ED and BD. Support SD card.
Include 24, 32, 48, 60 points.
XDC With all the functions of XD3. Support 2 axes
(motion fieldbus) pulse output, 20-axis X-NET fieldbus motion
control, can connect expansion module, ED, BD.

17
Include 24, 30, 48, 60 points model. With all the
functions of XD5. Support Ethernet
XD5E communication, support 2~10 axes high speed
(Ethernet model) pulse output, connect expansion module, ED and
BD. XD5E-60T4 and XD5E-60T10-E models
support online download function.
Contains 30, 60 points functions.
It is compatible with most functions of XDM,
supports Ethernet communication, supports
XDME(motion motion control commands such as interpolation
control, Ethernet) and servo, supports 4~10 axes high-speed pulse
output, connects expansion module, expands ED
and expands BD. XDME-60T4/T10-E support
online download function.
Contains 30, 60 points functions.
It is compatible with most functions of XD,
supports Ethernet communication and EtherCAT
XDH (motion bus, supports motion control commands such as
control, Ethernet) interpolation and servo, supports 4 axes
high-speed pulse output, connects expansion
module, extension ED and BD (30 points models
cannot support).

※1: About special function of products, please refer to appendix 3.

2 Powerful functions

XD series PLC have rich basic functions and many special functions. Different type is
fit for different application.
function
Abundant basic function
⚫ High speed operation
Basic processing instruction: 0.02~0.05us (XDH can up to 0.005~0.03us).
Scanning time: 10,000 per 1ms. Program capacity is up to 1.5MB (XDH can
up to 4MB).
⚫ Abundant expansions
The CPU units support 10~16 different expansion modules and 1~2
expansion boards, 1 left expansion ED module.
⚫ Multiple communication ports

18
CPU units have 1~4 communication ports, support RS232, RS485, and can
work with many external devices, such as frequency inverters, instruments,
printers.
⚫ Abundant software capacity
Up to 8000 processes S, 1000 retention processes HS, 70000 intermediate
relays M, 12000 retention relays HM, 1280 input relays X, 1280 output
relays Y, 5000 normal timers T, 2000 latched timers HT, 5000ounters C,
2000 retention counters HC, 70000 data registers D, 25000 retention data
registers HD, 8192 registers FD.
⚫ Two programming types
XD series PLC support two programming types, instruction list and ladder
chart which can switch to each other.
⚫ Rich instructions
Include order control, data move and compare, arithmetic, data circulate and
shift, pulse output, HSC, interruption, PID etc.
⚫ Real time clock
XD series PLC has built-in clock to control time.
⚫ Compact size, convenient to install
XD series PLC has DIN and screw two installation modes.

Enhanced special function


⚫ X-NET fieldbus
XD2, XD3, XD5, XDM, XDE series PLC support X-NET fieldbus, which
can fast communicate with XD series PLC and TG/TN series HMI. XDC
series PLC supports X-NET fieldbus function, can control 20 motors at the
same time. Refer to X-NET fieldbus manual for details.
⚫ Ethernet Communication
Ethernet PLC has RJ45 port and supports TCP/IP protocol. It can realize
MODBUS-TCP communication and free format communication based on
Ethernet. Supports program download, online monitoring, remote monitoring,
and communication with other TCP/IP devices.
⚫ EtherCAT bus
XDH series PLC supports EtherCAT bus, it can control up to 32 axes
synchronously, and the control cycle is less than or equal to 1ms.
⚫ High-speed pulse counter, frequency up to 80KHz
XD series PLC CPU units have 2~10 channels two-phase high-speed counter
and high-speed counting comparer, can realize single-phase and AB-phase
counting, frequency up to 80 KHz.
⚫ High-speed pulse output, frequency up to 100 KHz.
XD series PLC※1 usually have 2~10 pulse output terminals, pulse frequency
up to 100KHz.
⚫ Interruption function

19
XD series PLC interruption functions include external interruption, timing
interruption and high-speed counting interruption to meet different
interruption demands.
⚫ I/O points switch freely
XD series PLC unique function. Do not need to change program when
terminals are damaged.
⚫ C language function block
C language block makes the program more secured. C language rich
operation function can realize many functions, which saves internal space
and improves programming efficiency.
⚫ PID function on CPU units
XD series PLC※1 CPU units have PID control function and auto-tuning
control function.
⚫ Sequence BLOCK
Sequence block makes instructions carry out in sequence, especially suitable
for pulse output, motion control, module read and write etc, and largely
simplifys the program writing.
⚫ 100 segments high speed counting interruption
XD series PLC※1 high speed counter have 100 segments 32 bits preset
value. Each segment can generate interruption with good real-time, high
reliability, low cost.
⚫ PWM(pulse width modulation)
XD series PLC※1 PWM function can be used to control DC motor.
⚫ Frequency measure
XD series PLC※1 can measure frequency.
⚫ Precise time
XD series PLC※1can realize 1ms and 32bit precise timing.
⚫ Online download
XD5E-60T4-E PLC supports online download function, which truly realizes
PLC non-stop operation.
⚫ Differential input and output
XD5-48D4T4-E PLC supports differential signal input and output, with
differential input up to 1MHz and differential output up to 920khz.
⚫ SD card
XD5 (except 16 points) and XDM series support SD card expansion for data
storage and backup, and the card capacity does not exceed 32GB.

3 Easy to program

XD/E series also use XDPPro program software. Improved aspects:


⚫ Ladder and instruction can be switched at any time.
⚫ Add Software annotation, ladder annotation, instruction hints etc.

20
⚫ Offer many editing panel of special instructions.
⚫ Perfect monitor modes: ladder monitor, free monitor, data monitor.
⚫ Mutely-windows display, convenient to manage.

※1: Here, XD series PLC refers to the PLC that can realize the described functions,
that is to say, not all XD series PLC can realize the described functions. Refer
to Appendix 3 for specific functions of PLC.
※2: PLC can output high-speed pulse of 100kHz ~ 200kHz, but it can not guarantee
the normal operation of all servo systems. Please connect a resistance of about
500 Ω between the output terminal and 24V power supply.

1-1-2.XL series CPU units

1 Models

XL series ultra-thin PLC, the basic unit has one sub-series product.
⚫ I/O Points 16 points, 24 points, 32 points, 64 points
⚫ Output Type transistor, relay
⚫ Input Type NPN, PNP
⚫ Power Type DC24V
Series Description
Contains 16 points.
Compatible with all functions of XD1 series PLC,
the speed is 12 times faster than XC series. It does
XL1(economic
not support special functions such as pulse output,
type)
high-speed counting, X-NET field bus, right
expansion module and left expansion ED module,
and can meet the simple use needs of users.
Include 16 points, 32 points.
With all the functions of XD3 series PLC, the
XL3(basic) processing speed is 12 times of XC series PLC.
Support right expansion module and left expansion
ED module.
Contains 16 points, 32 points, 64 points.
Compatible with all functions of XD5 series PLC,
the speed is 12 times that of XC series, supporting
XL5(enhanced)
2~4 channels pulse output, supporting right
expansion module and left expansion ED module,
which can meet the needs of most users.

21
Contains 16 points, 32 points, 64 points.
Compatible with all functions of XD5 series PLC,
the speed is 12 times faster than XC series. It
XL5E(Ethernet) supports Ethernet communication, 2~10 channels
pulse output, right expansion module and left
expansion ED module. It can meet the needs of
most users.
Contains 32-point.
Compatible with all functions of XDM series PLC,
the speed is 12 times faster than XC series. It
XLME(motion supports Ethernet communication, motion control
control, Ethernet) instructions such as interpolation and servo, 4~10
channels pulse output, right expansion module and
left expansion ED module. It can meet the needs
of most users.
Includes 24 points specifications.
It is compatible with most functions of XLME,
supports Ethernet communication, EtherCAT bus,
XLH (EtherCAT supports interpolation, servo and other motion
bus) control commands, supports 4-axis high-speed
pulse output, electronic cam functions, and can be
connected to expansion modules and expanded
ED.

2 Powerful functions

XL series PLC have rich basic functions and many special functions.

Abundant basic function


function
⚫ High speed operation
Basic processing instruction: 0.02~0.05us. Scanning time: 10,000 per 1ms.
Program capacity is up to 1MB (XLH can up to 2MB) .
⚫ Abundant expansions
The CPU units support 10~16 different right expansion modules and 1 left
expansion ED module.
⚫ Multiple communication ports
CPU units have 1~4 communication ports, support RS232, RS485, and can
work with many external devices, such as frequency inverters, instruments,
printers.
⚫ Abundant software capacity
Up to 8000 processes S, 1000 retention processes HS, 7000 intermediate
relays M, 12000 retention relays HM, 1280 input relays X, 1280 output
22
relays Y, 5000 normal timers T, 2000 latched timers HT, 5000 counters C,
2000 retention counters HC, 70000 data registers D, 25000 retention data
registers HD, 8192 registers FD.
⚫ Two programming types
XL series PLC support two programming types, instruction list and ladder
chart which can switch to each other.
⚫ Rich instructions
Include order control, data move and compare, arithmetic, data circulate and
shift, pulse output, HSC, interruption, PID etc.
⚫ Real time clock
XL series PLC has built-in clock to control time.
⚫ Compact size, convenient to install
XL series PLC has mini size and is easy to install on the DIN rail.

Enhanced special function


⚫ EtherCAT bus
XLH series PLC supports EtherCAT motion bus, can synchronously control
up to 16 axes, and the control cycle is less than or equal to 1ms.
⚫ X-NET fieldbus
XL series PLC support X-NET fieldbus, which can fast communicate with
XD/XL series PLC and TG/TN series HMI. Refer to X-NET fieldbus manual
for details.
⚫ Ethernet Communication
Ethernet PLC has RJ45 port and supports TCP/IP protocol. It can realize
MODBUS-TCP communication and free format communication based on
Ethernet. Support program download, on-line monitoring, remote monitoring,
and communication with other TCP/IP devices. Specific applications can be
referred to "TCP/IP Communication User Manual Based on Ethernet
Communication".
⚫ High-speed pulse counter, frequency up to 80KHz
XL series PLC CPU units have 3 channels two-phase high-speed counter and
high-speed counting comparer, can realize single-phase and AB-phase
counting, frequency up to 80 KHz.
⚫ High-speed pulse output, frequency up to 100 KHz.
XL series PLC※1 usually have 2 pulse output terminals, pulse frequency up to
100KHz.
⚫ Interruption function
XL series PLC interruption functions include external interruption, timing
interruption and high-speed counting interruption to meet different
interruption demands.
⚫ I/O points switch freely
XL series PLC unique function. Do not need to change program when
terminals are damaged.
⚫ C language function block

23
C language block makes the program more secured. C language rich
operation function can realize many functions, which saves internal space
and improves programming efficiency.
⚫ PID function on CPU units
XL series PLC CPU units have PID control function and auto-tuning control
function.
⚫ Sequence BLOCK
Sequence block makes instructions carry out in sequence, especially suitable
for pulse output, motion control, module read and write etc, and largely
simplifys the program writing.
⚫ 100 segments high speed counting interruption
XL series PLC high speed counter have 100 segments 32 bits preset value.
Each segment can generate interruption with good real-time, high
reliability, low cost.
⚫ PWM(pulse width modulation)
XL series PLC PWM function can be used to control DC motor.
⚫ Frequency measure
XL series PLC can measure frequency.
⚫ Precise time
XL series PLC can realize 1ms and 32 bits precise timing.

3 Easy to program

XL series PLC also use XDPPro program software.

1-1-3.XD Expansions

1 Expansion Modules

To meet control requirement better, XD series PLC can work with expansions,
XD1, XD2 cannot connect expansion modules, and XD3 can link 10 expansion
modules, XD5, XDM, XDC, XD5E, XDME, XDH can connect 16 modules.
➢ Rich variety
It includes I/O expansion module, analog processing module and temperature control
module.
➢ I/O expansion module
Input 8~32 points; Output points: 8~32; Output type: transistor, relay; Power supply:
DC24V.
➢ Analog quantity processing module
24
Type: AD, DA, AD/DA; Number of channels: AD 4~12, DA 2~4; Power supply:
DC24V.
➢ Temperature control module
Type: PT100, thermocouple; Number of channels: 2~6; PID control: built-in, relay;
Power supply: DC24V.

2 Expansion BD

XD series can connect expansion BD board, 24~32 points can connect 1 BD, 48~60
points type can connect 2 BD boards. (16 points cannot connect BD)
⚫ RS485 communication BD: X-NET interface, filedbus communication
function, XD-NE-BD
⚫ Optical fiber BD: X-NET optical fiber interface, filedbus communication
function, XD-NO-BD
⚫ RS232 communication BD: XD-NS-BD
⚫ Precise clock BD: XD-RTC-BD provides more accurate clock function than
PLC itself, and the error is less than 13 seconds per month.
Note: XD1, XDH, XD series 16 points cannot support expansion BD.

3 Expansion ED

XD series left expansion ED board is for wireless communication. It can connect 1


ED board.
⚫ Wifi communication ED: XD-WBOX-ED, support PLC program upload and
download, remote monitoring.
⚫ Wireless transparent transmission ED: XD-SBOXT-ED, support
communication between PLC, HMI, PC.
⚫ 4GBOX communication module: XD-4GBOX-ED, support remote wireless
monitoring, PLC program upload and download, mobile phone message
exchange, support 4G network.
⚫ Communication expansion module: XD-NES-ED, support RS232 or RS485
(high-speed, support X-NET fieldbus), the two ports cannot use at the same
time.
⚫ CANopen communication module: XD-COBOX-ED, support CANopen
communication, can be master or slave station.
Note: XD1, XDH, XD series 16 points cannot support expansion ED.

25
1-1-4.XL Expansions

1 Expansion Modules

To meet control requirement better, XL series PLC can work with expansions,
XL3 can link 10 expansion modules, XL5/XL5E/XLME/XLH can link 16
expansion modules, XL1 cannot support expansion modules.
➢ Rich variety
It includes I/O expansion module and analog quantity processing module.
➢ I/O expansion module
Input 8~32 points; Output points: 8~32; Output type: transistor, relay; Power
supply: DC24V.
➢ Analog quantity processing module
Analog quantity type: voltage, current; Number of channels: AD 4-8, DA 2-4;
Power supply: DC24V.
➢ Temperature control module
Type: PT100, thermocouple; Number of channels: 4; PID control: built-in, relay;
Power supply: DC24V.

2 Expansion ED

XL series PLC can connect one ED module on the left side.


⚫ Communication expansion module: XL-NES-ED, support RS232 or RS485
(high-speed, support X-NET fieldbus), the two ports cannot use at the same
time. XL-COBOX-ED supports CANopen communication and can be used as
master station or slave station.
⚫ Analog I/O:
XL-2AD2DA-A-ED, support current I/O
XL-2AD2DA-V-ED, support voltage I/O
XL-4AD-A-ED, support current input
XL-4AD-V-ED, support voltage input
XL-4DA-A-ED, support current output
XL-4DA-V-ED, support voltage output
⚫ Analog and temperature mixed type:
XL-2AD2PT-A-ED, support 2 channels current input, 2 channels PT100
temperature input.
XL-2AD2PT-V-ED, support 2 channels voltage input, 2 channels PT100
temperature input.

26
XL-2PT2DA-A-ED, support 2 channels PT100 temperature input, 2 channels
current output.
XL-2PT2DA-V-ED, support 2 channels PT100 temperature input, 2 channels
voltage output.

27
1-2.Model list

1-2-1.XD series basic unit model and list

Basic unit
1 XD series PLC basic unit model constitute:
model

XD ME 60 P A16 D4 T4 E
① ② ③ ④ ⑤ ⑥ ⑦

1: XD1 series economic type


2: XD2 series basic type
3: XD3 sereis standard type
5: XD5 series enhanced type
1 Series type 5E: XD5E series Ethernet type
M: XDM series motion control type
ME: XDME series Ethernet type
C: XDC series X-NET motion fieldbus control type
H: XDH series motion control advanced type
10: 5 input/ 5 output
16: 8 input/ 8 output
24: 14 input/ 10 output (or 12 input/12 output)
30: 18 input/12 output
2 I/O points
32: 18 input/ 14 output (or 16 input/16 output)
42: 24 input/18 output
48: 28 input/ 20 output
60: 36 input/ 24 output
Nothing: NPN type
3 Input point type
P: PNP type
A16: Control 16 axes EtherCAT slave station
A16L: simple configuration of motion control function,
EtherCAT motion
4 which controls 16 axes EtherCAT slave station and does
control function
not support electronic cam
A32: control 32 axes EtherCAT slave station
D2: 2 differential high-speed pulse output
5 Differential output
D4: 4-channel differential high-speed pulse output
R: Relay output
T: Transistor output, 2-channel pulse output (not
6 Output point type supported by XD1 series)
T4: transistor output, 4-channel pulse output
T4L: transistor output, 4-channel pulse output, program
28
capacity expansion type
T6: transistor output, 6-channel pulse output
T10: transistor output, 10 channel pulse output
RT: relay transistor mixed output, 2-channel pulse output
(not supported by XD1 series)
E: AC power supply (220V)
7 Power supply
C: DC power supply (24V)

Basic unit
2 model list

XD1 series List


Type
Input Output
AC power DC power
points points
Relay output Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output mixed output mixed
XD1-10R-E XD1-10T-E - XD1-10R-C XD1-10T-C - 5 5
NPN XD1-16R-E XD1-16T-E XD1-16R-C - 8 8
XD1-24R-E XD1-24T-E XD1-24R-C 12 12
XD1-32R-E XD1-32T-E - XD1-32R-C XD1-32T-C - 16 16
PNP XD1-16PR-E - - - - - 8 8

XD2 series List


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output mixed
XD2-16R-E XD2-16T-E - XD2-16R-C XD2-16T-C - 8 8
XD2-24R-E XD2-24T-E XD2-24RT-E XD2-24R-C XD2-24T-C XD2-24RT-C 14 10
NPN XD2-32R-E XD2-32T-E XD2-32RT-E XD2-32R-C XD2-32T-C XD2-32RT-C 18 14
XD2-42R-E XD2-42T-E - - - - 24 18
XD2-48R-E XD2-48T-E XD2-48RT-E XD2-48R-C XD2-48T-C XD2-48RT-C 28 20
XD2-60R-E XD2-60T-E XD2-60RT-E XD2-60R-C XD2-60T-C XD2-60RT-C 36 24
PNP - - - XD2-32PR-C - - 18 14

29
XD3 series List
Type Input
Output
AC power DC power points
points
Relay output Transistor Relay/transistor Relay output Transistor Relay/transistor (
(R, T
output mixed output mixed DC24V

XD3-16R-E XD3-16T-E XD3-16RT-E XD3-16R-C XD3-16T-C XD3-16RT-C 8 8

- XD3-22T4TC-E - - - - 8 14

XD3-24R-E XD3-24T-E XD3-24RT-E XD3-24R-C XD3-24T-C XD3-24RT-C 14 10


N
P - XD3-24T4-E - - XD3-24T4-C - 14 10
N
XD3-32R-E XD3-32T-E XD3-32RT-E XD3-32R-C XD3-32T-C XD3-32RT-C 18 14

- XD3-32T4-E - - - - 18 14

XD3-48R-E XD3-48T-E XD3-48RT-E XD3-48R-C XD3-48T-C XD3-48RT-C 28 20

XD3-60R-E XD3-60T-E XD3-60RT-E XD3-60R-C XD3-60T-C XD3-60RT-C 36 24

XD3-16PR-E XD3-16PT-E - XD3-16PR-C XD3-16PT-C XD3-16PRT-C 8 8

XD3-24PR-E XD3-24PT-E XD3-24PRT-E XD3-24PR-C XD3-24PT-C XD3-24PRT-C 14 10


P
N XD3-32PR-E XD3-32PT-E XD3-32PRT-E XD3-32PR-C XD3-32PT-C XD3-32PRT-C 18 14
P
XD3-48PR-E XD3-48PT-E XD3-48PRT-E XD3-32PR-C XD3-32PT-C XD3-32PRT-C 28 20

XD3-60PR-E XD3-60PT-E XD3-60PRT-E XD3-48PR-C XD3-48PT-C XD3-48PRT-C 36 24

XD5 series list


Type Input
Output
AC power DC power points
points
Relay output Transistor Relay/transistor Relay output Transistor Relay/transistor (
(R, T
output mixed output mixed DC24V


XD5-16R-E XD5-16T-E XD5-16RT-E XD5-16R-C XD5-16T-C - 8 8
XD5-24R-E XD5-24T-E XD5-24RT-E XD5-24R-C XD5-24T-C XD5-24RT-C 14 10
- XD5-24T4-E - - XD5-24T4-C - 14 10
- XD5-24D2T2-E - - - - 14 10
XD5-32R-E XD5-32T-E XD5-32RT-E XD5-32R-C XD5-32T-C XD5-32RT-C 18 14
NPN - XD5-32T4-E - - XD5-32T4-C - 18 14
XD5-42R-E XD5-42T-E - - - - 24 18
XD5-48R-E XD5-48T-E XD5-48RT-E XD5-48R-C XD5-48T-C XD5-48RT-C 28 20
- XD5-48T4-E - - XD5-48T4-C - 28 20
- XD5-48D4T4-E - - - - 28 20
- XD5-48T6-E - - XD5-48T6-C - 28 20
30
XD5-60R-E XD5-60T-E XD5-60RT-E XD5-60R-C XD5-60T-C XD5-60RT-C 36 24
- XD5-60T4-E - - XD5-60T4-C - 36 24
- XD5-60T6-E - - XD5-60T6-C - 36 24
- XD5-60T10-E - - XD5-60T10-C - 36 24
XD5-24PR-E XD5-24PT-E XD5-24PRT-E XD5-24PR-C XD5-24PT-C XD5-24PRT-C 14 10
- XD5-24PT4-E - - - - 14 10
XD5-32PR-E XD5-32PT-E XD5-32PRT-E XD5-32PR-C XD5-32PT-C XD5-32PRT-C 18 14
- - - - XD5-32PT4-C - 18 14
PNP
XD5-48PR-E XD5-48PT-E XD5-48PRT-E XD5-48PR-C XD5-48PT-C XD5-48PRT-C 28 20
- XD5-48PT6-E - - XD5-48PT6-C - 28 20
XD5-60PR-E - - - XD5-60PT-C - 36 24
- - - - XD5-60PT6-C - 36 24

XDM series list


Type
Input Output
AC power supply DC power supply
points points
Relay Transistor Relay/transistor Relay Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output output mixed
- XDM-24T4-E - - XDM-24T4-C - 14 10
N - XDM-32T4-E - - XDM-32T4-C - 18 14
P - XDM-60T4-E - - XDM-60T4-C - 36 24
N - XDM-60T10-E - - XDM-60T10-C - 36 24
- XDM-60T4L-E - - XDM-60T4L-C - 36 24
- XDM-24PT4-E - - XDM-24PT4-C - 14 10
PNP - XDM-32PT4-E - - XDM-32PT4-C - 18 14
- XDM-60PT10-E - - XDM-60PT10-C - 36 24

XDC series list


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output output mixed
- XDC-24T-E - - XDC-24T-C - 14 10
- XDC-32T-E - - XDC-32T-C - 18 14
NPN
- XDC-48T-E - - XDC-48T-C - 28 20
- XDC-60T-E - - XDC-60T-C - 36 24
PNP - - - - XDC-60PT-C - 36 24

31
XD5E series list
Type
Input Output
AC power DC power
points points
Relay output Transistor Relay/transistor Relay output Transistor output Relay/transistor
(DC24V) (R, T)
output mixed mixed
XD5E-24R-E XD5E-24T-E - XD5E-24R-C - - 14 10
XD5E-30R-E XD5E-30T-E - - XD5E-30T-C - 16 14
- XD5E-30T4-E - - XD5E-30T4-C - 16 14
XD5E-48R-E XD5E-48T-E - - - - 28 20
NPN
XD5E-60R-E XD5E-60T-E - - - - 36 24
- XD5E-60T4-E - - - - 36 24
- XD5E-60T6-E - - XD5E-60T6-C - 36 24
- XD5E-60T10-E - - XD5E-60T10-C - 36 24
- - - XD5E-30PR-C XD5E-30PT-C - 16 14
- XD5E-30PT4-E - - - - 16 14
PNP - - - XD5E-48PR-C - - 28 20
- XD5E-60PT6-E - - - - 36 24
- - - - XD5E-60PT10-C - 36 24

XDME series list


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output output mixed
- XDME-30T4-E - - XDME-30T4-C - 16 14
NPN - XDME-60T4-E - - - - 36 24
- XDME-60T10-E - - - - 36 24

XDH series list


Type
Input Output
AC power DC power
points points
Relay Transistor output Relay/transistor Relay Transistor Relay/transistor
(DC24V) (R, T)
output mixed output output mixed
- XDH-30A16-E - - - - 16 14
XDH-30A16L-E XDH-30A16L-C 16 14
NPN
- XDH-60A32-E - - - - 36 24
- XDH-60T4-E - - XDH-60T4-C - 36 24
PNP - XDH-30PA16L-E - - - - 16 14

32
1-2-2.XL series basic unit model and list

Basic unit
1 XL series PLC basic unit model constitute:
model

XL ME 64 P T10 A16
① ② ③ ④ ⑤

①:type 1: XL1 economic type


3: XL3 series standard type
5: XL5 enhanced type
5E: XL5E series Ethernet type
M: XLM series motion control type
ME: XLME Ethernet type
H: XLH series EtherCAT type
②:I/O points 16:8 input /8 output
24: 12 input/12 output
32:16 input /16 output
64: 32 input/32 output
③:input type -:NPN
P:PNP
④:output type R: Relay output
T: Transistor output, 2-channel pulse output (not
supported by XL1 series)
T4: transistor output, 4-channel pulse output
T6: transistor output, 6-channel pulse output
T10: transistor output, 10 channel pulse output
⑤:EtherCAT A16: Control 16 axes EtherCAT slave station
motion control A16L: simple configuration of motion control
function, which controls 16 axes EtherCAT slave
station and does not support electronic cam

Basic unit
2 model list

33
XL1 series List
Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output mixed

- - - - XL1-16T - 8 8
NPN

- - - - XL1-16T-U - 8 8

XL3 series List


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output mixed
NPN - - - XL3-16R XL3-16T - 8 8
- - - XL3-32R XL3-32T - 16 16
- - - XL3-16PR - - 8 8
PNP
- - - XL3-32PR - - 16 16

XL5 series List


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output mixed
- - - - XL5-16T - 8 8
NPN - - - - XL5-32T - 16 16
- - - - XL5-32T4 - 16 16
- - - - XL5-64T10 - 32 32
- - - - XL5-32PT4 - 16 16

XL5E series List


Type
Input Output
AC power DC power
points points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor
(DC24V) (R, T)
output output mixed output mixed
- - - - XL5E-16T - 8 8
- - - - XL5E-32T - 16 16
NPN
- - - - XL5E-32T4 - 16 16
- - - - XL5E-64T6 - 32 32
- - - - XL5E-64T10 - 32 32

34
PNP - - - - XL5E-32PT4 - 16 16

XLME series List


Type Input
Output
AC power DC power points
points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor (DC24V
(R, T)
output output mixed output mixed )
NPN - - - - XLME-32T4 - 16 16
- - - - XLME-64T10 - 32 32

XLH series List


Type Input
Output
AC power DC power points
points
Relay Transistor Relay/transistor Relay output Transistor Relay/transistor (DC24V
(R, T)
output output mixed output mixed )
NPN - - - - XLH-24A16 - 12 12
- - - - XLH-24A16L - 12 12

1-2-3.XD expansion module list

I/O I/O expansion modules name constitute:


1 expansion
modules
XD E ○□ ○ □ □
1 2 3 4 5 6 7

1 Series name XD

2 Expansion module E

3 Input points 8 or 16 or 32
When input is NPN: X
4 Special for input
When input is PNP: PX
5 Output points 8 or 16 or 32
YR: relay output
6 Output mode
YT: transistor output
E: AC220V
7 Power supply type
C: DC24V

35
• I/O expansion module type list
Model Output
Input points
Output I/O points points
type Input (DC24V)
Relay output Transistor output (R,T)
XD-E8X - - 8 8 -
- XD-E8YR XD-E8YT 8 - 8
- XD-E8X8YR XD-E8X8YT 16 8 8
XD-E16X - - 16 16 -
XD-E16YR XD-E16YT 16 - 16
NPN - XD-E16X16YR-E XD-E16X16YT-E 32 16 16
- XD-E16X16YR-C XD-E16X16YT-C 32 16 16
XD-E32X-E - - 32 32 -
XD-E32X-C - - 32 32 -
- XD-E32YR-E XD-E32YT-E 32 - 32
- XD-E32YR-C XD-E32YT-C 32 - 32
XD-E8PX - - 8 8 points -
- XD-E8PX8YR XD-E8PX8YT 16 8 points 8
XD-E16PX - - 16 16 points -
PNP - XD-E16PX16YR-E XD-E16PX16YT-E 32 16 points 16
- XD-E16PX16YR-C XD-E16PX16YT-C 32 16 points 16
XD-E32PX-E - - 32 32 points -
XD-E32PX-C - - 32 32 points -

Analog temperature
2 modules

Analog, temperature model constitute:

XD E 4AD 2DA 6PT 6TC 1WT 4SSI P H


① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨

1 Expansion module E: expansion module


4AD: 4 channels analog input
2 Analog input 8AD: 8 channels analog input
12AD: 12 channels analog input
2DA: 2 channels analog output
3 Analog output
4DA: 4 channels analog output
6PT: 6 channels PT100 sensor input
4 Temperature input
4PT3: 4 channels PT100 sensor input (3-wire)
5 Temperature input 6TC: 6 channels thermocouple sensor input
6 Pressure 1WT: 1 channel pressure measurement
36
measurement 2WT: 2 channels pressure measurement
4WT: 4 channels pressure measurement
7 Encoder test 4SSI: 4 channels encoder test
P: PID control
A: hardware is new version (only for WT)
Current input (only for 8AD)
B: analog voltage output -5~5V or -10~10V
(only for 4AD2DA)
8 Type
hardware difference (only for WT)
C: hardware difference (only for WT)
D: hardware difference (only for WT)
V: input is voltage type (only for 8AD)
None: standard type
Note: standard type
9 Isolation H: each channel is isolated from each other
(only for 6TC-P-H module)

Analog, temperature expansion module type schedule


Type Function
XD-E4AD 4 channels analog input
XD-E8AD 8 channels analog input
Analog input XD-E8AD-A 8 channels analog input, current input type
XD-E8AD-V 8 channels analog input, voltage input type
XD-E12AD-V 12 channels analog input, voltage input type
Analog input and XD-E4AD2DA 4 channels analog input, 2 channels analog output
output XD-E4AD2DA-B 4 channels analog input, 2 channels analog output
XD-E2DA 2 channels analog output
Analog output
XD-E4DA 4 channels analog output
XD-E6PT-P 6 channels PT100 temperature measurement, with PID control
XD-E6TC-P 6 channels K-type thermocouple temperature measurement,
with PID control
Temperature XD-E6TC-P-H 6 channels K-type thermocouple temperature measurement,
measurement with PID control, each channel is isolated
XD-E4PT3-P 4 channels PT100 temperature measurement, with PID control
XD-2TC-P 2 channels K-type thermocouple temperature measurement,
with PID control
XD-E1WT-A 1 channel pressure measurement, -39.06mV~39.06mV
XD-E2WT-A 2 channels pressure measurement, -39.06mV~39.06mV
Pressure XD-E4WT-A 4 channels pressure measurement, -39.06mV~39.06mV
measurement XD-E2WT-B 2 channels pressure measurement, 0~10mV
XD-E1WT-C 1 channels pressure measurement, 0~10mV, precision 20-bit
XD-E2WT-C 2 channels pressure measurement, 0~10mV, precision 20-bit

37
XD-E4WT-C 4 channels pressure measurement, 0~10mV, precision 20-bit
XD-E1WT-D 1 channels pressure measurement, 0~10mV, precision 22-bit
XD-E2WT-D 2 channels pressure measurement, 0~10mV, precision 22-bit
XD-E4WT-D 4 channels pressure measurement, 0~10mV, precision 22-bit

Extension
3 BD board

The naming rule of extension BD board:

XD NE BD
① ②

①: BD type NE:RS485 port


NS:RS232 port
NO:X-NET optical fiber port
RTC:precise timing
②: Type BD:extension BD board

• Extension BD board model list


Model Description
XD-NE-BD RS485 communication, X-NET standard interface, bus
communication function
communication
XD-NS-BD RS232 communication function
XD-NO-BD X-NET optical fiber interface, bus communication function
XD-RTC-BD It provides more accurate clock function than PLC body, and
Precise clock
the error is less than 13 seconds per month

Left extension ED
4 module

The naming rule of left extension ED module:

XD 2AD 2DA 2PT NES A ED


① ② ③ ④ ⑤ ⑥
①: Analog input 2AD:2 channels analog input
②: Analog output 2DA:2 channels analog output
③: Temperature 2PT:2 channels PT100 input

38
measure
④: communication NES:RS232 or RS485
WBOX:WIFI
4GBOX:4G
SBOXT:Wireless transparent transmission
COBOX:CANopen
⑤: Analog type A:I/O is current mode
V:I/O is voltage mode
⑥: Extension ED:left extension ED

• Left extension ED module model list:


Model Description
XD-WBOX-ED WIFI communication module, support PLC download program, online
monitoring and so on
XD-SBOXT-ED Wireless transmission module, support PLC and PLC, HMI, computer
communication
XD-4GBOX-ED Support remote wireless monitoring, PLC program download and
communication
SMS information interaction, support 4G
XD-COBOX-ED Support CANopen communication, can be used as master station or
slave station
XD-NES-ED Expand 1 RS232 and 1 RS485 communication port, but can not be
used at the same time
XD-4AD-A-ED 4 channels analog current input
Analog input
XD-4AD-V-ED 4 channels analog voltage input
XD-4DA-A-ED 4 channels analog current output
Analog output
XD-4DA-V-ED 4 channels analog voltage output
Analog input XD-2AD2DA-A-ED 2 channels analog current input, 2 channels analog current output
and output XD-2AD2DA-V-ED 2 channels analog voltage input, 2 channels analog voltage output
XD-2AD2PT-A-ED 2 channels analog current input, 2 channels PT100 temperature input
Analog and
XD-2AD2PT-V-ED 2 channels analog voltage input, 2 channels PT100 temperature input
temperature
XD-2PT2DA-A-ED 2 channels PT100 temperature input, 2 channels analog current output
mixed
XD-2PT2DA-V-ED 2 channels PT100 temperature input, 2 channels analog voltage output

39
1-2-4.XL expansion module list

I/O I/O expansion modules name constitute:


1 expansion
modules

XL E ○□ ○ □ □
① ② ③ ④ ⑤ ⑥ ⑦

1: Series XL series expansion module


2: Expansion module E: expansion module
3: Input points 8 or 16 or 32
4: Input type X: NPN type input
PX: PNP type input
5: Output points 8 or 16 or 32
YT: transistor output
6: Output mode
YR: relay output
None: European terminal interface
7: Interface type A: Horn terminal interface, external terminal
block is required

• I/O expansion module type list


Model Output
Input points
Output I/O points points
type Input (DC24V)
Relay output Transistor output (R,T)
- XL-E8X8YR XL-E8X8YT 16 8 8
XL-E16X - - 16 16 -
- XL-E16YR XL-E16YT 16 - 16
- - XL-E16YT-A 16 - 16
- - XL-E16X16YT 32 16 16
NPN
- - XL-E16X16YT-A 32 16 16
XL-E32X - - 32 32 -
XL-E32X-A - - 32 32 -
- - XL-E32YT 32 - 32
- - XL-E32YT-A 32 - 32
- XL-E8PX8YR XL-E8PX8YT 16 8 8
XL-E16PX - - 16 16 -
PNP
- - XL-E16PX16YT 32 16 16
XL-E32PX - - 32 32 -

40
Analog expansion
2 modules

Analog model constitute:

XL E ○□ ○ □ □
1 2 3 4 5 6 7
1: Series XL series expansion module
2: Expansion module E: expansion module
3: Input channel 1 or 2 or 4 or 8
AD: analog voltage and current input
PT3: indicates the input of 3-wire PT100
4: Analog input temperature sensor
TC: thermocouple temperature sensor input
WT: pressure measurement
5: Output channel 2 or 4
6: Analog output DA: analog voltage, current output
A: current mode
V: voltage mode
7: Analog type
P: PID function
D: Hardware version differentiation (only for WT
modules)

Analog expansion module type list


Type Description
XL-E4AD2DA 4 channels analog input, 2 channels analog output
XL-E4AD 4 channels analog input, current/voltage mode
Analog I/O XL-E4DA 4 channels analog output, current/voltage mode
XL-E8AD-A 8 channels analog input, current mode
XL-E8AD-V 8 channels analog input, voltage mode
4 channels PT100 temperature measuring, built-in PID
XL-E4PT3-P
Temperature function
control 4 channels themocouple temperature measuring,
XL-E4TC-P
built-in PID function
1 channel pressure measurement, - 20 ~ 20mV, 23 bits
XL-E1WT-D
conversion accuracy
2 channel pressure measurement, - 20 ~ 20mV, 23 bits
Weighing XL-E2WT-D
conversion accuracy
4 channel pressure measurement, - 20 ~ 20mV, 23 bits
XL-E4WT-D
conversion accuracy

41
Left expansion ED
3 module

Analog module model constitute:

XL 2AD 2DA 2PT NES A ED


① ② ③ ④ ⑤ ⑥
1: Analog input 2AD:2 channels analog input
2: Analog output 2DA:2 channels analog output
Temperature
3: 2PT:2 channels PT100 input
measurement
4: Communication NES:RS232 or RS458 communication
5: Analog type A:I/O is current mode
V:I/O is voltage mode
6: Left expansion ED:left expansion ED module

Left expansion ED module list:


Model Description
XL-E4AD-A-ED 4 channels analog current input
Analog input
XL-E4AD-V-ED 4 channels analog voltage input
XL-E4DA-A-ED 4 channels analog current output
Analog output
XL-E4DA-V-ED 4 channels analog voltage output
XL-E2AD2DA-A-ED 2 channels analog current input, 2 channels analog current output
Analog I/O
XL-E2AD2DA-V-ED 2 channels analog voltage input, 2 channels analog voltage output
XL-E2AD2PT-A-ED 2 channels analog current input, 2 channels PT100 temperature input
Analog
XL-E2AD2PT-V-ED 2 channels analog voltage input, 2 channels PT100 temperature input
temperature
XL-E2PT2DA-A-ED 2 channels PT100 temperature input, 2 channels analog current output
mixed type
XL-E2PT2DA-V-ED 2 channels PT100 temperature input, 2 channels analog voltage output
XL-NES-ED One RS232 port, one RS485 port, cannot use at the same time
Communication XL-COBOX-ED Support CANopen communication, which can be used as master
station or slave station

42
1-3.Each Part’s Description

1-3-1.XD series structure

(1) (14) (8)


(2) (15) (9) (16)

● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42

(3) PROGRAMMABLE CONTROLLER


0 1 2 3 4 5 6 7

COM1 PWR
(10)
(4)
X
RUN
XDM-60T4L-E ERR
Y
0 1 2 3 4 5 6 7

(5) (17)
0V ● ● ● Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y10 Y12 COM7 Y15 Y17 Y20 Y22 COM9 Y25 Y27
24V ● A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y11 Y13 Y14 Y16 COM8 Y21 Y23 Y24 Y26

(6)
(7) (11)
(13) (12)

Each part’s name is listed below:

(1): Input & power supply (10): expansion module connection port
terminals (11): installation hole (2 holes)
(2): Input terminal label (12): output action display
(3): COM1 (13): rail mounting hook (2 hooks)
(4): USB port (14): expansion BD (COM4)
(5): Output terminal label (15): expansion BD (COM5)
(6): Output & 24V power (16): product label
terminals (17): expansion ED (COM3)
(7): output terminal, RS485
port(COM2)
(8): Input action display
(9): system LED
PWR: power supply
RUN: working
ERR: error
Note: (1) for the PLC hardware version below 3.2, position 4 is RS232 port.
(2) for XD1, XD2, XDC series PLC, position 4 is RS232 port.
(3) for XDC series PLC, position 4 RS232 port and terminal A and B (RS485 port) is
the same port, they cannot be used at the same time.

43
1-3-2.XD5E-24/30, XDME-30, XDH-30 structure

(1) (8)
(2) (9) (14)

COM X1 X3 X5 X7 X11 X13 X15 X17 B


COM X0 X2 X4 X6 X10 X12 X14 X16 A

(3) PROGRAMMABLE CONTROLLER


0 1 2 3 4

Xinje Electronic Co.,Ltd


5 6 7

SN:201207011525
DATE:20120701
TYPE:XD5E-30T4-E
X (10)
(4) XD5E-30T4

Y
-E

0 1 2 3

(5) 4 5 6 7
(15)
0V COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13 Y15
24V Y0 Y2 COM1 Y5 Y7 Y10 Y12 Y14

(6)
(7) (11)
(13) (12)

Each part’s name is listed below:

(1):input terminal, power supply (9):system indicator light


input, RS485 (COM2) PWR:power
(2):input label RUN:run
(3):RJ45 port1 ERR:error
(4):RJ45 port2 (10):expansion module access
(5):output label (11):installation hole (2 holes)
(6):RS232 (COM1) (12):output indicator light
(7):output terminal, 24V output (13):rail installation hook
terminal (14):product label
(8):input indicator light (15):left extension ED module interface
(COM3)

44
1-3-3.XD5E-48/60, XDME-60, XDH-60 structure

(1) (14) (8)


(2) (15) (9) (16)

N COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42

(3) PROGRAMMABLE CONTROLLER


0 1 2 3 4 5 6 7
10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27
30 31 32 33 34 35 36 37
40 41 42 43 PWR
(10)
(4)
X
RUN
XD5E-60T10-E ERR
Y
0 1 2 3 4 5 6 7

(5) 10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27
(17)
0V A COM0 Y1 Y2 Y4 COM2 Y7 Y11 Y12 COM4 Y15 Y17 Y20 Y22 COM6 Y25 Y27
24V B Y0 COM1 Y3 Y5 Y6 Y10 COM3 Y13 Y14 Y16 COM5 Y21 Y23 Y24 Y26

(6)
(7) (11)
(13) (12)

Each part’s name is listed below:

1: Input & power supply 10: expansion module connection port


terminals 11: installation hole (2 holes)
2: Input terminal label 12: output action display
3: RJ45 port 1 13: rail mounting hook (2 hooks)
4: RJ45 port 2 14: expansion BD (COM4)
5: Output terminal label 15: expansion BD (COM5)
6: RS232 port (COM1) 16: product label
7: output terminal, RS485 17: left expansion ED module access (COM3)
port(COM2)
8: Input action display
9: system LED
PWR: power supply
RUN: working
ERR: error

Note: XDH-60T4 (version lower than v3.7.1) series cannot support extension BD and
ED module.

45
1-3-4.XL series structure

(14)
(14) (3) (1) (14)
(2) (16) (19)
(4) (12)
(20) (12)
(14)
(22)

OFF
ON
(5) (21)
(18) (7)
(23)

(8)

(6)
(9)
(24)
(17) (11)
(11) (11)

(13)
(15) (13)
(15)

(10)
(15) (15)

Left side of CPU unit


CPU unit Right side of CPU unit Right expansion module

Each part’s name is listed below:


(1):PLC model (13):module fixed hook (down)
(2):input label and indicator light (14):slide lock (up)
(3):output label and indicator light (15):slide lock (down)
(4):system indicator light (16):DIP switch
PWR: power (17):left expansion ED module
RUN: run interface (COM3)
ERR: error (18):product label
(5):input terminal (19)expansion module model
(6):output terminal (20):expansion module input label and
(7):RS485 port(COM2) indicator light
(8):RS232 port(COM1) (21):expansion module output label
(9):USB port and indicator light
(10):power input terminal (22):expansion module system
(11):right expansion module access indicator light
(12):module fixed hook (up) PWR:power
COM:communication
ERR:error
(23):expansion module input terminal
(24):expansion module output terminal
Note:
(1) XL3/XL5 series USB communication ports are only for download and monitoring of
programs. (except XL1-16T-U series, XL1 other models can not support USB ports.)
(2) Position (9) of XL1 hardware version H4 and higher is RS232 (COM0), position (9)
of XL1 hardware version H4 and lower is empty.

46
(3) When the dial switch on the side of XL3-16, XL5-16/32 body is used for RS485 port
communication, when the PLC is in the first or the end of the bus, please turn the dial
switch to on.

1-3-5.XL5-64 series structure

(14)
(14) (1) (14)
(3) (16)
(2)
(4) (12)

OFF
ON
(18) (7)

(5)
(8)

(6) (11)

(17) (9)

(11)

(13)
(15)

(15) (15)
(10)

Each part’s name is listed below:


(1):PLC model (9):USB port
(2):input label and indicator (10):Power supply input
(3):output label and indicator terminal
(4):system LED (11):right expansion module
PWR:power supply access port
RUN:working (12):module fixing hook(up)
ERR:error (13):module fixing hook(down)
(5):input terminals (CN0) (14):sliding lock (up)
(6):output terminals (CN1) (15):sliding lock (down)
(7):RS485 port (COM2) (16):empty
(8):RS232 port (COM1) (17):left expansion module
access port (COM3)
(18):product label

47
1-3-6.XL5E-16 series structure

(15) (14) (15)


(17)
(3) (1)
(2) (13)
(4)

OFF
ON
(19) (7)
(5)

(8)

(9)

(6)
(10)
(18)
(12)
(12)

(14)
(15)

(16) (16)
(11)

Each part’s name is listed below:


(1):PLC model (9):RJ45 port1 (LAN1)
(2):input label and indicator (10):RJ45 port2 (LAN2)
(3):output label and indicator (11):Power supply input terminal
(4):system LED (12):right expansion module access port
PWR:power supply (13):module fixing hook(up)
RUN:working (14):module fixing hook(down)
ERR:error (15):sliding lock (up)
(5):input terminals (16):sliding lock (down)
(6):output terminals (17):empty
(7):RS485 port (COM2) (18):left expansion module access port
(8):RS232 port(COM1) (COM3)
(19):product label

48
1-3-7.XL5E-32, XLME-32 structure

(15)
(15) (3) (1) (17) (15)
(2)
(4) (13)
XLME-32T4

OFF
ON
(7)
(19)

(5) (8)

(9)
(6) (12)

(18) (10)

(12)

(14)
(16)

(16) (16)
(11)

Each part’s name is listed below:


(1):PLC model (9):RJ45 port1 (LAN1)
(2):input label and indicator (10):RJ45 port2 (LAN2)
(3):output label and indicator (11):Power supply input terminal
(4):system LED (12):right expansion module access port
PWR:power supply (13):module fixing hook(up)
RUN:working (14):module fixing hook(down)
ERR:error (15):sliding lock (up)
(5):input terminals (16):sliding lock (down)
(6):output terminals (17):empty
(7):RS485 port (COM2) (18):left expansion module access port
(8):RS232 port(COM1) (COM3)
(19):product label

49
1-3-8.XL5E-64, XLME-64 structure

(15)
(15) (1) (15)
(3) (17)
(2)
(4) (13)

OFF
ON
(7)
(19)

(5) (8)

(9)
(6) (12)

(18) (10)

(12)

(14)
(16)

(16) (16)
(11)

Each part’s name is listed below:


(1):PLC model (9):RJ45 port1 (LAN1)
(2):input label and indicator (10) :RJ45 port2 (LAN2)
(3):output label and indicator (11):Power supply input
(4):system LED terminal
PWR:power supply (12):right expansion module
RUN:working access port
ERR:error (13):module fixing hook(up)
(5):input terminal interface (CN0) (14):module fixing hook(down)
(6):output terminal interface (CN1) (15):sliding lock (up)
(7):RS485 port (COM2) (16):sliding lock (down)
(8):RS232 port (COM1) (17):empty
(18):left expansion module
access port (COM3)
(19):product label

50
1-3-9.XLH-24 series structure

(14)
(14) (3) (1) (16) (14)
(2)
(4) (12)

OFF
ON
(7)
(18) (5)

(8)

(6)
(9)
(11)

(17)
(11)

(13)
(15)

(15) (15)
(10)

Each part’s name is listed below:


(1):PLC model (8):RJ45 port1 (LAN1)
(2):input label and indicator (9) :RJ45 port2 (LAN2)
(3):output label and indicator (10):Power supply input
(4):system LED terminal
PWR:power supply (11):right expansion module
RUN:working access port
ERR:error (12):module fixing hook(up)
(5):RS485 port (COM2) (13):module fixing hook(down)
(6):input output terminals (14):sliding lock (up)
(7):RS232 port (COM1) (15):sliding lock (down)
(16):empty
(17):left expansion module
access port (COM3)
(18):product label

51
2 Specifications and parameters of CPU

This chapter mainly introduces XD/XL CPU’s general specifications, performance,


dimensions, terminals arrangement and communication interfaces.
The Expansions’ description, please refer to XD series expansion module manual.

2-1.Specification and Parameters

2-2.External Dimensions

2-3.Terminals Arrangement

2-4.Communication Interfaces

52
2-1.Specifications and Parameters

2-1-1.General Specifications

This specification is fit for XD and XL series PLC.


Items Specifications
Isolation Above DC 500V 2MΩ
voltage
Anti-noise Noise voltage 1000Vp-p 1us pulse per 1minute
Atmosphere No corrosive, flammable gas
Ambient 0℃~60℃
temperature 0℃~50℃ (XDH series)
0℃~55℃ (XL series)
Ambient 5%~95% (NO condensation)
humidity
Altitude Within 2000 meter
USB port USB download port, connect PC to upload/download/online
monitoring
COM0 RS-232, to connect upper computer, HMI for program or
debug.
COM1 RS-232, to connect upper computer, HMI for program or
debug.
COM2 RS-485, to connect intelligent instruments or inverters.
COM3 To connect left extension ED module
Ethernet port RJ45, connect to upper device, monitoring, connect to other
devices in the LAN
Installation Use M3screws or DIN to fix
Grounding The third type grounding (do not grounding with strong
(FG) power system)

※ 1: XD1, XD2, XDC, XD5E, XDME, XDH, XL1 (except XL1-16T-U) series models do not have USB ports.
※ 2: COM0 port is only available for XD1, XD2 and XL1 series PLCs, but not for other models.
※ 3: XD1-10/16 has no COM2, i.e. RS485 port.
※ 4: For XDC series PLC, COM2 port is divided into RS232 and RS485 communication interfaces, and the two
communication interfaces cannot be used at the same time.
※ 5: XD1 and XL1 series PLCs do not support extended ED modules.
※ 6: Ethernet port is only available for XD5E, XDME, XDH, XL5E, XLME and XLH series PLCs.
※ 7: The specification of the guide rail is DIN46277, and the width is 35mm. XL series PLC only supports the
installation of the guide rail.
※ 8: Separate grounding or common grounding should be used instead of public grounding.

53
XD PLC Devices XD PLC Devices XD PLC Devices

Single ground Common ground Public ground

2-1-2.Performance and Specifications

XD series PLC specifications:


Item Specification
Program execution Cyclic scanning mode
mode
Programming mode Command, ladder chart
XD1/XD2/XD3/XD5/XDM/XDC/XDH-30: 0.02~0.05us
Processing speed
XD5E/XDME/XDH-60: 0.01~0.03us
Power-off holding General PLC uses FlashROM and lithium battery (3V button battery)
XD1/XD2/XD3:256KB
XD5/XDM:512KB(XDM-60T4L:1.5MB)
User program capacity
※1 XDC:384KB
XD5E/XDME:1MB
XDH-30:2MB/ XDH-60: 4MB
Total 10 16 24 30 32 42 48 60
5 8 14 or 16 18 or 24 28 36
12 16
Input points X0~X4 X0~X7 X0~X15 X0~X17 X0~X21 X0~X27 X0~X33 X0~X43
or or
I/O
※2 X0-X13 X0~X17
5 8 10 or 14 14 or 18 20 24
12 16
Output points Y0~Y4 Y0~Y7 Y0~Y11 Y0~Y15 Y0~Y15 Y0~Y21 Y0~Y23 Y0~Y27
or or
Y0-Y13 Y0~Y17
※3
Internal coil(X) 1280 points: X0~X77, X10000~X11777, X20000~X20177, X30000~X30077
※4
Internal coil(Y) 1280 points: Y0~Y77, Y10000~Y11777, Y20000~Y20177, Y30000~Y30077
8000 points XD1/XD2/XD3:M0~M7999
General use 70000 points XD5/XDM/XDC/XD5E/XDME:M0~M69999
Internal M 200000 XDH:M0~M199999
coil points
Power-off 960 points XD1/XD2/XD3:HM0~HM959

holding HM 5 12000 points XD5/XDM/XDC/XD5E/XDME:HM0~HM11999

54
Item Specification
20000 points XDH:HM0~HM19999
2048 points XD1/XD2/XD3:SM0~SM2047
Special use
※ 5000 points XD5/XDM/XDC/XD5E/XDME:SM0~SM4999
SM 6
50000 points XDH:SM0~SM49999
1024 points XD1/XD2/XD3:S0~S1023
General use
8000 points XD5/XDM/XDC/XD5E/XDME:S0~S7999
S
20000 points XDH:S0~S19999
Flow
128 points XD1/XD2/XD3:HS0~HS127
Power-off
※ 1000 points XD5/XDM/XDC/XD5E/XDME:HS0~HS999
holding HS 5
2000 points XDH:HS0~HS1999
576 points XD1/XD2/XD3:T0~T575
General use
5000 points XD5/XDM/XDC/XD5E/XDME:T0~T4999
T
20000 points XDH:T0~T19999
Power-off 96 points XD1/XD2/XD3: HT0~HT95
※5
holding HT 2000 points XD5/XDM/XDC/XD5E/XDME/XDH: HT0~HT1999
Timer
Precise timing
26 points ET0~ET25
ET
100ms timer: set time 0.1~3276.7sec.
Specification 10ms timer: set time 0.01~327.67sec.
1ms timer: set time 0.001~32.767sec.
576 points XD1/XD2/XD3:C0~C575
general use
5000 points XD5/XDM/XDC/XD5E/XMDE:C0~C4999
C
20000 points XDH:C0~C19999
Power-off 96 points XD1/XD2/XD3:HC0~HC95
※5
Counter holding HC 2000 points XD5/XDM/XDC/XD5E/XMDE/XDH:HC0~HC1999
High speed
40 points HSC0~HSC39
counter
16-bit counter: K0~32,767
Specification
32-bit counter: -2147483648~+2147483647
8000 points XD1/XD2/XD3:D0~D7999
※7
70000 points XDM/XDC/XD5E/XDME:D0~D69999
general use 500000 XDH (except XDH-60A32): D0~D499999
D points
1000000 XDH-60A32:D0~D999999
points
Data
1000 points XD1/XD2/XD3:HD0~HD999
register
25000 points XDM/XDC/XD5E/XDME:HD0~HD24999
power-off
※ 50000 points XDH (except XDH-60A32): HD0~HD49999
holding HD 5
100000 XDH-60A32:HD0~HD99999
points
Special use 2048 points XD1/XD2/XD3:SD0~SD2047

SD 6 5000 points XD5/XDM/XDC/XD5E/XDME:SD0~SD4999

55
Item Specification
65488 points XDH:SD0~SD65487
Special 500 points XD1/XD2/XD3:HSD0~HSD499
power-off 1024 points XD5/XDM/XDC/XD5E/XDME:HSD0~HSD1023
holding XDH:HSD0~HSD49999
50000 points
HSD
6144 points XD1/XD2/XD3:FD0~FD6143
power-off
※ 8192 points XD5/XDM/XDC/XD5E/XDME:FD0~FD8191
holdingFD 5
65536 points XDH:FD0~FD65535
Flash
2000 points XD1/XD2/XD3:SFD0~SFD1999
ROM special use
※ 6000 points XD5/XDM/XDC/XD5E/XDME:SFD0~SFD5999
register SFD 6
50000 points XDH:SFD0~SFD49999
Special secret
48 points FS0~FS47
register FS
WAIT command
32 points SEM0~SEM31
special coil
High speed processing High speed counting, pulse output, external interrupt
ability
Password protection 6-bit ASCII
Self diagnosis function Power on self-test, monitoring timer, syntax check

XL series PLC specifications:


Item Specification
Program execution mode Cyclic scanning mode
Programming mode Command, ladder chart
Processing speed XL1/XL3/XL5/XLH-24: 0.02~0.05us;XL5E/XLME:0.01~0.03us
Power-off holding General PLC uses FlashROM and lithium battery (3V button battery)
XL1/XL3:256KB
※1 XL5:512KB
User program capacity
XL5E/XLME:1MB
XLH-24:2MB
Total 16 24 32 64
8 12 16 32
I/O Input points
※2 X0~X7 X0~X13 X0~X17 X0~X37
8 12 16 32
Output points
Y0~Y7 Y0~Y13 Y0~Y17 Y0~Y37
XL1/XL3:X0~X77, X10000~X11177,
896 points
※3 X20000~X20177, X30000~X30077
Internal coil(X)
1280 XL5/XL5E/XLME/XLH:X0~X77, X10000~X11777,
points X20000~X20177, X30000~X30077
※4 XL1/XL3:Y0~Y77, Y10000~Y11177,
Internal coils(Y) 896 points
Y20000~Y20177, Y30000~Y30077

56
Item Specification
1280 XL5/XL5E/XLME/XLH:Y0~Y77, Y10000~Y11777,
points Y20000~Y20177, Y30000~Y30077
8000 XL1/XL3:M0~M7999
points
General use 70000 XL5/XL5E/XLME:M0~M69999
M points
200000 XLH:M0~M199999
points
960 points XL1/XL3:HM0~HM959
12000 XL5/XL5E/XLME:HM0~HM11999
Internal Power-off
※ points
coil holding HM 5
20000 XLH:HM0~HM19999
points
2048 XL1/XL3:SM0~SM2047
points
Special use 5000 XL5/XL5E/XLME:SM0~SM4999

SM 6 points
50000 XLH:SM0~SM49999
points
1024 XL1/XL3:S0~S1023
points
General use 8000 XL5/XL5E/XLME:S0~S7999
S points
20000 XLH:S0~S19999
Flow points
128 points XL1/XL3:HS0~HS127
1000 XL5/XL5E/XLME:HS0~HS999
Power-off
※ points
holding HS 5
2000 XLH:HS0~HS1999
points
576 points XL1/XL3:T0~T575
5000 XL5/XL5E/XLME:T0~T4999
General use
points
T
20000 XLH:T0~T19999
points
Timer
96 points XL1/XL3:HT0~HT95
Power-off
※ 2000 XL5/XL5E/XLME/XLH:HT0~HT1999
holding HT 5
points
Precise timing
※ 25 points ET0~ET24
ET 10

57
Item Specification
100ms timer: set time 0.1~3276.7sec.
Sepcification 10ms timer: set time 0.01~327.67sec.
1ms timer: set time 0.001~32.767sec.
576 points XL1/XL3:C0~C575
5000 XL5/XL5E/XLME:C0~C4999
General use
points
C
20000 XLH:C0~C19999
points
96 points XL1/XL3:HC0~HC95
Counter Power-off
※ 2000 XL5/XL5E/XLME/XLH:HC0~HC1999
holding HC 5
points
High speed
40 points HSC0~HSC39
counter
16-bit counter: K0~32,767
Specification
32-bit counter: -2147483648~+2147483647
8000 XL1/XL3:D0~D7999
points
General use 70000 XL5/XL5E/XLME:D0~D69999
D points
500000 XLH-24A16:D0~D499999
points
1000 XL1/XL3:HD0~HD999
points
Power-off
25000 XL5/XL5E/XLME:HD0~HD24999
holding
※ points
HD 5
50000 XLH-24A16:HD0~HD49999
Data points
register 2048 XL1/XL3:SD0~SD2047
points
Special use 5000 XL5/XL5E/XLME:SD0~SD4999

SD 6 points
50000 XLH:SD0~SD49999
points
500 XL1/XL3:HSD0~HSD499
points
Special
1024 XL5/XL5E/XLME:HSD0~HSD1023
power-off
points
holding HSD
50000 XLH:HSD0~HSD49999
points
Flash Power-off 5120 XL1/XL3:FD0~FD5119
ROM holding points

58
Item Specification
※5
register FD 8192 XL5/XL5E/XLME:FD0~FD8191
points
65536 XLH:FD0~FD65535
points
2000 XL1/XL3:SFD0~SFD1999
points
Special use 6000 XL5/XL5E/XLME:SFD0~SFD5999

SFD 6 points
65488 XLH:SFD0~SFD65487
points
Secret register
48 points FS0~FS47
FS
WAIT command special
32 points SEM0~SEM31
coil
High speed processing High speed counting, pulse output, external interrupt
ability
Password protection 6-bit ASCII
Self diagnosis function Power on self-test, monitoring timer, syntax check

Note:
※ 1: User program capacity refers to the maximum program capacity during confidential
downloading.
※ 2: I/O points refer to the number of terminals that users can input and output signals from outside.
※ 3: X refers to the internal input relay. X beyond I points can be used as an intermediate relay.
※ 4: Y refers to the internal output relay. Y exceeding the number of O points can be used as an
intermediate relay.
※ 5: [ ] mark is the default power-off holding area and cannot be changed.
※ 6: Special purpose refers to the special purpose register occupied by the system, which cannot be
used for other purposes. See Appendix 1 for details.
※ 7: The range of XD5 series data registers for firmware versions V3.4.6 and above is D0~D69999,
and the range of XD5 series data registers for firmware versions V3.4.5 and below is D0~D59999.
※ 8: The numbers of input coils, output relays/transistors are octal numbers, and the numbers of other
memories are decimal numbers.
※ 9: The I/O not connected to the peripheral equipment can be used as a fast internal relay.
※ 10: XDH and XLH do not support accurate timing temporarily.

59
2-2.Dimensions
2-2-1.XD series dimensions

Note: the height is 79.9mm for PLC firmware version v3.4 and below.

(Unit: mm)
70.8
Suitable Model:
62.8 89.9
Series Points
XD1 10/16
COM
X0
X1
X2
X3
X4
X5
X6
X7
A
B
XD2
0 1 2 3
XD3
Xinje Electronic Co.,Ltd

DATE:20120701
TYPE:XD3-16R-E
SN:201206022636
4 5 6 7
108.0
100.0

XD5
Y

0 1 2 3
4 5 6 7

0V COM0 Y1 Y2 COM2 Y5 Y7
24V ● Y0 COM1 Y3 Y4 Y6

108.6
100.6 89.9
Suitable Model:

COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15




Series Points
0 1 2 3 4
XD1 24/32
Xinje Electronic Co.,Ltd

PROGRAMMABLE CONTROLLER
DATE:20120701

5 6 7
TYPE:XD2-24R-E
SN:201207011525
108.0
100.0

XD2-24R
PWR

RUN
XD2
-E ERR
Y

0 1 2 3
4 5 6 7 XD3

24V
0V

A
B
COM0
Y0
COM1
Y1
COM2
Y2
Y3
Y4
Y5
COM3
Y6
Y7
Y10
Y11





XD5
XDM
XDC

60
108.6 (1)
100.6 89.9
Suitable Model: (2)

Series Points

COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
A
B XD5E 24/30 COM
COM
X0
X1
X2
X3
X4
X5
X6
X7

PROGRAMMABLE CONTROLLER
0 1 2 3 4
5 6 7 XDME 24/30 (3) PROGRAMMABLE CONTROLLER
108.0
100.0

XDH 30 (4)
Y

(5)
0 1 2 3
4 5 6 7

0V COM0 Y1 Y3 Y4
24V Y0 Y2 COM1
0V COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13 Y15
24V Y0 Y2 COM1 Y5 Y7 Y10 Y12 Y14

(6)
(7)
(13)
2-Ø4.3

138.7
90.00
134.7

COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
A
B Suitable Model:
N COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26

0 1 2 3 4
PROGRAMMABLE CONTROLLER
5 6 7
0 1 2 3 4 5 6 7
Series Points
PROGRAMMABLE CONTROLLER 10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27
108.0
100.0

PWR
XD2 42
X
RUN
Y XD2-42T-E ERR

0 1 2 3 Y

4 5 6 7 0 1 2 3 4 5 6 7
10 11 12 13 14 15 16 17
XD5 42
20 21

0V COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13 Y15


24V0V
24V
A
B
COM0
Y0 Y0
COM1
Y2 Y1
COM2
COM1Y2 Y3Y5Y4 Y5 Y7
COM3
Y6 Y10 Y10Y12
Y7 Y11
Y14COM4 Y12 Y13 Y14 Y15 COM5
Y16
Y17
Y20
Y21

2-4.30

177.2
166.2 90.0
Suitable Model:

COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
X20
X21
X22
X23
X24
X25
X26
X27
X30
X31
X32
X33
X34
X35
X36
X37
X40
X41
X42
X43
Series Points
0 1 2 3 4 5 6 7
PROGRAMMABLE CONTROLLER
XD2 48/60
Xinje Electronic Co.,Ltd

DATE:20120701
SN:201206022636

TYPE:XD3-32R-E
108.0
100.0

PWR
X

Y
XD3-60R-E
RUN

ERR
XD3
0 1 2 3 4 5 6 7

XD5
0V ● ● ● Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y10 Y12 COM7 Y15 Y17 Y20 Y22 COM9 Y25 Y27
24V ● A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y11 Y13 Y14 Y16 COM8 Y21 Y23 Y24 Y26

XDM
XDC

Ø 4.3
2-

61
177.2
169.2 90.0
Suitable model:
Series Points
X25 X27 X31 X33 X35 X37 X41 X43
X24 X26 X30 X32 X34 X36 X40 X42

0 1 2 3 4 5 6 7
XD5E 48/60
10 11 12 13 14 15 16 17
0 1 2 3 4 5 6 7
20 21 22 23 24 25 26 27 PROGRAMMABLE CONTROLLER
10 11 12 13 14 15 16 17
108.0
100.0

30 31 32 33 34 35 36 37
40 41 42 43
X
PWR

RUN
20 21 22 23 24 25 26 27
30 31 32 33 34 35 36 37
40 41 42 43
XDME 48/60
PWR
XD5E-60T10-E ERR X
RUN
Y
XD5E-60T10-E
0 1 2 3 4 5 6 7
10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27
Y
0 1 2 3 4 5 6 7
ERR

XDH 60
10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27
2 COM4 Y15 Y17 Y20 Y22 COM6 Y25 Y27
Y13 Y14 Y16 COM5 Y21 Y23 Y24 Y26

2-2-2.XL series dimensions

(Unit: mm)
15.0 70.0 36.0
OFF
ON

Suitable model:
Series Points
111.5
105.0

XL1 16

15.0 70.0 36.0 5.1


ON
OFF

Suitable model:
Series Points
POWER: DC22~26V
MODEL: XL3-16T
WUXI XINJE ELECTRIC CO.,LTD
111.5
105.0

XL3 16
Programmable Controller

XL5 16
V1.0/V1.0

62
15.0 70.0 58.0

ON
OFF
Suitable model:
Series Points

111.5
105.0
XL3 32
XL5 32

15.0 70.0 36.0 5.1

Suitable model:
OFF
ON

Series Points
XL5E 16
111.5
105.0

15.0
70.0 58.0
OFF
ON

Suitable model:
Series Points
111.5
105.0

XL5E 32
XLME 32

63
15 70 58 5.1

OFF
ON
Suitable model:
Series Points

111.5
105
XL5 64

15 70 58 5.1
ON
OFF

Suitable model:
Series Points
111.5

XL5E 64
105

XLME 64

15 70 58 5.1
OFF
ON

Suitable model:
111.5

Series Points
105

XLH 24

64
2-3.Terminal arrangement

2-3-1.XD series terminal arrangement

• Diagram1
N COM X1 X3
L FG X0 X2 X4
0V COM0 Y1 Y2 COM2
24V Y0 COM1 Y3 Y4

• Diagram2
COM X1 X3 X5 X7 ●
X0 X2 X4 X6 ●

0V COM0 Y1 Y2 COM2 Y5 Y7
24V ● Y0 COM1 Y3 Y4 Y6

• Diagram3
N COM X1 X3 X5 X7 X11 X13
L FG COM X0 X2 X4 X6 X10 X12
0V B Y0 Y2 COM1 Y5 Y7 Y10 Y12
24V A COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13

• Diagram4
● COM X1 X3 X5
X17 ● X7 X11 X13 X15
COM X0 X2 X4 X16 ● X6 X10 X12 X14
0V B Y0 Y2 COM1 Y5 Y7 Y10 Y12 COM3 Y15 Y17
24V A COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13 Y14 Y16

• Diagram5
COM X1 X3 X5 X7 B
X0 X2 X4 X6 A
0V COM0 Y1 Y2 COM2 Y5 Y7
24V ● Y0 COM1 Y3 Y4 Y6

• Diagram6
● COM X1 X3 X5 X7 X11 X13 X15 ● ●
COM X0 X2 X4 X6 X10 X12 X14 ● ●

0V A COM0 COM1 COM2 Y3 Y5 Y6 Y10 ● ● ●


24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y11 ● ●

• Diagram7
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21
COM X0 X2 X4 X6 X10 X12 X14 X16 X20

0V A COM0 COM1 COM2 Y3 Y5 Y6 Y10 COM4 Y13 Y15


24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y11 Y12 Y14

• Diagram8
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 ● ● ● ●
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 ● ● ● ●

0V ● ● ● Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y10 Y12 COM7 Y15 Y17 Y20 Y22 ● ● ●


24V ● A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y11 Y13 Y14 Y16 COM8 Y21 Y23 ● ●

• Diagram9
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42

0V ● ● ● Y0 Y1 Y2 COM3 Y5 Y6 COM5 Y11 Y12 COM7 Y15 Y17 Y20 Y22 COM9 Y25 Y27
24V ● A B COM0 COM1 COM2 Y3 Y4 COM4 Y7 Y10 COM6 Y13 Y14 Y16 COM8 Y21 Y23 Y24 Y26

• Diagram10
● COM X1 X3 X5 X7 X11 X13 X15 ● ●
COM X0 X2 X4 X6 X10 X12 X14 ● ●

0V A COM0 Y1 Y2 COM2 Y5 Y6 Y10 ● ● ●


24V ● B Y0 COM1 Y3 Y4 COM3 Y7 Y11 ● ●

• Diagram11

65
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21
COM X0 X2 X4 X6 X10 X12 X14 X16 X20

0V A COM0 Y1 Y2 COM2 Y5 Y6 Y10 COM4 Y13 Y15


24V ● B Y0 COM1 Y3 Y4 COM3 Y7 Y11 Y12 Y14

• Diagram12
● COM X1 X3 X5 X7 X11 X13 X15 X17 B
COM X0 X2 X4 X6 X10 X12 X14 X16 A
0V COM0 Y1 Y3 Y4 Y6 COM2 Y11 Y13 Y15
24V ● Y0 Y2 COM1 Y5 Y7 Y10 Y12 Y14

• Diagram13
N ● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42

0V A COM0 Y1 Y2 Y4 COM2 Y7 Y11 Y12 COM4 Y15 Y17 Y20 Y22 COM6 Y25 Y27
24V ● B Y0 COM1 Y3 Y5 Y6 Y10 COM3 Y13 Y14 Y16 COM5 Y21 Y23 Y24 Y26

• Diagram14
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 ● ● ● ●
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 ● ● ● ●

0V ● ● ● Y0 Y1 Y2 COM3 Y5 Y6 COM5 Y11 Y12 COM7 Y15 Y17 Y20 Y22 ● ● ●


24V ● A B COM0 COM1 COM2 Y3 Y4 COM4 Y7 Y10 COM6 Y13 Y14 Y16 COM8 Y21 Y23 ● ●

• Diagram15
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42
0V ● ● ● Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y10 Y12 COM7 Y15 Y17 Y20 Y22 COM9 Y25 Y27
24V ● A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y11 Y13 Y14 Y16 COM8 Y21 Y23 Y24 Y26

• Diagram16
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 ● ● ● ●
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 ● ● ● ●

0V ● ● ● Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y10 Y12 COM7 Y15 Y17 Y20 Y22 ● ● ●


24V ● A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y11 Y13 Y14 Y16 COM8 Y21 Y23 ● ●

• Diagram17
N ● COM X1 X3 X5 X7 X11 X13 X15 ● B
L FG COM X0 X2 X4 X6 X10 X12 X14 ● A
0V Y0 COM1 Y3 Y5 Y6 Y10 ● ● ●
24V COM0 Y1 Y2 Y4 COM2 Y7 Y11 ● ●

• Diagram18
N COM X1 X3 X5
X17 B X7 X11 X13 X15
L FG COM X0 X2 X4 X16 A X6 X10 X12 X14
0V Y0 COM1 Y3 Y5 Y6 Y10 COM3 Y13 Y15
24V COM0 Y1 Y2 Y4 COM2 Y7 Y11 Y12 Y14

• Diagram19
N COM X1 X3 X5 X7 X11 X13 X15 B
L FG COM X0 X2 X4 X6 X10 X12 X14 A
0V COM0 Y1 Y3 Y4 Y6 COM2 Y11
24V Y0 Y2 COM1 Y5 Y7 Y10

• Diagram20
N COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32
0V A COM0 Y1 Y2 COM2 Y5 Y7 Y10 Y12 COM4 Y15 Y17 Y20 Y22
24V B Y0 COM1 Y3 Y4 Y6 COM3 Y11 Y13 Y14 Y16 COM5 Y21 Y23

• Diagram21
N ● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37 X41 X43
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36 X40 X42
0V A COM0 Y1 Y2 COM2 Y5 Y7 Y10 Y12 COM4 Y15 Y17 Y20 Y22 COM6 Y25 Y27
24V B Y0 COM1 Y3 Y4 Y6 COM3 Y11 Y13 Y14 Y16 COM5 Y21 Y23 Y24 Y26

• Diagram22
N COM X0- X1- X3+ X4+ X5 X6- X7- X11+ X12+ X13 X15 X17 X21 X23 X25 X27 X31 X33
L FG COM X0+ X1+ X2 X3- X4- X6+ X7+ X10 X11- X12- X14 X16 X20 X22 X24 X26 X30 X32

0V Y0+ Y1+ COM1 Y2- Y3- Y4+ Y5+ COM3 Y6- Y7- Y10 COM5 Y13 Y14 Y16 COM7 Y21 Y23
24V A B COM0 Y0- Y1- Y2+ Y3+ COM2 Y4- Y5- Y6+ Y7+ COM4 Y11 Y12 COM6 Y15 Y17 Y20 Y22

• Diagram23

66
N COM X0- X1- X3+ X4+ X5 X7 X11 X13 X15
L FG COM X0+ X1+ X2 X3- X4- X6 X10 X12 X14
0V A COM0 Y0- Y1+ Y2+ Y3+ COM2 Y5 COM3 Y10
24V B Y0+ Y1- COM1 Y2- Y3- Y4 Y6 Y7 Y11

• Diagram24
N COM X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27
L FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26
0V A COM0 COM1 COM2 Y3 Y5 Y6 Y10 COM4 Y13 Y15 COM5 Y17 Y21
24V B Y0 Y1 Y2 Y4 COM3 Y7 Y11 Y12 Y14 Y16 Y20

The graph for the model:


Diagram Suitable model Note
Diagram1 XD1-10 5 input/5 output
Diagram2 XD1-16 8 input/8 output
Diagram3 XD1-24 12 input/12 output
Diagram4 XD1-32 16 input/16 output
Diagram5 XD2-16, XD3-16, XD5-16 8 input/8 output
Diagram6 XD2-24, XD3-24, XD5-24 14 input/10 output
Diagram7 XD2-32, XD3-32, XD5-32 18 input/14 output
Diagram8 XD2-48, XD3-48, XD5-48, XDC-48 28 input/20 output
Diagram9 XD5-60T6, XD5-60T10, XDM-60T10 36 input/24 output
Diagram10 XD3-24T4, XD5-24T4, XDM-24T4, XDC-24T 14 input/10 output
Diagram11 XD3-32T4, XD5-32T4, XDM-32T4, XDC-32T 18 input/14 output
XD5E-30T, XD5E-30T4, XDME-30T4, XDH-30A16,
Diagram12 16 input/14 output
XDH-30A16L
Diagram13 XD5E-60T6, XD5E-60T10, XDME-60T10 36 input/24 output
Diagram14 XD5-48T6 28 input/20 output
XD2-60, XD3-60, XD5-60, XD5-60T4, XDC-60, XDM-60T4,
Diagram15 36 input/24 output
XDM-60T4L
Diagram16 XD5-48T4 28 input/20 output
Diagram17 XD5E-24R 14 input/10 output
Diagram18 XD5E-30 16 input/14 output
Diagram19 XD5E-24T 14 input/10 output
Diagram20 XD5E-48R/T 28 input/20 output
Diagram21 XD5E-60R, XD5E-60T, XD5E-60T4, XDME-60T4, XDH-60T4, 36 input/24 output
XDH-60A32
Diagram22 XD5-48D4T4 28 input/20 output
Diagram23 XD5-24D2T2 14 input/10 output
Diagram24 XD2-42, XD5-42 24 input/18 output

Note:
※ 1: The above terminal arrangement diagram is -E type PLC (power input terminals are L, N). L and
N of -C type PLC are power input terminals 24V+ and 24 - respectively.
※ 2: RT type PLC, only the first two circuits are transistor output, and the rest are relay output.
※ 3: 24V and 0V on the output terminal block are external output terminals, which can supply power
to the module or sensor, but must not exceed its maximum output current. See Section 4-1 for details.

67
※ 4: FG is a grounding terminal, which is used to shield interference and can be grounded separately
as required.
※ 5: Common terminal COM of input terminal corresponds to all input points; COM on the output
terminal block corresponds to different Y output points. When using, please wire according to the
actual division on the PLC output label.
※ 6: Terminals A and B on the terminal block are RS485 communication interfaces, A is RS485+, B
is RS485 -.
※ 7: The above terminal arrangement diagram is applicable to both NPN type and PNP type.
※ 8: Among the input terminals of XD5-48D4T4, X0, X1, X3, X4, X6, X7, X11, X12 are differential
inputs, and the rest are NPN inputs; Among the output terminals, Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 are
differential outputs, and the rest are transistor outputs.
※ 9: Among the input terminals of XD5-24D2T2, X0, X1, X3 and X4 are differential inputs, and the
rest are NPN inputs; Among the output terminals, Y0, Y1, Y2 and Y3 are differential outputs, and the
rest are transistor outputs.

2-3-2.XL series terminal arrangement

XL series I/O terminals:


XL1-16, XL3-16, XL5-16, XL5E-16 XL3-32, XL5-32T, XL5-32T4, XL5E-32T,
XL5E-32T4, XLME-32T4

XL5-64T10, XL5E-64T6, XL5E-64T10, XLH-24A16, XLH-24A16L


XLME-64T10

68
XL1-16, XL3-16, XL5-16, XL5E-16 XL3-32, XL5-32T, XL5-32T4, XL5E-32T,
XL5E-32T4, XLME-32T4

The terminal arrangement of XL series PNP type PLC is the same as that of NPN type
PLC.
XL series PLC has no built-in 24V power supply, so when conducting input wiring,
external 24V switching power supply is required, L+ is connected to 24V+, and M is
connected to 24V-.
The common terminal of input terminals X0~X7 is M; The common terminal of
output terminals Y0~Y3 is CM0/COM0; The common terminal of Y4~Y7 is
CM1/COM1; The common terminal of Y10~Y13 is COM2; The common terminal of
Y14~Y17 is COM3.
XL5/XL5E/XLME series 64 points models can choose to use external terminal blocks
when wiring. The terminal block models and cables are shown in the following table:
Input/output Terminal block model Cable
Input part JC-TE32-NN05 (0.5m)
JT-E32X
(CN0) JC-TE32-NN10 (1.0m)
Output part JC-TE32-NN15 (1.5m)
JT-E32YT
(CN1)

69
XL series RS485 terminals:

Note:
(1) A is RS485+, B is RS485-. Please connect A to A, B to B when
communicating.
(2) SG is communication ground terminal, it can connect to SG terminal of servo
drive in general.

XL series PLC power supply terminals:

Note:
(1) PLC power supply input terminals are 24V, 0V.
(2) FG is ground terminal for shield interference, please connect to ground
separately.

Connection head specifications of terminal


When wiring XL series PLC, its wiring head should meet the following requirements:
(1) The stripping length is 9 mm;
(2) Flexible conductors with bare tubular ends are 0.25-1.5 mm2.
(3) Flexible conductors with tubular pre-insulated end is 0.25-0.5 mm2.

2-4.Communication Ports

XD series generally has USB port (not available for individual models), COM0
(RS232, only supported by XD1/XD2), COM1 (RS232), COM2 (RS485, XDC
RS485/RS232), and Ethernet port (supported by XD5E/XDME/XDH).
XL series generally has USB port (not available for XL1/XL5E/XLME), COM0
(RS232, only supported by XL1), COM1 (RS232), COM2 (RS485), and Ethernet port
(supported by XL5E/XLME/XLH).
[Note]: Only XL1 series with hardware version H4 and above can have COM0
(RS232 port).

70
36.0 5.1
The main functions of each communication port are as follows:
• The USB port can be used to download programs and data at high speed;
• The COM0 port supports X-NET and Modbus communication modes (X-NET is
the default), which is mainly used for downloading programs and monitoring;
• The COM1 and COM2 ports are mainly used for communication and can also be
used to download programs;
• The Ethernet port can be used to download programs, monitor, and communicate
with other devices in the LAN. The LAN2 port of XDH is used for EtherCAT bus
control, which can control up to 32 axes at the same time.
105.0
111.5

1 USB port

USB port only can download program but cannot communicate with other device.
Please use printer USB cable or XINJE USB cable JC-UA-15 to download.

Note: XD1, XD2, XDC, XD5E, XDME, XDH, XL1, XL5E, XLME, XLH series
models have no USB port (XL1-16T-U has one USB port).

2 RS232 port

RS232 port can upload, download program and communication. COM0 and COM1
support X-NET and Modbus mode. The pin diagram of COM0, COM1, COM2 (only
for XDC series) are shown as below:

1 2 4: RxD
3 4 5 5: TxD
6 8 8: GND
7

Mini Din 8-core plug-in (holes)

71
3 RS485 port

The COM2 of XD series PLC are the terminal A and B. A is RS485+, B is RS485-.
The COM2 of XL series PLC is separately, they are terminal A, B and SG(signal
ground). A is RS485+, B is RS485-, SG is signal ground.
Note: XD1-10/16 does not have RS485 port.

Note:
※ 1: XD1-10/16 has no RS485 port.
※ 2: XL3-16, XL5-16/32 models, 485 port terminals are A, B, SG, and SG is the
signal ground terminal.

4 Ethernet port

The Ethernet port is RJ45 access, can upload, download program, online monitoring,
remote monitoring, communicate with other device in the LAN.
In addition, the LAN2 port of XDH/XLH can be used for EtherCAT bus control,
which can control up to 32 axes at the same time, and the control cycle is less than
1ms.

5 Program Cable

download program via RS232 port must use XINJE DVP cable.

72
Program cables are as below:

5 1
2 1
5 43
8 6
7
9 6
Mini Din 8-pin (pins) DB9-pin (holes)

Note: above diagram is for DVP cable. If it is XVP cable, please connect pin1 of Mini
Din8 and pin7 of DB9 based on above diagram.

73
3 System Structure

As the controllers, XD/XL series PLC can connect with many kinds of peripheral
devices, expansion devices. In this chapter, we mainly introduce PLC basic units,
peripheral devices and expansion devices connection. And also introduce the
connection principle of PLC with expansions, products installation, points calculation,
address number distribution etc.
For the introduction of expansions, please refer to chapter 8.

3-1.System Structure

3-2.Peripheral Devices

3-3.Combination Principle

3-4.Expansions’ ID Assignment

3-5.Install the Products

74
3-1.System Structure

According to XD/XL series PLC basic configuration, we build the system structure
chart as below. We can know the general connection among PLC, peripheral
equipments and expansions from the chart; also classic applications of PLC’s each
COM port, connection and expansions etc.

Left expansion ED XL CPU Right expansion

XL-2AD2PT-A-ED

● COM X1 X3 X5 X7 X9 X11 X13 X15 X17


COM X0 X2 X4 X6 X8 X10 X12 X14 X16 C0 AO0 C1 AO1
VO0 VO1

0 1 2 3 4
5 6 7 8 9

X AO
PWR PWR
COM0 ● COM X1 X3 X5 X7 X9 X11 X13 X15 X17
COM X0 X2 X4XD3-32R
X6 RUNX8 X10 X12 X14 X16 C0 AO0 C1 AO1
-E ERR VO0 VO1
AI
Y

0 1 2 3 0 1 2 3 4
4 5 6 7 8
5 6 7 8 9
COM1 9

L+ X AO
PWR VI0 C1 AI1 VI2 C3 AI3 PWR
0V A COM0 COM1COM0COM2 Y3 Y5 Y6 Y8 COM4 Y11 Y13 C0 AI0 VI1 C2 AI2 VI3
M 24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y9 Y10 XD3-32R
Y12 RUN
-E ERR AI
Y
AI0
0 1 2 3
AI1 4 5 6 7 8
COM1 9
CI0
A0 0V A COM0 COM1 COM2 Y3 Y5 Y6 Y8 COM4 Y11 Y13
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y9 Y10 Y12
A1
C0

HMI
VFD

software

75
Note: In the above chart, the communication devices connected to the COM port are only samples for your
reference. Each COM port can connect with many devices in real applications.

3-2.Peripheral Devices

XD/XL series PLC basic units can work with many kinds of peripheral devices.

3-2-1.Program Software

In the programming software, it can write or upload programs to PLC, monitor the
operation of PLC in real time, configure PLC and other functions. After the
programming software "Xinje PLC programming tool software" is installed on the
personal PC, the connection between PLC and programming software can be realized
by using USB download cable or programming cable through the USB port, COM0,
COM1 port or RJ45 port of the basic unit.
Please use the special download cable for PLC provided by Xinje Company, or you
can make your own cable. Please refer to Section 2-4 for the connection method.

• Program Interface

76
3-2-2 Human Machine Interface (HMI)

The HMI link PLC to the operators. The HMI can send the commands from
operators to PLC, and then PLC executes the commands.
XD/XL series PLC support diverse brands of HMI; the connection is based on the
communication protocol. Generally communicate via Modbus protocol, the detailed
parameters setting depends on the HMI.
The Xinje HMI can work with PLC directly (the communication parameters are set in
accordance already). Presently Xinje HMI has TG, TH, TP, OP, MP series.

TG, TH • Size 4.3”, 7”, 8”, 10.1”, 10.4”, 15.6’’


1 series • Display 16 million color,65536 color
• Operation touch screen
• Interface RS232, RS422, RS485, USB, Internet port
• Communication Work with many PLC brands, inverters,
instruments etc.
Drive panel printer directly, support multiple printer.
Dual COM ports make it possible that work with 2 different
devices at the same time.
Support free format protocol, users can write the driver
program freely
• Recipe input different group of data in the table
• Picture Rich stereoscopic 3D gallery, font effects, data collect,
data backup etc.
• Password nine-level setting
• Advanced function animation design and so on

• Size 3.7’’
OP • Display Blue LCD, 256 true color
2 Series • Buttons Nr. 7, 20 not touch screen
• Interface RS232, RS422, RS485
• Communication work with many PLC brands.
Communicate with Xinje Inverters
• RTC Built-in

77
3-2-3 XL adapter power supply

XL series PLC can use external power supply or XL special power supply module
XL-P50-E.

1 Basic specification

Item Specification
Power supply AC85-265V
Output voltage DC24V
Output current 2A
Air No corrosive and glammable gas
Ambient temperature 0℃~60℃
Ambient humidity 5%RH~95%RH (no condensation)
Installation Install on the rail directly
Ground The third ground (cannot connect to ground
with strong power system)

2 Structure

Model
System light

Input wiring

Output wiring

Structure name Function


Model The model of the product
System light PWR: power light, always ON when the module is
energized
RUN: run light, always ON when the module is
running well
Input wiring L, N: power supply input terminal
FG: ground terminal

78
Output wiring Can output two groups of 24V, 0V power supply

3 Dimensions
Unit: mm

15.0 70.0 55.0

105.0
3-2-4 Downloader

Downloader JD-P03 is suitable for data and program copy without PC.
(1) Suitable PLC
XD/XL series PLC (XDH/XLH cannot support) or ZG/ZP series integrated
controller.
(2) Version
Model Upload Download
(PLC→downloader) (downloader→PLC)
PLC without PLC firmware V3.4.6 and PLC firmware V3.4 and
Ethernet port up up
PLC with Ethernet PLC firmware V3.5.3 and PLC firmware V3.5 and
port up up
(3) Basic specification
Item Specification
Dimension 94.8mm×52.0mm×26.5mm
Using environment No corrosive gas
Environment temperature 0℃~60℃
Environment humidity 5~95%

79
(4) Structure

Cable and download port (RS232)

RJ45 port RS232 port


PWR

LED COM
OK
DATA
E1
E2
E3 battery
RS232

ETH
JD-P03

START

Start button

UP
DOWN Upload/download switch
ON Port switch
OFF
Power supply switch

Name Function
POWER After the Downloader is powered on, the PWR is always on
COM When RS232 port has data receiving and sending, the COM flashes
After the downloader completes the power on stop action to PLC, the OK
light is always on, waiting for the user to press start button; then the
OK
downloader starts the upload / download action, and the OK light is off;
LED when the upload / download is completed, the OK light will slowly flash
DATA light flashes in upload mode, DATA light is always ON in
DATA
download mode
E1 Error light 1
E2 Error ilght 2
E3 Error light 3
Press this button to perform the upload or download operation; after the
download is completed, this button can be used to run / stop the PLC,
Start
START press this button to run PLC once, press again to stop PLC (state
button
alternation). During the process, the connection cannot be disconnected,
otherwise the operation will be invalid
Upload/ UP Program upload mode, PLC program upload to the downloader
download Program download mode, download program to PLC
DOWN
switch
Power The downloader is powered by self generated battery (PLC is not
ON
supply necessary to connect power supply)
80
switch The downloader is supplied by RS232 port (PLC must be connected to
OFF
power supply)
Port RS232 Download / upload the program through RS232 port
switch ETH Download / upload the program through Ethernet port
It can put two No.5 batteries to supply power to the downloader; it can
supply power to the PLC through 232 port, so that the PLC can also use
Battery
the downloader to download the program when the power is not
connected
① It is used for program upload / download; ② power supply for
RS232 port downloader (PLC needs to be powered on) or PLC (battery
power supply for downloader) through 232 port
It is suitable for PLC download and upload with Ethernet port, but the
Ethernet port
firmware version cannot be updated
Cable and download port RS232 serial port, used to connect downloader and PLC
(RS232)

(5) Dimension unit: mm

94.8

26.5 52.0

(6) Preparation before uploading / downloading


• Communication port selection
Determine the communication interface to be used (RS232 / Ethernet port), and turn
the "communication switch" to the corresponding interface.
• Mode selection
Determine the program upload and download mode, and turn the "upload / download
switch" to the corresponding mode.
• Hardware connection
If RS232 port is used, only RS232 port needs to be connected with RS232 port of
PLC; if Ethernet port is used, Ethernet port and RS232 port need to be connected with
Ethernet port and RS232 port of PLC at the same time.
• Power on

81
After connection, power on the PLC and downloader; after power on, the OK light of
the Downloader is always on, and the COM light flashes for 2s and then goes out. At
this time, it enters the pre-download / upload state.
Note:
*1: There are two power supply modes for the downloader: one is to install two batteries (No. 5
batteries are installed); the other is to supply power from PLC through download cable.
* 2: Connect the downloader to the PLC correctly and then power on to enter the pre-download /
upload state; the modification mode is invalid after power on.

(7) Upload
• RS232 mode
When the downloader is in the upload mode, it is connected with the source PLC
through the download cable and RS232 port, and then it is powered on. The
downloader enters the pre-upload state, and press the start button to start uploading
the program of the source PLC to the downloader. At this time, the data light and com
light flash rapidly; after the upload is completed, the com light is off, the data and OK
lights flash slowly at the frequency of 1Hz.
• Ethernet mode
When the downloader is in the upload mode, after connecting with the source PLC
through the Ethernet port, download cable and RS232 port, the downloader enters the
pre-upload state. Press the start button to start uploading the program of the source
PLC to the downloader. At this time, the data light and act light (the yellow light
above the Ethernet port) flash rapidly; after the upload is completed, the data light and
OK light slowly flash at the frequency of 1Hz.
Note: The parameters of COM1 will be modified in the process of uploading, and the original
parameters will be restored after power on again after uploading. Do not disconnect the power supply
or disconnect the connection during the upload process, otherwise the parameters of COM1 will not be
restored.

(8) Download
After uploading the program, turn the "upload / download switch" to down and power
on again.
After the downloader enters the pre-download state, you can choose whether to
download PLC data (HM, HD, FD and other power-off holding registers, serial port
parameters, pulse configuration, etc.), and the specific operation is shown in the
following table:
Need
Port download Operation method Indicator status
data
RS232 No Press STRAT button The com light flashes quickly to start
once the download; after the download is
Yes Keep press START completed, the com light is off, the
until DATA is always OK light is flashing slowly at 1Hz, and
ON the data light is always on
Ethernet No Press STRAT button After the com light flashes twice, it

82
once goes out, and the act light (the yellow
Yes Keep press START light above the Ethernet port) flashes
until DATA is always quickly, that is, the download starts;
ON after the download is completed, the
OK light flashes slowly at 1Hz, and
the data is always on

In the download process, after the com light is off, sometimes the data light is not on
(the probability of this situation is very small), which is also a normal situation. After
the com lamp is off, the com lamp will flicker intermittently in the download process,
which is also normal.
Note:
*1: The status of the data light is not used as the sign of whether the download is completed or not. The
OK light 1Hz slow flashing is taken as the completion mark of the download.
* 2: If you choose not to download data, if it is an Ethernet PLC, you must ensure that the firmware
version of the uploaded PLC is the same as that of the downloaded PLC, otherwise the data may be
lost.

(9) Password protection function


If the source PLC contains a password, the downloader will compare and verify the
password read in the internal with that of the PLC. If the verification is successful, the
upload action can be carried out. The operation method for the downloader to read the
password is as follows:
• Find a PLC that supports the downloader (the model does not need to be
consistent with the source PLC), and write the password to HD0 ~ HD2
registers in ASCII code monitoring mode.
• Connect the PLC with the downloader through RS232 port. Select the
downloader mode as "up". Press and hold start to power on, and the OK light
and data light flash alternately, which indicates that the password is read
successfully.
• Then according to the normal upload mode, the program and data in the
source PLC can be uploaded to the downloader.

Note:
*1: If the uploaded program contains a password, the program downloaded by the downloader
also contains the same password; if the downloader reads the new password again, the
program downloaded by the downloader will change to the new password.
* 2: If the uploaded program does not contain a password, the program downloaded by the
downloader does not contain a password, and the function of reading the password is
invalid.

(10) PLC firmware update

83
When downloading, E1 and E3 lights flash alternately, indicating that the target PLC
version is not supported. At this time, the PLC firmware version can be updated by
forced download.
Operation method: press and hold the start button to power on, the ERR indicator
light of PLC will flash rapidly, that is to say, the firmware will be updated. After the
update, the data light will flash. Please do not power on again at this time. Press start
or long press start to download normally.
Note:
The forced download function must be used when E1 and E3 indicator lights flash alternately and error
is reported; if forced download is used, the parameters of COM1 port will be restored to the factory
value, and the data of Ethernet PLC may be lost. It is recommended to download the data while
downloading the program.

(11) Battery
When the battery is used as the power supply for PLC, due to the different power
consumption of PLC of different models, the working time of battery is also different
(the power consumption of Ethernet model is larger, and the more the number of
points, the greater the power consumption). The following table lists the duration of
continuous operation of some models powered by battery. The data is for reference
only.
PLC model Normal battery Panasonic rechargeable
battery (2450mAh)
XD3-32T-E 1h50min 5h40min
XDE-30T4-E 30min 2h40min
XD5-60T6-E 1h 4h30min
XD5E-60T10-E 30min 2h20min

(12) Error indicator description


Error dicator Description Measures
status
E1 flash PLC locked Check that the password read is
correct
E3 flash The value in SD200~SD230 are Check whether the SD register
changed has been modified
E1 and E2 flash The source PLC version is older Update the source PLC
at the same time and does not support uploading firmware to the latest version
E1 and E3 flash Failed to read password or PLC Check whether the source PLC
at the same time firmware error, upload failed can be used normally
E1 and E2 flash Upload incomplete Please upload the program
alternately again
E1 and E3 flash The target PLC version is older Update firmware version by
alternately and does not support force download
downloading
84
E2 and E3 flash The upload program is The upload program must be
alternately inconsistent with the download consistent with the download
model model
E1, E2 and E3 PLC firmware error during Check whether the PLC can
light up at download, unable to connect use the target normally
500ms
frequency in
turn
E1, E2 and E3 Wrong selection of Check whether the
extinguished at communication port communication port selection
500ms switch is consistent with the
frequency in communication port
turn

3-2-5 External terminal

XL5/XL5E/XLME series 64-point models can be used in combination with external


terminal block. The model and cable of terminal block are as follows:
Input/output Terminal Cable
block model
Input CN0 JT-E32X JC-TE32-NN05(0.5m)
JC-TE32-NN10(1.0m)
Output CN1 JT-E32YT JC-TE32-NN15(1.5m)

(1) Terminal block


• Dimension Unit: mm
42.1 109.0
45.0

85
• Terminal arrangement
The CN0 (input part) terminals are arranged as follows:
L+ X0 X1 X2 X3 X10 X11 X12 X13 X20 X21 X22 X23 X30 X31 X32 X33

M X4 X5 X6 X7 X14 X15 X16 X17 X24 X25 X26 X27 X34 X35 X36 X37

The CN1 (output part) terminals are arranged as follows:


Y0 Y1 Y2 Y3 Y10 Y11 Y12 Y13 Y20 Y21 Y22 Y23 Y30 Y31 Y32 Y33

Y4 Y5 Y6 Y7 Y14 Y15 Y16 Y17 Y24 Y25 Y26 Y27 Y34 Y35 Y36 Y37

• Wiring method
When wiring, press the spring switch with a small screwdriver, insert the wire into the
corresponding socket, and release the spring switch. It is required that the length of
the conductor peeled off is 1.5cm.
(2) Cable
When connecting the external terminal block, it is necessary to use the connecting
cable. Xinje provides JC-TE32-NN05, JC-TE32-NN10 and JC-TE32-NN15 cables of
different length and specifications for users to choose. When connecting, please note
that one end of the connection module is wrapped by the transparent heat shrinkable
tube, and the other end is connected to the terminal sub station, which can not be
connected reversely!!!
The connection diagram is as follows:

Module transparent heat shrinkable tube Terminal block

3-3.Configuration Principle

COM port
⚫ XD/XL series PLC (CPU units) are usually equipped with COM1, COM2 and
USB port.
⚫ In principle, both ports can be used to program, download, communication; but
please make sure not change the parameters of two ports at one time, otherwise
the ports can't be used to program and download any more.
⚫ COM1 is equipped with RS232. COM2 is RS485. The two ports are independent.
⚫ The USB port is generally used for programming download and online
monitoring, and the download speed is faster than COM1 and COM2.
86
About Expansion Devices
⚫ Generally, one CPU unit can work with different types of expansions, can expand
digital I/O, analog I/O, temperature control etc.
⚫ XD1/XD2 cannot support expansion module, XD3 can work with 10 expansions
and XD5/XDM/XDC/XD5E /XDME/XDH can connect 16 modules.
⚫ XL1 does not support extension modules, XL3 series can expand up to 10
modules, XL5/XL5E/XLME/XLH series can expand up to 16 modules.
⚫ After connecting the CPU unit with the expansion, if the "PWR" LED of
expansion ON, then the expansion can work properly; after installing the BD card
to CPU unit, users need to configure it before using;

How to calculate the I/O


⚫ I/O points include actual input and output points.
⚫ After connect with the expansions, the total I/O points=I/O on basic unit + I/O on
expansions.
⚫ Digital I/O is octal.
⚫ Analog I/O is decimal.
⚫ After expansion, the total I/O can up to 572 points.

How to calculate the I/O


Basicpoints
Unit XD3-32R-E (18I/14O) connect with 5 XD-E8X8Y expansions,
then the total I/O points should be:
Input Points: 18 + 8 *5 = 58
Output points: 14 + 8 *5= 54
Total points: Input+ Output = 58+54=112

87
3-4.ID Assignment of Expansions

Sign Name Range points


X10000~X10077(#1 extension module)
……
XD
X11100~X11177(#10 extension module) 1024
XL
……
X Input points X11700~X11777(#16 extension module)
X20000~X20077(#1 extension BD)
XD 128
X20100~X20177(#2 extension BD)
XD
X30000~X30077(#1 extension ED) 64
XL
Y10000~Y10077(#1 extension module)
……
XD
Y11100~Y11177(#10 extension module) 1024
XL
……
Y Output points Y11700~Y11777(#16 extension module)
Y20000~Y20077(#1 extension BD)
XD 128
Y20100~Y20177(#2 extension BD)
XD
Y30000~Y30077(#1 extension ED) 64
XL
ID10000~ID10099(#1 extension module)
……
extension XD
ID10900~ID10999(#10 extension module) 1600
module XL
……
ID ID11500~ID11599(#16 extension module)
ID20000~ID20099(#1 extension BD)
extension BD XD 200
ID20100~ID20199(#2 extension BD)
XD
extension ED ID30000~ID30099(#1 extension ED) 100
XL
QD10000~QD10099(#1 extension module)
……
QD10900~QD10999(#10 extension
extension XD
module) 1600
module XL
……
QD QD11500~QD11599(#16 extension
module)
QD20000~QD20099(#1 extension BD)
extension BD XD 200
QD20100~QD20199(#2 extension BD)
XD
extension ED QD30000~QD30099(#1 extension ED) 100
XL

88
3-5.Install The Products

1 Installation Position

2 Installation Method

Use DIN or screws to install the CPU units and expansions.

⚫ DIN46277
⚫ Directly install by screws

24V- COM X1 X3 X5 X7
24V+ COM X0 X2 X4 X6

0 1 2 3
4 5 6 7

0 1 2 3
4 5 6 7 Screw M3
Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6

DIN installation

89
Basic units or expansion modules install on DIN46277 rail (width 35mm). Pull down
the hook on DIN rail and take down the product.
XL series PLC only supports rail installation.

3 Installation Environment

Please install the products according to chapter 2-1-1.

90
4 Power Supply Specification and Wiring Method
In this chapter, we tell the structure, specification and external wiring of XD/XL
series PLC. The wiring method differs due to different models, and the main
difference is the terminals’ position. About terminals arrangement, please refer to
chapter 2-3.

4-1.Power Supply Specification

4-2.AC Power, DC Input Type

91
4-1.Power Supply Specifications

The power supply specifications of XD series PLC (Type with ‘-E’ is AC power, type
with ‘-C’ is DC power).
XL series PLC power supply only supports DC type.

AC Items Content
1 power
Rated Voltage AC100V~240V
supply Allowed Voltage AC100V~240V
Range
Rated Frequency 50/60Hz
Allow momentary Interruption Time≤0.5 AC cycle, interval≥
power off time 1second
Impulse Current Max 40A below 5ms/AC100V max 60A
below 5ms/AC200V
Maximum Power 15W (16 points and below)/30W (24 points
Consumption and above)
Power Supply for 24VDC±10% 16 points max is 200mA, 32
Sensor points max is 400mA

※1: Please use the wire cable more than 2mm2 to avoid the decrease of voltage.
※2: Even power off in 10ms, the PLC can still keep working. But when power is off for long time or voltage
abnormally decrease, the PLC will stop working, output will be OFF. When power is on again, the PLC will
run automatically.
※3: The grounding terminals on basic units and expansions connect together, and use the third type grounding.

2 DC Power

Supply

92
Items Content
Rated Voltage DC24V
Allowed Voltage Range DC21.6V~26.4V
Input Current (Only for basic 120mA DC24V
unit)
Allow momentary power off 10ms DC24V
time
Impulse Current 10A DC26.4V
Maximum Power Consumption 15W (16 points and below)/30W
(24 points and above)
Power Supply for Sensor 24VDC±10% 16 points max is
200 mA, 32 points max is
400mA

※1: XD series PLC provides DC24V power supply (terminal 24V, 0V), it can be power supply for sensor, 10~16
points PLC DC24V is 200mA, 24/32/48/60 points PLC DC24V is 400mA. This terminal cannot connect to
external power supply.
※2: ● is empty terminal, do not use it.
※3: Please connect the com terminal for basic unit and expansion module.

4-2.AC Power Supply and DC Input

1 Connection

93
·

※1: Connect the power supply to L, N terminals.


※2: The 24 V and 0 V terminals can be used as the power supply for the sensor. The 10 / 16 points is 200 mA /
DC24 V, and 24 points and above is 400 mA / DC 24V. In addition, this terminal cannot be powered by an
external power supply.
※3: ● terminal is idle, do not wire outside or work as middle relay terminals.
※4: Please connect the COM terminals on basic units and expansions together.

94
5 Input Specifications and Wiring Methods

In this chapter we will introduce the input specification and external wiring methods
of XD/XL series PLC. The connection methods differ due to different models and the
main difference is the terminals’ arrangement. Each model’s terminal arrangement,
please refer to chapter 2-3.

5-1.Input Specification

5-2.DC Input Signal (AC power supply)

5-3.High Speed Counter Input

95
5-1.Input Specification

5-1-1.XD series input specification

XD series PLC input specification has NPN, PNP and differential modes, we will
introduce the internal structure and wiring methods of the three modes as below:

1 Basic Units

⚫ NPN mode
Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response About 10ms
time
Input signal’s form Contact input or NPN open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

96
NPN wiring example
红(棕) 蓝

COM X0 X1 X2 X3 X4 X5 COM X0 X1 X2 X3 X4 X5

Switch button wiring diagram

PLC PLC

24V
+ -
● COM COM

● ●

● ●

X0
X0

3-wire (NPN) proximity switch wiring diagram 2-wire (NPN) proximity switch wiring diagram

⚫ PNP mode
Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response time About 10ms
Input signal’s form Contact input or PNP open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

97
PNP wiring example:

+
DC24V -

COM X0 X1 X2 X3 X4 X5

Switch button wiring diagram

PLC 24V
- +
PLC
24V
- +

X0 ●

X0
COM
COM

3-wire (PNP) proximity switch wiring diagram 2-wire (PNP) proximity switch wiring diagram

Note: the DC24V is provided by the PLC, no need to cnonect DC0V to com of input
terminal. If using external power supply, it needs to connect it.

98
⚫ Differential mode
XD5 series PLC supports differential mode input, the specification is shown as below:
Item XD5-48D4T4-E XD5-24D2T2-E
Differential 8 points (X0, X1, X3, 4 points (X0, X1, X3, X4)
input X4, X6, X7, X11,
X12)
Input signal 5V differential signal
Input max 1MHz
frequency
Circuit Optoelectronic coupling insulation
insulation
Input action the LED is ON when the input is ON
display

Wiring example of differential input:


PLC encoder

Wiring diagram with encoder

Wiring diagram with 5V single ended NPN and PNP signals

99
Wiring diagram with 24V single ended NPN and PNP signals

Note: When the differential input receives 5V/24V single ended NPN and PNP signals, the
highest frequency of high-speed counting is single-phase 80kHz and AB phase is 50KHz.

2 Expansion modules

⚫ NPN mode
Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response About 10ms
time
Input signal’s form Contact input or NPN open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

100
⚫ PNP mode

Input signal’s DC24V±10%


voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response time About 10ms
Input signal’s form Contact input or PNP open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

101
5-1-2.XL series input specification

XL series PLC input is NPN mode, below is input specification and wiring method.
⚫ Input specification of CPU unit and expansion module (NPN mode)
General models:
Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response About 10ms
time
Input signal’s form Contact input or NPN open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

XL5-64T10, XL5E-64T6, XL5E-64T10, XLME-64T10:


Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON voltage Below 9V
Input OFF voltage Above 19V
Input response About 10ms
time
Input signal’s form Contact input or NPN open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

102
⚫ Wiring method of CPU unit and expansion module (NPN mode)

Switch button wiring diagram

3-wire (NPN) proximity switch wiring diagram 2-wire(NO or NC) proximity switch wiring diagram

➢ Input terminal
It need to connect external DC24V power supply for PLC. Please connect 24V to
L+, 0V to M. The input is ON when the input terminal and M pass through by
connecting no voltage contactor or NPN open collector transistor, the related
input light is ON.
➢ Input circuit
The first circuit and secondary circuit is isolated by optical coupler, the C-R filter
is installed in secondary circuit. It can prevent from error operation caused by
input vibration or noise. For input ON to OFF or OFF to ON, the response time
is about 6ms inside PLC. The input terminal has internal digital filter.

➢ Input sensitivity
The input current is 7mA, but for reliable action, the input ON current must be
above 4.5mA, the input OFF current is below 1.5mA.

103
⚫ Input specification of CPU unit and expansion module (PNP mode)
Input signal’s DC24V±10%
voltage
Input signal’s 7mA/DC24V
current
Input ON current Above 4.5mA
Input OFF current Under 1.5mA
Input response About 10ms
time
Input signal’s form Contact input or PNP open collector
transistor
Circuit insulation Photo-electricity coupling insulation
Input action’s LED light when input ON
display

⚫ Wiring method of CPU unit and expansion module (PNP mode)

Switch button wiring diagram

3-wire (PNP) proximity switch wiring diagram 2-wire(NO or NC) proximity switch wiring diagram

104
5-2.DC Input Signal (AC power supply)
Below contents are only fit for XD series PLC.

1 DC Input Signal

⚫ NPN mode

➢ Input terminals
When connect input terminals and terminal COM with contact without
voltage or NPN open collector transistor, if input is ON, LED lamp will light
which indicates input is ON. There are many input terminals COM to connect
in PLC.
➢ Input circuits
Photo-electricity coupling is used to insulate between primary load circuit and
secondary circuit. The secondary circuit with C-R filter is to avoid wrong
operation caused by vibration of input contacts or noise along with input signal.
For above-mentioned reasons, if input ON→OFF,OFF→ON, the response time
delays about 6ms in PLC. There is a digital filter inside the input terminal.
➢ Input sensitivity
The PLC input current is DC24V 7mA, but to act correctly, the current should be
above 4.5mA when input is ON and under 1.5mA when input is OFF.

105
⚫ PNP mode

➢ Input terminals
When connect input terminals and terminal COM with DC24V contact or
NPN open collector transistor, if input is ON, LED lamp will light which
indicates input is ON. There are many input terminals COM to connect in PLC.
➢ Input circuits
Photo-electricity coupling is used to insulate between primary load circuit and
secondary circuit. The secondary circuit with C-R filter is to avoid wrong
operation caused by vibration of input contacts or noise along with input signal.
For above-mentioned reasons, if input ON→OFF,OFF→ON, the response time
delays about 10ms in PLC. There is a digital filter inside the input terminal.
➢ Input sensitivity
➢ The PLC input current is DC24V 7mA, but to act correctly, the current should be
above 4.5mA when input is ON and under 1.5mA when input is OFF.

External circuit used for


2
sensors

⚫ NPN mode
XD series PLC input current is supplied by its interior 24V power, so if use
exterior power to drive sensor like photo electricity switch, the exterior power
should be DC24V±4V, please use NPN open collector type for sensor’s output
transistor.

106
⚫ PNP mode
XD series PLC input current is supplied by its interior 24V power, so if use
exterior power to drive sensor like photo electricity switch, the exterior power
should be DC24V±4V, please use PNP open collector type for sensor’s output
transistor.

107
3 Input Wiring

⚫ NPN mode

108
⚫ PNP mode

109
5-3.High Speed Counter Input

XD/XL series PLC support high speed count function which is irrelevant with
the scan cycle and can test high speed input signal of measuring sensors and
rotary encoders etc by selecting different counter, max measuring frequency
can be up to 80KHz (differential model can up to 1MHz).
Note:
(1) If PLC input is NPN type, please select NPN and DC24V collector open
output encoder. If PLC input is PNP type, please select PNP and DC24V
collector open output encoder.

(2) When the input frequency is above 25Hz, please use high speed counter.
(3) The high speed counter of the PLC which can accept differential signal
(DIFF), please use differential signal encoder.

110
5-3-1.Counting mode

XD/XL series HSC function has two counting modes: Increment mode and AB-phase
mode.

1 Increment mode

Under this mode, if counting input pulse signal, the counting value will increase one
along with the rising edge of every pulse signal.

2 AB-phase

mode the HSC value increase or decrease according to the two differential
In this mode,
signal (A phase or B phase). According to the times number, the mode still can be
divided to two modes (two-time frequency mode and four-time frequency mode). The
default mode is four-time frequency mode.
Two–time Frequency Mode

111
Four–time Frequency Mode

5-3-2.High Speed Counting Range

The HSC’s counting range is: K-2,147,483,648 ~ K+2,147,483,647. If the counting


value exceeds this range, up-flow or down-flow appears.
The up-flow means the counting value jumps from K+2,147,483,647 to
K-2,147,483,648 and then continue to count. The down-flow means the counting
value jumps from K-2,147,483,648 to K+2,147,483,647 and then continue to count.

5-3-3.The Input Wiring Of HSC

For input terminal wiring of pulse counting, it differs according to PLC types and
counting modes. Some typical wiring methods are as below (take XD3-32 PLC as an
example):

1 Increment Mode (Counter HSC0)


Pulse Input

COM X1 X3 X5
COM X0 X2 X4 X6

112
2 AB-phase Mode (Counter HSC0)
A-phase
B-phase
Input
Input

COM X1 X3 X5
COM X0 X2 X4 X6

5-3-4.Input Terminals Assignment

1. High Speed Counters assignment of XD series PLC:


HSC channel number
PLC model Increment AB-phase
mode mode
XD1 10/16/24/32 0 0
XD2 16/24/32/42/48/60 3 3
16/24/32/48/60 3 3
XD3 24T4 3 3
32T4 3 3
16/24/32/42/48/60 3 3
24T4/32T4/48T4/60T4 4 4
24D2T2 2 2
XD5
48D4T4 8 8
48T6/60T6 6 6
60T10 10 10
24T4/32T4/48T4/60T4 4 4
XDM
60T10 10 10
XDC 24/32/48/60 4 4
24/30/48/60 3 3
30T4 4 4
XD5E 60T4 4 4
60T6 6 6
60T10 10 10
30T4/60T4 4 4
XDME
60T10 10 10
XDH 30A16/30A16L/60A32/60T4 4 4
XL1 16 0 0
XL3 16/32 3 3
XL5 16/32 3 3

113
32T4 4 4
64T10 10 10
16/32 3 3
32T4 4 4
XL5E
64T6 6 6
64T10 10 10
32T4 4 4
XLME
64T10 10 10
XLH 24A16/24A16L 4 4

2. Input Terminals definition of HSC:


Each letter’s description:
U A B Z
Counter’s pulse input A-phase input B-phase input Z-phase pulse capture

Note: Z phase function is in developping.


Normally, the input frequency of terminal X0, X1can reach 80KHz and 50KHz
separately under single-phase and AB-phase mode; while other input terminals
highest frequency can reach 10KHz under single-phase and 5KHz under AB phase
mode. If X input terminals are not used as high speed input port, they can be used as
common input terminals. Frequency times in the table: ‘2’ stands for fixed 2 times
frequency, ‘4’ stands for fixed 4 times frequency, ‘2/4’ stands for 2 or 4 times
frequency adjustable. The detailed port assignment is shown as below:
XD2-16
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
10K 10K 10K 5K 5K 5K
frequency
4 times
2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B

114
XD3-16, XL3-16
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
80K 10K 10K 50K 5K 5K
frequency
4 times
2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B

XD2-24/32/42/48/60, XD3-24/32/48/60, XD3-24T4/32T4, XD5-16/24/32/42/48/60,


XD5E-24/30/48/60,
XL3-32, XL5-16/32, XL5E-16/32
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
80K 10K 10K 50K 50K 5K
frequency
4 times
2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B
X010 Z

115
XD5-24T4/32T4/48T4/60T4, XDM-24T4/32T4/60T4/60T4L, XDC-24/32/48/60T,
XD5E-30T4/60T4, XDME-30T4/60T4, XL5-32T4, XL5E-32T4, XLME-32T4,
XLH-24A16/24A16L
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC0 HSC2 HSC4 HSC6 HSC8 HSC10
Highest 80K 80K 80K 50K 50K 50K
80K 50K
frequency
4 times
2/4 2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B
X010 Z
X011 U A
X012 B
X013 Z

XDH-30A16/30A16L, XDH-60T4, XDH-60A32


Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC0 HSC2 HSC4 HSC6 HSC8 HSC10
Highest 200K 200K 200K 100K 100K 100K 100K
200K
frequency
4 times
2/4 2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B
X010 Z
X011 U A

116
XDH-30A16/30A16L, XDH-60T4, XDH-60A32
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC0 HSC2 HSC4 HSC6 HSC8 HSC10
X012 B
X013 Z

XD5-24D2T2
Increment Mode AB phase mode
HSC HSC HSC HSC HSC HSC1 HSC1 HSC1 HSC HSC HSC HSC HSC HSC1 HSC1 HSC1
0 2 4 6 8 0 2 4 0 2 4 6 8 0 2 4
Highest
1M 1M 80K 80K 1M 1M 50K 50K
frequency
4 times
2/4 2/4 2/4 2/4
frequency
Counter
interruptio √ √ √ √ √ √ √ √
n
X0+ U+ A+
X0- U- A-
X1+ B+
X1- B-
X2
X3+ U+ A+
X3- U- A-
X4+ B+
X4- B-
X5
X6 U A
X7 B
X10
X11 U A
X12 B
X13

117
XD5-48D4T4
Increment Mode AB phase mode
HSC HSC
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12
14 14
Highest
1M 1M 1M 1M 80K 80K 80K 80K 1M 1M 1M 1M 50K 50K 50K 50K
frequency
4 times
2/4 2/4 2/4 2/4 2/4 2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
interruption
X0+ U+ A+
X0- U- A-
X1+ B+
X1- B-
X2
X3+ U+ A+
X3- U- A-
X4+ B+
X4- B-
X5
X6+ U+ A+
X6- U- A-
X7+ B+
X7- B-
X10
X11+ U+ A+
X11- U- A-
X12+ B+
X12- B-
X13
X14 U A
X15 B
X16
X17 U A
X20 B
X21
X22 U A
X23 B
X24
X25 U A
X26 B
X27

118
XD5-48D4T4
Increment Mode AB phase mode
HSC HSC HSC HSC HSC HSC1 HSC1 HSC1 HSC HSC HSC HSC HSC HSC1 HSC1 HSC1
0 2 4 6 8 0 2 4 0 2 4 6 8 0 2 4
Highest
1M 1M 1M 1M 80K 80K 80K 80K 1M 1M 1M 1M 50K 50K 50K 50K
frequency
4 times
2/4 2/4 2/4 2/4 2/4 2/4 2/4 2/4
frequency
Counter
interruptio √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √
n
X0+ U+ A+
X0- U- A-
X1+ B+
X1- B-
X2
X3+ U+ A+
X3- U- A-
X4+ B+
X4- B-
X5
X6+ U+ A+
X6- U- A-
X7+ B+
X7- B-
X10
X11+ U+ A+
X11- U- A-
X12+ B+
X12- B-
X13
X14 U A
X15 B
X16
X17 U A
X20 B
X21
X22 U A
X23 B
X24
X25 U A
X26 B
X27

119
XD5-48T6/60T6, XD5E-60T6, XL5E-64T6
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC0 HSC2 HSC4 HSC6 HSC8 HSC10
Highest
80K 80K 80K 80K 80K 80K 50K 50K 50K 50K 50K 50K
frequency
4 times
2/4 2/4 2/4 2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √ √ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B
X010 Z
X011 U A
X012 B
X013 Z
X014 U A
X015 B
X016 Z
X017 U A
X020 B
X021 Z

120
XD5-60T10, XDM-60T10, XD5E-60T10, XDME-60T10, XL5-64T10, XL5E-64T10,
XLME-64T10
Increment Mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC14 HSC16 HSC18 HSC20 HSC22
Highest
80K 80K 80K 80K 80K 80K 80K 80K 80K 80K
frequency
4 times
frequency
Counter
√ √ √ √ √ √ √ √ √ √
interruption
X000 U
X001
X002
X003 U
X004
X005
X006 U
X007
X010
X011 U
X012
X013
X014 U
X015
X016
X017 U
X020
X021
X022 U
X023
X024
X025 U
X026
X027
X030 U
X031
X032
X033 U
X034

121
XD5-60T10, XDM-60T10, XD5E-60T10, XDME-60T10, XL5-64T10, XL5E-64T10,
XLME-64T10
AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC14 HSC16 HSC18 HSC20 HSC22
Highest
50K 50K 50K 50K 50K 50K 50K 50K 50K 50K
frequency
4 times
2/4 2/4 2/4 2/4 2/4 2/4 2/4 2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √ √ √ √ √
interruption
X000 A
X001 B
X002 Z
X003 A
X004 B
X005 Z
X006 A
X007 B
X010 Z
X011 A
X012 B
X013 Z
X014 A
X015 B
X016 Z
X017 A
X020 B
X021 Z
X022 A
X023 B
X024 Z
X025 A
X026 B
X027 Z
X030 A
X031 B
X032 Z
X033 A
X034 B
X035 Z

122
5-3-5.AB Phase Counter's Frequency Multiplication Setting

To AB phase counter, users can modify the value in FLASH data registers SFD321,
SFD322, SFD323……SFD330 to set the frequency multiplication value. When the
value is 1, it is 1 time frequency; when the value is 4, it is 4 times frequency.

Setting
Register Function Content
value
Frequency Multiplication of 2 2 times
SFD320
HSC0 4 4 times
Frequency Multiplication of 2 2 times
SFD321
HSC2 2 4 times
Frequency Multiplication of 2 2 times
SFD322
HSC4 2 4 times
Frequency Multiplication of 2 2 times
SFD323
HSC6 4 4 times
Frequency Multiplication of 2 2 times
SFD324
HSC8 4 4 times
Frequency Multiplication of 2 2 times
SFD325
HSC10 4 4 times
Frequency Multiplication of 2 2 times
SFD326
HSC12 4 4 times
Frequency Multiplication of 2 2 times
SFD327
HSC14 4 4 times
Frequency Multiplication of 2 2 times
SFD328
HSC16 4 4 times
Frequency Multiplication of 2 2 times
SFD329
HSC18 4 4 times

※1: More about high speed counter application, please refer to XD/XL series PLC users’ manual【Instruction】.
※2: To some special models, only one axis can be set as 2 times frequency or 4 times frequency, the other two
axis are separately 2 times frequency and 4 times frequency.
※3: after setting the SFD register, please restart the high speed counter (cut off the trigger condition and turn on
again) to make the setting effective.

123
6 Output Specification and Wiring Methods

In this chapter we mainly introduce the output specification and external wiring
methods of XD/XL series PLC. The connection methods differ due to different
models; the main difference is the terminals’ arrangement. For each model’s terminals
arrangement, please refer to chapter 2-3;

6-1.Output Specifications

6-2.Relay Output Type

6-3.Transistor Output Type

124
6-1.Output Specification

1 Relay Output

External power Below AC250V,


DC30V
Circuit insulation Mechanical
insulation
Action indicator LED
Resistant 3A
load
Inductive 80VA
Max load
load
Lamp 100W
load
Mini load DC5V 2mA
Response OFF→ 10ms
time ON
ON→ 10ms
OFF

Normal Transistor
2 Output

External power Below DC5~30V


Circuit insulation Light coupling
insulation
Action indicator LED
Max Resistant 0.3A
load load
Inductive 7.2W/DC24V
load
Lamp load 1.5W/DC24V
Mini load DC5V 2mA
Respon OFF→ Below 0.2ms
se time ON
ON→ Below 0.2ms Y*0
OFF

耦 Y*1
125


电 Y*2

Y*3
High Speed Pulse
3 Output

Model RT, T, Tn models


None Y0, Y1 Y4, Y6 Y0~Y3 Y0~Y5 Y0~Y11 Y10, Y12,
Y14, Y16
XD3-24T4
XD3-32T4
XD5-24T4
XD5-32T4
XDM-60T4
XDM-60T4L
High
XD5E-30T4 XDM-60T10
speed
XD5E-60T4 XD5-48T6 XD5E-60T10
pulse
XD1 Normal XDME-30T4 XD5-60T6 XDME-60T10
output XD5-24D2T2 XD5-48D4T4
XL1 models XDH-30A16 XD5E-60T6 XL5-64T10
terminals
XDH-30A16L XL5E-64T6 XL5E-64T10
XDH-60A32 XLME-64T10
XDH-60T4
XL5-32T4
XL5E-32T4
XLME-32T4
XLH-24A16
XLH-24A16L
External Below DC5~30V
power
supply
Action LED indicator
indicator
Max 50mA
current
Max 100KHz (The maximum output frequency of Y2 and Y3 of XD3-24T4/32T4 is 20KHz)
output
frequency

Note:
When using high-speed pulse output function, the PLC can output 100KHz ~ 200KHz
pulse, but it can not guarantee the normal operation of all servos. Please connect about
500 ohms of resistance between the output and 24V power supply. PNP and NPN
high-speed pulse output terminals are the same.

126
Differential High
4 Speed Pulse
Output

XD5 part of the models support differential output mode, the specification and wiring
are shown as below:
Model XD5-48D4T4-E XD5-24D2T2-E
Single phase Y0, Y2, Single phase Y0, Y2,
Y4, Y6
Differential output AB phase: Y0/Y1, AB phase: Y0/Y1,
Y2/Y3, Y4/Y5, Y2/Y3
Y6/Y7
Output signal 5V differential signal
Max frequency 920KHz
Circuit insulation Optoelectronic coupling insulation
Action indicator LED light
Response Below 0.2ms
OFF→ON
time

Wiring diagram of differential output:


PLC Load

127
6-2.Relay Output Type

Relay Output
1 Circuit

⚫ Output terminals
Relay output type has 2~4 public terminals. So each public-terminal unit can
drive power system with different voltages (E.g.: AC200V, AC100V, DC24V
etc.) load.
⚫ Circuit’s insulation
Between the relay output coils and contacts, PLC’s interior circuits and exterior
load circuits are electrical insulating. Besides, each public terminal and block are
separate from each other.
⚫ Action display
LED lamp lights when output relays’ coils energize, output contacts are ON.
⚫ Response time
From the output relay energize (or cut off) to output contact ON (or OFF), the
response time is about 10ms.
⚫ Output current
The output current that current and voltage below AC250Vcan drive the load
made up of resistance is 3A per point, inductive load below 80VA (AC100V or
AC200V) and lamp load below100W (AC100V or AC200V).
⚫ Open circuit’s leak current
When output contact is OFF, there will be no leak current and can directly drive
Ne lamp etc.
⚫ The life of relay output contacts
Standard life of AC inductive load such as contactor, electromagnetic valve:
according to company’s useful life test, about 500 thousand times for 20VA
load; about 300 thousand times for 35VA; about 100 thousand for 80VA. But if
the load parallel connect with surge absorber, the useful life will greatly improve.
128
⚫ Inductive load
When the inductive load stops, there will be a large directional electromotive force
between the load and the contact, and there will be arc discharge in this process.
⚫ Capacity load
During the use of capacitive load, the instantaneous impact current is about 20~40
times of the conventional current. Please note that the impact current should conform
to the current value in the resistance load specification.
[Note]: Capacity load may also exist when the load is composed of a circuit such as a
frequency converter.

Output Connection
2 Example

Constitution of
3
output circuit

⚫ For DC inductive load, please parallel connect with freewheel


diode. Otherwise, contactor useful life will greatly decrease.
Please select freewheel diode that can stand inverse voltage
over 5~10 times of load voltage and forward current over load
current.
⚫ Parallel connection AC inductive load with surge absorber will
decrease noise and increase service life of output delay.

4 DC Load

129
Note:
The freewheeling diode shall meet the following requirements:
1. Reverse voltage ≈ (5~10) * load voltage.
2. Forward current > load current.

5 AC Load

Note:
The surge absorber shall meet the following requirements:
1. The rated voltage matches the load.
2. Electrostatic capacity ≈ 0.1uf.
3. Resistance value ≈ 100~200Ω.

6-3.Transistor Output Type

Transistor (NPN) output can support high speed pulse output and normal transistor
two types.

Normal Transistor
1 Output
⚫ Output Terminals
There are 1~4 COM outputs of CPU unit transistor outputs.
⚫ External Power Supply
Please use DC5~30V power supply to drive the load.
⚫ Circuit Isolation
130
Inside PLC, we use photoelectric couplers to isolate between internal circuits and
output transistors; besides, the COM terminal blocks are separate from each
other.
⚫ Action Display
When photoelectric couplers drive, LED will be ON and the output transistors
will be ON.
⚫ Response Time
The time interval that PLC from photoelectric couplers energizing (or cutting) to
transistor ON (or OFF) is below 0.2ms.
⚫ Output current
The current it outputs is 0.3A per point. But limited by the temperature rising,
every 4 points current add up to 0.5A.
⚫ Open circuit current
Below 0.1mA

E.g.: Below is the connection of RT/T type PLC and servo driver diagram:

PLC side Servo driver

131
(Make sure the driver’s photoelectric coupling input terminal has 8~15mA reliable
current)

132
7 Run, Debug, Maintenance

In this chapter, we introduce XD/XL PLC process of programming and using, which
includes PLC run, debug and daily maintenance etc.

7-1.Run and Debug

7-2.Daily Maintenance

133
7-1.Run and Debug

1 Check the Products

Please check if the input/output terminals are correct and if there is any
component missed when the users get the products. Generally, you can power on the
PLC directly at this time and if products are normal, the PWR and RUN indicators
will be ON.

2 Write and Download the Program

After confirming the products, write the program for PLC in your PC, and then
download the program to PLC. The general operation steps are listed below:

Connect PLC to
Write the Power ON Downloa
PC with the
program PLC d
program cable
Program

※1: Please link the download cable before you power on the PLC. Otherwise, the
COM port may be burned out! BD card and expansion connection is the same
operation.

3 Debug the Products

In ideal condition, PLC is in running mode. But if you find some mistakes in the
program and need modify, you should write program to the running PLC again.
⚫ Connect PLC to PC with the program cable;
⚫ Upload the program in PLC;
⚫ Modify the uploaded program; and the modified program is suggested to save
backup;
⚫ Pause the running of PLC, and download the modified program to PLC;
⚫ Use ladder monitor, free monitor to etc monitor PLC
⚫ If the program still can't fulfill your requirement, you can go on modify it and
download to PLC.

134
4 LED on PLC

⚫ When PLC is running correctly, the PWR and RUN LED should be ON;
⚫ If ERR LED is ON, it indicates that PLC running is in error, please correct the
program in time.
⚫ If PWR LED is OFF, it indicates that the power supply is in error, please check
your wiring.

135
7-2.Daily Maintenance

1 Regular Check on Products

Even the PLC has certain anti-interference ability and strong stability, you
should check the PLC regularly.
The check items include:
⚫ Check if the input/output terminals, power supply terminals are loosen;
⚫ Check if the ports are correct;
⚫ Check if the PWR LED, I/O LED can be ON;
⚫ Clear the dusts on PLC to avoid the dusts falling into PLC
⚫ Manage to make PLC running and storage environment fits the standards
described in chapter 2-1-1.

2 About the battery

The PLC can keep working if there is not component that could short its service life.
But if the PLC supports clock function, its battery should be changed regularly.
⚫ Battery service life normally is 3~5 years.
⚫ Please change the battery once you find the battery power down.
⚫ Please power the PLC on immediately after changing the battery. Otherwise, the
battery power may run out.

3 Abandon

Abandon as industrial wast.

136
8 Switch between Soft Components

This chapter focuses on a special function of XD/XL series PLC, switch between soft
components. This special function simplifies the PLC daily maintenance greatly. To
the maintenance person, they will not bother any more if the terminals are damaged.

8-1.Function Summary

8-2.Operation Method

137
8-1.Function Summary

When the internal lighting coupling, relays or transistor are damaged, the
corresponding input/output terminals will be out of use. Users either revise the
program or ask the manufactures for help, which is very troublesome and affects the
users’ normal work schedule.
The new type PLC developed independently by Xinje can break the one-to-one
correspondence, users only need to change the soft component’s value by HMI, then
the corresponding terminal will activate.

Before(Complicated and not effective)

Solution 1
Revise the complicated
Output Y3 program

is broken Solution 2
Change PLC

Now (Simple, fast and effective)

Change the mapping relation of


Output Y3 Solution
Y3 and its corresponding
is broken soft component, and use
other empty point, like Y4

138
8-2.Operation Method

It no needs to revise the program when we change the damaged input/output point
mapping relation and replace the damaged point. In PLC special registers, we allocate
certain address section for users to change the mapping relation. Users just need to
find and revise the damaged input/output mapping register, and replace the value in
this special register with value of replaced input/output.
Method 1: modify the FD register, below is the table for modifying the input/output
points’ mapping ID:

Table1 Mapping relation of the input and soft component


ID Function Description
SFD10 I00 correspond to X** 0 of input corresponds to the number of X**
SFD11 I01 correspond to X**
SFD12 I02 correspond to X**
…… ……
SFD87 I77 correspond to X** Default is 77 (octal number)

Table2 mapping relation of the output and soft component


ID Function Description
O00 correspond to Y** 0 of output corresponds to the
SFD110
number of Y**
SFD111 O01 correspond to Y**
SFD112 O02 correspond to Y**
…… ……
SFD187 O77 correspond to Y** Default is 77 (octal number)
*
As show in the table above, the default value in SFD10 is 0. If we replace it with
value ‘7’,then all X0 in the program will correspond to external input X7. But
meantime you should replace the value in SFD17 with 0, to realize exchange. Then
original X0 will correspond to X7, and original X7 will correspond to external input
X0.

※1:After changing the mapping relation, please power on PLC again.


※2:When change the mapping relation, please pay attention, input/output data is
octal number while ID is decimal number.
※3:Exchange the mapping relation when change. i.e. if modify X0 ID to be 5, make
sure to change X5 ID to be 0;
※4:Mapping relation, one terminal corresponds to one soft component.
※5:Users can modify the SFD value in the software, please see method 2.

139
Method 2: modify in the software directly. Click the project bar/PLC config/I/O.

Change it in below window:

For example, it needs to switch X0 and X5, please change the mapping value of X0 to
5, X5 to 0.

140
141
Appendix 1 Special Soft Element Schedules

Appendix 1 mainly introduces the functions of XD/XL series PLC special soft
element, data register, FlashROM and the address distribution of expansions for users
to search.

Appendix 1-1.Special Auxiliary Relay Schedules

Appendix 1-2.Special Data Register Schedules

Appendix 1-3.Special Module ID Schedules

Appendix 1-4.Special Flash Register Schedules

142
Appendix 1-1.Special Auxiliary Relay Schedule

Initial Status(SM0-SM7)

ID Function Description
Normally ON coil RUN SM000 keeps ON
SM000 input
when operation when PLC running
SM0
Normally OFF coil SM001 keeps OFF
SM001
when operation when PLC running
SM1

Initial positive pulse SM2


SM002 is ON in first
SM002
coil scan cycle
SM3
Initial negative pulse SM003 is OFF in
SM003 Scan period
coil first scan cycle
When SM4 sets ON, it indicates that there is an
error in the operation of PLC.
SM004 PLC running error
(Firmware version V3.4.5 and above supports this
function by PLC)
When the battery voltage is less than 2.5V, SM5
Battery low alarm will put ON (at this time, please replace the battery
SM005
coil as soon as possible, otherwise the data will not be
maintained)

Clock(SM11-SM14)

ID Function Description
5ms

SM011 10ms frequency cycle


5ms

50ms

SM012 100ms frequency cycle


50ms

143
0.5s

SM013 1s frequency cycle


0.5s

30s

SM014 1min frequency cycle


30s

Mark(SM20-SM22)

ID Function Description
SM020 is ON when plus/minus operation result
SM020 Zero bit
is 0
SM021 Borrow bit SM021 is ON when minus operation overflows
SM022 Carry bit SM022 is ON when plus operation overflows

PC Mode(SM32-SM34)

ID Function Description
When SM032 is ON, ON/OFF mapping memory of
Retentive register
SM032 HM,HS and current values of HT,HC,HD will be
reset
reset.
Clear user’s When SM033 is ON, all PLC user’s program will be
SM033
program cleared.
All output When SM034 is ON, all PLC external contacts will
SM034
forbidden be set OFF.

Stepping Ladder

ID Function Description
SM040 The process is running Set ON when the process is running

144
Interruption ban(SM50-SM90)
(M)

ID Address Function Description


SM050 I0000/I0001 Forbid input interruption 0
SM051 After executing EI
I0100/I0101 Forbid input interruption 1 instruction, the input
SM052 I0200/I0201 Forbid input interruption 2 interruption couldn’t act
SM053 independently when M
I0300/I0301 Forbid input interruption 3 acts, even if the
SM054 I0400/I0401 Forbid input interruption 4 interruption is allowed.
…… E.g.:when SM050 is ON,
…… …… I0000/I0001 is forbidden.
SM069 I1900/I1901 Forbid input interruption 19
SM070 I40** Forbid timing interruption 0
SM071 I41** After executing EI
Forbid timing interruption 1 instruction, the timing
SM072 I42** Forbid timing interruption 2 interruption couldn’t act
independently when M
SM073 I43** Forbid timing interruption 3 acts, even if the
SM074 I44** Forbid timing interruption 4 interruption is allowed.
…… …… ……
Forbid timing interruption
SM089 I59**
19
SM090 Forbid all interruptions Forbid all interruptions

High Speed Ring Counter(SM99)

address Function Note


SM99 set ON,SD99 add
SM099 High Speed Ring Counting enable one per 0.1ms, cycle
between 0 and 32767

High speed count complete(SM100-SM109)

Address Function Note


SM100 HSC0 count complete flag(100 segments)
SM101 HSC2 count complete flag(100 segments)
SM102 HSC4 count complete flag(100 segments)
SM103 HSC6 count complete flag(100 segments)
SM104 HSC8 count complete flag(100 segments)
SM105 HSC10 count complete flag(100 segments)
SM106 HSC12 count complete flag(100 segments)
SM107 HSC14 count complete flag(100 segments)
SM108 HSC16 count complete flag(100 segments)

145
SM109 HSC18 count complete flag(100 segments)

High speed counter direction(SM110-SM119)

Address Function Note


SM110 HSC0 direction flag
SM111 HSC2 direction flag
SM112 HSC4 direction flag
SM113 HSC6 direction flag
SM114 HSC8 direction flag
SM115 HSC10 direction flag
SM116 HSC12 direction flag
SM117 HSC14 direction flag
SM118 HSC16 direction flag
SM119 HSC18 direction flag

High speed counter error(SM120-SM129)

address Function Note


SM120 HSC0 error flag
SM121 HSC2 error flag
SM122 HSC4 error flag
SM123 HSC6 error flag
SM124 HSC8 error flag
SM125 HSC10 error flag
SM126 HSC12 error flag
SM127 HSC14 error flag
SM128 HSC16 error flag
SM129 HSC18 error flag

High speed counter overflow(SM130-SM139)

Address Function Note


SM130 HSC0 overflow flag
SM131 HSC2 overflow flag
SM132 HSC4 overflow flag
SM133 HSC6 overflow flag
SM134 HSC8 overflow flag
SM135 HSC10 overflow flag
SM136 HSC12 overflow flag
SM137 HSC14 overflow flag
SM138 HSC16 overflow flag
146
SM139 HSC18 overflow flag

Communication(SM140-SM193)

Address Function Note


Serial SM140 Modbus instruction execution When the instruction starts to
port 0 flag execute, set ON
When execution is complete,
set OFF
SM141 X-NET instruction execution When the instruction starts to
flag execute, set ON
When execution is complete,
set OFF
SM142 Free format communication When the instruction starts to
sending flag execute, set ON
When execution is complete,
set OFF
SM143 Free format communication When receiving a frame of
receive complete flag data or receiving data timeout,
set ON.
Require user program to set
OFF
Serial SM150 Modbus instruction execution Same to SM140
port 1 flag
SM151 X-NET instruction execution Same to SM141
flag
SM152 Free format communication Same to SM142
sending flag
SM153 Free format communication Same to SM143
receive complete flag
SM160 Modbus instruction execution Same to SM140
Serial flag
port 2 SM161 X-NET instruction execution Same to SM141
flag
SM162 Free format communication Same to SM142
sending flag
SM163 Free format communication Same to SM143
receive complete flag
Serial SM170 Modbus instruction execution Same to SM140
port 3 flag
SM171 X-NET instruction execution Same to SM141
flag

147
SM172 Free format communication Same to SM142
sending flag
SM173 Free format communication Same to SM143
receive complete flag
Serial SM180 Modbus instruction execution Same to SM140
port 4 flag
SM181 X-NET instruction execution Same to SM141
flag
SM182 Free format communication Same to SM142
sending flag
SM183 Free format communication Same to SM143
receive complete flag
Serial SM190 Modbus instruction execution Same to SM140
port 5 flag
SM191 X-NET instruction execution Same to SM141
flag
SM192 Free format communication Same to SM142
sending flag
SM193 Free format communication Same to SM143
receive complete flag

Sequence Function BLOCK(SM300-SM399)

ID Function Description
SM300 will be ON when block1 is
SM300 BLOCK1 running flag running
SM301 will be ON when block2 is
SM301 BLOCK2 running flag running
SM302 will be ON when block3 is
SM302 BLOCK3 running flag running
SM303 will be ON when block4 is
SM303 BLOCK4 running flag running
SM304 will be ON when block5 is
SM304 BLOCK5 running flag running
SM305 will be ON when block6 is
SM305 BLOCK6 running flag running
…… ……
SM396 will be ON when block97is
SM396 BLOCK97 running flag running
SM397 will be ON when block98 is
SM397 BLOCK98 running flag running
148
SM398 will be ON when block99 is
SM398 BLOCK99 running flag running
SM399 will be ON when block100 is
SM399 BLOCK100 running flag running

Error check(SM400-SM414)

ID Function Description
ERR LED keeps ON, PLC don not run and output,
SM400 I/O error check when power on
Expansion module
communication
SM401 error
BD
communication
SM402 error
……
SM405 No user program Internal code check wrong
User program
SM406 error Implement code or configuration table check wrong
ERR LED keeps ON, PLC don not run and output,
SM407 SSFD check error check when power on
SM408 Memory error Can not erase or write Flash
SM409 Calculation error
SM410 Offset overflow Offset exceeds soft element range
FOR-NEXT
SM411 overflow Reset when power on or users can also reset by hand.
When offset of register overflows, the return value will
SM412 Invalid data fill be SM372 value
Encryption check
SM413 error
Flash register data
SM414 error

Error Message(SM450-SM465)

ID Function Description
SM450 System error check

149
SM451 Hardfault interrupt flag
SM452
SM453 SD card error
SM454 Power supply is cut off
……
SM460 Extension module ID not match
SM461 BD/ED module ID not match
SM462 Extension module communication overtime
SM463 BD/ED module communication overtime
Extension module communication data
SM464 overflow
BD/ED module communication data
SM465 overflow

Expansion Modules, BD Status(SM500)

ID Function Description
Module status read is
SM500 finished

Appendix 1-2.Special Data Register Schedule

Battery (SD5)

ID Function Description
It will display 100 when the battery voltage is
3.1V, if the battery voltaeg is lower than
SD005 Battery register 2.5V, it will display 0, it means please
change new battery at once, otherwise the
data will lose when PLC power off.

150
Clock(SD10-SD019)

ID Function Description
SD010 Current scan cycle 100us,us is the unit
SD011 Min scan time 100us,us is the unit
SD012 Max scan time 100us,us is the unit
SD013 Second (clock) 0~59 (BCD code)
SD014 Minute (clock) 0~59 (BCD code)
SD015 Hour (clock) 0~23 (BCD code)
SD016 Day (clock) 0~31 (BCD code)
SD017 Month (clock) 0~12 (BCD code)
SD018 Year (clock) 2000~2099 (BCD code)
SD019 Week (clock) 0(Sunday)~6(Saturday)(BCD code)

Flag (SD020-SD031)

ID Function Note
SD020 Model type
SD021 model(low-8)series(high-8)
SD022 Compatiable system version(low)system version(high)
SD023 Compatiable model version(low)model version(high)
SD024 Model info
SD025 Model info
SD026 Model info
SD027 Model info
SD028 Suitable software version
SD029 Suitable software version
SD030 Suitable software version
SD031 Suitable software version

Step ladder(SD040)

ID Function Description
SD40 Flag of the executing process S

151
High speed loop counter(SD99)

ID Function Description
When SM99 is ON< SD99 add 1 every
SD099
High speed loop counter 0.1ms, cycle from 0 to 32767

High Speed Counting(SD100-SD109)

ID Function Description Note


SD100 Current segment (No. n segment) HSC00
SD101 Current segment (No. n segment) HSC02
SD102 Current segment (No. n segment) HSC04
SD103 Current segment (No. n segment) HSC06
SD104 Current segment (No. n segment) HSC08
SD105 Current segment (No. n segment) HSC10
SD106 Current segment (No. n segment) HSC12
SD107 Current segment (No. n segment ) HSC14
SD108 Current segment (No. n segment) HSC16
SD109 Current segment (No. n segment) HSC18

High speed counter error(SD120-SD129)

ID Function Note
SD120 HSC0 error info
SD121 HSC2 error info
SD122 HSC4 error info
SD123 HSC6 error info
SD124 HSC8 error info
SD125 HSC10 error info
SD126 HSC12 error info
SD127 HSC14 error info
SD128 HSC16 error info
SD129 HSC18 error info

152
communication(SD140~SD199)

ID Function Note
SD140 Modbus read write 0: correct
instruction execution 100: receive error
result 101: receive overtime
180: CRC error
181: LRC error
182: station error
183: send buffer overflow
400: function code error
Serial 401: address error
port 0 402: length error
403: data error
404: slave station busy
405: memory error(erase
FLASH)
SD141 X-Net communication 0: correct
result 1: communication overtime
2: memory error
3: receive CRC error
SD142 Free format 0: correct
communication send 410: free format send buffer
result overflow
SD143 Free format 0: correct
communication receive 410: send data length overflow
result 411: receive data short
412: receive data long
413: receive error
414: receive overtime
415: no start character
416: no end character
SD144 Free format In bytes, there are no start and
communication receive stop characters
data numbers
……
SD149
SD150 Modbus read write 0: correct
instruction execution 100: receive error
result 101: receive overtime
180: CRC error
181: LRC error
182: station error
183: send buffer overflow
153
400: function code error
401: address error
402: length error
Serial 403: data error
port 1 404: slave station busy
405: memory error(erase
FLASH)
SD151 X-Net communication 0: correct
result 1: communication overtime
2: memory error
3: receive CRC error
SD152 Free format 0: correct
communication send 410: free format send buffer
result overflow
SD153 Free format 0: correct
communication receive 410: send data length overflow
result 411: receive data short
412: receive data long
413: receive error
414: receive overtime
415: no start character
416: no end character
SD154 Free format In bytes, not include start and
communication receive stop characters
data numbers
……
SD159
SD160 Modbus read write 0: correct
instruction execution 100: receive error
result 101: receive overtime
180: CRC error
181: LRC error
Serial 182: station error
port 2 183: send buffer overflow
400: function code error
401: address error
402: length error
403: data error
404: slave station busy
405: memory error(erase
FLASH)
SD161 X-Net communication 0: correct
result 1: communication overtime
2: memory error
154
3: receive CRC error
SD162 Free format 0: correct
communication send 410: free format send buffer
result overflow
SD163 Free format 0: correct
communication receive 410: send data length overflow
result 411: receive data short
412: receive data long
413: receive error
414: receive overtime
415: no start character
416: no end character
SD164 Free format In bytes, there are no start and
communication receive stop characters
data numbers
……
SD169
Serial SD170~SD179
port 3
Serial SD180~SD189
port 4
Serial SD190~SD199
port 5

Sequence Function Block(SD300-SD399)

ID Function Description
Executing instruction of The value will be used when BLOCK
SD300 BLOCK1 monitors
Executing instruction of The value will be used when BLOCK
SD301 BLOCK2 monitors
Executing instruction of The value will be used when BLOCK
SD302 BLOCK3 monitors
Executing instruction of The value will be used when BLOCK
SD303 BLOCK4 monitors
Executing instruction of The value will be used when BLOCK
SD304 BLOCK5 monitors
Executing instruction of The value will be used when BLOCK
SD305 BLOCK6 monitors
…… …… ……
SD396 Executing instruction of The value will be used when BLOCK
155
BLOCK97 monitors
Executing instruction of The value will be used when BLOCK
SD397 BLOCK98 monitors
Executing instruction of The value will be used when BLOCK
SD398 BLOCK99 monitors
Executing instruction of The value will be used when BLOCK
SD399 BLOCK100 monitors

Error Check(SD400-SD414)

ID Function Note
SD400
Extension module no. of
SD401 communication error Means module no.n is error
BD/ED module no. of
SD402 communication error
SD403 FROM/TO error type
SD404 PID error type
……
SD409 Calculation error code 1: divide by 0 error
2: MRST, MSET front operand address less
than back operand
3: ENCO, DECO data bits of encoding and
decoding instructions exceed the limit.
4: BDC code error
7: Radical sign error
SD410 The number of offset
register D when offset
crosses the boundary
SD411
Invalid data fill value (low
SD412 16 bits)
Invalid data fill value (high
SD413 16 bits)
SD414 Flash register data error type

156
Error Check(SD450-SD465)

ID Function Description
1:Watchdog act (Default 200ms)
2:Control block application fail
SD450 3:Visit illegal address
Firmware error type:
1:Register error
2:Bus error
SD451 3:Usage error
SD452 Hardware error
SD453 SD card error
SD454 Power-off time
SD460 Extension module ID not match
SD461 BD/ED module ID not match
SD462 Extension module communication overtime
SD463 BD/ED module communication overtime
SD464 Extension module communication data overflow
SD465 BD/ED module communication data overflow

Expansion Modules, BD Status(SD500-SD516)

ID Function Description
Module number
Expansion modules:
SD500 #10000~10015
BD:#20000~20001
ED: #30000
Expansion module, BD /ED
SD501~516 status 16 registers

Module info(SD520-SD823)

ID Function Explanation Note


SD520~SD535 Extension module info Extension module 1
Each
…… …… ……
extension
SD760~SD775 Extension module info Extension module 16
module, BD,
SD776~SD791 BD module info BD module 1
ED occupies
SD792~SD807 BD module info BD module 2
16 registers
SD808~SD823 ED module info ED module 1

157
Expansion Module Error Information

ID Function Description Note


Error times of module
SD860
read
Module address error.
Module accepted data length error.
Error types of module Module CRC parity error when PLC
SD861 Expansio
read is accepting data.
n module
Module ID error.
1
Module overtime error.
Error times of module
SD862
write
Error types of module
SD863
write
Error times of module
SD864
read
Module address error.
Module accepted data length error.
Error types of module Module CRC parity error when PLC
SD865 Expansio
read is accepting data.
n module
Module ID error.
2
Module overtime error.
Error times of module
SD866
write
Error types of module
SD867
write
……
Error times of module
SD920
read
Module address error.
Module accepted data length error.
Error types of module Module CRC parity error when PLC
SD921 Expansio
read is accepting data.
n module
Module ID error.
16
Module overtime error.
Error times of module
SD922
write
Error types of module
SD923
write
Error times of module BD
SD924
read module 1
158
Error types of module
SD925
read
Error times of module
SD926
write
Error types of module
SD927
write
Error times of module
SD928
read
Error types of module
SD929
read BD
Error times of module module 2
SD930
write
Error types of module
SD931
write
Error times of module
SD932
read
Error types of module
SD933
read ED
Error times of module module 1
SD934
write
Error types of module
SD935
write

Version info(SD990~SD993)

ID Function Explanation Note


Firmware version
SD990 Low 16-bit
date
Firmware version
SD991 High 16-bit
compilation date
FPGA version
SD992 Low 16-bit
compilation date
FPGA version
SD993 High 16-bit
compilation date

159
Special function(HSD50~HSD55)

ID Function Note
Check the data changing if the value
HSD50 FLASH erasure count of SFD, FD is abnormal
CPU working time after power
HSD51 Power failure detection failure, unit: 100us
HSD52 Last PLC run time (low 16-bit)
Double word, unit: 1s
HSD53 Last PLC run time (high 16-bit)
HSD54 Current PLC run time (low 16-bit)
Double word, unit: 1s
HSD55 Current PLC run time (high 16-bit)
Note: PLC firmware version v3.4.6 and above support this function.

Error history record(HSD80~HSD179)

ID Function Note
HSD79 Error list index value
HSD80~HSD84 Error information 1
HSD85~HSD89 Error information 2
HSD90~HSD94 Error information 3
HSD95~HSD99 Error information 4
HSD100~HSD104 Error information 5
HSD105~HSD109 Error information 6 (1) XDC series PLC
HSD110~HSD114 Error information 7 only supports to store
HSD115~HSD119 Error information 8 4 error history
HSD120~HSD124 Error information 9 information;
HSD125~HSD129 Error information 10 (2) This function
HSD130~HSD134 Error information 11 requires the
HSD135~HSD139 Error information 12 programming software
HSD140~HSD144 Error information 13 version v3.5.3 and
HSD145~HSD149 Error information 14 above.
HSD150~HSD154 Error information 15
HSD155~HSD159 Error information 16
HSD160~HSD164 Error information 17
HSD165~HSD169 Error information 18
HSD170~HSD174 Error information 19
HSD175~HSD179 Error information 20
Note: PLC firmware version v3.4.6 and above support this function.

160
Appendix 1-3.Special Flash Register schedule

Special FLASH data register SFD

* means it works only after repower on the PLC

I filtering
ID Function Description
SFD0* Input filter time
Watchdog run-up time, default value is
SFD2* 200ms

Special function configuration (firmware version v3.4.6b and above)


ID Function Note
SFD3* Special Bit0: power down memory register fault handling. 0: the
function system will clear it; 1: it will not be processed.
configuration Bit1: execute user program in external interrupt program. 0:
(default execute in task; 1: execute in interrupt (in this mode, user
value is interrupt program cannot contain C language function
0x0000) block). This mode is usually used in the situation where the
real-time performance of external signal is very high.
Bit2: whether to raise the external interrupt priority, 0: no
promotion, 1: promotion (to the highest).

Testing mode configuration (firmware version v3.4.6b and above)


ID Function Note
SFD4* Testing It is generally used to diagnose problems when PLC crashes.
mode Bit0: enable test mode. 0: not enabled; 1: enabled (ERR light
configuration will continue to flash).
(default Bit1: ERR light flashing state. 0:1ms task flicker (1Hz);
value is 1:100us interrupt blink (10Hz).
0x0000) Bit2: whether to increase 100us interrupt priority. 0: no
increase; 1: increase (to the highest).

I Mapping
ID Function Description
0xFF means terminal
I00 corresponds to Input terminal 0
SFD10* bad, 0xFE means
X** corresponds to X** number
terminal idle
161
SFD11* I01 corresponds to
X**
SFD12* I02 corresponds to
X**
…… ……
SFD73* I77 corresponds to Default value is 77(
X** Octonary)

O Mapping
ID Function Description
0xFF means terminal
O00 corresponds Output terminal 0
SFD74* bad, 0xFE means
to Y** correspond to Y** number
terminal idle
Default value is 0
…… ……
O77 corresponds Default value is 77(
SFD137*
to Y** Octonary)

I Attribute
ID Function Description
0:positive logic
SFD138* I00 attribute Attribute of input terminal 0 others:negative
logic
SFD139* I01 attribute
…… ……
SFD201* I77 attribute

High Speed Counting


ID Function Description
2:2 times frequency;4: 4 times
SFD320 HSC0 frequency times frequency(effective at AB phase counting
mode)
SFD321 HSC2 frequency times Ditto
SFD322 HSC4 frequency times Ditto
SFD323 HSC6 frequency times Ditto
SFD324 HSC8 frequency times Ditto
SFD325 HSC10 frequency times Ditto
SFD326 HSC12 frequency times Ditto
SFD327 HSC14 frequency times Ditto
SFD328 HSC16 frequency times Ditto
SFD329 HSC18 frequency times Ditto
Bit selection of HSC bit0 corresponds to HSC0,bit1corresponds
SFD330
absolute and relative(24 to HSC2,and so on, bit9 corresponds to
162
segment) HSC18
0:relative
1:absolute
bit0 corresponds to HSC0,bit1corresponds
Interrupt circulating of 24 to HSC2, and so on, bit9 corresponds to
SFD331 segments high speed HSC18
counting 0:single
1:loop
bit0 corresponds to HSC0,bit1corresponds
to HSC2, and so on, bit9 corresponds to
SFD332 CAM function HSC18
0:do not support CAM function
1:support CAM function

Expansion Module Configuration


ID Function Explanation
Extension module configuration Configuration Status of Extension
SFD340
status(#1#2) Modules 1 and 2
Extension module configuration Configuration Status of Extension
SFD341
status(#3#4) Modules 3 and 4
…… …… ……
Extension module configuration Configuration Status of Extension
SFD347
status(#15#16) Modules 15 and 16
BD module configuration status Configuration Status of BD
SFD348
(#1#2) Modules 1 and 2
ED module configuration status Configuration Status of ED Module
SFD349
(#1) 1
SFD350 Extension module configuration
Configuration of Extension Module

1
SFD359
SFD360 Extension module configuration
Configuration of Extension Module

2
SFD369
: :
SFD500
Configuration of Extension Module
: Extension module configuration
16
SFD509
SFD510
: BD module configuration Configuration of BD Module 1
SFD519
SFD520
: BD module configuration Configuration of BD Module 2
SFD529
163
SFD530
: ED module configuration Configuration of ED Module 1
SFD539

Communication
ID Function Note
COM1 free format communication
SFD600 0: 8-bit 1: 16-bit
buffer bit numbers
COM2 free format communication
SFD610 0: 8-bit 1: 16-bit
buffer bit numbers
COM3 free format communication
SFD620 0: 8-bit 1: 16-bit
buffer bit numbers
COM4 free format communication
SFD630 0: 8-bit 1: 16-bit
buffer bit numbers
COM5 free format communication
SFD640 0: 8-bit 1: 16-bit
buffer bit numbers

164
Appendix 2 Instruction Schedule

In appendix 2 all instructions that XD/XL series PLC support will be listed, including
basic instructions, application instructions, special function instructions and motion
control instructions and all instructions’ corresponding application range will also be
listed.
This part helps the users refer to instruction functions quickly. More about
instructions application, please refer to XD/XL Series Programmable Controller【
Instruction Part】.

Appendix 2-1.Basic Instruction List

Appendix 2-2.Application Instruction List

Appendix 2-3.Special Function Instruction List

165
Appendix 2-1.Basic Instruction List

Mnemonic Function
LD Initial logical operation contact type: NO(normally open)
LDI Initial logical operation contact type: NC (normally closed)
OUT Final logic operation type: coil drive
AND Serial connection of NO
ANI Serial connection of NC
OR Parallel connection of NO
ORI Parallel connection of NC
LDP Operation start of pulse rising edge
LDF Operation start of pulse falling edge
ANDP Serial connection of pulse rising edge
ANDF Serial connection of pulse falling edge
ORP Parallel connection of pulse rising edge
ORF Parallel connection of pulse rising edge
LDD Read directly from the contact state
LDDI Read directly NC
ANDD Read directly from the contact state and connect serially
ANDDI Read NC and connect serially
ORD Read directly from the contact state and parallel connection
ORDI Read NC and parallel connection
OUTD Output the point directly
ORB Parallel connection of serial circuit
ANB Serial connection of parallel circuit
MCS New bus line start
MCR Bus line return
ALT Alternate coil state
PLS Connect on a scan cycle of pulse rising edge
PLF Connect on a scan cycle of pulse falling edge
SET Set coil on
RST Set coil off
OUT Drive counting coil
RST Set coil off and current value rest to zero
END I/O process and return to step 0
GROUP Instruction block fold start
GROUPE Instruction block fold end
TMR Timing

166
Appendix 2-2.Application Instruction List

Sort Mnemonic Function


CJ Condition jump
CALL Call subroutine
SRET Subroutine return
STL Flow start
STLE Flow end
Program SET Open the assigned flow and close the
flow current flow
ST Open the assigned flow and do not close
the current flow
FOR Start of a FOR-NEXT loop
NEXT END of a FOR-NEXT loop
FEND End of main program
LD=※1 LD activate if (S1)=(S2)
LD>※1 LD activate if (S1)>(S2)
LD<※1 LD activate if (S1)<(S2)
LD<>※1 LD activate if (S1)≠(S2)
LD>=※1 LD activate if (S1)≥(S2)
LD<=※1 LD activate if (S1)≤(S2)
AND=※1 AND activate if (S1)=(S2)
AND>※1 AND activate if (S1)>(S2)

Data AND< 1 AND activate if (S1)<(S2)
compare AND<>※1 AND activate if (S1)≠(S2)
AND>=※1 AND activate if (S1)≥(S2)
AND<=※1 AND activate if (S1)≤(S2)
OR=※1 OR activate if (S1)=(S2)
OR>※1 OR activate if (S1)>(S2)
OR<※1 OR activate if (S1)<(S2)
OR<>※1 OR activate if (S1)≠(S2)
OR>=※1 OR activate if (S1)≥(S2)
OR<=※1 OR activate if (S1)≤(S2)
CMP※1 Data compare
QCMP 64-bit data compare
ZCP※1 Data zone compare
MOV※1 Move
Data move
BMOV Block move
PMOV Block move
FMOV※1 Multi-bit data move
EMOV Float move

167
Double precision floating point number
EDMOV
transmission
FWRT※1 FlashROM written
MSET Multi data set
ZRST Zone reset
SWAP Switch high bytes and low bytes
XCH※1 Exchange data
QMOV 64-bit move
QFWRT 64-bit FlashROM write in
ADD※1 Addition
SUB※1 Subtraction
MUL※1 Multiplication
DIV※1 Division
INC※1 Increase 1
DEC※1 Decrease 1
MEAN※1 Mean
WAND※1 Logic and
Data WOR※1 Logic or
operation WXOR※1 Logic exclusive or
CML※1 Complement
NEG※1 Negative
QADD 64-bit addition
QMUL 64-bit multiplication
QINC 64-bit increase 1
QSUB 64-bit subtraction
QDIV 64-bit division
QDEC 64-bit decrease 1
SHL※1 Arithmetic shift left
SHR※1 Arithmetic shift right
LSL※1 Logic shift left
LSR※1 Logic shift right
ROL※1 Rotation shift left
Data shift
ROR※1 Rotation shift right
SFTL※1 Bit shift left
SFTR※1 Bit shift right
WSFL Word shift left
WSFR Word shift right
WTD Single word integer convert to double
word integer
Data FLT※1 16 bits integer convert to float
switch
FLTD※1 64 bits integer convert to float
INT※1 Float convert to integer

168
BIN BCD convert to binary
BCD Binary convert to BCD
ASCI Hex convert to ASCⅡ
HEX ASCⅡ convert to Hex
DECO Coding
ENCO High bit coding
ENCOL Low bit coding
QFLTD 64 bits integer to double precision
floating-point number
QINTD double precision floating-point number to
64 bits integer
DFLTD Convert doubleword integer to double
precision floating-point number
DINTD Convert double precision floating point
number to doubleword integer

Sort Mnemonic Function


ECMP※2 Float compare
EZCP※2 Float zone compare
EADD※2 Float addition
ESUB※2 Float subtraction
EMUL※2 Float multiplication
EDIV※2 Float division
ESQR※2 Float square root
SIN※2 Sine
Float COS※2 Cosine
Operation TAN※2 tangent
ASIN※2 Float arcsin
ACOS※2 Float arccos
ATAN※2 Float arctan
EDADD Double precision addition
EDMUL Double precision multiplication
EDCMP Double precision compare
EDSUB Double precision subtraction
EDDIV Double precision division
TRD Read RTC data
TWR Write RTC data
MOV Precise RTC BD board data reading
Clock TO Precise RTC BD board data writing
TADD Clock data add
TSUB Clock data substraction
HTOS Hour, minute, second convert to

169
second
STOH Second convert to hour, minute,
second
TCMP Time (hour, minute, second)
comparison
DACMP Date (year, month, day) comparison

※1: All the instructions are 16 bits and no 32 bits format in general. ※1 has 32 bits.
32 bits instructions are added D in front of its 16 bits instruction. Such as ADD(16
bits) / DADD(32 bits).
※2:These instructions are 32 bits, and have no 16 bits format.

170
Appendix 2-3.Special Instructions List

Sort Mnemonic Function


PLSR※1 multi-segment pulse output
PLSF※1 variable frequency pulse output
DRVI※2 Relative single segment pulse output
Pulse DRVA※2 Absolute single segment pulse output
STOP Pulse stop
GOON Pulse continue
ZRN※1 Mechanical origin return
High speed CNT※2 Single-phase high speed count
count CNT_AB※2 AB phase high speed count
RST High speed counter reset
DMOV※2 Read and write the high speed counter
High speed CNT※2 Single-phase 100 segments high
counter speed counter(with interruption)
interruption CNT_AB※2 AB-phase 100 segments high speed
counter(with interruption)
COLR MODBUS coil read
INPR MODBUS input coil read
COLW MODBUS single coil write
MODBUS MCLW MODBUS multi coil write
communication REGR MODBUS register read
INRR MODBUS input register read
REGW MODBUS single register write
MRGW MODBUS multi register write
STR※2 Precision timing
Precision
DMOV※1 Read precise timing register
timing
STOP Stop precise timing
EI Enable interrupt
Interrupt DI Disable interrupt
IRET Interrupt return
SBSTOP BLOCK stop
SBGOON Carry on the suspensive BLOCK
BLOCK
WAIT Wait
FROM/TO Read/write module
PWM Pulse width modulation
Others
PID PID operation control
NAME_C C function block

171
※1:All the instructions are 16 bits except the instructions with ※1 which has 32
bits. 32 bits instructions are added D in front of its 16bits instruction. Such as
ADD(16bits) / DADD(32bits).
※2:The table doesn’t include X-NET instructions, please refer to X-NET fieldbus
manual.

172
Appendix 3 PLC Configuration List

This part is used to check each model’s configurations. Via this table, we can judge
products type easily.

○ Selectable × Not support √ Support


Extens External
HSC Pulse output
USB 232 485 Ether ion interrupt
Series BD ED
net modul OC Differ Differ
normal
e ential ential
XD1
XD1-10 × 2 × × × × × × × × × 6
XD1-16 × 2 × × × × × × × × × 6
XD1-24 × 2 1 × × × × × × × × 10
XD1-32 × 2 1 × × × × × × × × 10
XD2
XD2-16 × 2 1 × × × 1 3 × 2 × 6
XD2-24 × 2 1 × × 1 1 3 × 2 × 10
XD2-32 × 2 1 × × 1 1 3 × 2 × 10
XD2-42 × 2 1 × × 1 1 3 × 2 × 10
XD2-48 × 2 1 × × 2 1 3 × 2 × 10
XD2-60 × 2 1 × × 2 1 3 × 2 × 10
XD3
XD3-16 1 1 1 × 10 × 1 3 × 2 × 6
XD3-24 1 1 1 × 10 1 1 3 × 2 × 10
XD3-24T4 1 1 1 × 10 1 1 3 × 4 × 10
XD3-32 1 1 1 × 10 1 1 3 × 2 × 10
XD3-32T4 1 1 1 × 10 1 1 3 × 4 × 10
XD3-48 1 1 1 × 10 2 1 3 × 2 × 10
XD3-60 1 1 1 × 10 2 1 3 × 2 × 10
XD5
XD5-16 1 1 1 × 16 × 1 3 × 2 × 6
XD5-24 1 1 1 × 16 1 1 3 × 2 × 10
XD5-32 1 1 1 × 16 1 1 3 × 2 × 10
XD5-42 1 1 1 × 16 1 1 3 × 2 × 10
XD5-48 1 1 1 × 16 2 1 3 × 2 × 10
XD5-60 1 1 1 × 16 2 1 3 × 2 × 10
XD5-24T4 1 1 1 × 16 1 1 4 × 4 × 10
XD5-24D2T2 1 1 1 × 16 1 1 2 2 2 2 10
XD5-32T4 1 1 1 × 16 1 1 4 × 4 × 10
XD5-48T4 1 1 1 × 16 2 1 4 × 4 × 10
XD5-48D4T4 1 1 1 × 16 2 1 4 4 4 4 10

173
Extens External
HSC Pulse output
USB 232 485 Ether ion interrupt
Series BD ED
net modul OC Differ Differ
normal
e ential ential
XD5-48T6 1 1 1 × 16 2 1 6 × 6 × 10
XD5-60T4 1 1 1 × 16 2 1 4 × 4 × 10
XD5-60T6 1 1 1 × 16 2 1 6 × 6 × 10
XD5-60T10 1 1 1 × 16 2 1 10 × 10 × 10

XDM
XDM-24T4 1 1 1 × 16 1 1 4 × 4 × 10
XDM-32T4 1 1 1 × 16 1 1 4 × 4 × 10
XDM-60T4 1 1 1 × 16 2 1 4 × 4 × 10
XDM-60T4L 1 1 1 × 16 2 1 4 × 4 × 10
XDM-60T10 1 1 1 × 16 2 1 10 × 10 × 10
XDC
XDC-24 × 2 1 × 16 1 1 4 × 2 × 10
XDC-32 × 2 1 × 16 1 1 4 × 2 × 10
XDC-48 × 2 1 × 16 2 1 4 × 2 × 10
XDC-60 × 2 1 × 16 2 1 4 × 2 × 10
XD5E
XD5E-24 × 1 1 2 16 1 1 3 × 2 × 10
XD5E-30 × 1 1 2 16 1 1 3 × 2 × 10
XD5E-30T4 × 1 1 2 16 1 1 4 × 4 × 10
XD5E-48 × 1 1 2 16 2 1 3 × 2 × 10
XD5E-60 × 1 1 2 16 2 1 3 × 2 × 10
XD5E-60T4 × 1 1 2 16 2 1 4 × 4 × 10
XD5E-60T6 × 1 1 2 16 2 1 6 × 6 × 10
XD5E-60T10 × 1 1 2 16 2 1 10 × 10 × 10
XDME
XDME-30T4 × 1 1 2 16 1 1 4 × 4 × 10
XDME-60T4 × 1 1 2 16 2 1 4 × 4 × 10
XDME-60T10 × 1 1 2 16 2 1 10 × 10 × 10
XDH
XDH-30A16 × 1 1 2 16 × 1 4 × 4 × 10
XDH-30A16L × 1 1 2 16 × 1 4 × 4 × 10
XDH-60A32 × 1 1 2 16 1 1 4 × 4 × 10
XDH-60T4 × 1 1 2 16 1 1 4 × 4 × 10
XL1
※1
XL1-16 × 2 1 × × × × × × × × 6
XL1-16T-U 1 1 1 × × × × × × × × 6
XL3
XL3-16 1 1 1 × 10 × 1 3 × 2 × 6

174
Extens External
HSC Pulse output
USB 232 485 Ether ion interrupt
Series BD ED
net modul OC Differ Differ
normal
e ential ential
XL3-32 1 1 1 × 10 × 1 3 × 2 × 10
XL5
XL5-16 1 1 1 × 16 × 1 3 × 2 × 6
XL5-32 1 1 1 × 16 × 1 3 × 2 × 10
XL5-32T4 1 1 1 × 16 × 1 4 × 4 × 10
XL5-64T10 1 1 1 × 16 × 1 10 × 10 × 10
XL5E
XL5E-16 × 1 1 2 16 × 1 3 × 2 × 6
XL5E-32 × 1 1 2 16 × 1 3 × 2 × 10
XL5E-32T4 × 1 1 2 16 × 1 4 × 4 × 10
XL5E-64T6 × 1 1 2 16 × 1 6 × 6 × 10
XL5E-64T10 × 1 1 2 16 × 1 10 × 10 × 10
XLME
XLME-32T4 × 1 1 2 16 × 1 4 × 4 × 10
XLME-64T10 × 1 1 2 16 × 1 10 × 10 × 10
XLH
XLH-24A16 × 1 1 2 16 × 1 4 × 4 × 10
XLH-24A16L × 1 1 2 16 × 1 4 × 4 × 10

Note:
1: The XL1-16T with hardware version below H4 has only one RS232 port (COM1).
2: All models are equipped with clock function as standard.
3: Only models with transistor output support the pulse output function.

175
Appendix 4 Common Questions Q&A

The following are the common questions may happen when using the PLC.

Q1:Why the coil is not set when the condition is satisfied?


A1:The possible reasons:
(1) Users may use one coil for many times, which leads to double coils output.
And at this time, the later coil has priority.
(2) Coil may be reset, users can find the reset point by monitor function and
modify the program.

Q2:What’s the difference between COM1 and COM2?


A2: Both COM1 and COM2 support Modbus-RTU and Modbus-RTU/ASCII
format. The difference is COM1 parameters can be set to default value by power on
and off function of PLC.

Q3:Why PLC can not communicate with other devices?


A3: The possible reasons:
(1) communication parameters: PLC com port and device parameters must be the
same.
(2) communication cable: Confirm connection correct and good and change
cable to try again.
(3) communication serial port: Check the port by downloading PLC program.
Rule out this problem if download successfully.
(4) contact manufacturer if all the above are ruled out.

Q4:How long can the PLC battery be used?


A4:Normally for 2~3 years.

176
WUXI XINJE ELECTRIC CO., LTD.
No. 816, Jianzhu West Road, Binhu District,
Wuxi City, Jiangsu Province, China
[Link]
Mail: [Link]@[Link]
Tel: (510) 85134136
Fax: (510) 85111290

177

You might also like