XD Hardware Manual
XD Hardware Manual
Users’ manual[Hardware](XD3/XD5/XDM)
Responsibility state
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: Building 7 fourth floor, No.100, Dicui Rd, Wuxi, China.
Code : 214072
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.
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.
Warning
Caution
Content Components
This manual includes XD series PLC types and system constitutions. It mainly
introduces XD series PLC basic units’ specification, I/O wiring, run and maintenance,
and XD 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 series PLC specifications, types and descriptions.
2. Specifications
This chapter mainly introduces XD series PLC basic units’ common specifications,
performance specifications, terminal placement, product dimensions, interface
descriptions etc.
3. System constitutions
This chapter mainly introduces XD 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 series PLC power specifications, wiring methods.
5.Input specifications and wiring
This chapter mainly introduces XD series PLC input specifications, input wiring,
high speed counting etc.
6.Output specifications and wiring
This chapter mainly introduces XD series PLC output specifications, relay output
and transistor output etc.
7.Run, debug, maintenance
This chapter mainly introduces XD 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.
9.Switch between soft elements
This chapter mainly introduces XD series PLC special function that free switch
between input and output points.
Appendix 1.Special soft elements schedule
This chapter mainly introduces XD 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 series PLC support.
Appendix 3.PLC function configuration schedule
This chapter mainly introduces XD series PLC main function of each type for
lectotype.
Appendix 4.Common questions A&Q
This chapter mainly introduces XD series PLC problems and solutions that may
occur when using.
XD5-24T-E/C, XD5-24PT-E/C
XD5-32T-E/C, XD5-32PT-E/C
XD5-48T-E/C, XD5-48PT-E/C
XD5-60T-E/C, XD5-60PT-E/C
XDM-24T4-E/C, XDM-24PT4-E/C
XDM-32T4-E/C, XDM-32PT4-E/C
XDM-60T4-E/C, XDM-60PT4-E/C
XDM-60T10-E/C, XDM-60PT10-E/C
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.
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.
1 Summary of XD Series PLC
XD series PLC have diverse CPU units and expansions with powerful functions. In
this chapter, we mainly introduce the XD series PLC performance, program summary
and product different parts.
1-1.Product Specifications
1-1-1.CPU units
1 Diverse
2 Powerful
XD series PLC have rich basic functions and many special functions. Different type is
functions
fit for different application.
3 Easy to program
※1: More about XDP-Pro application, please refer to XD series PLC users’ manual
(software).
1-1-2.Expansions
1 Expansion Modules
To meet control requirement better, XD series PLC can work with expansions,
and XD3 can link 10 expansion modules, XD5 and XDM can connect 16
modules.
Diverse types: I/O module, analog module.
Compact size
DC24V power
2 Expansion BD
XD series can connect expansion BD board, the type below 32 points can connect 1
BD, 48~60 points type can connect 2 BD boards.
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
3 Expansion ED
CPU type
1 XD series PLC CPU type constitute:
name
XD
① ② ③ ④⑤ ⑥ ⑦
1 Series name XD
3: XD3 sereis standard type
5: XD5 series enhanced type
2 Series type
M: XDM series motion control type
C: XDC series motion X-NET control type
16 points: 8 input/ 8 output
24: 14 input/ 10 output
3 I/O points 32: 18 input/ 14 output
48: 28 input/ 20 output
60: 36 input/ 24 output
Nothing: NPN type
4 Input point type
P: PNP type
R: Relay output
Output point
5 T: Transistor output
type
RT: Relay/Transistor mixed
CPU Type
2 List
- XD3-16PT-E - - XD3-16PT-C - 8 8
- - - - - -
1 Series name XD
2 Expansion module E
3 Input points 8 or 16
When input is NPN: X
4 Special for input
When input is PNP: PX
5 Output points 8 or 16
YR: relay output
6 Output mode
YT: transistor output
E: AC220V
7 Power supply type
C: DC24V
- XD-E8PX8YR XD-E8PX8YT 16 8 8
XD-E16PX - - 16 16 -
- XD-E16PX16YR-E XD-E16PX16YT-E 32 16 16
PNP
- XD-E16PX16YR-C XD-E16PX16YT-C 32 16 16
XD-E32PX-E - - 32 32 -
XD-E32PX-C - - 32 32 -
Analog temperature
2 modules
1 Expansion module E
4AD: 4 channels analog input
2 Analog input
8AD: 8 channels analog input
3 Analog output 2DA: 2 channels analog output
6PT: 6 channels PT100 sensor input
4, 5 Temperature input
6TC: 6 channels thermocouple sensor input
1WT: 1 channel pressure measurement
Pressure
6 2WT: 2 channels pressure measurement
measurement
4WT: 4 channels pressure measurement
P: PID control
7 Type A: hardware is new version
B: analog voltage output -5~5V or -10~10V
Analog, temperature expansion module type schedule
Type Function
XD-E4AD 4 channels analog input
XD-E8AD 8 channels analog input
Analog input
XD-E4AD2DA 4 channels analog input, 2 channels analog output
XD-E4AD2DA-B 4 channels analog input, 2 channels analog output
XD-E2DA 2 channels analog output
Analog output
XD-E4DA 4 channels analog output
XD-E6PT-P 6 channels PT100 temperature measurement, with PID control
Temperature
XD-E6TC-P 6 channels K-type thermocouple temperature measurement,
measurement
with PID control
XD-E1WT-A 1 channel pressure measurement
Pressure
XD-E2WT-A 2 channels pressure measurement
measurement
XD-E4WT-A 4 channels pressure measurement
1 10
17
2
0 1 2 3 4
12 16
5 6 7 8 9
3 X
AO
PWR
COM1
XD3-32R RUN
-E ERR
4
Y
AI
0 1 2 3
4 5 6 7 8
9
24V
0V
●
A
B
COM0
Y0
COM1
Y1
COM2
Y2
Y3
Y4
Y5
COM3
Y6
Y7
Y8
Y9
COM4
Y10
Y11
Y12
Y13
C0
VI0
AI0
C1
VI1
AI1
C2
VI2
AI2
C3
VI3
AI3 15
5
7
6 13
8 14
9
Note: for the PLC hardware version below 3.2, position 4 is RS232 port.
2 Specifications and parameters of CPU
2-2.External Dimensions
2-3.Terminals Arrangement
2-4.Communication Interfaces
2-1.Specifications and Parameters
2-1-1.General Specifications
Items Specifications
Isolation Above DC 500V 2MΩ
voltage
Anti-noise Noise voltage 1000Vp-p 1us pulse per 1minute
Atmosphere No corrosive, flammable gas
Ambient 0℃~60℃
temperature
Ambient 5%~95% (NO condensation)
humidity
COM1※1 RS-232, to connect upper computer, HMI for program or
debug.
COM2※2 RS-485, to connect intelligent instruments or inverters.
Installation Use M3screws or DIN to fix※1
Grounding The third type grounding (do not grounding with strong power
system)※2
Items Specifications
Program execution mode Loop scan mode
Program mode Instructions and ladder
Processing speed 0.05us
Power off retentive FlashROM and Li-battery
Users’ program capacity
※1 XD3: 256KB, XD5/XDM/XDC: 384KB
note:
※1: The users’ program capacity means the maximum program capacity when download in secret.
※2: I/O points mean terminal number that users can connect from outside.
※3: X stands for the internal input relays and can be used as middle relay when input points are exceeded.
※4: Y stands for the internal output relays and can be used as middle relay when output points are exceeded.
※5:【】marks the default power off retentive area, this area can’t be changed.
※6: For special use means special usage registers that are occupied by system, can’t be applied for other usage.
For details, please refer to Appendix 1.
※7: Input and output coils no. is octal, other coils and registers are decimal.
※8: The I/O which is not connected to other device can be used to internal coil.
2-2.Shape Dimensions
1 Picture 1
(Unit: mm)
Suitable Model:
Series Points
COM
X0
X1
X2
X3
X4
X5
X6
X7
A
B XD3 16
0 1 2 3
Xinje Electric Co.,Ltd
DATE:20120701
TYPE:XD3-16R-E
SN:201206022636
4 5 6 7
0 1 2 3
4 5 6 7
0V COM0 Y1 Y2 COM2 Y5 Y7
24V ● Y0 COM1 Y3 Y4 Y6
Suitable Model:
Series Points
0 1 2 3 4
XD5
Xinje Electronic Co.,Ltd
DATE:20120701
TYPE:XD3-32R-E
SN:201207011525
5 6 7 8 9
X
PWR
XDM
XD3-32R RUN
-E ERR
Y
0 1 2 3
XDC
4 5 6 7 8
9
Suitable Model:
Series Points
COM X1 X3 X5 X7 X9 X11 X13 X15 X17 X19 X21 X23 X25 X27 X29 X31 X33 X35
COM X0 X2 X4 X6 X8 X10 X12 X14 X16 X18 X20 X22 X24 X26 X28 X30 X32 X34
XD3 48/60
0 1 2 3 4 5 6 7
DATE:20120701
SN:201208021525
TYPE:XD3-60R-E
8 9
XD5
COM1 X
PWR
RUN
XD3-60R-E ERR
Y
0 1 2 3 4 5 6 7
XDM
8 9
0V CAN+ CAN- Y0 Y1 Y2 Y3 Y4 COM5 Y7 Y8 Y10 COM7 Y13 Y15 Y16 Y18 COM9 Y21 Y23
XDC
24V A B COM0 COM1 COM2 COM3 COM4 Y5 Y6 COM6 Y9 Y11 Y12 Y14 COM8 Y17 Y19 Y20 Y22
2-3.Terminal arrangement
Graph A
COM X1 X3 X5 X7 B
X0 X2 X4 X6 A
0V COM0 Y1 Y2 COM2 Y5 Y7
24V ● Y0 COM1 Y3 Y4 Y6
Graph B
● COM X1 X3 X5 X7 X11 X13 X15
COM X0 X2 X4 X6 X10 X12 X14
Graph C
● COM X1 X3 X5 X7 X11 X13 X15 X17 X21
COM X0 X2 X4 X6 X10 X12 X14 X16 X20
Graph D
● 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
Graph E
● 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
Note:
1. Transistor and relay mixed type, only the first two channels are transistor
output, others are relay output.
2. E type PLC power supply terminal is L, N; C type PLC power supply terminal
is 24V+, 24V-.
3. The 24V, 0V terminal is external output terminal, it can supply power for
module and sensor. Do not over the max output current when using, please
refer to chapter 4-1.
4. FG ground terminal can shield the interference, it can single connect to the
ground.
5. The com terminal of input corresponding to all the input points; the com
terminal of output corresponding to different output points. Please connect the
wire as the division on the terminal label.
2-4.Communication Ports
XD series PLC have USB port, port1 (RS232), port2 (RS485), USB port can
high-speed download program, port1 and port2 can communicate and download
program.
1 USB port
3 COM2
5 1
2 1
5 43
8 6
7
9 6
Mini Din 8-pin (needles) DB9-pin (holes)
3 System Structure
As the controllers, XD 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
CPU Expansion
Unit
※1: 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 series PLC basic units can work with many kinds of peripheral devices.
3-2-1.Program Software
Users can write to or upload program from PLC, real time monitor PLC, configure
PLC etc; After installing XDPPro on your PC, use the program cable, via COM1 or
COM2 on PLC(CPU Units), to link PLC with XDPPro.
Program Interface
※1: Please use the download cable offered by XINJE Company or make the cable by yourself. Connecting
method, please refer to chapter 2-4.
The HMI link PLC to the operators. The HMI can send the commands from
operators to PLC, and then PLC executes the commands.
XD 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.
MP Size 3.7”、7”
3 Series Display 256 true color、blue LCD
Buttons Nr.: 26, 42, the LCD is touch screen
Interface RS232、RS485
Communication work with many PLC brands.
Communicate with Xinje Inverters
RTC: Built-in
3-3.Configuration Principle
COM port
XD series PLC (CPU units) are usually equipped with port1 and port2.
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.
Port1 is equipped with RS232. Port2 is RS485. The two ports are independent.
1 Installation Position
2 Installation
Method
Use DIN or screws to install the CPU units and expansions.
DIN46277
Directly install by screws
24V- COM X1 X3 X5 X7
24V+ COM X0 X2 X4 X6
0 1 2 3
4 5 6 7
0 1 2 3
4 5 6 7 Screw M3
Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6
DIN installation
Basic units or expansion modules install on DIN46277 rail (width 35mm). Pull down
the hook on DIN rail and take down the product.
3 Installation
Please install
Environment
the products according to chapter 2-1-1.
4 Power Supply Specification and Wiring Method
In this chapter, we tell the structure, specification and external wiring of XD 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.
The power supply specifications of XD series PLC (Type with ‘-E’ is AC power, type
with ‘-C’ is DC power) are as below:
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 1sec
Impulse Current Max 40A below 5mS/AC100V max 60A
below 5mS/AC200V
Maximum Power 12W
Consumption
Power Supply for 24VDC±10% 16 points max is 200mA
Sensor ,32 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
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 12W
Power Supply for Sensor 24VDC±10% 16 points max is
200 mA, 32 points max is
400mA
※1: PLC provide DC24V power supply (terminal 24V, 0V), it can be power supply for sensor, 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
In this chapter we will introduce the input specification and external wiring methods
of XD 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
Input specification has NPN and PNP two modes, we will introduce the internal
structure and wiring methods of the two 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
Red(brown) blue
COM X0 X1 X2 X3 X4 X5 COM X0 X1 X2 X3 X4 X5
COM X0 X1 X2 X3 X4 X5
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
COM X0 X1 X2 X3 X4 X5
COM X0 X1 X2 X3 X4 X5
Switch two-wire (NO, NC) proximity switch
Red(brown)
Blue(blue)
Yellow(black)
DC0V DC24V
COM X0 X1 X2 X3 X4 X5
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.
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
PNP mode
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.
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.
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.
3 Input Wiring
NPN mode
PNP mode
5-3.High Speed Counter Input
XD 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.
Note: 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.
B A
传感器
5-3-1.Counting mode
XD 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
modethis mode, the HSC value increase or decrease according to the two
Under
differential 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–times 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
COM X1 X3 X5
COM X0 X2 X4 X6
Normally, the input frequency of terminal X0, X1can reach 80KHz and 50KHz
separately under single-phase and AB-phase mode; while other input terminals
highest frequency can reach 10KHz under single-phase and 5KHz under AB phase
mode. If X input terminals are not used as high speed input port, they can be used as
common input terminals. Frequency times in the table: ‘2’ stands for fixed 2 times
frequency, ‘4’ stands for fixed 4 times frequency, ‘2/4’ stands for 2 or 4 times
frequency adjustable. The detailed port assignment is shown as below:
XD3-16T/R/RT-E
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
80K 10K 50K 5K
frequency
4 times
2/4 2/4
frequency
Counter
√ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006
X007
X010
X011
XD3-24/32/48/60/T/R/RT-E
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
X010 Z
X011
XD5-24/32/48/60/T/R/RT-E
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
80K 80K 80K 50K 50K 50K
frequency
4 times
2/4 2/4 2/4
frequency
Counter
√ √ √ √ √ √
interruption
X000 U A
X001 B
X002 Z
X003 U A
X004 B
X005 Z
X006 U A
X007 B
X010 Z
X011
XDM-24T4/32T4/60T4-E
Increment Mode AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC0 HSC2 HSC4 HSC6 HSC8
Highest
80K 80K 80K 80K 50K 50K 50K 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
XDM-60T10 -E
Increment Mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC14 HSC16 HSC18 HSC20 HSC22
Highest 80K 80K 80K 80K 80K 80K 80K 10K 10K
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
XDM-60T10 -E
AB phase mode
HSC0 HSC2 HSC4 HSC6 HSC8 HSC10 HSC12 HSC14 HSC16 HSC18 HSC20 HSC22
Highest 50K 50K 50K 50K 50K 50K 50K 5K 5K
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
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
SFD328 Frequency Multiplication of 2 2 times
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 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.
6 Output Specification and Wiring Methods
In this chapter we mainly tell the output specification and external wiring methods of
XD 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
1 Relay Output
Normal Transistor
2 Output
Model RT or T Type
High Speed Pulse Output Y0, Y1
Terminal (XDM-60T4 is Y0~Y3;
XDM-60T10 is Y0~Y11)
External Power Supply Below DC5~30V
Action Indicator LED
Maximum Current 50mA
Max output frequency of pulse 200KHZ
Note: When use high speed counter function, if the current of external load is too
small, you can place a 500Ω resistance between output terminal and 24V power.
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.
Output Connection
2 Example
Constitution of
3
output circuit
4 DC Load
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
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.5A per point. But limited by the temperature rising,
every 4 points current add up to 0.8A.
Open circuit current
Below 0.1mA
E.g.: Below is the connection of RT/T type PLC and servo driver diagram:
(Make sure the driver’s photoelectric coupling input terminal has 8~15mA reliable
current)
7 Run, Debug, Maintenance
7-2.Daily Maintenance
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.
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.
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
This chapter focuses on a special function of XD 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.
9-1.Function Summary
9-2.Operation Method
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
It needs not 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.
Below is the table for modifying the input/output points’ mapping ID:
Appendix 1 mainly introduces the functions of XD series PLC special soft element,
data register, FlashROM and the address distribution of expansions for users to
search.
Initial Status(SM0-SM3)
ID Function Description
Coil ON when SM000 keeps ON
SM000
running when PLC running
Clock(SM11-SM14)
ID Function Description
5ms
50ms
0.5s
30s
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
reset
be 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
Interruption(SM50-SM80)
(M)
ID Function Description
‘Sending pulse’ SM1000 will be ON when sending the
SM1000 flag pulse
SM1001 value being 1 stands for
positive direction and corresponding
SM1001 Direction flag port is ON
Overflow flag of
accumulated pulse SM1002 value will be 1 when
SM1002 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1003 value will be 1 when pulse
_1
SM1003 pulse equivalent equivalent overflows
SM1004
SM1005
SM1006
SM1007
SM1008
SM1009
SM1010 Pulse error flag SM1010 will be ON when pulse errors
‘Sending pulse’ SM1020 will be ON when sending the
SM1020 flag pulse
SM1021 value being 1 stands for
positive direction and corresponding
PULSE-
SM1021 Direction flag port is ON
_2
Overflow flag of
accumulated pulse SM1022 value will be 1 when
SM1022 number accumulated pulse number overflows.
SM1023 Overflow flag of SM1023 value will be 1 when pulse
pulse equivalent equivalent overflows
SM1024
SM1025
SM1026
SM1027
SM1028
SM1029
SM1030 Pulse error flag SM1030 will be ON when pulse errors
‘Sending pulse’ SM1040 will be ON when sending the
SM1040 flag pulse
SM1041 value being 1 stands for
positive direction and corresponding
SM1041 Direction flag port is ON
Overflow flag of
accumulated pulse SM1042 value will be 1 when
SM1042 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1043 value will be 1 when pulse
_3
SM1043 pulse equivalent equivalent overflows
SM1044
SM1045
SM1046
SM1047
SM1048
SM1049
SM1050 Pulse error flag SM1050 will be ON when pulse errors
‘Sending pulse’ SM1060 will be ON when sending the
SM1060 flag pulse
SM1061 value being 1 stands for
positive direction and corresponding
SM1061 Direction flag port is ON
Overflow flag of
accumulated pulse SM1062 value will be 1 when
SM1062 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1063 value will be 1 when pulse
_4
SM1063 pulse equivalent equivalent overflows
SM1064
SM1065
SM1066
SM1067
SM1068
SM1069
SM1070 Pulse error flag SM1070 will be ON when pulse errors
SM1080 ‘Sending pulse’ SM1080 will be ON when sending the PULSE-
flag pulse _5
SM1081 value being 1 stands for
positive direction and corresponding
SM1081 Direction flag port is ON
Overflow flag of
accumulated pulse SM1082 value will be 1 when
SM1082 number accumulated pulse number overflows.
Overflow flag of SM1083 value will be 1 when pulse
SM1083 pulse equivalent equivalent overflows
SM1084
SM1085
SM1086
SM1087
SM1088
SM1089
SM1090 Pulse error flag SM1090 will be ON when pulse errors
‘Sending pulse’ SM1100 will be ON when sending the
SM1100 flag pulse
SM1101 value being 1 stands for
positive direction and corresponding
SM1101 Direction flag port is ON
Overflow flag of
accumulated pulse SM1102 value will be 1 when
SM1102 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1103 value will be 1 when pulse
_6
SM1103 pulse equivalent equivalent overflows
SM1104
SM1105
SM1106
SM1107
SM1108
SM1109
M1110 Pulse error flag SM1110 will be ON when pulse errors
‘Sending pulse’ SM1120 will be ON when sending the
SM1120 flag pulse
SM1121 value being 1 stands for
positive direction and corresponding
SM1121 Direction flag port is ON PULSE-
Overflow flag of _7
accumulated pulse SM1122 value will be 1 when
SM1122 number accumulated pulse number overflows.
Overflow flag of SM1123 value will be 1 when pulse
SM1123 pulse equivalent equivalent overflows
SM1124
SM1125
SM1126
SM1127
SM1128
SM1129
SM1130 Pulse error flag SM1130 will be ON when pulse errors
‘Sending pulse’ SM1140 will be ON when sending the
SM1140 flag pulse
SM1141 value being 1 stands for
positive direction and corresponding
SM1141 Direction flag port is ON
Overflow flag of
accumulated pulse SM1142 value will be 1 when
SM1142 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1143 value will be 1 when pulse
_8
SM1143 pulse equivalent equivalent overflows
SM1144
SM1145
SM1146
SM1147
SM1148
SM1149
SM1150 Pulse error flag SM1150 will be ON when pulse errors
‘Sending pulse’ SM1160 will be ON when sending the
SM1160 flag pulse
SM1161 value being 1 stands for
positive direction and corresponding
SM1161 Direction flag port is ON
Overflow flag of
accumulated pulse SM1162 value will be 1 when
SM1162 number accumulated pulse number overflows.
PULSE-
Overflow flag of SM1163 value will be 1 when pulse
_9
SM1163 pulse equivalent equivalent overflows
SM1164
SM1165
SM1166
SM1167
SM1168
SM1169
SM1170 Pulse error flag SM1170 will be ON when pulse errors
‘Sending pulse’ SM1180 will be ON when sending the PULSE-
SM1180 flag pulse _10
SM1181 value being 1 stands for
positive direction and corresponding
SM1181 Direction flag port is ON
Overflow flag of
accumulated pulse SM1182 value will be 1 when
SM1182 number accumulated pulse number overflows.
Overflow flag of SM1183 value will be 1 when pulse
SM1183 pulse equivalent equivalent overflows
SM1184
SM1185
SM1186
SM1187
SM1188
SM1189
SM1190 Pulse error flag SM1190 will be ON when pulse errors
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
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-SM413)
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
SM413
Error Message(SM450-SM452)
ID Function Description
SM450 System error check
SM451
SM452
ID Function Description
Module status read is
SM500 finished
Communication(SM130-SM1319)
SM151
Serial SM152 Free format Instruction working, set on
port1 communication sending sending complete, set off
flag
SM153 Free format Receive one frame data, set on
communication Set off by user program
receiving flag
SM154
……
SM159
SM160 Modbus read write Instruction working, set on
instruction working flag Instruction complete, set off
Serial SM161
port2 SM162 Free format Instruction working, set on
communication sending sending complete, set off
flag
SM163 Free format Receive one frame data, set on
communication Set off by user program
receiving flag
SM164
……
SM169
Serial SM170~SM179
port3
Serial SM180~SM189
port4
Serial SM190~SM199
port5
Appendix 1-2.Special Data Register Schedule
Clock(SD010-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)
0(Sunday )~6(Saturday)(BCD code
SD019 Week (clock)
)
Flag (SD020-SD031)
ID Function Description
SD020 Information of type
SD021 Information of type
:
SD030 Information of type
SD031 Information of type
Step ladder(SD040)
ID Function Description
SD40 Flag of the executing process S
ID Function Description
Current segment (No. n
SD100
segment) HSC00
Current segment (No. n
SD101
segment) HSC02
Current segment (No. n
SD102
segment) HSC04
Current segment (No. n
SD103
segment) HSC06
Current segment (No. n
SD104
segment) HSC08
Current segment (No. n
SD105
segment) HSC10
Current segment (No. n
SD106
segment) HSC12
Current segment (No. n
SD107
segment ) HSC14
Current segment (No. n
SD108
segment) HSC16
Current segment (No. n
SD109
segment) HSC18
ID Function Description
SD1000 Current segment (No. n segment)
SD1001
Low 16 bits of accumulated pulse
SD1002 number (the unit is the pulse
number)
High 16 bits of accumulated pulse
SD1003
number
The low 16 bits of accumulated
SD1004
pulse number
High 16 bits of accumulated pulse PULSE_
SD1005
number 1
Low 16 bits of current output
SD1006
frequency
high 16 bits of current output
SD1007
frequency
Low 16 bits of current output
SD1008 frequency(The unit is pulse
equivalent)
High 16 bits of current output
SD1009
frequency
1:Pulse data block error
2:Equivalent mode:pulse
amount/turn, amount/ turn of
movement is 0
3:Code of system parameters
block error
4:Pulse data block exceeds max
limit
SD1010 Wrong Pulse message
10:Zero return do not set near
point signal
11:Speed of zero return is 0
12:Crawling speed of zero
return is 0
13:Directions of zero return
speed and zero auxiliary
speed differ
SD1011 Pulse data block error
SD1020 Current segment(No. n segment)
SD1021
Low 16 bits of accumulated pulse
SD1022
number (the unit is pulse number)
High 16 bits of accumulated pulse
SD1023
number
Low 16 bits of accumulated pulse
SD1024
number
High 16 bits of accumulated pulse
SD1025
number
Low 16 bits of current output PULSE_
SD1026 frequency(the unit is pulse 2
number)
High 16 bits of current output
SD1027 frequency(the unit is pulse
number)
Low 16 bits of current output
SD1028 frequency(the unit is pulse
equivalent)
High 16 bits of current output
SD1029 frequency(the unit is pulse
equivalent)
1:Pulse data block error
2:Equivalent mode: pulse
amount/turn、 amount/ turn of
movement is 0
3:Code of system parameters
block error
4: Pulse data block exceeds
SD1030 Wrong Pulse message max limit
10: Zero return do not set near
point signal
11:Speed of zero return is 0
12:Crawling speed of zero
return is 0
13 Direction of zero return
speed and zero auxiliary speed
SD1031 Code of error pulse block
SD1040 Current segment(No. n segment)
SD1041
Low 16 bits of accumulated pulse
SD1042
number (the unit is pulse number)
High 16 bits of accumulated pulse
SD1043
number (the unit is pulse number)
Low 16 bits of accumulated pulse
SD1044 number(the unit is pulse
equivalent)
High 16 bits of accumulated pulse
SD1045 number(the unit is pulse
equivalent) PULSE_
Low 16 bits of current output 3
SD1046 frequency(the unit is pulse
number)
High 16 bits of current output
SD1047 frequency(the unit is pulse
number)
Low 16 bits of current output
SD1048 frequency(the unit is pulse
equivalent)
High 16 bits of current output
SD1049 frequency(the unit is pulse
equivalent)
1: Pulse data block error
2:Equivalent mode: pulse
amount/turn、 amount/ turn of
movement is 0
3:Code of system parameters
block error
4:Pulse data block exceeds
SD1050 Wrong Pulse message max limit
10:Zero return do not set near
point signal
11:Speed of zero return is 0
12:Crawling speed of zero
return is 0
13 Direction of zero return
speed and zero auxiliary speed
SD1051 Code of error pulse block
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
…… …… ……
Executing instruction of The value will be used when BLOCK
SD396 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
SD399 Executing instruction of The value will be used when BLOCK
BLOCK100 monitors
Error Check(SD400-SD413)
ID Function Description
SD400
Number of
communication error
SD401 expansion module
Number of
communication error
SD402 BD
……
SD405
SD406
SD407
SD408
1:Divided by zero error
2:Former operand’s address less that the latter
one’s of MRST,MSET
3:ENCO,DECO encoding, decoding instruction
data bit overruns.
Operation error code 4:BDC code error
SD409 number 7:Square root error
Numbers of shift
register D when
SD410 migration overruns
SD411
SD412
SD413
Error Check(SD450-SD452)
ID Function Description
1:Watchdog act (Default 200ms)
2:Control block application fail
SD450 3:Visit illegal address
Hardware error type:
1:Register error
SD451 2:Bus error
3:Usage error
ID Function Description
Module number
Expansion modules:#1~
SD500
16
BD:#10001~10005
Expansion module, BD
SD501~516 status 16 registers
Modules Information(SD520-SD855)
ID Function Description
SD520
…… Expansion module 1
SD535 Each expansion
…… …… …… module occupies 16
SD760 registers
…… Expansion module 16
SD775
SD776
…… BD module 1
SD791
…… …… …… Each BD module
SD840 occupies 16 registers
…… BD module 5
SD855
ID Function Description
Error times of module Expansio
SD860
read n module
SD861 Error types of module 1. Expansion’s CRC parity error 1
read 2. Expansion’s address error
3. Expansion accepted data length
error
1. Expansion’s accept buffer zone
overflows
2. Expansion timeout error
3. CRC parity error when PLC is
accepting data
4. Unknown error
Error times of module
SD862
write
Error types of module
SD863
write
Error times of module
SD864
read
5. Expansion’s CRC parity error
6. Expansion’s address error
7. Expansion accepted data length
error
Error types of module 8. Expansion’s accept buffer zone
SD865 Expansio
read overflows
9. Expansion timeout error n module
10. CRC parity error when PLC is 2
accepting data
11. Unknown error
Error times of module
SD866
write
Error types of module
SD867
write
……
Error times of module
SD920
read
12. Expansion’s CRC parity error
13. Expansion’s address error
14. Expansion accepted data length
error Expansio
Error types of module 15. Expansion’s accept buffer zone
SD921 n module
read overflows
16
16. Expansion timeout error
17. CRC parity error when PLC is
accepting data
18. Unknown error
Error times of module
SD922
write
Error types of module
SD923
write
Error times of module
SD924
read
Error types of module
SD925
read
Error times of module BD
SD926
write module 1
Error types of module
SD927
write
……
SD940
SD941 BD
SD942 module 5
SD943
Communication
ID Function Description
Low 16 bits of accumulated pulse number (the unit is pulse
HSD0 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD1 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD2 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD3 equivalent) PULSE_1
Low 16 bits of accumulated pulse number (the unit is pulse
HSD4 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD5 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD6 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD7 equivalent) PULSE_2
Low 16 bits of accumulated pulse number (the unit is pulse
HSD8 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD9 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD10 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD11 equivalent) PULSE_3
Low 16 bits of accumulated pulse number (the unit is pulse
HSD12 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD13 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD14 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD15 equivalent) PULSE_4
Low 16 bits of accumulated pulse number (the unit is pulse
HSD16 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD17 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD18 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD19 equivalent) PULSE_5
Low 16 bits of accumulated pulse number (the unit is pulse
HSD20 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD21 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD22 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD23 equivalent) PULSE_6
Low 16 bits of accumulated pulse number (the unit is pulse
HSD24 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD25 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD26 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD27 equivalent) PULSE_7
Low 16 bits of accumulated pulse number (the unit is pulse
HSD28 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD29 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD30 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD31 equivalent) PULSE_8
Low 16 bits of accumulated pulse number (the unit is pulse
HSD32 number)
High 16 bits of accumulated pulse number (the unit is pulse
HSD33 number)
Low 16 bits of accumulated pulse number(the unit is pulse
HSD34 equivalent)
High 16 bits of accumulated pulse number(the unit is pulse
HSD35 equivalent) PULSE_9
Low 16 bits of accumulated pulse number (the unit is pulse
HSD36 number) PULSE_10
High 16 bits of accumulated pulse number (the unit is pulse
HSD37 number)
Low 16 bits of accumulated pulse number (the unit is pulse
HSD38 equivalent)
High 16 bits of accumulated pulse number (the unit is pulse
HSD39 equivalent)
Take the first expansion as example (2~7 expansion module address number add
100 in turn):
XD-E2DA
Channel Exp. 1 Exp. 2 Exp. 3 Exp. 4 Exp. 5 Exp. 6 Exp. 7
XD-E4AD
Channel Exp. 1 Exp. 2 Exp. 3 Exp. 4 Exp. 5 Exp. 6 Exp. 7
XD-E8AD
Present Set PID control First three channels Last three channels PID
channel
temperature temperature bit PID value value
0CH ID10000 QD10000 Y10000
XD-E1WT
Module no. address Explanations Note
#1 Y10000 Fast sampling enable, ON is fast sampling, OFF is slow sampling
Y10001 Internal full scale calibration, set write in the calibration parameter when
power on
Y10002 Set to zero
Y10003 Calibration
Y10010 first level filter enable
Y10011 Second level filter enable
Y10012 Resonance frequency measurement enable
X10000 Internal full scale calibration complete flag
X10001 Resonance frequency measurement complete flag
ID10000 Present digital value dword
ID10002 Present weight dword
ID10004 Resonance frequency word
Appendix 1-4.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
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
SFD74 O00 corresponds to Output terminal 0
bad,0xFE means
* Y** correspond to Y** number
terminal idle
Default value is 0
…… ……
SFD13 O77 corresponds to Default value is 77(
4* 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
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
Appendix 2-2.Application Instruction List
※1:All the instructions are 16bits except the instructions with ※1 which has
32bits. 32bits instructions are added D in front of its 16bits instruction. Such as
ADD(16bits) / DADD(32bits).
※2:These instructions are 32bits, and have no 16bits format.
Appendix 2-3.Special Instructions List
※1:All the instructions are 16bits except the instructions with ※1 which has
32bits. 32bits instructions are added D in front of its 16bits instruction. Such as
ADD(16bits) / DADD(32bits).
※2:These instructions are 32bits, and have no 16bits format.
Appendix 3 PLC Configuration List
This part is used to check each model’s configurations. Via this table, we can judge
products type easily.
High speed
Communication Pulse output
Expansi counter
channel External
Series RTC on BD Increm
CAN 485 AB (T/RT) interruption
Free module ental
phase
mode
XD3
XD3-16 √ × √ √ 10 × 2 2 2 6
XD3-24 √ × √ √ 10 1 3 3 2 10
XD3-32 √ × √ √ 10 1 3 3 2 10
XD3-48 √ × √ √ 10 2 3 3 2 10
XD3-60 √ × √ √ 10 2 3 3 2 10
XD5
XD5-24 √ × √ √ 16 1 3 3 2 10
XD5-32 √ × √ √ 16 1 3 3 2 10
XD5-48 √ × √ √ 16 2 3 3 2 10
XD5-60 √ × √ √ 16 2 3 3 2 10
XDM
XDM-24 √ × √ √ 16 1 4 4 4 10
XDM-32 √ × √ √ 16 1 4 4 4 10
XDM-48 √ × √ √ 16 2 4 4 4 10
XDM-60T4 √ × √ √ 16 2 4 4 4 10
XDM-60T10 √ × √ √ 16 2 10 10 10 10
Appendix 4 Common Questions Q&A
The following are the common questions may happen when using the PLC.