KEMBAR78
XD Extension Module | PDF | Programmable Logic Controller | Analog To Digital Converter
0% found this document useful (0 votes)
251 views149 pages

XD Extension Module

Uploaded by

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

XD Extension Module

Uploaded by

Luis Zavala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 149

XD series PLC expansion module

User Manual

WUXI XINJE ELECTRIC CO., LTD.


Data No. PD04 20150204 3.1
This manual includes some basic precautions which you should follow to keep you safe and protect the
products. These precautions are underlined with warning triangles in the manual. About other manuals that we
do not mention please follow basic electric operating rules.

Precautions Please follow the precautions. If not, it may lead the control system incorrect
or abnormal, even cause fortune lose.

Correct
Application The models could only be used according to the manual, and an only be
used along with the peripheral equipment recognized or recommended by
X Company. They could only work normally in the condition of be
transported, kept and installed correctly, also please operate and maintain
them according to the recommendation.

WUXI XINJE ELECTRIC CO., LTD. Copyright reserved


Without exact paper file allowance, copy, translate or using the manual is not allowed. Disobey this, people
should take the responsibility of loss. We reserve all the right of expansions and their design patent.

Duty Declare
We have checked the manual; its content fits the hardware and software of the products. As mistakes are
unavoidable, we couldn’t promise all correct. However, we would check the data in the manual frequently, and
in the next edition, we will correct the necessary information. Your recommendation would be highly
appreciated
Catalog
1. MODULES INTRODUCTION ....................................................................................................................... 7

1-1. MODULE TYPE AND CONFIGURATION ......................................................................................................... 7


1-2. DIMENSIONS .............................................................................................................................................. 2
1-3. MODULE PART NAME AND FUNCTION ......................................................................................................... 2
1-4. GENERAL SPECIFICATIONS ......................................................................................................................... 3
1-5. INSTALLATION ........................................................................................................................................... 3
1-6. CONFIGURE THE MODULE .......................................................................................................................... 6

2. ANALOG INPUT MODULE XD-E8AD ........................................................................................................ 7

2-1. SPECIFICATION ........................................................................................................................................... 7


2-2. TERMINALS ................................................................................................................................................ 7
2-3. I/O DISTRIBUTION ...................................................................................................................................... 8
2-4. WORKING MODE ...................................................................................................................................... 14
2-5. EXTERIOR CONNECTION .......................................................................................................................... 16
2-6. AD CONVERSION DIAGRAM ..................................................................................................................... 18
2-7. PROGRAM APPLICATION ........................................................................................................................... 18

3. ANALOG INPUT/OUTPUT MODULE XD-E4AD2DA .............................................................................. 20

3-1. SPECIFICATION ......................................................................................................................................... 20


3-2. TERMINALS .............................................................................................................................................. 21
3-3. THE ASSIGNMENT OF I/O ADDRESS .......................................................................................................... 21
3-4. WORKING MODE ...................................................................................................................................... 27
3-5.EXTERIOR CONNECTION ........................................................................................................................ 29
3-6. AD CONVERSION DIAGRAM ..................................................................................................................... 31
3-7. PROGRAMMING ........................................................................................................................................ 32

4. ANALOG INPUT MODULE XD-E4AD ...................................................................................................... 33

4-1. SPECIFICATIONS ....................................................................................................................................... 33


4-2. TERMINALS .............................................................................................................................................. 33
4-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 34
4-4. WORKING MODE ...................................................................................................................................... 38
4-5. EXTERIOR CONNECTION .......................................................................................................................... 40
4-6. AD CONVERSION DIAGRAM ..................................................................................................................... 42
4-7. PROGRAMMING ........................................................................................................................................ 42

5. ANALOG OUTPUT MODULE XD-E2DA .................................................................................................. 43

5-1. SPECIFICATIONS ....................................................................................................................................... 43


5-2. TERMINALS .............................................................................................................................................. 44
5-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 44
5-4. WORKING MODE ...................................................................................................................................... 47
5-5. EXTERNAL CONNECTION ......................................................................................................................... 49
5-6. DA CONVERSION DIAGRAM ..................................................................................................................... 50
5-7. PROGRAMMING ....................................................................................................................................... 50
6. 1 CHANNEL PRESSURE MODULE XD-E1WT-A..................................................................................... 51

6-1. FEATURES ................................................................................................................................................ 51


6-2. TERMINALS .............................................................................................................................................. 52
6-3. EXTERNAL CONNECTION ......................................................................................................................... 52
6-4. WEIGHING SYSTEM .................................................................................................................................. 53
6-5. MODULE FUNCTIONS ............................................................................................................................... 54
6-5-1. Pressure sensor ................................................................................................................................ 54
6-6. I/O ADDRESS ............................................................................................................................................ 54
6-7. WORKING MODE ...................................................................................................................................... 55
6-8. MODULE SETTING .................................................................................................................................... 57
6-9. INSTRUCTION FROM AND TO ................................................................................................................. 59
6-10. A/D TRANSFORMATION DIAGRAM .......................................................................................................... 60
6-11. APPLICATION PROGRAM ......................................................................................................................... 60

7. 2 CHANNELS PRESSURE MODULE XD-E2WT-A .................................................................................. 62

7-1. FEATURES ................................................................................................................................................ 62


7-2. TERMINALS .............................................................................................................................................. 63
7-3. EXTERNAL CONNECTION ......................................................................................................................... 63
7-4. WEIGHING SYSTEM .................................................................................................................................. 65
7-5. MODULE FUNCTIONS ............................................................................................................................... 65
7-5-1. Pressure sensor ................................................................................................................................ 66
7-6. I/O ADDRESS ............................................................................................................................................ 66
7-7. WORKING MODE ...................................................................................................................................... 68
7-8. MODULE SETTING .................................................................................................................................... 70
7-9. INSTRUCTION FROM AND TO ................................................................................................................. 71
7-10. A/D TRANSFORMATION DIAGRAM .......................................................................................................... 73
7-11. APPLICATION PROGRAM ......................................................................................................................... 73

8. PT100 TEMPERATURE CONTROL MODULE XD-E6PT-P ...................................................................... 75

8-1. SPECIFICATION ......................................................................................................................................... 75


8-2. TERMINALS .............................................................................................................................................. 76
8-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 76
8-4. WORKING MODE ...................................................................................................................................... 81
8-5. EXTERIOR CONNECTION .......................................................................................................................... 83
8-6. PROGRAMMING ........................................................................................................................................ 84

9. K TYPE THERMOCOUPLE TEMPERATURE CONTROL MODULE XD-E6TC-P................................. 86

9-1. SPECIFICATION ......................................................................................................................................... 86


9-2. TERMINALS .............................................................................................................................................. 87
9-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 88
9-4. WORKING MODE ...................................................................................................................................... 92
9-5. EXTERIOR CONNECTION .......................................................................................................................... 94
9-6. PROGRAMMING ........................................................................................................................................ 96

10. I/O EXPANSION MODULE XD-ENXMY................................................................................................. 97


10-1. SPECIFICATIONS ..................................................................................................................................... 97
10-2. TERMINALS ............................................................................................................................................ 98
10-3. I/O ADDRESS ASSIGNMENT..................................................................................................................... 98
10-4. EXTERNAL CONNECTION...................................................................................................................... 100
10-5. MODULE PARAMETERS ........................................................................................................................ 102
10-6. APPLICATIONS ...................................................................................................................................... 105

11. ANALOG INPUT/OUTPUT MODULE XD-E4AD2DA-B ...................................................................... 108

11-1. SPECIFICATION ..................................................................................................................................... 108


11-2. TERMINALS .......................................................................................................................................... 109
11-3. THE ASSIGNMENT OF I/O ADDRESS .......................................................................................................110
11-4. WORKING MODE ...................................................................................................................................115
11-5.EXTERIOR CONNECTION .....................................................................................................................117
11-6. AD CONVERSION DIAGRAM ..................................................................................................................118
11-7. PROGRAMMING .....................................................................................................................................119

12. ANALOG OUTPUT MODULE XD-E4DA .............................................................................................. 120

12-1. SPECIFICATIONS ................................................................................................................................... 120


12-2. TERMINALS .......................................................................................................................................... 120
12-3. I/O ADDRESS ASSIGNMENT................................................................................................................... 121
12-4. WORKING MODE .................................................................................................................................. 125
12-5. EXTERNAL CONNECTION...................................................................................................................... 127
12-6. DA CONVERSION DIAGRAM ................................................................................................................. 128
12-7. PROGRAMMING .................................................................................................................................... 128

13. 4 CHANNELS PRESSURE MODULE XD-E4WT-A .............................................................................. 129

13-1. FEATURES ............................................................................................................................................ 129


13-2. TERMINALS .......................................................................................................................................... 130
13-3. EXTERNAL CONNECTION...................................................................................................................... 130
13-4. WEIGHING SYSTEM .............................................................................................................................. 132
13-5. MODULE FUNCTIONS ........................................................................................................................... 132
13-5-1. Pressure sensor ............................................................................................................................ 132
13-6. I/O ADDRESS ........................................................................................................................................ 133
13-7. WORKING MODE .................................................................................................................................. 136
13-8. MODULE SETTING ................................................................................................................................ 138
13-9. INSTRUCTION FROM AND TO ............................................................................................................. 139
13-10. A/D TRANSFORMATION DIAGRAM ...................................................................................................... 141
13-11. APPLICATION PROGRAM ..................................................................................................................... 141
1. Modules introduction

1-1. Module type and configuration

XD series PLCs not only have strong functions of logic operation, data operation, high speed processing etc.
but also A/D, D/A conversion, PID function. With the expansions of analog input module, analog output
module, temperature control module etc. XD series PLCs are widely used in the control system of
temperature, flow, liquid level, pressure.

Module type and names


The detailed information is:
Model Function
XD-E8X8Y 8 digital input, 8 digital output
XD-E16X 16 digital input
4 channels analog input (14bits); 2 channels analog output (12bits);
XD-E4AD2DA
current/voltage selectable
XD-E4AD 4 channels analog input (14 bits), current/voltage selectable
XD-E8AD 8 channels analog input (14 bits), current/voltage selectable
XD-E2DA 2 channels analog output (12 bits), current/voltage selectable
XD-E1WT 1 channel pressure control module
XD-E6PT-P 6 channels PT100 temperature control module, with PID function
XD-E6TC-P 6 channels K thermocouple temperature control module, with PID function

Module configuration
XD series expansion modules can be connected to the right side of PLC:
 Digital input, output terminal no. is octal number.
 Analog input, output terminal no. is decimal number.
 Up to 10 expansion modules can be connected to XD3 series PLC.
 Up to 16 expansion modules can be connect to XDM series PLC.

● COM X1 X3 X5 X7 X11 X13 X15 X17 X21 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1 24V- C0 AO0 C1 AO1
COM X0 X2 X4 X6 X10 X12 X14 X16 X20 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1 24V+ VO0 VO1

0 1 2 3 4
5 6 7 10 11

AO AO AO AO AO AO AO AO AO AO
X
PWR

XD3-32R RUN
-E ERR
Y AI AI AI AI AI AI AI AI AI AI

0 1 2 3
4 5 6 7 10
11

0V A COM0 COM1 COM2 Y3 Y5 Y6 Y10 COM4 Y13 Y15 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3 VI0 C1 AI1 VI2 C3 AI3
24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y11 Y12 Y14 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3 C0 AI0 VI1 C2 AI2 VI3
1-2. Dimensions

Analog, temperature, pressure modules, 8/16 points I/O modules: (dimension: mm)

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

Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6

1-3. Module part name and function

Screw hole
Analog I/O terminals

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

Power LED
AO

Expansion
AI

port

C0
VI0
AI0
C1
VI1
AI1
C2
VI2
AI2
C3
VI3
AI3 Module type

Extension
cable

DIN rail pothook


Analog I/O terminals
Name Function
Power LED The LED lights when the power supply is on
Module type The type of expansion module
Expansion port To connect the expansion module
Analog I/O terminals To connect to analog input and output, the terminals are knock-down
DIN rail pothook To mount the module, pull down the pothook to take away the module
Screw hole Use M3 screw
Expansion cable To connect the expansion module

1-4. General specifications

Operating Environment No corrosive gas


Ambient Temperature 0℃~60℃
Store Temperature -20~70℃
Ambient Humidity 5~95% RH
Store Humidity 5~95% RH
Can be fixed with M3 screw or directly installed
Installation
on DIN46277 rail (width: 35mm)
Size 63mm×108mm×79.9mm

1-5. Installation

XD series expansion module can be connected to the right side of PLC. Fix the module on the DIN46277 rail
or with screw M3.
DIN46277 rail:
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

Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6

DIN rail pothook

The module can be mounted on the DIN46277 rail (width 35mm). Pull down the DIN rail pothook to uninstall
the module.
Direct installation: put the screw (M3) to fix the module.

Put the screw M3 into the hole.

Terminal wiring:
 Y terminal

Y terminal dimension
B: Y outer dimension
d1: Outer diameter connecting to the wire
d2: Internal diameter (press the screw)
L: Whole length
Suitable dimension:
B: below 6mm L: below 13mm
d2: below 3.2mm

 Wiring method
A. Cut off the power supply
B. Open the front cover

Terminal cover

C. Put the terminal of signal wire on the I/O terminal tightens the screw.

D. Close the I/O terminal cover

Notes:
1. Confirm the specification of the module
2. The scraps cannot fall into the module when wiring
3. Before wiring, confirm the specifications of module and device again
4. Make sure the wire connection is firm, otherwise data incorrectness and circuit shorting will happen
5. Cut the power before Installation and wiring
1-6. Configure the module

Before using the expansion module, please configure the module in XDPpro software.
Next we will introduce the configuration steps. Take XD-E4AD2DA as an example.
A. Open the XDPpro software, click Configure/expansion module settings.

B. Choose the module type and channel parameters in the following window. Then click write to PLC.

C. Cut the PLC power supply and give the power again to make the setting effective.
2. Analog input module XD-E8AD

2-1. Specification

XD-E8AD transform the analog value (current or voltage input) to digital value and send to PLC registers.

 14 bits high precision analog


input
24V- C0 AO0 C1 AO1
24V+ VO0 VO1
 8 channels analog input: The
first four channels are voltage
AO input. The last 4 channels are
current input

AI
As special function module of
XD3, up to 10 models can be
C0
VI0
AI0
C1
VI1
AI1
C2
VI2
AI2
C3
VI3
AI3 connected.
 XDM can connect 16 modules

Items Current input (0CH~3CH) Voltage input (4CH~7CH)


Analog input range 0~5V, 0~10V 0~20mA, 4~20mA
Max input range ±15V 0~40mA
Digital output range 14 bits binary data
PID control value 0~4095
Resolution 1/16383(14Bit)
Integrate Precision 1%
Conversion speed 2ms per channel
Analog power DC24V±10%,150mA
supply
Installation Can be fixed with screw M3 or directly installed on orbit of
DIN46277 (width: 35mm)
Dimension 63mm×108mm×79.9mm

2-2. Terminals

24V- C0 C1 C2 C3
24V+ VI0 VI1 VI2 VI3

AI0 AI1 AI2 AI3


C0 C1 C2 C3
Channel Terminal name Signal name
CH0 VI0 VI0+ voltage input
C0 VI0- voltage input
CH1 VI1 VI1+ voltage input
C1 VI1- voltage input
CH2 VI2 VI2+ voltage input
C2 VI2- voltage input
CH3 VI3 VI3+ voltage input
C3 VI3- voltage input
CH4 AI0 AI0+current input
C0 AI0- current input
CH5 AI1 AI1+ current input
C1 AI1- current input
CH6 AI2 AI2+ current input
C2 AI2- current input
CH7 AI3 AI3+ current input
C3 AI3- current input
- 24V+ +24Vpower supply
24V- Common terminal of power supply

2-3. I/O distribution

XD series analog expansion modules don’t occupy I/O unit, the converted data is directly transferred to PLC
register. Each channel address:
I/O address list
Register address of expansion module 1:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10000 Y10000


1CH ID10001 Y10001
2CH ID10002 Y10002
3CH ID10003 Y10003
4CH ID10004 Y10004
5CH ID10005 Y10005

6CH ID10006 Y10006

7CH ID10007 Y10007

Register address of expansion module 2:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10100 Y10100


1CH ID10101 Y10101
2CH ID10102 Y10102
3CH ID10103 Y10103
4CH ID10104 Y10104
5CH ID10105 Y10105
6CH ID10106 Y10106
7CH ID10107 Y10107

Register address of expansion module 3:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10200 Y10200


1CH ID10201 Y10201
2CH ID10202 Y10202
3CH ID10203 Y10203
4CH ID10204 Y10204
5CH ID10205 Y10205
6CH ID10206 Y10206
7CH ID10207 Y10207

Register address of expansion module 4:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10300 Y10300


1CH ID10301 Y10301
2CH ID10302 Y10302
3CH ID10303 Y10303
4CH ID10304 Y10304
5CH ID10305 Y10305
6CH ID10306 Y10306
7CH ID10307 Y10307

Register address of expansion module 5:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10400 Y10400


1CH ID10401 Y10401
2CH ID10402 Y10402
3CH ID10403 Y10403
4CH ID10404 Y10404
5CH ID10405 Y10405
6CH ID10406 Y10406
7CH ID10407 Y10407

Register address of expansion module 6:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10500 Y10500


1CH ID10501 Y10501
2CH ID10502 Y10502
3CH ID10503 Y10503
4CH ID10504 Y10504
5CH ID10505 Y10505
6CH ID10506 Y10506
7CH ID10507 Y10507

Register address of expansion module 7:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10600 Y10600


1CH ID10601 Y10601
2CH ID10602 Y10602
3CH ID10603 Y10603
4CH ID10604 Y10604
5CH ID10605 Y10605
6CH ID10606 Y10606
7CH ID10607 Y10607

Register address of expansion module 8:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10700 Y10700


1CH ID10701 Y10701
2CH ID10702 Y10702
3CH ID10703 Y10703
4CH ID10704 Y10704
5CH ID10705 Y10705
6CH ID10706 Y10706
7CH ID10707 Y10707

Register address of expansion module 9:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10800 Y11000


1CH ID10801 Y11001
2CH ID10802 Y11002
3CH ID10803 Y11003
4CH ID10804 Y11004
5CH ID10805 Y11005
6CH ID10806 Y11006
7CH ID10807 Y11007

Register address of expansion module 10:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10900 Y11100


1CH ID10901 Y11101
2CH ID10902 Y11102
3CH ID10903 Y11103
4CH ID10904 Y11104
5CH ID10905 Y11105
6CH ID10906 Y11106
7CH ID10907 Y11107

Register address of expansion module 11:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11000 Y11200


1CH ID11001 Y11201
2CH ID11002 Y11202
3CH ID11003 Y11203
4CH ID11004 Y11204
5CH ID11005 Y11205
6CH ID11006 Y11206
7CH ID11007 Y11207

Register address of expansion module 12:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11100 Y11300


1CH ID11101 Y11301
2CH ID11102 Y11302
3CH ID11103 Y11303
4CH ID11104 Y11304
5CH ID11105 Y11305
6CH ID11106 Y11306
7CH ID11107 Y11307

Register address of expansion module 13:


Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11200 Y11400


1CH ID11201 Y11401
2CH ID11202 Y11402
3CH ID11203 Y11403
4CH ID11204 Y11404
5CH ID11205 Y11405
6CH ID11206 Y11406
7CH ID11207 Y11407

Register address of expansion module 14:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11300 Y11500


1CH ID11301 Y11501
2CH ID11302 Y11502
3CH ID11303 Y11503
4CH ID11304 Y11504
5CH ID11305 Y11505
6CH ID11306 Y11506
7CH ID11307 Y11507

Register address of expansion module 15:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11400 Y11600


1CH ID11401 Y11601
2CH ID11402 Y11602
3CH ID11403 Y11603
4CH ID11404 Y11604
5CH ID11405 Y11605
6CH ID11406 Y11606
7CH ID11407 Y11607

Register address of expansion module 16:

Channel enable
Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11500 Y11700


1CH ID11501 Y11701
2CH ID11502 Y11702
3CH ID11503 Y11703
4CH ID11504 Y11704
5CH ID11505 Y11705
6CH ID11506 Y11706
7CH ID11507 Y11707

Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the channel, this channel will not accept the data. (the data display is 0).

2-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.
Note: first-order low-pass filter will weighted present sampling value with last time filter output
to get the final filter value. The filter factor range is 1 to 255, the default value is 255 which
means no filter.
Flash registers:
0CH~3CH channels have two modes to select: voltage 0~5V or 0~10V, 4CH~7CH channels have two modes
to select, current 0~20mA or 4~20mA.Set the modes through SFD registers of PLC. See the following table:

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

Note: each SFD register can set 4 channels mode. Each register has 16 bits, every 4 bits set one channel mode.

SFD bit definition:


Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
BYTE0
AD channel 2, channel 1 filter time

BYTE1 AD channel 4, channel 3 filter time


AD filter time
BYTE2 AD channel 6, channel 5 filter time

BYTE3 AD channel 8, channel 7 filter time

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0


AD2 AD1 To define the AD input
Byte4
- - - 0:0~10V - - - 0:0~10V range.
1:0~5V 1:0~5V Byte4 low 4 bits set
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 channel 1 mode, high 4
AD4 AD3 bits set channel 2
Byte5 mode.
- - - 0:0~10V - - - 0:0~10V
1:0~5V 1:0~5V Byte5 low 4 bits set
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 channel 3 mode, high 4
bits set channel 4
AD6 AD5
Byte6 mode.
- - - 0:0~20mA - - - 0:0~20mA
Byte6 low 4 bits set
1:4~20mA 1:4~20mA
channel 5 mode, high 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
bits set channel 6
AD8 AD7 mode.
Byte7
- - - 0:0~20mA - - - 0:0~20mA Byte7 low 4 bits set
1:4~20mA 1:4~20mA channel 7 mode, high 4
bits set channel 8
Byte8~
- mode.
Byte19

For example: set module no.1 channel 1 and channel 0 mode to 0~10V. Set channel 3 and channel 2 mode to
0~5V. Set channel 5 and channel 4 mode to 0~20mA. Set channel 7 and channel 6 mode to 4~20mA. The filter
factor of channel 0 to channel 3 is 255. The filter factor of channel 4 to channel 7 is 100.
Then the SFD350=FFFFH SFD351=6464H SFD352=1100H SFD353=1100H

2-5.Exterior connection

Notes:
 When connect external+24V power, please use the 24V power of PLC to avoid interference.
 To avoid interference, please use shield cable and single point ground for the shield layer.
Voltage input:

VI2-
VI2+
VI0+

VI3-
VI1+

VI3+
VI0-

VI1-

24V- C0 C1 C2 C3
24V+ VI0 VI1 VI2 VI3

Current input:
AI0 AI1 AI2 AI3
C0 C1 C2 C3
AI3+
AI3-
AI0-

AI2+
AI2-
AI1-
AI1+
AI0+

XD-E8AD current input wiring:

External current
device
2-6. AD conversion diagram

The relationship between analog value and digital value is shown as the following diagram:

Channel 0 ~ Channel 3 voltage mode:


0~5V analog input 0~10V analog input

+16383 +16383

digital
digital

0 5v 0 10v
analog analog

Channel 4 ~ Channel 7 current mode:


0~20mA analog input 4~20mA analog input

+16383 +16383
digital

digital

0 20mA 0 4mA
analog
20mA
analog

2-7. Program application

Real-time read the data of the 8 channels (module no.1)


SM0 MOV ID10000
D0
MOV ID10001
D1
MOV ID10002
D2
MOV ID10003
D3
MOV ID10004
D4
MOV ID10005
D5
MOV ID10006
D6
MOV ID10007
D7
MSET Y10000
Y10003

Explanation:
SM0 is always ON coil.
PLC is running. PLC keeps on writing channel 0 data to D0, channel 1 data to D1, channel 2 data to D2,
channel 3 data to D3, channel 4 data to D4, channel 5 data to D5, channel 6 data to D6, channel 7 data to D7.
Set ON all the channels enable bits.
3. Analog input/output module XD-E4AD2DA

3-1. Specification

XD-E4AD2DA transform the 4 channels analog value to digital value, 2 channels digital value to analog value,
and send them to PLC.

 4 channels 14 bits analog input and 2


24V- C0 AO0 C1 AO1
24V+ VO0 VO1
channels 12 bits analog output
 4 channels selectable voltage 0~5V,
AO 0~10V, current 0~20mA, 4~20mA
input and 2 channels selectable
AI
voltage 0~5V, 0~10V, current
0~20mA, 4~20mA output.
C0
VI0
AI0
C1
VI1
AI1
C2
VI2
AI2
C3
VI3
AI3  Up to 10 expansion modules can be
connected to XD3.
 Up to 16 expansion modules can be
connected to XDM.

Items Analog input (AD) Analog output (DA)


Voltage input Current input Voltage output Current output
Analog input bound 0~5V, 0~10V 0~20mA, 4~20mA -
Max input bound DC ±15V 0~40mA -
0~5V, 0~10V 0~20mA, 4~20mA
(Exterior load (Exterior load
Analog output bound -
resistance resistance is less
2KΩ~1MΩ) than 500Ω)
Digital input bound - 12 bits binary data(0~4095)
Digital output bound 14 bits binary data (0~16383) -
Distinguish ratio 1/16383(14Bit) 1/4095(12Bit)
PID control value 0~4095 -
Integrate precision 1%
Convert speed 2ms per channel 2ms per channel
Power used by analog DC24V±10%,150mA
Install format Fixed with M3 screws or directly installed on orbit of DIN46277 (Width: 35mm)
Exterior size 63mm×108mm×79.9mm
3-2. Terminals

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3

Channel Terminal name Signal name


AI0 Current input
CH0 VI0 Voltage input
C0 CH0 common terminal of analog input
AI1 Current input
CH1 VI1 Voltage input
C1 CH1 common terminal of analog input
AI2 Current input
CH2 VI2 Voltage input
C2 CH2 common terminal of analog input
AI3 Current input
CH3 VI3 Voltage input
C3 CH3 common terminal of analog input
AO0 Current output
CH0 VO0 Voltage output
C0 CH0 common terminal of analog output
AO1 Current output
CH1 VO1 Voltage output
C1 CH1 common terminal of analog output
24V+ +24V power supply
- 24V- Common terminal of power supply

3-3. The assignment of I/O address

XD series analog modules do not occupy I/O units; the converted data is directly transferred into PLC register,
Register address of module1:

Channel enable bit


Channel AD signal
(set ON the bit to use this channel)

0CH ID10000 Y10000


1CH ID10001 Y10001
2CH ID10002 Y10002
3CH ID10003 Y10003
Channel DA signal
0CH QD10000 Y10004
1CH QD10001 Y10005

Register address of module2:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10100 Y10100
1CH ID10101 Y10101
2CH ID10102 Y10102
3CH ID10103 Y10103
Channel DA signal
0CH QD10100 Y10104
1CH QD10101 Y10105

Register address of module3:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10200 Y10200
1CH ID10201 Y10201
2CH ID10202 Y10202
3CH ID10203 Y10203
Channel DA signal
0CH QD10200 Y10204
1CH QD10201 Y10205

Register address of module4:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10300 Y10300
1CH ID10301 Y10301
2CH ID10302 Y10302
3CH ID10303 Y10303
Channel DA signal
0CH QD10300 Y10304
1CH QD10301 Y10305
Register address of module5:
Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10400 Y10400
1CH ID10401 Y10401
2CH ID10402 Y10402
3CH ID10403 Y10403
Channel DA signal
0CH QD10400 Y10404
1CH QD10401 Y10405

Register address of module6:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10500 Y10500
1CH ID10501 Y10501
2CH ID10502 Y10502
3CH ID10503 Y10503
Channel DA signal
0CH QD10500 Y10504
1CH QD10501 Y10505

Register address of module7:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10600 Y10600
1CH ID10601 Y10601
2CH ID10602 Y10602
3CH ID10603 Y10603
Channel DA signal
0CH QD10600 Y10604
1CH QD10601 Y10605

Register address of module8:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10700 Y10700
1CH ID10701 Y10701
2CH ID10702 Y10702
3CH ID10703 Y10703
Channel DA signal
0CH QD10700 Y10704
1CH QD10701 Y10705

Register address of module9:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10800 Y11000
1CH ID10801 Y11001
2CH ID10802 Y11002
3CH ID10803 Y11003
Channel DA signal
0CH QD10800 Y11004
1CH QD10801 Y11005

Register address of module10:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10900 Y11100
1CH ID10901 Y11101
2CH ID10902 Y11102
3CH ID10903 Y11103
Channel DA signal
0CH QD10900 Y11104
1CH QD10901 Y11105

Register address of module11:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11000 Y11200
1CH ID11001 Y11201
2CH ID11002 Y11202
3CH ID11003 Y11203
Channel DA signal
0CH QD11000 Y11204
1CH QD11001 Y11205

Register address of module12:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11100 Y11300
1CH ID11101 Y11301
2CH ID11102 Y11302
3CH ID11103 Y11303
Channel DA signal
0CH QD11100 Y11304
1CH QD11101 Y11305

Register address of module13:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11200 Y11400
1CH ID11201 Y11401
2CH ID11202 Y11402
3CH ID11203 Y11403
Channel DA signal
0CH QD11200 Y11404
1CH QD11201 Y11405

Register address of module14:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11300 Y11500
1CH ID11301 Y11501
2CH ID11302 Y11502
3CH ID11303 Y11503
Channel DA signal
0CH QD11300 Y11504
1CH QD11301 Y11505

Register address of module15:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11400 Y11600
1CH ID11401 Y11601
2CH ID11402 Y11602
3CH ID11403 Y11603
Channel DA signal
0CH QD11400 Y11604
1CH QD11401 Y11605

Register address of module16:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11500 Y11700
1CH ID11501 Y11701
2CH ID11502 Y11702
3CH ID11503 Y11703
Channel DA signal
0CH QD11500 Y11704
1CH QD11501 Y11705

Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the input channel, this channel will not accept the data. (the data display is
0).
3. If set off the enable bit of the output channel, this channel will keep the data.
3-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings.
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Note: first-order low-pass filter will weighted present sampling value with last time filter output to get the final
filter value. The filter factor range is 1 to 255, the default value is 255 which means no filter.

Flash registers:
The module has current and voltage mode. Current has choices of 0~20mA, 4~20mA; voltage has choices of
0~5V, 0~10V. These parameters can be set through SFD registers.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479


#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

Note: As shown in the preceding table, every register set 4 channels mode, each register has 16 bits, from low
to high, every 4 bits set 1 channel mode.

SFD register bit definition:


Module no.1:
Explanation
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

Byte0 AD channel 1, channel 2 filter time


AD filter time
Byte1 AD channel 3, channel 4 filter time
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 To define the AD
AD2 AD1 and DA input
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V range. Byte2 low
Byte2
input 1:0~5V input 1:0~5V 4 bits are AD
1: current 0:0~20mA 1: current 0:0~20mA channel 1, high 4
input 1:4~20mA input 1:4~20mA bits are AD
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 channel 2.
AD4 AD3 Byte3 low 4 bits
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V are AD channel
Byte3 3, high 4 bits are
input 1:0~5V input 1:0~5V
1: current 0:0~20mA 1: current 0:0~20mA AD channel 4.
input 1:4~20mA input 1:4~20mA Byte4 low 4 bits
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 are DA channel
DA2 DA1 1, high 4 bits are
DA channel 2.
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V
Byte4
output 1:0~5V output 1:0~5V
1: current 0:0~20mA 1: current 0:0~20mA
output 1:4~20mA output 1:4~20mA
Byte5 -
~
Byte19

For example:
Set the module no.1 AD channel 3, 2, 1, 0 working mode to 0~20mA, 4~20mA, 0~10V, 0~5V. Set the
channel 1 and 2 filter factor to 255, set the channel 3 and 4 filter factor to 100. Set DA channel 1 and 0
working mode to 0~10V, 0~20mA.
So the SFD register values are:
SFD350=FFH SFD351=64H SFD352=1H SFD353=23H SFD354=2H

3-5.Exterior connection

When make exterior connection, please read the following items:


 When connect+24V power, please choose 24V power of PLC to avoid interference.
 To avoid interference, please use shield cable and single point ground for the shield layer.

Voltage input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3
VI1+
VI1-
VI0-
VI0+

VI3-
VI2-
VI2+

VI3+

OCH 1CH 2CH 3CH

Voltage output

0CH 1CH
VO0+
VO0-

VO1+

24V 0V
VO1-

24V- C0 AO0 C1 AO1


24V+ VO0 VO1
Current input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3

AI1+
AI1-
AI0-

AI0+

AI3-
AI2-

AI2+

OCH 1CH 2CH 3CH AI3+

Current output
0CH 1CH
24V 0V
AO1+
AO1-
AO0-

AO0+

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

XD-E4AD2DA current output wiring:


i AO_+

R<500Ω

C_

XD-E4AD2DA current input wiring:

External
current
device
3-6. AD conversion diagram

The relationship between analog input and corresponding digital value:


0~5V analog input 0~10V analog input

+16383 +16383
digital

digital
0 5v 0 10v
analog analog

0~20mA analog input 4~20mA analog input

+16383 +16383
digital

dgital

0 20mA 0 4mA 20mA


analog analog

The relationship between input digital value and corresponding analog value:
0~5V analog output 0~10V analog output

5v 10v
analog

analog

0 +4095 0 +4095
digital
digital

0~20mA analog output 4~20mA analog output


20mA 20mA

analog
analog

4mA
0 +4095 0 +4095
digital digital

Note: When input data exceeds 4095, analog output will keep the max value of 5V, 10V or 20mA.

3-7. Programming

Example Real time read 4 channels data, write 2 channels data (take module no. 1 as an example)

SM0
MOV ID10000 D0 Write channel0 data into data register D0

MOV ID10001 D1
Write channel1 data into data register D1
MOV ID10002 D2
Write channel2 data into data register D2
MOV ID10003 D3

MOV D10 QD10000 Write channel3 data into data register D3

MOV D11 QD10001


Send the value of D10 to channel 0
MSET Y10000 Y10005
Send the value of D11 to channel 1
Set ON all the channel enable bits
4. Analog Input Module XD-E4AD

4-1. Specifications

XD-E4AD transform the analog input (current or voltage) to digital value and send to PLC register.

 4 channels 14 bits analog input:


voltage (0~5V, 0~10V), current
24V-
24V+
(0~20mA, 4~20mA) for choice
 14 bits high precision analog input
AO  up to 10 modules can be connected
to the XD3 PLC

AI
up to 16 modules can be connected
to the XDM PLC
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3

ITEMS Analog Input (AD)

Voltage Input Current Input


Analog Input Range 0~5V, 0~10V 0~20mA, 4~20mA
Maximum Input Range DC ±15V 0~40mA
Digital Output Range 14 bits binary (0~16383)
Resolution 1/16383(14Bit)
Synthesis Precision 1%
Conversion Speed 2ms per channel
Power Supply DC24V±10%,150mA
Installation Fix with M3 screw or install on DIN46277 guilder (Width: 35mm) directly
Dimension 63mm×108mm×79.9mm

4-2. Terminals

24V-
24V+
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
Channel Terminal name Signal name
AI0 Current input
CH0 VI0 Voltage input
C0 CH0 common terminal
AI1 Current input
CH1 VI1 Voltage input
C1 CH1 common terminal
AI2 Current input
CH2 VI2 Voltage input
C2 CH2 common terminal
AI3 Current input
CH3 VI3 Voltage input
C3 CH3 common terminal
24V+ +24V power supply
- 24V- Common terminal of power supply

4-3. I/O address assignment

XD series expansions do not occupy I/O units; the converted value is sent to PLC register directly.

Expansion module 1 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10000 Y10000


1CH ID10001 Y10001
2CH ID10002 Y10002

3CH ID10003 Y10003

Expansion module 2 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10100 Y10100


1CH ID10101 Y10101
2CH ID10102 Y10102
3CH ID10103 Y10103

Expansion module 3 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10200 Y10200


1CH ID10201 Y10201
2CH ID10202 Y10202
3CH ID10203 Y10203

Expansion module 4 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10300 Y10300


1CH ID10301 Y10301
2CH ID10302 Y10302
3CH ID10303 Y10303

Expansion module 5 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10400 Y10400


1CH ID10401 Y10401
2CH ID10402 Y10402
3CH ID10403 Y10403

Expansion module 6 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10500 Y10500


1CH ID10501 Y10501
2CH ID10502 Y10502
3CH ID10503 Y10503
Expansion module 7 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10600 Y10600


1CH ID10601 Y10601
2CH ID10602 Y10602
3CH ID10603 Y10603

Expansion module 8 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10700 Y10700


1CH ID10701 Y10701
2CH ID10702 Y10702
3CH ID10703 Y10703

Expansion module 9 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10800 Y11000


1CH ID10801 Y11001
2CH ID10802 Y11002
3CH ID10803 Y11003

Expansion module 10 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID10900 Y11100


1CH ID10901 Y11101
2CH ID10902 Y11102
3CH ID10903 Y11103
Expansion module 11 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11000 Y11200


1CH ID11001 Y11201
2CH ID11002 Y11202
3CH ID11003 Y11203

Expansion module 12 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11100 Y11300


1CH ID11101 Y11301
2CH ID11102 Y11302
3CH ID11103 Y11303

Expansion module 13 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11200 Y11400


1CH ID11201 Y11401
2CH ID11202 Y11402
3CH ID11203 Y11403

Expansion module 14 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11300 Y11500


1CH ID11301 Y11501
2CH ID11302 Y11502
3CH ID11303 Y11503
Expansion module 15 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11400 Y11600


1CH ID11401 Y11601
2CH ID11402 Y11602
3CH ID11403 Y11603

Expansion module 16 address

Channel enable bit


Channel AD signal
(set ON the enable bit to use this channel)

0CH ID11500 Y11700


1CH ID11501 Y11701
2CH ID11502 Y11702
3CH ID11503 Y11703
Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the input channel, this channel will not accept the data. (the data display is
0).

4-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.
Note: first-order low-pass filter will weighted present sampling value with last time filter output to get the final
filter value. The filter factor range is 1 to 255, the default value is 255 which means no filter.

Flash registers:
The working mode can be voltage 0~5V, 0~10V or current 0~20mA, 4~20mA, set through SFD registers of
PLC:

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

Note: As shown in the preceding table, every register set 4 channels mode, each register has 16 bits, from low
to high, and every 4 bits set 1 channel mode.
We take module 1 as an example to show how to set:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
Byte0
AD channel 1, channel 2 filter time AD filter
Byte1 AD channel 3, channel 4 filter time time
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 To define
AD2 AD1 the AD
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V input range.
Byte2
input 1:0~5V input 1:0~5V Byte2 low
1: current 0:0~20mA 1: current 0:0~20mA 4 bits are
input 1:4~20mA input 1:4~20mA AD channel
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 1, high 4
AD4 AD3 bits are AD
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V channel 2.
Byte3 Byte3 low
input 1:0~5V input 1:0~5V
1: current 0:0~20mA 1: current 0:0~20mA 4 bits are
input 1:4~20mA input 1:4~20mA AD channel
Byte4 - 3, high 4
~ bits are AD
Byte19 channel 4.

For example:
Set module no. 1 channel 3, 2, 1, 0 working mode to 0~20mA, 4~20mA, 0~10V, 0~5V. Set channel 1 and
channel 2 filter factor to 255, set channel 3 and channel 4 filter factor to 100.
So the SFD values are:
SFD350=FFH SFD351=64H SFD352=1H SFD353=23H

4-5. Exterior connection

When make external connection, please note the following items:


 When connect external 24V power, please choose 24V power of PLC to avoid interference.
 To avoid interference, please use shield cable and single-point ground with the shield layer.
Voltage input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3

VI1+
VI1-
VI0-
VI0+

VI3-
VI2-
VI2+

VI3+
OCH 1CH 2CH 3CH

Current input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3
AI1+
AI1-
AI0-

AI0+

AI3-
AI2-

AI2+

AI3+

OCH 1CH 2CH 3CH

XD-E4AD current input wiring:

i
External
current
device
4-6. AD conversion diagram

The relationship between analog input and converted digital value is shown in the following chart:
0~5V analog input 0~10V analog input

+16383 +16383
digital

digital
0 5v 0 10v
analog analog

0~20mA analog input 4~20mA analog input

+16383 +16383
digital

digital

0 20mA 0 4mA 20mA


analog analog

4-7. Programming

Example Real-time read the 4 channels data (take expansion 1 as an example)

SM0
MOV ID10000 D0

MOV ID10001 D1

MOV ID10002 D2

MOV ID10003 D3

MSET Y10000 Y10003

Explanation:
SM0 is always ON coil, it is ON when PLC is running.
Send channel 0 data to PLC register D0,
Send channel 1 data to PLC register D1,
Send channel 2 data to PLC register D2,
Send channel 3 data to PLC register D3.
Set ON all the channel enable bits.

5. Analog output module XD-E2DA

5-1. Specifications

XD-E2DA transform 12 bits digital value to current or voltage output.

24V+
24V- COM0
Y0
C0M1
Y1
COM2
Y2
Y3
Y4
Y5
● 12 bits high precision analog
0 1 2 3
output
4 5
● 2 channels voltage (0~5V/0
Y

~10V), current (0~20mA/4


AI
~20 mA) output for choice.
● Up to 10 modules can be
connected to the XD3 PLC

A0 A1 A2 A3 A4 A5
C0 C1 C2 C3 C4 C5
Up to 16 modules can be
connected to XDM PLC

Items Voltage output Current output


Analog output DC 0 to 5V, 0 to 10V DC 0 to 20mA, 4 to 20mA
(external load resistor (external load resistor is less
2KΩ~1MΩ) than 500Ω)
Digital input 12 bits binary value (0~4095)
Resolution 1/4095(12 bit)
General precision 1%
Conversion speed 2ms per channel
Power supply for analog using DC24V±10%,150mA
Installation Fix with M3 screws or install on DIN46277 (width: 35)
leader directly
Dimension 63mm×108mm×79.9mm
5-2. Terminals

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

Channel Terminal name Signal name


AO0 Current output
CH0 VO0 Voltage output
C0 CH0 common terminal
AO1 Current output
VO1 Voltage output
CH1
C1 CH1 common terminal
24V+ +24V power supply
- 24V- Common terminal of power supply

5-3. I/O address assignment

XD series analog modules don’t occupy I/O units, the converted value is sent to PLC register directly.
The PLC registers are shown as the following:
Expansion module no.1
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10000 Y10000
1CH QD10001 Y10001

Expansion module no.2


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10100 Y10100
1CH QD10101 Y10101

Expansion module no.3


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10200 Y10200
1CH QD10201 Y10201
Expansion module no.4
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10300 Y10300
1CH QD10301 Y10301

Expansion module no.5


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10400 Y10400
1CH QD10401 Y10401

Expansion module no.6


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10500 Y10500
1CH QD10501 Y10501

Expansion module no.7


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10600 Y10600
1CH QD10601 Y10601

Expansion module no.8


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10700 Y10700
1CH QD10701 Y10701

Expansion module no.9


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10800 Y11000
1CH QD10801 Y11001
Expansion module no.10
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10900 Y11100
1CH QD10901 Y11101

Expansion module no.11


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11000 Y11200
1CH QD11001 Y11201

Expansion module no.12


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11100 Y11300
1CH QD11101 Y11301

Expansion module no.13


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11200 Y11400
1CH QD11201 Y11401

Expansion module no.14


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11300 Y11500
1CH QD11301 Y11501

Expansion module no.15


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11400 Y11600
1CH QD11401 Y11601
Expansion module no.16
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11500 Y11700
1CH QD11501 Y11701
Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the output channel, this channel will keep the present value.

5-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Note: first-order low-pass filter will weighted present sampling value with last time filter output to get the final
filter value. The filter factor range is 1 to 255, the default value is 255 which means no filter.

Flash registers:
The module output has voltage 0 ~ 5V, 0 ~ 10V, current 0 ~ 20mA, 4 ~ 20mA, set the modes through the PLC
FLASH registers SFD.
Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD bit definition:


Expansion module no.1:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
DA2 DA1 To define the DA output
Byte0 - - 0: 0: - - 0: 0:0~10V range. Byte0 low 4 bits are
voltage 0~10V voltage 1:0~5V DA channel 1, high 4 bits
output 1:0~5V output 0:0~20mA are DA channel 2.
1: 0: 1: 1:4~20mA
current 0~20mA current
output 1: output
4~20mA
Byte1
~ -
Byte19
For example:
Set channel 1 and channel 0 working mode to 0~10V, 0~20mA.
The SFD values are: SFD350=2H.
5-5. External connection

When make external connection, please note the following items:


● When connect to external +24V power supply, please use 24V power supply of PLC to avoid interference.
● To avoid interference, please use shield cable, and single-point ground with the shield layer.

Voltage output:

0CH 1CH
VO0+
VO0-

VO1+
24V 0V
VO1-

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

Current output:
0CH 1CH
24V 0V
AO1+
AO1-
AO0-

AO0+

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

XD-E2DA current output wiring:


i AO_+

R<500Ω

C_
5-6. DA conversion diagram

The relationship between digital input value and analog output value is shown as below:
When the input value is larger than 4095, D/A converted analog value will remain 5V, 10V or 20mA.
0~5V analog output 0~10V analog output

5v
10v
analog

analog
0 +4095 0 +4095
digital digital

0~20mA analog output 4~20mA analog output

20mA 20mA
analog
analog

4mA
0 +4095 0 +4095
digital digital

5-7. Programming

Real-time write data to 2 channels (take expansion module no.1 as an example)

SM0
MOV D10 QD10000 Write the value of D10 to channel 0

MOV D11 QD10001 Write the value of D11 to channel 1

MSET Y10000 Y10001 Set ON all the channel enable bits.


6. 1 channel pressure module XD-E1WT-A

6-1. Features

XD-E1WT-A is the expansion module of XD series PLC. It can test the voltage in the range of
0mV~39.06mV or the voltage signal from pressure sensor. Then it can transform the voltage to digital value
through A/D transformation and do calculation.

24V-
24V+

 1 channels pressure sensor voltage signal input


 Test voltage signal in the range of 0~39.06mV
 24-bit A/D transformation
 XD3 series PLC can connect 10 XD-E1WT-A modules
AI

 XDM series PLC can connect 16 XD-E1WT-A modules

EXC1- SIG1- SEN1+


EXC1+ SIG1+ SEN1-

Input range DC 0~39.06mV


Resolution 1/8388608 (24Bit)
Integrated precision 0.1%
Transformation speed 0-250 times/second
Power supply DC24V±10%, 100mA
Sensor power supply 5VDC/120mA, can parallel 4 pieces of 350Ω pressure sensor
Installation Mount on DIN46277 rail (width 35mm) or fix with screw M3
Dimension 63mm×108mm×79.9mm
Working environment No corrosive gas
Ambient temperature 0℃~60℃
Humidity 5~95%
Software version V3.2 and higher version
6-2. Terminals

24V-
24V+
EXC1- SIG1- SEN1-
EXC1+ SIG1+ SEN1+ SH1

Channel Terminal Signal Meaning

EXC1+ Pressure sensor power supply + Connect to sensor power


EXC1- Pressure sensor power supply - supply input

SIG1+ Signal input + Connect to sensor signal


CH1 SIG1- Signal input - output
SEN1+ Feedback voltage + Power supply voltage
SEN1- Feedback voltage - feedback signal
SH1 Shield cable
24V+ +24V power supply
Module power supply
24V- Common terminal

6-3. External connection

Notes:
1. Please use the 24V power supply on the PLC to avoid interference.
2. Please use shield cable and single-point ground.

Power supply wiring:


External power
supply

24V-
24V+
Connect to the pressure sensor:
6 wires mode:

4 wires mode:

6-4. Weighing system

A typical weighing system:

Loading bearing part: to support the load. Such as flat, hopper, container, air transport car…
Pressure sensor: transform the weight to voltage signal.
Assembly part: make sure the pressure sensor can work correctly, assembly part and direct part can avoid
overload. Overload will cause measurement error and sensor damage.
Connection box (JB): to collect several sensor signals.
XD-E1WT-A: can be used as an electronic assessment device, it gets the pressure sensor signal and makes
further assessment.

6-5. Module functions

XD-E1WT has the follow functions:


 Adjust the pressure sensor
 Collect the pressure sensor signal
 Calculate the weight value
 0~39.06mV voltage signal test

6-5-1. Pressure sensor


The pressure sensor is based on resistance strain effect, see the following diagram:

U+

r1 R3

S- E
S+ Uo

R4
r2

U-

R1 and R2 is strain resistor which make bridge circuit with R3 and R4. With the change of R1 and R2, the
bridge circuit will lose the balance, unbalance voltage Uo will be produced as the output of sensor.
U+ and U- are positive and negative point of the sensor power supply. Please select the 5V power of the
module or from outside.
S+ and S- are positive and negative point of the sensor output. Connect the output to the module to test the
weight.

6-6. I/O address

Expansion module no.1 register address:


Soft component Channel address Explanation Mark
Output coil CH1 Y10000 Fast sampling enable, ON is fast sampling, OFF is slow
sampling
Y10001 Write in user-defined parameter
Y10002 Set to zero
Y10003 Calibration/resonance measurement
Input coil CH1 X10000 CH1 resonance frequency measurement complete flag
Input register ID10000 Present digital value dword
CH1
ID10002 Present weight dword

Expansion module no.2 register address:


Soft component Channel Address Explanation Mark
Output coil Y10100 Fast sampling enable, ON is fast sampling, OFF is slow
sampling
CH1 Y10101 Write in user-defined parameter
Y10102 Set to zero
Y10103 Calibration/resonance measurement
Input coil CH1 X10100 CH1 resonance frequency measurement complete flag
Input register ID10100 Present digital value dword
CH1
ID10102 Present weight dword

………….

Expansion module no.16 register address:


Soft component Channel Address Explanation Mark
Output coil Y11500 Fast sampling enable, ON is fast sampling, OFF is slow
sampling
CH1 Y11501 Write in user-defined parameter
Y11502 Set to zero
Y11503 Calibration/resonance measurement
Input coil CH1 X11500 CH1 resonance frequency measurement complete flag
Input register ID11500 Present digital value dword
CH1
ID11502 Present weight dword

6-7. Working mode

There are two modes to set the working mode:


1. set through the control panel
2. set through the Flash register
Open the PLC software, click configure/expansion module settings:
Choose suitable model information:

Flash register setting:


The expansion module can set gear and user-defined fast sampling frequency through the PLC internal flash
register SFD.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489


#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD350~SFD359 register explanation:

SFD Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

SFD350 CH1
Byte0
enable
Byte1 CH1 fast sampling gear (0-15)
SFD351 Byte2
Byte3 CH1 user-defined fast sampling speed (Hz) (10-255)
SFD352 Byte4
Byte5 Slow
SFD353 Byte6 sampling
Byte7 default
SFD354 Byte8 speed is
Byte9 5Hz, fast
SFD355 Byte10 sampling has
Byte11 15
SFD356 Byte12 user-defined
Byte13 speed gears
SFD357 Byte14
Byte15
SFD358 Byte16
Byte17
SFD359 Byte18
Byte19

6-8. Module setting

Take module no.1 as an example:


Weight unit setting:
Write in weight through instruction TO. For example, the object weight is 1kg, write in 1 means the unit is kg,
write in 1000 means the unit is g, write in 10000 means the unit is 0.1g.

Sampling frequency:
Sampling frequency includes fast sampling and slow sampling. The two states can be switched through
Y10003. The default frequency of slow sampling is 5Hz. The fast sampling has 15 gears which can be selected
in PLC expansion module configuration table. Each gear from 0 to 14 has different sampling frequency and
filter parameters. User can choose suitable gear as actual needs, please refer to default gear parameter table.
Gear 15 is user-defined mode, it can set the sampling frequency and filter parameter by user. User can set the
fast sampling frequency (this parameter is invalid for other gears) by software and set the filter parameter by
instruction FROM and TO.

Resonance frequency measurement:


1. resonance frequency is the fixed vibration interference generated by machine, it will be tested when
installing the machine at the beginning.
2. repower on the module or write in 0 for the weight by instruction FROM and TO.
3. switch to fast sampling mode (Y10000 is ON), set on Y10003. The module will enter resonance frequency
measurement. Then set OFF Y10003. X10000 will be ON when the measurement completed. The result will
be automatic saved in the module. (it is necessary to test the resonance frequency in fast sampling mode)

Calibration:
Please calibrate the pressure sensor for the first time using.
Take module channel 1 as an example:
1. make sure the module connected to the weighting system. Please check if the value in ID10000
fluctuated(the fluctuation range is related to sensor range), the pressure value is increasing as the load
increasing. If ID10000 has no value, please check the sensor wiring. If the pressure value is decreasing as the
load increasing, the sensor positive and negative point may connect backward.
2. close fast sampling enable bit Y10000 before calibration.
3. make the pressure sensor without load, set to zero after the scale is stable, set ON Y10002(set to zero enable
bit).
4. put the load on the scale, write in the load weight by instruction TO, calibrate the system after the scale is
stable, set ON Y10003(calibration enable bit). The calibration completed when ID10002 is same to the load
weight, set OFF Y10003.
5. Hereto, the calibration finished. The module will automatic adjust the result according to the idle load value
and calibration value when weighing, and finally get the correct weight.

Default gear parameter:


Speed gear Fast Fast Kalman IIR IIR Lowpass
sampling sampling filter depth bandwidth attenuation cut-off
speed (Hz) filter width coefficient ratio frequency
coeffcicent
0 60 5 30 10 10 10
1 80 5 40 10 10 10
2 100 10 50 10 10 10
3 120 10 60 10 10 10
4 140 15 70 10 10 15
5 160 15 80 10 10 15
6 180 20 90 10 10 15
7 200 20 100 10 10 15
8 220 25 110 10 10 15
9 240 25 120 10 10 15
10 250 25 125 10 10 15
11 250 25 125 10 10 15
12 250 25 125 10 10 15
13 250 25 125 10 10 15
14 255 25 125 10 10 15

6-9. Instruction FROM and TO

Write instruction TO
S1 S2 S3 D1
M1
TO K0 K0 K2 K0

Function: write the PLC register data to module specified address, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: write in register quantity. Operand: K, TD, CD, D, FD.
D1: write in data first address in PLC.

Read instruction FROM


S1 S2 S3 D1
M1
FROM K0 K0 K2 K0

Function: read the module data to PLC register, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: read register quantity. operand: K, TD, CD, D, FD.
D1: PLC register first address.

Module parameter internal address:


From/ToData
K0 CH1 calibration weight Dword
K2 CH1 fast sampling filter width Word
K3 CH1 filter depth Word
K4 CH1 bandwidth coefficient Word
K5 CH1 attenuation coefficient Word
K6 CH1 low pass cutoff frequency Word
K7 CH1 resonance frequency (0.1HZ) Word
Parameter explanation:
1. calibration weight: write in weight when calibrating
2. fast sampling filter width: the average times of fast sampling filter
3. attenuation coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
4. bandwidth coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
5. resonance frequency: the scale has natural frequency, this frequency can be known by internal measurement.
The more accurate of the frequency, the better the filtering effect.
6. Filter depth: the larger the data, more stable the system, the lower the sensitivity.

6-10. A/D transformation diagram

The relationship between input voltage value and A/D transformed digital value:
0~39.06mV voltage input

6-11. Application program

Take module 1 channel 1 as an example:


M11
OUT Y10002
Set to zero Channel 1 reset
M0
SBLOCK Block 1
write in channel 1 weight
TO K0 K0 K2 HD0
HD0:weight input

SBLOCK

Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration

RST M0

M90 Channel 1 weight


OUT Y10000
Open fast sampling Channel 1 fast sampling enable

Explanation:
Reset through Y10002.
Write in the load weight through TO instruction. First store the weight value in HD0, set ON M1, write the
value of HD0 to module 1 channel 1.
Calibrate through Y10003. The calibration is finished when the weight value is equal to the weight display
value.
Switch the slow/fast sampling through Y10000.
Y10000 open, channel 1 will collect data with fast sampling frequency.
Y10000 close, channel 1 will collect data with slow sampling frequency.
7. 2 channels pressure module XD-E2WT-A

7-1. Features

XD-E2WT-A is the expansion module of XD series PLC. It can test the voltage in the range of 0mV~39.06mV
or the voltage signal from pressure sensor. Then it can transform the voltage to digital value through A/D
transformation and do calculation.

24V-
24V+

 2 channels pressure sensor voltage signal input


 Test voltage signal in the range of 0~39.06mV
 24-bit A/D transformation
 XD3 series PLC can connect 10 XD-E2WT-A modules
AI

 XDM series PLC can connect 16 XD-E2WT-A modules

EXC1- SIG1- SEN1+


EXC1+ SIG1+ SEN1-

Input range DC 0~39.06mV


Resolution 1/8388608 (24Bit)
Integrated precision 0.1%

Transformation speed 0-250 times/second

Power supply DC24V±10%, 100mA


Sensor power supply 5VDC/120mA, can parallel 4 pieces of 350Ω pressure sensor
Installation Mount on DIN46277 rail (width 35mm) or fix with screw M3

Dimension 63mm×108mm×79.9mm

Working environment No corrosive gas


Ambient temperature 0℃~60℃
Humidity 5~95%
Software version V3.2 and higher version
7-2. Terminals

24V-
24V+
EXC1- SIG1- SEN1- SIG2- SEN2-
EXC1+ SIG1+ SEN1+ SIG2+ SEN2+ SH1

Channel Terminal Signal Meaning

EXC1+ Excitation+
Connect to sensor power supply input
EXC1- Excitation-
SIG1+ Signal +
Connect to sensor signal output
SIG1- Signal -
CH1
SEN1+ Feedback + Connect to sensor feedback voltage
SEN1- Feedback - output
SH1 Shield Connect to sensor ground
EXC2+ Excitation+
Connect to sensor power supply input
EXC2- Excitation-
SIG2+ Signal +
Connect to sensor signal output
SIG2- Signal -
CH2
SEN2+ Feedback + Connect to sensor feedback voltage
SEN2- Feedback - output
SH2 Shield Connect to sensor ground
24V +24V power supply
Module power supply
0V Common terminal

7-3. External connection

For external connection, please note the following cases:


 Please use the 24V power supply on the PLC to avoid interference.
 Please use shield cable and single-point connect to the ground.
Power supply wiring

External power
supply

24V-
24V+

Connect to sensor

6 wires sensor:
4 wires sensor:

Notes: if the sensor is 4 wires mode, please connect EXC1- and SEN1-, EXC1+ and SEN1+.

7-4. Weighing system

A typical weighing system:

Loading bearing part: to support the load. Such as flat, hopper, container, air transport car…
Pressure sensor: transform the weight to voltage signal.
Assembly part: make sure the pressure sensor can work correctly, assembly part and direct part can avoid
overload. Overload will cause measurement error and sensor damage.
Connection box (JB): to collect several sensor signals.
XD-E2WT: can be used as an electronic assessment device, it gets the pressure sensor signal and makes
further assessment.

7-5. Module functions

XD-E2WT-A has the follow functions:


 Adjust the pressure sensor
 Collect the pressure sensor signal
 Calculate the weight value
 0~39.06mV voltage signal test
7-5-1. Pressure sensor
The pressure sensor is based on resistance strain effect, see the following diagram:

U+

r1 R3

S- E
S+ Uo

R4
r2

U-

R1 and R2 is strain resistor which make bridge circuit with R3 and R4. With the change of R1 and R2, the
bridge circuit will lose the balance, unbalance voltage Uo will be produced as the output of sensor.
U+ and U- are positive and negative point of the sensor power supply. Please select the 5V power of the
module or from outside.
S+ and S- are positive and negative point of the sensor output. Connect the output to the module to test the
weight.

7-6. I/O address

Expansion module no.1 register address

Soft component Address Explanation Mark


Output coil Y10000 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH1 Y10001 Write in user-defined parameters
Y10002 Reset
Y10003 Calibration/resonance measurement
Y10004 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH2 Y10005 Write in user-defined parameters
Y10006 Reset
Y10007 Calibration/resonance measurement
Input coil X10000 CH1 resonance frequency measurement complete
CH1
flag
X10001 CH2 resonance frequency measurement complete
CH2
flag
Input register ID10000 Present digital value Dword
CH1
ID10002 Present weight Dword
ID10004 Present digital value Dword
CH2
ID10006 Present weight Dword

Expansion module no.2 register address

Soft component Address Explanation Mark


Output coil Y10100 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH1 Y10101 Write in user-defined parameters
Y10102 Reset
Y10103 Calibration/resonance measurement
Y10104 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH2 Y10105 Write in user-defined parameters
Y10106 Reset
Y10107 Calibration/resonance measurement
Input coil X10100 CH1 resonance frequency measurement complete
CH1
flag
X10101 CH2 resonance frequency measurement complete
CH2
flag
Input register ID10100 Present digital value Dword
CH1
ID10102 Present weight Dword
ID10104 Present digital value Dword
CH2
ID10106 Present weight Dword

……………..

Expansion module no.16 register address

Soft component Address Explanation Mark


Output coil Y11500 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH1 Y11501 Write in user-defined parameters
Y11502 Reset
Y11503 Calibration/resonance measurement
Y11504 Fast sampling enable , ON is fast sampling, OFF
is slow sampling
CH2 Y11505 Write in user-defined parameters
Y11506 Reset
Y11507 Calibration/resonance measurement
Input coil X11500 CH1 resonance frequency measurement complete
CH1
flag
X11501 CH2 resonance frequency measurement complete
CH2
flag
Input register ID11500 Present digital value Dword
CH1
ID11502 Present weight Dword
ID11504 Present digital value Dword
CH2
ID11506 Present weight Dword

7-7. Working mode

There are two modes to set the working mode:


1. set through the control panel
2. set through the Flash register
Open the PLC software, click configure/expansion module settings:

Choose suitable model information:

Flash register setting:


The expansion module can set gear and user-defined fast sampling frequency through the PLC internal flash
register SFD.
Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD350~SFD359 register explanation:

SFD Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

SFD350 CH2 CH1


Byte0
enable enable
Byte1 CH2 fast sampling gear (0-15) CH1 fast sampling gear (0-15)
SFD351 Byte2
Byte3 CH1 user-defined fast sampling speed (Hz) (10-255)
SFD352 Byte4 CH2 user-defined fast sampling speed (Hz) (10-255) Slow
sampling
Byte5
default
SFD353 Byte6
speed is
Byte7
5Hz, fast
SFD354 Byte8
sampling has
Byte9
15
SFD355 Byte10
user-defined
Byte11
speed gears
SFD356 Byte12
Byte13
SFD357 Byte14
Byte15
SFD358 Byte16
Byte17
SFD359 Byte18
Byte19

7-8. Module setting

Take module no.1 channel 1 as an example:


Weight unit setting:
Write in weight through instruction TO. For example, the object weight is 1kg, write in 1 means the unit is kg,
write in 1000 means the unit is g, write in 10000 means the unit is 0.1g.

Sampling frequency:
Sampling frequency includes fast sampling and slow sampling. The two states can be switched through
Y10003. The default frequency of slow sampling is 5Hz. The fast sampling has 15 gears which can be selected
in PLC expansion module configuration table. Each gear from 0 to 14 has different sampling frequency and
filter parameters. User can choose suitable gear as actual needs, please refer to default gear parameter table.
Gear 15 is user-defined mode, it can set the sampling frequency and filter parameter by user. User can set the
fast sampling frequency (this parameter is invalid for other gears) by software and set the filter parameter by
instruction FROM and TO.

Resonance frequency measurement:


1. resonance frequency is the fixed vibration interference generated by machine, it will be tested when
installing the machine at the beginning.
2. repower on the module or write in 0 for the weight by instruction FROM and TO.
3. switch to fast sampling mode (Y10000 is ON), set on Y10003. The module will enter resonance frequency
measurement. Then set OFF Y10003. X10000 will be ON when the measurement completed. The result will
be automatic saved in the module. (it is necessary to test the resonance frequency in fast sampling mode)

Calibration:
Please calibrate the pressure sensor for the first time using.
Take module channel 1 as an example:
1. make sure the module connected to the weighting system. Please check if the value in ID10000
fluctuated(the fluctuation range is related to sensor range), the pressure value is increasing as the load
increasing. If ID10000 has no value, please check the sensor wiring. If the pressure value is decreasing as the
load increasing, the sensor positive and negative point may connect backward.
2. close fast sampling enable bit Y10000 before calibration.
3. make the pressure sensor without load, set to zero after the scale is stable, set ON Y10002(set to zero enable
bit).
4. put the load on the scale, write in the load weight by instruction TO, calibrate the system after the scale is
stable, set ON Y10003(calibration enable bit). The calibration completed when ID10002 is same to the load
weight, set OFF Y10003.
5. Hereto, the calibration finished. The module will automatic adjust the result according to the idle load value
and calibration value when weighing, and finally get the correct weight.
Default gear parameter:
Speed gear Fast Fast Kalman IIR IIR Lowpass
sampling sampling filter depth bandwidth attenuation cut-off
speed (Hz) filter width coefficient ratio frequency
coeffcicent
0 60 5 30 10 10 10
1 80 5 40 10 10 10
2 100 10 50 10 10 10
3 120 10 60 10 10 10
4 140 15 70 10 10 15
5 160 15 80 10 10 15
6 180 20 90 10 10 15
7 200 20 100 10 10 15
8 220 25 110 10 10 15
9 240 25 120 10 10 15
10 250 25 125 10 10 15
11 250 25 125 10 10 15
12 250 25 125 10 10 15
13 250 25 125 10 10 15
14 255 25 125 10 10 15

7-9. Instruction FROM and TO

Write instruction TO
S1 S2 S3 D1
M1
TO K0 K0 K2 K0

Function: write the PLC register data to module specified address, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: write in register quantity. Operand: K, TD, CD, D, FD.
D1: write in data first address in PLC.

Read instruction FROM


S1 S2 S3 D1
M1
FROM K0 K0 K2 K0

Function: read the module data to PLC register, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: read register quantity. operand: K, TD, CD, D, FD.
D1: PLC register first address.

Module parameter internal address:


From/ToData
K0 CH1 calibration weight Dword
K2 CH1 fast sampling filter width Word
K3 CH1 filter depth Word
K4 CH1 bandwidth coefficient Word
K5 CH1 attenuation coefficient Word
K6 CH1 low pass cutoff frequency Word
K7 CH1 resonance frequency (0.1HZ) Word
K8 CH2 calibration weight Dword
K10 CH2 fast sampling filter width Word
K11 CH2 filter depth Word
K12 CH2 bandwidth coefficient Word
K13 CH2 attenuation coefficient Word
K14 CH2 low pass cutoff frequency Word
K15 CH2 resonance frequency (0.1HZ) Word

Parameter explanation:
1. calibration weight: write in weight when calibrating
2. fast sampling filter width: the average times of fast sampling filter
3. attenuation coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
4. bandwidth coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
5. resonance frequency: the scale has natural frequency, this frequency can be known by internal measurement.
The more accurate of the frequency, the better the filtering effect.
6. Filter depth: the larger the data, more stable the system, the lower the sensitivity.
7-10. A/D transformation diagram

The relationship between input voltage value and A/D transformed digital value:
0~39.06mV voltage input

7-11. Application program

Take module 1 channel 1 as an example:


M11
OUT Y10002
Set to zero Channel 1 reset
M0
SBLOCK Block 1
Channel 1 write in weight
TO K0 K0 K2 HD0
HD0:weight value

SBLOCK

Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration

RST M0

M90 Channel 1 weight


OUT Y10000
Open fast sampling Channel 1 fast sampling enable

Explanation:
Set to zero through Y10002.
Write in the weight value through instruction TO. First store the weight value in HD0, set ON M0, write the
value of HD0 to module 1 channel 1.
Calibrate the scale through Y10003. The calibration is finished when the weight value is equal to the weight
display value.
Switch the slow/fast sampling through Y10000.
Y10000 open, channel 1 will collect data with fast sampling frequency.
Y10000 close, channel 1 will collect data with slow sampling frequency.
8. Pt100 temperature control module XD-E6PT-P

8-1. Specification

XD-E6PT-P can collect the temperature signal from PT100 sensor, it has PID function.

24V+
24V- COM0
Y0
C0M1
Y1
COM2
Y2
Y3
Y4
Y5  Platinum thermal resistance input, Pt100
0 1 2 3
 6 channels input, 6 channels output
4 5
 2 groups PID parameters (every 3
Y
channels use one group of PID
AI
parameters)
 1mA constant current output, will not be
affected by the exterior environment
C0
A0
C1
A1
C2
A2
C3
A3
C4
A4
C5
A5
 Resolution is 0.1℃
 As the special function module of XC, 10
modules can be connected to the PLC.
(XDM can connect 16 modules)

Item Content
Analog input signal Pt100 platinum thermal-resistance
Temperature -100℃ ~ 500℃
measurement range
Digital output bound -1000~5000, 16 bits with sign bit, binary
Control precision ±0.5℃
Resolution 0.1℃
Integrate precision 1% (relative max value)
Conversion speed 20ms per channels
Analog power DC24V±10%, 50mA
Installation format Fixed with M3 screws or directly installed on orbit of DIN46277 (Width: 35mm)
Dimension 63mm×108mm×79.9mm

Note:
1. Without signal input, the channel data will be 3500
2. Connect to Pt100 platinum thermal resistance according to actual requirements
8-2. Terminals

24V- COM0 C0M1 COM2 Y3 Y5


24V+ Y0 Y1 Y2 Y4
A0 A1 A2 A3 A4 A5
C0 C1 C2 C3 C4 C5

Channel Terminal name Signal name


CH0 A0 0CH PT100 input
C0 0CH common terminal of PT100 input
CH1 A1 1CH PT100 input
C1 1CH common terminal of PT100 input
CH2 A2 2CH PT100 input
C2 2CH common terminal of PT100 input
CH3 A3 3CH PT100 input
C3 3CH common terminal of PT100 input
CH4 A4 4CH PT100 input
C4 4CH common terminal of PT100 input
CH5 A5 5CH PT100 input
C5 5CH common terminal of PT100 input
- Y0 Channel 0 output
Y1 Channel 1 output
Y2 Channel 2 output
Y3 Channel 3 output
Y4 Channel 4 output
Y5 Channel 5 output
COM0 Common terminal of output
COM1 Common terminal of output
COM2 Common terminal of output
- 24V+ +24V power supply
24V- Common terminal of power supply

8-3. I/O address assignment

XD series analog modules don’t occupy I/O units; the converted data is directly transferred into PLC register.
The PLC registers are shown as the following:
Expansion module no.1:
Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10000 QD10000 Y10000 Kp-----QD10006 Kp-----QD10010
1CH ID10001 QD10001 Y10001 Ki-----QD10007 Ki-----QD10011
2CH ID10002 QD10002 Y10002 Kd-----QD10008 Kd-----QD10012
Diff---QD10009 Diff---QD10013
3CH ID10003 QD10003 Y10003
4CH ID10004 QD10004 Y10004
5CH ID10005 QD10005 Y10005

Expansion module no.2:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10100 QD10100 Y10100
1CH ID10101 QD10101 Y10101
Kp-----QD10106 Kp-----QD10110
2CH ID10102 QD10102 Y10102 Ki-----QD10107 Ki-----QD10111
3CH ID10103 QD10103 Y10103 Kd-----QD10108 Kd-----QD10112
Diff---QD10109 Diff---QD10113
4CH ID10104 QD10104 Y10104
5CH ID10105 QD10105 Y10105

Expansion module no.3:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10200 QD10200 Y10200
1CH ID10201 QD10201 Y10201
Kp-----QD10206 Kp-----QD10210
2CH ID10202 QD10202 Y10202 Ki-----QD10207 Ki-----QD10211
3CH ID10203 QD10203 Y10203 Kd-----QD10208 Kd-----QD10212
Diff---QD10209 Diff---QD10213
4CH ID10204 QD10204 Y10204
5CH ID10205 QD10205 Y10205

Expansion module no.4:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10300 QD10300 Y10300
1CH ID10301 QD10301 Y10301
Kp-----QD10306 Kp-----QD10310
2CH ID10302 QD10302 Y10302 Ki-----QD10307 Ki-----QD10311
3CH ID10303 QD10303 Y10303 Kd-----QD10308 Kd-----QD10312
Diff---QD10309 Diff---QD10313
4CH ID10304 QD10304 Y10304
5CH ID10305 QD10305 Y10305

Expansion module no.5:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10400 QD10400 Y10400
1CH ID10401 QD10401 Y10401
Kp-----QD10406 Kp-----QD10410
2CH ID10402 QD10402 Y10402 Ki-----QD10407 Ki-----QD10411
3CH ID10403 QD10403 Y10403 Kd-----QD10408 Kd-----QD10412
4CH ID10404 QD10404 Y10404 Diff---QD10409 Diff---QD10413

5CH ID10405 QD10405 Y10405

Expansion module no.6:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10500 QD10500 Y10500
1CH ID10501 QD10501 Y10501
Kp-----QD10506 Kp-----QD10510
2CH ID10502 QD10502 Y10502 Ki-----QD10507 Ki-----QD10511
3CH ID10503 QD10503 Y10503 Kd-----QD10508 Kd-----QD10512
Diff---QD10509 Diff---QD10513
4CH ID10504 QD10504 Y10504
5CH ID10505 QD10505 Y10505

Expansion module no.7:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10600 QD10600 Y10600
1CH ID10601 QD10601 Y10601
Kp-----QD10606 Kp-----QD10610
2CH ID10602 QD10602 Y10602 Ki-----QD10607 Ki-----QD10611
3CH ID10603 QD10603 Y10603 Kd-----QD10608 Kd-----QD10612
4CH ID10604 QD10604 Y10604 Diff---QD10609 Diff---QD10613

5CH ID10605 QD10605 Y10605

Expansion module no.8:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10700 QD10700 Y10700 Kp-----QD10706 Kp-----QD10710
1CH ID10701 QD10701 Y10701 Ki-----QD10707 Ki-----QD10711
2CH ID10702 QD10702 Y10702 Kd-----QD10708 Kd-----QD10712
Diff---QD10709 Diff---QD10713
3CH ID10703 QD10703 Y10703
4CH ID10704 QD10704 Y10704
5CH ID10705 QD10705 Y10705

Expansion module no.9:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10800 QD10800 Y11000
1CH ID10801 QD10801 Y11001
Kp-----QD10806 Kp-----QD10810
2CH ID10802 QD10802 Y11002 Ki-----QD10807 Ki-----QD10811
3CH ID10803 QD10803 Y11003 Kd-----QD10808 Kd-----QD10812
Diff---QD10809 Diff---QD10813
4CH ID10804 QD10804 Y11004
5CH ID10805 QD10805 Y11005

Expansion module no.10:


Present Set PID stop/start First 3 channel PID Last 3 channel PID
Channel
temperature temperature control bit parameters parameters
0CH ID10900 QD10900 Y11100
1CH ID10901 QD10901 Y11101
Kp-----QD10906 Kp-----QD10910
2CH ID10902 QD10902 Y11102 Ki-----QD10907 Ki-----QD10911
3CH ID10903 QD10903 Y11103 Kd-----QD10908 Kd-----QD10912
Diff---QD10909 Diff---QD10913
4CH ID10904 QD10904 Y11104
5CH ID10905 QD10905 Y11105

Expansion module no.11:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11000 QD11000 Y11200
1CH ID11001 QD11001 Y11201
Kp-----QD11006 Kp-----QD11010
2CH ID11002 QD11002 Y11202 Ki-----QD11007 Ki-----QD11011
3CH ID11003 QD11003 Y11203 Kd-----QD11008 Kd-----QD11012
Diff---QD11009 Diff---QD11013
4CH ID11004 QD11004 Y11204
5CH ID11005 QD11005 Y11205

Expansion module no.12:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11100 QD11100 Y11300 Kp-----QD11106 Kp-----QD11110
1CH ID11101 QD11101 Y11301 Ki-----QD11107 Ki-----QD11111
2CH ID11102 QD11102 Y11302 Kd-----QD11108 Kd-----QD11112
3CH ID11103 QD11103 Y11303 Diff---QD11109 Diff---QD11113
4CH ID11104 QD11104 Y11304
5CH ID11105 QD11105 Y11305

Expansion module no.13:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11200 QD11200 Y11400
1CH ID11201 QD11201 Y11401
Kp-----QD11206 Kp-----QD11210
2CH ID11202 QD11202 Y11402 Ki-----QD11207 Ki-----QD11211
3CH ID11203 QD11203 Y11403 Kd-----QD11208 Kd-----QD11212
4CH ID11204 QD11204 Y11404 Diff---QD11209 Diff---QD11213

5CH ID11205 QD11205 Y11405

Expansion module no.14:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11300 QD11300 Y11500
1CH ID11301 QD11301 Y11501
Kp-----QD11306 Kp-----QD11310
2CH ID11302 QD11302 Y11502 Ki-----QD11307 Ki-----QD11311
3CH ID11303 QD11303 Y11503 Kd-----QD11308 Kd-----QD11312
Diff---QD11309 Diff---QD11313
4CH ID11304 QD11304 Y11504
5CH ID11305 QD11305 Y11505

Expansion module no.15:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11400 QD11400 Y11600
1CH ID11401 QD11401 Y11601
Kp-----QD11406 Kp-----QD11410
2CH ID11402 QD11402 Y11602 Ki-----QD11407 Ki-----QD11411
3CH ID11403 QD11403 Y11603 Kd-----QD11408 Kd-----QD11412
Diff---QD11409 Diff---QD11413
4CH ID11404 QD11404 Y11604
5CH ID11405 QD11405 Y11605

Expansion module no.16:


Present Set PID stop/start First 3 channel Last 3 channel PID
Channel
temperature temperature control bit PID parameters parameters
0CH ID11500 QD11500 Y11700 Kp-----QD11506 Kp-----QD11510
1CH ID11501 QD11501 Y11701 Ki-----QD11507 Ki-----QD11511
2CH ID11502 QD11502 Y11702 Kd-----QD11508 Kd-----QD11512
3CH ID11503 QD11503 Y11703 Diff---QD11509 Diff---QD11513

4CH ID11504 QD11504 Y11704


5CH ID11505 QD11505 Y11705

Note:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control

8-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Flash registers:
Set the filter and control cycle through Flash registers of PLC.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449


#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD bit definition:


Filter mode and control cycle:
The module can set two working modes: filter mode and control cycle.
Control cycle: when the module is doing PID control, the output terminal will control the heating process in
certain period according to duty ratio calculated from PID output value. The certain period is control cycle.

Expansion module no.1 SFD setting:


Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 explanation
Byte0
AD channel 2, channel 1 filter time
Byte1 AD channel 4, channel 3 filter time AD filter time
Byte2 AD channel 6, channel 5 filter time
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Byte3 AD2 AD1

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0


Byte4 AD4 AD3

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0


Byte5 AD6 AD5

Byte6~
-
Byte19
8-5. Exterior connection

About the external wiring, please see the following items:

 When connect +24V power, please use 24V power on PLC main unit to avoid interference.
 To avoid interference, please use shield cable to ground.

Input connection:

A0 A1 A2 A3 A4 A5
C0 C1 C2 C3 C4 C5
PT100

PT100

PT100

PT100

PT100

PT100

Output connection:
 Output terminals: transistor output terminal please choose DC 5V~30V power supply.
 Circuit insulation
PLC interior circuit and output transistor is optical insulation. Each public module is also separated.
 Response time
The time is less than 0.2ms from PLC driving (or cut) optical coupling device to transistor ON/OFF.
 Output current
Each point current is 0.15A to avoid over-heat.
 Open circuit leakage current
Below 0.1mA

Power
Heating unit

SSR

PT100 input features:


3500

Digital
output

-100 0 350 ℃
Temperature
-1000 input

8-6. Programming

Example 1: Module 1, PID control for CH0

SM0
MOV K800 QD10000 Set channel 0 temperature to 800 (80 ºC)

MOV K30 QD10006 Set channel 0 parameter Kp to 30

MOV K5 QD10007 Set channel 0 parameter Ki to 5

MOV K50 QD10008 Set channel 0 parameter Kd to 500

MOV K150 QD10009 Set channel 0 parameter Diff to 150


(PID control range is 650~950)
M0
Y10000 Start/stop channel 0 PID control

END

Example 2: XD-E6PT-P module 1, read the temperature of CH0 and CH1 then send to PLC register D0 and D1,
PID control for CH0.
9. K type thermocouple temperature control module XD-E6TC-P

9-1. Specification

XD-E6TC-P can process the K thermocouple signal and send the data to the PLC.

24V+
24V- COM0
Y0
C0M1
Y1
COM2
Y2
Y3
Y4
Y5  K type thermocouple sensor signal
input
0 1 2 3
4 5
 6 channels input, 6 channels output

Y
2 groups PID parameters (every 3
AI
channels have one group PID
parameters)
 Built-in cold-terminal compensation
TC0+ TC1+ TC2+ TC3+ TC4+ TC5+
TC0- TC1- TC2- TC3- TC4- TC5-
circuit
 Resolution is 0.1℃
 As special function module of XD3, up
to 10 modules can be connected to PLC
(XDM PLC can connect 16 modules)

Items Content
Analog input signal K type thermocouple
Temperature measurement range 0℃~1000℃
Digital output range 0~10000, 16 bits with sign bit, binary
Control precision ±0.5℃
Resolution 0.1℃
Integrate precision 1% (relative max value)
Conversion speed 20ms per channel
Analog power DC24V±10%, 50mA
Install format Fixed with M3 screws or directly installed on orbit of
DIN46277 (Width: 35mm)
Dimension 63mm×108mm×79.9mm

Note:

1. If no signal input, the channel data is 0


2. According to the actual requirement, connect to K type thermocouple
3. The cover of device which installs thermocouple should be connected to the ground.
9-2. Terminals

24V- COM0 C0M1 COM2 Y3 Y5


24V+ Y0 Y1 Y2 Y4
TC0+ TC1+ TC2+ TC3+ TC4+ TC5+
TC0- TC1- TC2- TC3- TC4- TC5-

Channel Terminal name Signal name


CH0 TC0+ 0CH thermocouple input +
TC0- 0CH thermocouple input -
CH1 TC1+ 1CH thermocouple input +
TC1- 1CH thermocouple input -
CH2 TC2+ 2CH thermocouple input +
TC2- 2CH thermocouple input -
CH3 TC3+ 3CH thermocouple input +
TC3- 3CH thermocouple input -
CH4 TC4+ 4CH thermocouple input +
TC4- 4CH thermocouple input -
CH5 TC5+ 5CH thermocouple input +
TC5- 5CH thermocouple input -
CH0 Y0 0CH output
COM0 0CH common terminal of output
CH1 Y1 1CH output
COM1 1CH common terminal of output
CH2 Y2 2CH output
COM2 2CH common terminal of output
CH3 Y3 3CH output
COM3 3CH common terminal of output
CH4 Y4 4CH output
COM4 4CH common terminal of output
CH5 Y5 5CH output
COM5 5CH common terminal of output
- 24V+ +24V power supply
24V- Common terminal of power supply
9-3. I/O address assignment

XD series analog modules don’t occupy I/O units, the converted data is directly transferred into PLC register.
The register address:
Expansion module no.1:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10000 QD10000 Y10000


1CH ID10001 QD10001 Y10001
Kp-----QD10006 Kp-----QD10010
2CH ID10002 QD10002 Y10002 Ki-----QD10007 Ki-----QD10011
3CH ID10003 QD10003 Y10003 Kd-----QD10008 Kd-----QD10012
Diff---QD10009 Diff---QD10013
4CH ID10004 QD10004 Y10004
5CH ID10005 QD10005 Y10005

Expansion module no.2:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10100 QD10100 Y10100


1CH ID10101 QD10101 Y10101
Kp-----QD10106 Kp-----QD10110
2CH ID10102 QD10102 Y10102 Ki-----QD10107 Ki-----QD10111
3CH ID10103 QD10103 Y10103 Kd-----QD10108 Kd-----QD10112
Diff---QD10109 Diff---QD10113
4CH ID10104 QD10104 Y10104
5CH ID10105 QD10105 Y10105

Expansion module no.3:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10200 QD10200 Y10200


1CH ID10201 QD10201 Y10201
Kp-----QD10206 Kp-----QD10210
2CH ID10202 QD10202 Y10202 Ki-----QD10207 Ki-----QD10211
3CH ID10203 QD10203 Y10203 Kd-----QD10208 Kd-----QD10212
Diff---QD10209 Diff---QD10213
4CH ID10204 QD10204 Y10204
5CH ID10205 QD10205 Y10205
Expansion module no.4:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10300 QD10300 Y10300


1CH ID10301 QD10301 Y10301
Kp-----QD10306 Kp-----QD10310
2CH ID10302 QD10302 Y10302 Ki-----QD10307 Ki-----QD10311
3CH ID10303 QD10303 Y10303 Kd-----QD10308 Kd-----QD10312
4CH ID10304 QD10304 Y10304 Diff---QD10309 Diff---QD10313

5CH ID10305 QD10305 Y10305

Expansion module no.5:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10400 QD10400 Y10400


1CH ID10401 QD10401 Y10401
Kp-----QD10406 Kp-----QD10410
2CH ID10402 QD10402 Y10402 Ki-----QD10407 Ki-----QD10411
3CH ID10403 QD10403 Y10403 Kd-----QD10408 Kd-----QD10412
Diff---QD10409 Diff---QD10413
4CH ID10404 QD10404 Y10404
5CH ID10405 QD10405 Y10405

Expansion module no.6:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10500 QD10500 Y10500


1CH ID10501 QD10501 Y10501
Kp-----QD10506 Kp-----QD10510
2CH ID10502 QD10502 Y10502 Ki-----QD10507 Ki-----QD10511
3CH ID10503 QD10503 Y10503 Kd-----QD10508 Kd-----QD10512
4CH ID10504 QD10504 Y10504 Diff---QD10509 Diff---QD10513

5CH ID10505 QD10505 Y10505

Expansion module no.7:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10600 QD10600 Y10600 Kp-----QD10606 Kp-----QD10610


1CH ID10601 QD10601 Y10601 Ki-----QD10607 Ki-----QD10611
2CH ID10602 QD10602 Y10602 Kd-----QD10608 Kd-----QD10612
Diff---QD10609 Diff---QD10613
3CH ID10603 QD10603 Y10603
4CH ID10604 QD10604 Y10604
5CH ID10605 QD10605 Y10605

Expansion module no.8:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10700 QD10700 Y10700


1CH ID10701 QD10701 Y10701
Kp-----QD10706 Kp-----QD10710
2CH ID10702 QD10702 Y10702 Ki-----QD10707 Ki-----QD10711
3CH ID10703 QD10703 Y10703 Kd-----QD10708 Kd-----QD10712
Diff---QD10709 Diff---QD10713
4CH ID10704 QD10704 Y10704
5CH ID10705 QD10705 Y10705

Expansion module no.9:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10800 QD10800 Y11000


1CH ID10801 QD10801 Y11001
Kp-----QD10806 Kp-----QD10810
2CH ID10802 QD10802 Y11002 Ki-----QD10807 Ki-----QD10811
3CH ID10803 QD10803 Y11003 Kd-----QD10808 Kd-----QD10812
4CH ID10804 QD10804 Y11004 Diff---QD10809 Diff---QD10813

5CH ID10805 QD10805 Y11005

Expansion module no.10:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID10900 QD10900 Y11100


1CH ID10901 QD10901 Y11101
Kp-----QD10906 Kp-----QD10910
2CH ID10902 QD10902 Y11102 Ki-----QD10907 Ki-----QD10911
3CH ID10903 QD10903 Y11103 Kd-----QD10908 Kd-----QD10912
Diff---QD10909 Diff---QD10913
4CH ID10904 QD10904 Y11104
5CH ID10905 QD10905 Y11105
Expansion module no.11:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID11000 QD11000 Y11200


1CH ID11001 QD11001 Y11201
Kp-----QD11006 Kp-----QD11010
2CH ID11002 QD11002 Y11202 Ki-----QD11007 Ki-----QD11011
3CH ID11003 QD11003 Y11203 Kd-----QD11008 Kd-----QD11012
4CH ID11004 QD11004 Y11204 Diff---QD11009 Diff---QD11013

5CH ID11005 QD11005 Y11205

Expansion module no.12:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID11100 QD11100 Y11300


1CH ID11101 QD11101 Y11301
Kp-----QD11106 Kp-----QD11110
2CH ID11102 QD11102 Y11302 Ki-----QD11107 Ki-----QD11111
3CH ID11103 QD11103 Y11303 Kd-----QD11108 Kd-----QD11112
Diff---QD11109 Diff---QD11113
4CH ID11104 QD11104 Y11304
5CH ID11105 QD11105 Y11305

Expansion module no.13:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID11200 QD11200 Y11400


1CH ID11201 QD11201 Y11401
Kp-----QD11206 Kp-----QD11210
2CH ID11202 QD11202 Y11402 Ki-----QD11207 Ki-----QD11211
3CH ID11203 QD11203 Y11403 Kd-----QD11208 Kd-----QD11212
4CH ID11204 QD11204 Y11404 Diff---QD11209 Diff---QD11213

5CH ID11205 QD11205 Y11405

Expansion module no.14:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters
0CH ID11300 QD11300 Y11500
1CH ID11301 QD11301 Y11501
Kp-----QD11306 Kp-----QD11310
2CH ID11302 QD11302 Y11502 Ki-----QD11307 Ki-----QD11311
3CH ID11303 QD11303 Y11503 Kd-----QD11308 Kd-----QD11312
4CH ID11304 QD11304 Y11504 Diff---QD11309 Diff---QD11313

5CH ID11305 QD11305 Y11505

Expansion module no.15:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID11400 QD11400 Y11600


1CH ID11401 QD11401 Y11601
Kp-----QD11406 Kp-----QD11410
2CH ID11402 QD11402 Y11602 Ki-----QD11407 Ki-----QD11411
3CH ID11403 QD11403 Y11603 Kd-----QD11408 Kd-----QD11412
Diff---QD11409 Diff---QD11413
4CH ID11404 QD11404 Y11604
5CH ID11405 QD11405 Y11605

Expansion module no.16:

Present Set First three channel Last three channel


Channel PID start/stop bit
temperature temperature PID parameters PID parameters

0CH ID11500 QD11500 Y11700


1CH ID11501 QD11501 Y11701
Kp-----QD11506 Kp-----QD11510
2CH ID11502 QD11502 Y11702 Ki-----QD11507 Ki-----QD11511
3CH ID11503 QD11503 Y11703 Kd-----QD11508 Kd-----QD11512
4CH ID11504 QD11504 Y11704 Diff---QD11509 Diff---QD11513

5CH ID11505 QD11505 Y11705

Description:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control.

9-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC
XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Flash registers:
Set the filter time and control cycle through SFD registers of PLC:

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509


SFD bit definition:
Filter mode and control cycle:
The module can set two working modes: filter mode and control cycle.
Control cycle: when the module is doing PID control, the output terminal will control the heating process in
certain period according to duty ratio calculated from PID output value. The certain period is control cycle.

Expansion module no.1 setting:


Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
Byte0
AD channel 2, channel 1 filter time
Byte1 AD channel 4, channel 3 filter time AD filter time
Byte2 AD channel 6, channel 5 filter time
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Byte3 AD2 AD1

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0


Byte4 AD4 AD3

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0


Byte5 AD6 AD5

Byte6~
-
Byte19

9-5. Exterior connection

About the exterior connection, please pay attention to the following items:

 When connect to+24V power, please use the 24V power supply of PLC to avoid interference.
 To avoid interference, shielding measure is necessary for signal cables.
Input connection:

TC0+ TC1+ TC2+ TC3+ TC4+ TC5+


TC0- TC1- TC2- TC3- TC4- TC5-

Output circuit:

 Output terminal
For transistor output terminals, please use DC5V~30V power supply.
 Circuit insulation
PLC internal circuit and output transistor is optical insulation with optical coupling device. Each public
module is separate.
 Response time
The time is less than 0.2ms from PLC driving (or cut) optical coupling circuit to transistor ON/OFF.
 Output circuit
Each point current is 0.15A to avoid over-heating.
 Open circuit leak current
Below 0.1mA.

Power supply
Heating unit

SSR
9-6. Programming

Example: programming for the first channel.

SM0
MOV K800 QD10000 Set channel 0 value to 800 (80°C)

MOV K30 QD10006


Set channel 0 parameter Kp to 30

MOV K5 QD10007
Set channel 0 parameter Ki to 5

MOV K500 QD10008


Set channel 0 parameter Kd to 500

MOV K150 QD10009


Set channel 0 parameter Diff to 150
M0
Y10000
Start / stop channel 0 PID
FEND
10. I/O expansion module XD-EnXmY

10-1. Specifications

XD-EnXmY is the extension module of XD3 series, up to 10 XD-EnXmY modules can be connected to PLC.
This module has rich types, small size, and more I/O points which can meet more requirements.

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

0 1 2 3
4 5 6 7

COM X11 X13 X15 X17


COM X10 X12 X14 X16

Module types
Model
Function description
NPN input PNP input
XD-E8X8YR XD-E8PX8YR 8 channels digital input, 8 channels relay output
XD-E8X8YT XD-E8PX8YT 8 channels digital input, 8 channels transistor output
XD-E16X XD-E16PX 16 channels digital input

Module Specifications
Items Specifications
Input voltage (Power
DC24V±10%
supply)
Application environment No corrosive gas
Environment temperature 0℃~60℃
Environment humidity 5~95%
Fixed with M3 screws or directly installed on DIN46277 rail
Installation
(Width: 35mm)
Dimension 63mm×108mm×79.9mm
10-2. Terminals

The terminals distributions of NPN and PNP input are the same.
(1) XD-E8X8YR, XD-E8X8YT
24V- COM X1 X3 X5 X7
24V+ COM X0 X2 X4 X6

Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6

(2) XD-E16X
24V- COM X1 X3 X5 X7
24V+ COM X0 X2 X4 X6
COM X11 X13 X15 X17
COM X10 X12 X14 X16

Caution: Maybe the common terminal of each module is different from above pictures; please see the
label of actual objects.

10-3. I/O address assignment

XD3 series can expand 10 modules, the address of I/O terminals are shown as below:
(Caution: Take NPN type as an example, the terminals definition, address, suitable module of PNP are the
same as NPN)
 XD-E8X8YR, XD-E8X8YT

Expansion module no.1 to no.16 input terminal address:

X0 X1 X2 X3 X4 X5 X6 X7
Expansion module no.1 X10000 X10001 X10002 X10003 X10004 X10005 X10006 X10007
Expansion module no.2 X10100 X10101 X10102 X10103 X10104 X10105 X10106 X10107
Expansion module no.3 X10200 X10201 X10202 X10203 X10204 X10205 X10206 X10207
Expansion module no.4 X10300 X10301 X10302 X10303 X10304 X10305 X10306 X10307
Expansion module no.5 X10400 X10401 X10402 X10403 X10404 X10405 X10406 X10407
Expansion module no.6 X10500 X10501 X10502 X10503 X10504 X10505 X10506 X10507
Expansion module no.7 X10600 X10601 X10602 X10603 X10604 X10605 X10606 X10607
Expansion module no.8 X10700 X10701 X10702 X10703 X10704 X10705 X10706 X10707
Expansion module no.9 X11000 X11001 X11002 X11003 X11004 X11005 X11006 X11007
Expansion module no.10 X11100 X11101 X11102 X11103 X11104 X11105 X11106 X11107
Expansion module no.11 X11200 X11201 X11202 X11203 X11204 X11205 X11206 X11207
Expansion module no.12 X11300 X11301 X11302 X11303 X11304 X11305 X11306 X11307
Expansion module no.13 X11400 X11401 X11402 X11403 X11404 X11405 X11406 X11407
Expansion module no.14 X11500 X11501 X11502 X11503 X11504 X11505 X11506 X11507
Expansion module no.15 X11600 X11601 X11602 X11603 X11604 X11605 X11606 X11607
Expansion module no.16 X11700 X11701 X11702 X11703 X11704 X11705 X11706 X11707

Expansion module no.1 to no.16 output terminal address:

Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
Expansion module no.1 Y10000 Y10001 Y10002 Y10003 Y10004 Y10005 Y10006 Y10007
Expansion module no.2 Y10100 Y10101 Y10102 Y10103 Y10104 Y10105 Y10106 Y10107
Expansion module no.3 Y10200 Y10201 Y10202 Y10203 Y10204 Y10205 Y10206 Y10207
Expansion module no.4 Y10300 Y10301 Y10302 Y10303 Y10304 Y10305 Y10306 Y10307
Expansion module no.5 Y10400 Y10401 Y10402 Y10403 Y10404 Y10405 Y10406 Y10407
Expansion module no.6 Y10500 Y10501 Y10502 Y10503 Y10504 Y10505 Y10506 Y10507
Expansion module no.7 Y10600 Y10601 Y10602 Y10603 Y10604 Y10605 Y10606 Y10607
Expansion module no.8 Y10700 Y10701 Y10702 Y10703 Y10704 Y10705 Y10706 Y10707
Expansion module no.9 Y11000 Y11001 Y11002 Y11003 Y11004 Y11005 Y11006 Y11007
Expansion module no.10 Y11100 Y11101 Y11102 Y11103 Y11104 Y11105 Y11106 Y11107
Expansion module no.11 Y11200 Y11201 Y11202 Y11203 Y11204 Y11205 Y11206 Y11207
Expansion module no.12 Y11300 Y11301 Y11302 Y11303 Y11304 Y11305 Y11306 Y11307
Expansion module no.13 Y11400 Y11401 Y11402 Y11403 Y11404 Y11405 Y11406 Y11407
Expansion module no.14 Y11500 Y11501 Y11502 Y11503 Y11504 Y11505 Y11506 Y11507
Expansion module no.15 Y11600 Y11601 Y11602 Y11603 Y11604 Y11605 Y11606 Y11607
Expansion module no.16 Y11700 Y11701 Y11702 Y11703 Y11704 Y11705 Y11706 Y11707

 XE-E16X

 Expansion module no.1 to no.16 input terminal address:

Expansion Expansion Expansion Expansion Expansion Expansion Expansion Expansion Expansion Expansion
module module module module module module module module module module
no.1 no.2 no.3 no.4 no.5 no.6 no.7 no.8 no.9 no.10
X0 X10000 X10100 X10200 X10300 X10400 X10500 X10600 X10700 X11000 X11100
X1 X10001 X10101 X10201 X10301 X10401 X10501 X10601 X10701 X11001 X11101
X2 X10002 X10102 X10202 X10302 X10402 X10502 X10602 X10702 X11002 X11102
X3 X10003 X10103 X10203 X10303 X10403 X10503 X10603 X10703 X11003 X11103
X4 X10004 X10104 X10204 X10304 X10404 X10504 X10604 X10704 X11004 X11104
X5 X10005 X10105 X10205 X10305 X10405 X10505 X10605 X10705 X11005 X11105
X6 X10006 X10106 X10206 X10306 X10406 X10506 X10606 X10706 X11006 X11106
X7 X10007 X10107 X10207 X10307 X10407 X10507 X10607 X10707 X11007 X11107
X10 X10010 X10110 X10210 X10310 X10410 X10510 X10610 X10710 X11010 X11110
X11 X10011 X10111 X10211 X10311 X10411 X10511 X10611 X10711 X11011 X11111
X12 X10012 X10112 X10212 X10312 X10412 X10512 X10612 X10712 X11012 X11112
X13 X10013 X10113 X10213 X10313 X10413 X10513 X10613 X10713 X11013 X11113
X14 X10014 X10114 X10214 X10314 X10414 X10514 X10614 X10714 X11014 X11114
X15 X10015 X10115 X10215 X10315 X10415 X10515 X10615 X10715 X11015 X11115
X16 X10016 X10116 X10216 X10316 X10416 X10516 X10616 X10716 X11016 X11116
X17 X10017 X10117 X10217 X10317 X10417 X10517 X10617 X10717 X11017 X11117
Expansion Expansion Expansion Expansion Expansion Expansion
module module module module module module
no.11 no.12 no.13 no.14 no.15 no.16
X0 X11200 X11300 X11400 X11500 X11600 X11700
X1 X11201 X11301 X11401 X11501 X11600 X11701
X2 X11202 X11302 X11402 X11502 X11602 X11702
X3 X11203 X11303 X11403 X11503 X11603 X11703
X4 X11204 X11304 X11404 X11504 X11604 X11704
X5 X11205 X11305 X11405 X11505 X11605 X11705
X6 X11206 X11306 X11406 X11506 X11606 X11706
X7 X11207 X11307 X11407 X11507 X11607 X11707
X10 X11210 X11310 X11410 X11510 X11610 X11710
X11 X11211 X11311 X11411 X11511 X11611 X11711
X12 X11212 X11312 X11412 X11512 X11612 X11712
X13 X11213 X11313 X11413 X11513 X11613 X11713
X14 X11214 X11314 X11414 X11514 X11614 X11714
X15 X11215 X11315 X11415 X11515 X11615 X11715
X16 X11216 X11316 X11416 X11516 X11616 X11716
X17 X11217 X11317 X11417 X11517 X11617 X11717

10-4. External connection

(1) The input terminal connection diagram:


DC power 24V+ DC24V
24V- External DC power

COM
R2
R1
X*0

R4
R3
X*7

NPN type

DC24V
Power supply for sensor

DC 24V+

power 24V-

COM

R1
X 0
switch
R2

I=7mA

R3
X 7
sensor
R4

PNP type
(2) The output terminal connection diagram:

Relay type

Transistor type

10-5. Module parameters

There are two parameters for the module: positive or negative logic, filter time.
There are two setting methods:
(1) XDPpro software
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.
(2) Set through SFD register

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509


The first 20 bytes definitions:
 XD-E8X8YR, XD-E8X8YT
Byte6~
Byte0 Byte1 Byte2 Byte3 Byte4 Byte5
Byte19
Bit7 - - - - -
Bit6 X3 logic X7 logic Y3 logic Y7 logic -
Bit5 - - - - -
Bit4 X0~X3 X4~X7 X2 logic X6 logic Y2 logic Y6 logic -
Bit3 filter time filter time - - - - -
Bit2 X1 logic X5 logic Y1 logic Y5 logic -
Bit1 - - - - -
Bit0 X0 logic X4 logic Y0 logic Y4 logic -
filter time (ms) setting range: -
0 is positive logic
note 1~5, 10, 15, 20, 25, 30, 35, 40, 45, 50.
1 is negative logic
Default value is 10ms.

 XD-E16X
Byte Byte Byte Byte Byte8~
Byte0 Byte1 Byte2 Byte3
4 5 6 7 Byte19
Bit7 - - - - -
Bit6 X3 X7 X13 X17 -
logic logic logic logic
Bit5 - - - - -
Bit4 X2 X6 X12 X16 -
X14~X17
X0~X3 X4~X7 X10~X13 logic logic logic logic
Filter
Bit3 filter time filter time filter time - - - - -
time
Bit2 X1 X5 X11 X15 -
logic logic logic logic
Bit1 - - - - -
Bit0 X0 X4 X10 X14 -
logic logic logic logic
filter time (ms) setting range: -
0 is positive logic
note 1~5, 10, 15, 20, 25, 30, 35, 40, 45, 50.
1 is negative logic
Default value is 10ms.

Note:
1. User can set the discrete input filter time, the time can be 1, 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50.
The default filter time is 10ms.
2. User can set the discrete input and output polarity: 0 is positive logic; 1 is negative logic.
10-6. Applications

The application example includes three devices: Xinje XD3 series PLC (slave station), expansion module
XD-E8X8YR and HMI TH765-NT.

The communication between XD-E8X8YR and TH765-NT:

COM X1 X3 X5 X7
COM X0 X2 X4 X6
● COM X1 X3 X5 X7 X9 X11 X13 X15 X17
COM X0 X2 X4 X6 X8 X10 X12 X14 X16

0 1 2 3
0 1 2 3 4 4 5 6 7
PROGRAMMABLE CONTROLLER
5 6 7 8 9

X RUN
X
COM0 PWR XD-E8X8YR
XD3-32R RUN
-E Y
ERR
Y

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

Y0 Y1 Y2 COM3 Y5
COM0 COM1 COM2 Y3 Y4 Y6
0V A COM0 COM1 COM2 Y3 Y5 Y6 Y8 COM4 Y11 Y13
24V ● B Y0 Y1 Y2 Y4 COM3 Y7 Y9 Y10 Y12 Y7

XINJE
MODE: TH765-MT
S/ N: N20081028028
Xinje Electric Co.,Ltd

24V 0V FG Download PLC


1234
1 234 5 12345

6 78 9 6789
12 3 4

485-
485+

In this example, the HMI is the master station, read the input status of extension module to the HMI, writes the
coil status of HMI to the extension module.
(1) Hardware connection: Connect XD-E8X8YR with XD3-32R-E, connect AB terminals of XD3-32R-E to
AB terminals (PLC port) of TH765-NT.
Communication parameters setting of PLC:
Baud rate: 19200bps, Data bits: 8bits, Stop bits: 1bit, Parity: even, Modbus number: 1, restart the PLC after
setting.
Touchwin software settings for TH765-NT:
PLC port device: “Modbus RTU (Panel is master)”, Baud rate: 19200bps, Data bits: 8bits, Stop bits: 1bit,
Parity: even.
(2) Program application:
The corresponding relationship between expansion module address and HMI address:
HMI address Expansion module Related MODBUS address
PSB500 X10000 K20736
PSB501 Y10000 K24832

(3) HMI screen editing:


The screen of HMI:

Edit the status of X10000:


Lamp X10000: the Modbus address of expansion module coil X10000 is 0x20736 (diagram A).
Function Button: copy the coil status of X10000 to PSB500 when the button is pressed (diagram B).
Lamp PSB500: HMI internal coil address is PSB500. (diagram C)

Diagram A Diagram B
Diagram C

Edit the status of PSB501:


Lamp PSB501: the HMI internal coil address is PSB501 (diagram D);
Function Button: copy the coil status of PSB501 to Y10000 when the button is pressed (diagram E);
Lamp Y10000: the Modbus address of expansion module coil Y10000 is 0x24832 (diagram F).

Diagram D Diagram E
Diagram F
After editing the HMI screen, download it to the HMI and start to work.

11. Analog input/output module XD-E4AD2DA-B

11-1. Specification

XD-E4AD2DA-B transform the 4 channels analog value to digital value, 2 channels digital value to analog
value, and send them to PLC.

24V- C0 C1
 4 channels analog input: voltage input and current
24V+ VO0 VO1
input
 2 channels analog voltage output: -10V~10V or
AO
-5V~5V.
 14 bits high precision analog input
AI

 XD3 series PLC can connect 10 modules. (XDM


series can connect 16 modules)
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
Items Analog input (AD) Analog output (DA)
Voltage input Current input Voltage output
Analog input bound 0~5V, 0~10V 0~20mA, 4~20mA -
Max input bound DC ±15V 0~40mA -
-5~5V, -10~10V
Analog output bound -
(Exterior load resistance 2KΩ~1MΩ)
Digital input bound - 12 bits binary data(0~4095)
Digital output bound 14 bits binary data (0~16383) -
Distinguish ratio 1/16383(14Bit) 1/4095(12Bit)
PID control value 0~4095 -
Integrate precision 1%
Convert speed 2ms per channel 2ms per channel
Power used by analog DC24V±10%,150mA
Install format Fixed with M3 screws or directly installed on orbit of DIN46277 (Width: 35mm)
Exterior size 63mm×108mm×79.9mm

11-2. Terminals

24V- C0 C1
24V+ VO0 VO1
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3

Channel Terminal name Signal name


AI0 Current input
CH0 VI0 Voltage input
C0 CH0 common terminal of analog input
AI1 Current input
CH1 VI1 Voltage input
C1 CH1 common terminal of analog input
AI2 Current input
CH2 VI2 Voltage input
C2 CH2 common terminal of analog input
AI3 Current input
CH3 VI3 Voltage input
C3 CH3 common terminal of analog input
VO0 Voltage output
CH0 C0 CH0 common terminal of analog output
VO1 Voltage output
CH1 C1 CH1 common terminal of analog output
24V+ +24V power supply
- 24V- Common terminal of power supply

11-3. The assignment of I/O address

XD series analog modules do not occupy I/O units; the converted data is directly transferred into PLC register,
Register address of module1:

Channel enable bit


Channel AD signal
(set ON the bit to use this channel)

0CH ID10000 Y10000


1CH ID10001 Y10001
2CH ID10002 Y10002
3CH ID10003 Y10003
Channel DA signal
0CH QD10000 Y10004
1CH QD10001 Y10005

Register address of module2:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10100 Y10100
1CH ID10101 Y10101
2CH ID10102 Y10102
3CH ID10103 Y10103
Channel DA signal
0CH QD10100 Y10104
1CH QD10101 Y10105

Register address of module3:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10200 Y10200
1CH ID10201 Y10201
2CH ID10202 Y10202
3CH ID10203 Y10203
Channel DA signal
0CH QD10200 Y10204
1CH QD10201 Y10205

Register address of module4:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10300 Y10300
1CH ID10301 Y10301
2CH ID10302 Y10302
3CH ID10303 Y10303
Channel DA signal
0CH QD10300 Y10304
1CH QD10301 Y10305

Register address of module5:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10400 Y10400
1CH ID10401 Y10401
2CH ID10402 Y10402
3CH ID10403 Y10403
Channel DA signal
0CH QD10400 Y10404
1CH QD10401 Y10405

Register address of module6:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10500 Y10500
1CH ID10501 Y10501
2CH ID10502 Y10502
3CH ID10503 Y10503
Channel DA signal
0CH QD10500 Y10504
1CH QD10501 Y10505

Register address of module7:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10600 Y10600
1CH ID10601 Y10601
2CH ID10602 Y10602
3CH ID10603 Y10603
Channel DA signal
0CH QD10600 Y10604
1CH QD10601 Y10605

Register address of module8:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10700 Y10700
1CH ID10701 Y10701
2CH ID10702 Y10702
3CH ID10703 Y10703
Channel DA signal
0CH QD10700 Y10704
1CH QD10701 Y10705

Register address of module9:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10800 Y11000
1CH ID10801 Y11001
2CH ID10802 Y11002
3CH ID10803 Y11003
Channel DA signal
0CH QD10800 Y11004
1CH QD10801 Y11005

Register address of module10:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID10900 Y11100
1CH ID10901 Y11101
2CH ID10902 Y11102
3CH ID10903 Y11103
Channel DA signal
0CH QD10900 Y11104
1CH QD10901 Y11105

Register address of module11:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11000 Y11200
1CH ID11001 Y11201
2CH ID11002 Y11202
3CH ID11003 Y11203
Channel DA signal
0CH QD11000 Y11204
1CH QD11001 Y11205

Register address of module12:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11100 Y11300
1CH ID11101 Y11301
2CH ID11102 Y11302
3CH ID11103 Y11303
Channel DA signal
0CH QD11100 Y11304
1CH QD11101 Y11305

Register address of module13:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11200 Y11400
1CH ID11201 Y11401
2CH ID11202 Y11402
3CH ID11203 Y11403
Channel DA signal
0CH QD11200 Y11404
1CH QD11201 Y11405

Register address of module14:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11300 Y11500
1CH ID11301 Y11501
2CH ID11302 Y11502
3CH ID11303 Y11503
Channel DA signal
0CH QD11300 Y11504
1CH QD11301 Y11505

Register address of module15:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11400 Y11600
1CH ID11401 Y11601
2CH ID11402 Y11602
3CH ID11403 Y11603
Channel DA signal
0CH QD11400 Y11604
1CH QD11401 Y11605

Register address of module16:


Channel enable bit
Channel AD signal
(set ON the bit to use this channel)
0CH ID11500 Y11700
1CH ID11501 Y11701
2CH ID11502 Y11702
3CH ID11503 Y11703
Channel DA signal
0CH QD11500 Y11704
1CH QD11501 Y11705

Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the input channel, this channel will not accept the data. (the data display is 0).
3. If set off the enable bit of the output channel, this channel will keep the data.

11-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings.
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Note: first-order low-pass filter will weighted present sampling value with last time filter output to get the final
filter value. The filter factor range is 1 to 255, the default value is 255 which means no filter.

Flash registers:
The module has current and voltage mode. Current has choices of 0~20mA, 4~20mA; voltage has choices of
-5~5V, -10~10V. These parameters can be set through SFD registers.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449


#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

Note: As shown in the preceding table, every register set 4 channels mode, each register has 16 bits, from low
to high, every 4 bits set 1 channel mode.

SFD register bit definition:


Module no.1:
Explanation
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

Byte0 AD channel 1, channel 2 filter time


AD filter time
Byte1 AD channel 3, channel 4 filter time
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 To define the AD
AD2 AD1 and DA input
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V range. Byte2 low
Byte2
input 1:0~5V input 1:0~5V 4 bits are AD
1: current 0:0~20mA 1: current 0:0~20mA channel 1, high 4
input 1:4~20mA input 1:4~20mA bits are AD
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 channel 2.
AD4 AD3 Byte3 low 4 bits
- - 0: voltage 0:0~10V - - 0: voltage 0:0~10V are AD channel
Byte3 3, high 4 bits are
input 1:0~5V input 1:0~5V
1: current 0:0~20mA 1: current 0:0~20mA AD channel 4.
input 1:4~20mA input 1:4~20mA Byte4 low 4 bits
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 are DA channel
1, high 4 bits are
DA2 DA1
DA channel 2.
Byte4 - - 0: voltage 0:-10~10V - - 0: voltage 0:-10~10V
output 1:-5~5V output 1:-5~5V

Byte5 -
~
Byte19
For example:
Set the module no.1 AD channel 3, 2, 1, 0 working mode to 0~20mA, 4~20mA, 0~10V, 0~5V. Set the
channel 1 and 2 filter factor to 255, set the channel 3 and 4 filter factor to 100. Set DA channel 1 and 0
working mode to -10~10V, -5~5V.
So the SFD register values are:
SFD350=64FFH SFD351=3210H SFD352=0001H SFD353=0000H SFD354=0000H

11-5.Exterior connection

When make exterior connection, please read the following items:


 When connect+24V power, please choose 24V power of PLC to avoid interference.
 To avoid interference, please use shield cable and single point ground for the shield layer.

Voltage input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3
VI1+
VI1-
VI0-
VI0+

VI3-
VI2-
VI2+

VI3+

OCH 1CH 2CH 3CH

Current input

VI0 C1 AI1 VI2 C3 AI3


C0 AI0 VI1 C2 AI2 VI3
AI1+
AI1-
AI0-

AI0+

AI3-
AI2-

AI2+

AI3+

OCH 1CH 2CH 3CH


XD-E4AD2DA-B current input wiring:

External
current
device

Voltage output:

VO0- VO0+ VO1- VO1+

C0 C1
VO0 VO1

11-6. AD conversion diagram

The relationship between analog input and corresponding digital value:


0~5V analog input 0~10V analog input

+16383 +16383
digital

digital

0 5v 0 10v
analog analog

0~20mA analog input 4~20mA analog input


+16383 +16383

digital

dgital
0 20mA 0 4mA 20mA
analog analog

The relationship between input digital value and corresponding analog value:
-5~5V analog output -10~10V analog output

5v 10v

-2048 -2048
analog

analog

0 +2048 0 +2048

-5v -10v
digital digital

Note: When input data exceeds K±2048, analog output will keep the value of ±5V, ±10V.

11-7. Programming

Example Real time read 4 channels data, write 2 channels data (take module no. 1 as an example)

SM0
MOV ID10000 D0 Write channel0 data into data register D0

MOV ID10001 D1
Write channel1 data into data register D1
MOV ID10002 D2
Write channel2 data into data register D2
MOV ID10003 D3

MOV D10 QD10000 Write channel3 data into data register D3

MOV D11 QD10001


Send the value of D10 to channel 0
MSET Y10000 Y10005
Send the value of D11 to channel 1
Set ON all the channel enable bits
12. Analog output module XD-E4DA

12-1. Specifications

XD-E4DA module transforms 4 channels digital value to analog value and send the data to PLC.

C0
VO0
AO0 C1
VO1
AO1
● 4 channels voltage output (0~5V/0 ~10V), current
output (0~20mA/4 ~20 mA) for choice.
● Up to 10 modules can be connected to the XD3
AO
PWR series PLC
AO ● Up to 16 modules can be connected to XDM series
PLC

C2 AO2 C3 AO3
VO2 VO3

Items Voltage output Current output


Analog output DC 0 to 5V, 0 to 10V DC 0 to 20mA, 4 to 20mA
(external load resistor (external load resistor is less
2KΩ~1MΩ) than 500Ω)
Digital input 12 bits binary value (0~4095)
Resolution 1/4095(12 bit)
General precision 1%
Conversion speed 2ms per channel
Power supply for analog using DC24V±10%,150mA
Installation Fix with M3 screws or install on DIN46277 (width: 35)
leader directly
Dimension 63mm×108mm×79.9mm

12-2. Terminals

C0 AO0 C1 AO1
VO0 VO1
C2 AO2 C3 AO3
VO2 VO3
Channel Terminal name Signal name
AO0 Current output
CH0 VO0 Voltage output
C0 CH0 common terminal
AO1 Current output
VO1 Voltage output
CH1
C1 CH1 common terminal
AO2 Current output
CH2 VO2 Voltage output
C2 CH2 common terminal
AO3 Current output
CH3 VO3 Voltage output
C3 CH3 common terminal
24V+ +24V power supply
- 24V- Common terminal of power supply

12-3. I/O address assignment

XD series analog modules don’t occupy I/O units, the converted value is sent to PLC register directly.
The PLC registers are shown as the following:
Expansion module no.1
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10000 Y10000
1CH QD10001 Y10001
2CH QD10002 Y10002
3CH QD10003 Y10003

Expansion module no.2


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10100 Y10100
1CH QD10101 Y10101
2CH QD10102 Y10102
3CH QD10103 Y10103
Expansion module no.3
Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10200 Y10200
1CH QD10201 Y10201
2CH QD10202 Y10202
3CH QD10203 Y10203

Expansion module no.4


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10300 Y10300
1CH QD10301 Y10301
2CH QD10302 Y10302
3CH QD10303 Y10303

Expansion module no.5


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10400 Y10400
1CH QD10401 Y10401
2CH QD10402 Y10402
3CH QD10403 Y10403

Expansion module no.6


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10500 Y10500
1CH QD10501 Y10501
2CH QD10502 Y10502
3CH QD10503 Y10503

Expansion module no.7


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10600 Y10600
1CH QD10601 Y10601
2CH QD10602 Y10602
3CH QD10603 Y10603

Expansion module no.8


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10700 Y10700
1CH QD10701 Y10701
2CH QD10702 Y10702
3CH QD10703 Y10703

Expansion module no.9


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10800 Y11000
1CH QD10801 Y11001
2CH QD10802 Y11002
3CH QD10803 Y11003

Expansion module no.10


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD10900 Y11100
1CH QD10901 Y11101
2CH QD10902 Y11102
3CH QD10903 Y11103

Expansion module no.11


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11000 Y11200
1CH QD11001 Y11201
2CH QD11002 Y11202
3CH QD11003 Y11203

Expansion module no.12


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11100 Y11300
1CH QD11101 Y11301
2CH QD11102 Y11302
3CH QD11103 Y11303

Expansion module no.13


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11200 Y11400
1CH QD11201 Y11401
2CH QD11202 Y11402
3CH QD11203 Y11403

Expansion module no.14


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11300 Y11500
1CH QD11301 Y11501
2CH QD11302 Y11502
3CH QD11303 Y11503

Expansion module no.15


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11400 Y11600
1CH QD11401 Y11601
2CH QD11402 Y11602
3CH QD11403 Y11603

Expansion module no.16


Channel enable bit
Channel DA signal
(set on this bit to use this channel)
0CH QD11500 Y11700
1CH QD11501 Y11701
2CH QD11502 Y11702
3CH QD11503 Y11703
Note:
1. Forbid the unused channel to improve the I/O scanning speed.
2. If set off the enable bit of the output channel, this channel will keep the present value.

12-4. Working mode

There are two ways to set the working mode:


1. XDPpro software
2. Flash registers of PLC

XDPpro software:
Open the XDPpro software, click configure/expansion module settings:
Set the model and channel parameters in the following window. Then click write to PLC.
Please restart the PLC after setting.

Note: first-order low-pass filter will weighted present sampling value with last time filter output to get the final
filter value. The filter factor range is 1 to 255, the default value is 255 which means no filter.

Flash registers:
The module output has voltage 0 ~ 5V, 0 ~ 10V, current 0 ~ 20mA, 4 ~ 20mA, set the modes through the PLC
FLASH registers SFD.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449


#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD bit definition:


Expansion module no.1:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
DA2 DA1 To define the DA output
Byte0 - - 0: 0: - - 0: 0:0~10V range. Byte0 low 4 bits are
voltage 0~10V voltage 1:0~5V DA channel 1, high 4 bits are
output 1:0~5V output 0:0~20mA DA channel 2. Byte1 low 4
1: 0: 1: 1:4~20mA bits are DA channel 3, high 4
current 0~20mA current bits are DA channel 4.
output 1: output
4~20mA
DA4 DA3

Byte1 - - 0: 0: - - 0: 0:0~10V
voltage 0~10V voltage 1:0~5V
output 1:0~5V output 0:0~20mA
1: 0: 1: 1:4~20mA
current 0~20mA current
output 1: output
4~20mA
Byte2
~ -
Byte19
For example:
Set channel 4, 3, 2, 1 working mode to 0~10V, 0~10V, 0~20mA, 0~20mA.
The SFD values are: SFD350=0022H.
12-5. External connection

When make external connection, please note the following items:


● When connect to external +24V power supply, please use 24V power supply of PLC to avoid interference.
● To avoid interference, please use shield cable, and single-point ground with the shield layer.

Voltage output:

0CH 1CH
VO0+
VO0-

VO1+
24V 0V
VO1-

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

Current output:
0CH 1CH
24V 0V
AO1+
AO1-
AO0-

AO0+

24V- C0 AO0 C1 AO1


24V+ VO0 VO1

XD-E4DA current output wiring:


i AO_+

R<500Ω

C_
12-6. DA conversion diagram

The relationship between digital input value and analog output value is shown as below:
When the input value is larger than 4095, D/A converted analog value will remain 5V, 10V or 20mA.
0~5V analog output 0~10V analog output

5v
10v
analog

analog
0 +4095 0 +4095
digital digital

0~20mA analog output 4~20mA analog output

20mA 20mA
analog
analog

4mA
0 +4095 0 +4095
digital digital

12-7. Programming

Real-time write data to 4 channels (take expansion module no.1 as an example)

SM0
MOV D10 QD10000 Write the value of D10 to channel 0

MOV D11 QD10001


Write the value of D11 to channel 1

MOV D12 QD10002 Write the value of D12 to channel 2

MOV D13 QD10003 Write the value of D13 to channel 3

MSET Y10000 Y10003 Set ON all the channel enable bits.


13. 4 channels pressure module XD-E4WT-A

13-1. Features

XD-E4WT-A is the expansion module of XD series PLC. It can test the voltage in the range of 0~39.06mV or
the voltage signal from pressure sensor. Then it can transform the voltage to digital value through A/D
transformation and do calculation.

24V-
24V+

 4 channels pressure sensor voltage signal input


 Test voltage signal in the range of 0~39.06mV
 24-bit A/D transformation
 XD3 series PLC can connect 10 XD-E4WT-A modules
AI

 XDM series PLC can connect 16 XD-E4WT-A modules

EXC1- SIG1- SEN1+


EXC1+ SIG1+ SEN1-

Input range DC 0~39.06mV


Resolution 1/8388608 (24Bit)
Integrated precision 0.1%

Transformation speed 0-250 times/second

Power supply DC24V±10%, 100mA


Sensor power supply 5VDC/120mA, can parallel 4 pieces of 350Ω pressure sensor
Installation Mount on DIN46277 rail (width 35mm) or fix with screw M3

Software version V3.2 and higher version

Working environment No corrosive gas


Ambient temperature 0℃~60℃
Humidity 5~95%
13-2. Terminals

24V- EXC2- SIG3- SEN3- SIG4- SEN4-


24V+ EXC2+ SIG3+ SEN3+ SIG4+ SEN4+
EXC1- SIG1- SEN1- SIG2- SEN2-
EXC1+ SIG1+ SEN1+ SIG2+ SEN2+ SH1

Channel Terminal Signal Meaning


EXC1+ Excitation +
Connect to sensor power supply input
EXC1- Excitation -
SIG1+ Signal +
CH1 Connect to sensor signal output
SIG1- Signal -
SEN1+ Feedback + Connect to sensor feedback voltage
SEN1- Feedback - output
EXC1+ Excitation +
Connect to sensor power supply input
EXC1- Excitation -
SIG2+ Signal +
CH2 Connect to sensor signal output
SIG2- Signal -
SEN2+ Feedback + Connect to sensor feedback voltage
SEN2- Feedback - output
EXC2+ Excitation +
Connect to sensor power supply input
EXC2- Excitation -
SIG3+ Signal +
CH3 Connect to sensor signal output
SIG3- Signal -
SEN3+ Feedback + Connect to sensor feedback voltage
SEN3- Feedback - output
EXC2+ Excitation +
Connect to sensor power supply input
EXC2- Excitation -
SIG4+ Signal +
CH4 Connect to sensor signal output
SIG4- Signal -
SEN4+ Feedback + Connect to sensor feedback voltage
SEN4- Feedback - output
SH1 Shield Connect to sensor ground terminal
24V+ +24V power supply
-
24V- Power supply Power supply of module
common terminal

13-3. External connection

Please use the 24V power supply on the PLC to avoid interference.
Please use shield cable and single-point connect to the ground for shield layer.
Power supply wiring

External power
supply

24V- EXC2- SIG3- SEN3- SIG4- SEN4-


24V+ EXC2+ SIG3+ SEN3+ SIG4+ SEN4+

Connect to sensor

6 wires mode:

4 wires mode:

Note: short connect EXC- and SEN-, short connect EXC+ and SEN+ for 4 wires mode.
13-4. Weighing system

A typical weighing system:

load
Bearing part
sensor sensor

base
XD-E4WT PLC PC
-A

JB
HMI

Loading bearing part: to support the load. Such as flat, hopper, container, air transport car…
Pressure sensor: transform the weight to voltage signal.
Assembly part: make sure the pressure sensor can work correctly, assembly part and direct part can avoid
overload. Overload will cause measurement error and sensor damage.
Connection box (JB): to collect several sensor signals.
XD-E4WT-A: can be used as an electronic assessment device, it gets the pressure sensor signal and makes
further assessment.

13-5. Module functions

XD-E4WT-A has the follow functions:


 Adjust the pressure sensor
 Collect the pressure sensor signal
 Calculate the weight value
 0~39.06mV voltage signal test

13-5-1. Pressure sensor


The pressure sensor is based on resistance strain effect, see the following diagram:
U+

r1 R3

S- E
S+ Uo

R4
r2

U-

R1 and R2 is strain resistor which make bridge circuit with R3 and R4. With the change of R1 and R2, the
bridge circuit will lose the balance, unbalance voltage Uo will be produced as the output of sensor.
U+ and U- are positive and negative point of the sensor power supply. Please select the 5V power of the
module or from outside.
S+ and S- are positive and negative point of the sensor output. Connect the output to the module to test the
weight.

13-6. I/O address

The I/O address of module 1:


Soft component Address Explanation Mark
Y10000 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH1 Y10001 Write in user-defined parameter
Y10002 Reset
Y10003 Calibration/resonance measurement
Y10004 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
Output coil CH2 Y10005 Write in user-defined parameter
Y10006 Reset
Y10007 Calibration/resonance measurement
Y10010 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH3 Y10011 Write in user-defined parameter
Y10012 Reset
Y10013 Calibration/resonance measurement
Y10014 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH4
Y10015 Write in user-defined parameter
Y10016 Reset
Y10017 Calibration/resonance measurement
Input coil CH1 X10000 CH1 resonance frequency measurement complete sign
CH2 X10001 CH2 resonance frequency measurement complete sign
CH3 X10002 CH3 resonance frequency measurement complete sign
CH4 X10003 CH4 resonance frequency measurement complete sign
ID10000 Present digital value Dword
CH1
ID10002 Present weight Dword
Input register ID10004 Present digital value Dword
CH2
ID10006 Present weight Dword
ID10008 Present digital value Dword
CH3
ID10010 Present weight Dword
ID10012 Present digital value Dword
CH4
ID10014 Present weight Dword

The I/O address of module 2:


Soft component Address Explanation Mark
Y10100 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH1 Y10101 Write in user-defined parameter
Y10102 Reset
Y10103 Calibration/resonance measurement
Y10104 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
Output coil CH2 Y10105 Write in user-defined parameter
Y10106 Reset
Y10107 Calibration/resonance measurement
Y10110 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH3 Y10111 Write in user-defined parameter
Y10112 Reset
Y10113 Calibration/resonance measurement
Y10114 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH4 Y10115 Write in user-defined parameter
Y10116 Reset
Y10117 Calibration/resonance measurement
Input coil CH1 X10100 CH1 resonance frequency measurement complete sign
CH2 X10101 CH2 resonance frequency measurement complete sign
CH3 X10102 CH3 resonance frequency measurement complete sign
CH4 X10103 CH4 resonance frequency measurement complete sign
CH1 ID10100 Present digital value Dword
ID10102 Present weight Dword
ID10104 Present digital value Dword
CH2
Input register ID10106 Present weight Dword
ID10108 Present digital value Dword
CH3
ID10110 Present weight Dword
ID10112 Present digital value Dword
CH4
ID10114 Present weight Dword

……..

The I/O address of module 16:


Soft component Address Explanation Mark
Y11500 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH1 Y11501 Write in user-defined parameter
Y11502 Reset
Y11503 Calibration/resonance measurement
Y11504 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
Output coil CH2 Y11505 Write in user-defined parameter
Y11506 Reset
Y11507 Calibration/resonance measurement
Y11510 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH3 Y11511 Write in user-defined parameter
Y11512 Reset
Y11513 Calibration/resonance measurement
Y11514 Fast sampling enable, ON is fast sampling, OFF is
slow sampling
CH4 Y11515 Write in user-defined parameter
Y11516 Reset
Y11517 Calibration/resonance measurement
X11500 CH1 resonance frequency measurement complete
CH1
Input coil sign
X11501 CH2 resonance frequency measurement complete
CH2
sign
X11502 CH3 resonance frequency measurement complete
CH3
sign
X11503 CH4 resonance frequency measurement complete
CH4
sign
ID11500 Present digital value Dword
CH1
ID11502 Present weight Dword
ID11504 Present digital value Dword
CH2
Input register ID11506 Present weight Dword
ID11508 Present digital value Dword
CH3
ID11510 Present weight Dword
ID11512 Present digital value Dword
CH4
ID11514 Present weight Dword

13-7. Working mode

There are two method to set the working mode:


1. set through the control panel
2. set through Flash register
Open the XD PLC software, click the menu configure/expansion module setting.

Choose the correct model and configuration information:

Flash register setting:


The expansion module can set the gear and user-defined fast sampling frequency through PLC flash register
SFD.

Module no. SFD address Module no. SFD address

#1 SFD350~SFD359 #9 SFD430~SFD439

#2 SFD360~SFD369 #10 SFD440~SFD449

#3 SFD370~SFD379 #11 SFD450~SFD459

#4 SFD380~SFD389 #12 SFD460~SFD469

#5 SFD390~SFD399 #13 SFD470~SFD479

#6 SFD400~SFD409 #14 SFD480~SFD489

#7 SFD410~SFD419 #15 SFD490~SFD499

#8 SFD420~SFD429 #16 SFD500~SFD509

SFD350~SFD359 register explanation:


SFD Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Explanation
SFD350 CH4 CH3 CH2 CH1
Byte0
enable enable enable enable
CH2 fast sampling speed gear CH1 fast sampling speed
Byte1
(0-15) gear (0-15)
SFD351 CH4 fast sampling speed gear CH3 fast sampling speed
Byte2
(0-15) gear (0-15)
Byte3 CH1 user-defined fast sampling speed (Hz) (10-255) Slow sampling
SFD352 Byte4 CH2 user-defined fast sampling speed (Hz) (10-255) default speed is 5Hz,
Byte5 CH3 user-defined fast sampling speed (Hz) (10-255) fast sampling has 15
SFD353 Byte6 CH4 user-defined fast sampling speed (Hz) (10-255) user-defined speed
Byte7 gears
SFD354 Byte8
Byte9
SFD355 Byte10
Byte11
SFD356 Byte12
Byte13
SFD357 Byte14
Byte15
SFD358 Byte16
Byte17
SFD359 Byte18
Byte19

13-8. Module setting

Take module no.1 as an example:


Weight unit setting:
Write in weight through instruction TO. For example, the object weight is 1kg, write in 1 means the unit is kg,
write in 1000 means the unit is g, write in 10000 means the unit is 0.1g.

Sampling frequency:
Sampling frequency includes fast sampling and slow sampling. The two states can be switched through
Y10003. The default frequency of slow sampling is 5Hz. The fast sampling has 15 gears which can be selected
in PLC expansion module configuration table. Each gear from 0 to 14 has different sampling frequency and
filter parameters. User can choose suitable gear as actual needs, please refer to default gear parameter table.
Gear 15 is user-defined mode, it can set the sampling frequency and filter parameter by user. User can set the
fast sampling frequency (this parameter is invalid for other gears) by software and set the filter parameter by
instruction FROM and TO.

Resonance frequency measurement:


1. resonance frequency is the fixed vibration interference generated by machine, it will be tested when
installing the machine at the beginning.
2. repower on the module or write in 0 for the weight by instruction FROM and TO.
3. switch to fast sampling mode (Y10000 is ON), set on Y10003. The module will enter resonance frequency
measurement. Then set OFF Y10003. X10000 will be ON when the measurement completed. The result will
be automatic saved in the module. (it is necessary to test the resonance frequency in fast sampling mode)

Calibration:
Please calibrate the pressure sensor for the first time using.
Take module channel 1 as an example:
1. make sure the module connected to the weighting system. Please check if the value in ID10000
fluctuated(the fluctuation range is related to sensor range), the pressure value is increasing as the load
increasing. If ID10000 has no value, please check the sensor wiring. If the pressure value is decreasing as the
load increasing, the sensor positive and negative point may connect backward.
2. close fast sampling enable bit Y10000 before calibration.
3. make the pressure sensor without load, set to zero after the scale is stable, set ON Y10002(set to zero enable
bit).
4. put the load on the scale, write in the load weight by instruction TO, calibrate the system after the scale is
stable, set ON Y10003(calibration enable bit). The calibration completed when ID10002 is same to the load
weight, set OFF Y10003.
5. Hereto, the calibration finished. The module will automatic adjust the result according to the idle load value
and calibration value when weighing, and finally get the correct weight.

Default gear parameter:


Speed gear Fast Fast Kalman IIR IIR Lowpass
sampling sampling filter depth bandwidth attenuation cut-off
speed (Hz) filter width coefficient ratio frequency
coeffcicent
0 60 5 30 10 10 10
1 80 5 40 10 10 10
2 100 10 50 10 10 10
3 120 10 60 10 10 10
4 140 15 70 10 10 15
5 160 15 80 10 10 15
6 180 20 90 10 10 15
7 200 20 100 10 10 15
8 220 25 110 10 10 15
9 240 25 120 10 10 15
10 250 25 125 10 10 15
11 250 25 125 10 10 15
12 250 25 125 10 10 15
13 250 25 125 10 10 15
14 255 25 125 10 10 15

13-9. Instruction FROM and TO

Write instruction TO
S1 S2 S3 D1
M1
TO K0 K0 K2 K0

Function: write the PLC register data to module specified address, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: write in register quantity. Operand: K, TD, CD, D, FD.
D1: write in data first address in PLC.
Read instruction FROM
S1 S2 S3 D1
M1
FROM K0 K0 K2 K0

Function: read the module data to PLC register, the unit is word.
Operand:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: module first address. Operand: K, TD, CD, D, FD.
S3: read register quantity. operand: K, TD, CD, D, FD.
D1: PLC register first address.

Module parameter internal address:


From/ToData
K0 CH1 calibration weight Dword
K2 CH1 fast sampling filter width Word
K3 CH1 filter depth Word
K4 CH1 bandwidth coefficient Word
K5 CH1 attenuation coefficient Word
K6 CH1 low pass cutoff frequency Word
K7 CH1 resonance frequency (0.1HZ) Word
K8 CH2 calibration weight Dword
K10 CH2 fast sampling filter width Word
K11 CH2 filter depth Word
K12 CH2 bandwidth coefficient Word
K13 CH2 attenuation coefficient Word
K14 CH2 low pass cutoff frequency Word
K15 CH2 resonance frequency (0.1HZ) Word
K16 CH3 calibration weight Dword
K18 CH3 fast sampling filter width Word
K19 CH3 filter depth Word
K20 CH3 bandwidth coefficient Word
K21 CH3 attenuation coefficient Word
K22 CH3 low pass cutoff frequency Word
K23 CH3 resonance frequency (0.1HZ) Word
K24 CH4 calibration weight Dword
K26 CH4 fast sampling filter width Word
K27 CH4 filter depth Word
K28 CH4 bandwidth coefficient Word
K29 CH4 attenuation coefficient Word
K30 CH4 low pass cutoff frequency Word
K31 CH4 resonance frequency (0.1HZ) Word
Parameter explanation:
1. calibration weight: write in weight when calibrating
2. fast sampling filter width: the average times of fast sampling filter
3. attenuation coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
4. bandwidth coefficient: the larger the more stable, but too large will make the sampling value distortion and
sensitivity reduction.
5. resonance frequency: the scale has natural frequency, this frequency can be known by internal measurement.
The more accurate of the frequency, the better the filtering effect.
6. Filter depth: the larger the data, more stable the system, the lower the sensitivity.

13-10. A/D transformation diagram

The relationship between input voltage value and A/D transformed digital value:
0~39.06mV voltage input

13-11. Application program

Take module 1 as an example:


M11
OUT Y10002
Set to zero Channel 1 set to zero
M0
SBLOCK Block 1
Write in channel 1
weight TO K0 K0 K2 HD0
HD0:scale weight

SBLOCK

Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration

RST M0

M90 Channel 1 weight


OUT Y10000
Open fast sampling Channel 1 fast sampling enable

Explanation:
Set to zero through Y10002.
Write in the weight value through instruction TO. First send the weight value in HD0, set ON M0, write the
value of HD0 to module 1 channel 1.
Put the load, calibrate the scale through Y10003. The calibration is finished when the weight value is equal to
the weight display value.
Switch the slow or fast sampling through Y10000.
Y10000 open, channel 1 will collect data with fast sampling frequency.
Y10000 close, channel 1 will collect data with slow sampling frequency.
WUXI XINJE ELECTRIC CO., LTD.
4th Floor, Building 7th, No.100 Dicui Rd,
Wuxi, China
Tel: 86-0510-85134139
Fax: 86-0510-85111290
www.xinje.com
Email: cheerfiona@gmail.com

You might also like