XDXL Hardware Manual
XDXL Hardware Manual
User manual[Hardware]
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.
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
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.
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
Caution
6
Catalog
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
9
Preface
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.
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
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.
Relevant manual
This manual includes XD/XL series PLC hardware, about more application such as
programming and instructions, please refer to relevant manuals.
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
16
1-1. Product Specifications
1 Models
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).
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.
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
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 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.
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
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
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
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
Basic unit
1 XD series PLC basic unit model constitute:
model
XD ME 60 P A16 D4 T4 E
① ② ③ ④ ⑤ ⑥ ⑦
Basic unit
2 model list
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-22T4TC-E - - - - 8 14
- XD3-32T4-E - - - - 18 14
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
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
① ② ③ ④ ⑤
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
34
PNP - - - - XL5E-32PT4 - 16 16
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
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
XD NE BD
① ②
Left extension ED
4 module
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
39
1-2-4.XL expansion module list
XL E ○□ ○ □ □
① ② ③ ④ ⑤ ⑥ ⑦
40
Analog expansion
2 modules
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)
41
Left expansion ED
3 module
42
1-3.Each Part’s Description
● 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
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)
(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)
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)
44
1-3-3.XD5E-48/60, XDME-60, XDH-60 structure
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
(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)
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)
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.
(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)
47
1-3-6.XL5E-16 series structure
OFF
ON
(19) (7)
(5)
(8)
(9)
(6)
(10)
(18)
(12)
(12)
(14)
(15)
(16) (16)
(11)
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)
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)
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)
51
2 Specifications and parameters of CPU
2-2.External Dimensions
2-3.Terminals Arrangement
2-4.Communication Interfaces
52
2-1.Specifications and Parameters
2-1-1.General Specifications
※ 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
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
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
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
(Unit: mm)
15.0 70.0 36.0
OFF
ON
Suitable model:
Series Points
111.5
105.0
XL1 16
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
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
• 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 ● ●
• Diagram7
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21
COM X0 X2 X4 X6 X10 X12 X14 X16 X20
• 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 ● ● ● ●
• 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 ● ●
• Diagram11
65
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21
COM X0 X2 X4 X6 X10 X12 X14 X16 X20
• 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 ● ● ● ●
• 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 ● ● ● ●
• 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
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.
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.
Note:
(1) PLC power supply input terminals are 24V, 0V.
(2) FG is ground terminal for shield interference, please connect to ground
separately.
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
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
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.
XL-2AD2PT-A-ED
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.
• 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
78
Output wiring Can output two groups of 24V, 0V power supply
3 Dimensions
Unit: mm
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
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)
94.8
26.5 52.0
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.
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.
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
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
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:
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;
87
3-4.ID Assignment of Expansions
88
3-5.Install The Products
1 Installation Position
2 Installation Method
⚫ 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
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.
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.
1 Connection
93
·
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
95
5-1.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
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
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
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
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
102
⚫ Wiring method of CPU unit and expansion module (NPN mode)
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
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.
⚫ 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
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):
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
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
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
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
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
124
6-1.Output Specification
1 Relay Output
Normal Transistor
2 Output
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
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
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Ω.
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:
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-2.Daily Maintenance
133
7-1.Run and Debug
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.
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.
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
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.
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
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.
Solution 1
Revise the complicated
Output Y3 program
is broken Solution 2
Change PLC
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:
139
Method 2: modify in the software directly. Click the project bar/PLC config/I/O.
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.
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
Clock(SM11-SM14)
ID Function Description
5ms
50ms
143
0.5s
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)
145
SM109 HSC18 count complete flag(100 segments)
Communication(SM140-SM193)
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
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
ID Function Description
Module status read is
SM500 finished
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
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
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
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)
157
Expansion Module Error Information
Version info(SD990~SD993)
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.
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
I filtering
ID Function Description
SFD0* Input filter time
Watchdog run-up time, default value is
SFD2* 200ms
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
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】.
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
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
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
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.
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.
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