XD Extension Module
XD Extension Module
User Manual
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.
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
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 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
Screw hole
Analog I/O terminals
Power LED
AO
Expansion
AI
port
C0
VI0
AI0
C1
VI1
AI1
C2
VI2
AI2
C3
VI3
AI3 Module type
Extension
cable
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
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.
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.
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.
2-2. Terminals
24V- C0 C1 C2 C3
24V+ VI0 VI1 VI2 VI3
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)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
Channel enable
Channel AD signal
(set ON the enable bit to use this channel)
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).
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:
#1 SFD350~SFD359 #9 SFD430~SFD439
Note: each SFD register can set 4 channels mode. Each register has 16 bits, every 4 bits set one channel mode.
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+
External current
device
2-6. AD conversion diagram
The relationship between analog value and digital value is shown as the following diagram:
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
+16383 +16383
digital
digital
0 20mA 0 4mA
analog
20mA
analog
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.
XD series analog modules do not occupy I/O units; the converted data is directly transferred into PLC register,
Register address of module1:
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
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.
#1 SFD350~SFD359 #9 SFD430~SFD439
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.
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
Voltage input
VI3-
VI2-
VI2+
VI3+
Voltage output
0CH 1CH
VO0+
VO0-
VO1+
24V 0V
VO1-
AI1+
AI1-
AI0-
AI0+
AI3-
AI2-
AI2+
Current output
0CH 1CH
24V 0V
AO1+
AO1-
AO0-
AO0+
R<500Ω
C_
External
current
device
3-6. AD conversion diagram
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
+16383 +16383
digital
dgital
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
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
4-1. Specifications
XD-E4AD transform the analog input (current or voltage) to digital value and send to PLC register.
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
XD series expansions do not occupy I/O units; the converted value is sent to PLC register directly.
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:
#1 SFD350~SFD359 #9 SFD430~SFD439
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
VI1+
VI1-
VI0-
VI0+
VI3-
VI2-
VI2+
VI3+
OCH 1CH 2CH 3CH
Current input
AI0+
AI3-
AI2-
AI2+
AI3+
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
+16383 +16383
digital
digital
4-7. Programming
SM0
MOV ID10000 D0
MOV ID10001 D1
MOV ID10002 D2
MOV ID10003 D3
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-1. Specifications
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
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
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
Voltage output:
0CH 1CH
VO0+
VO0-
VO1+
24V 0V
VO1-
Current output:
0CH 1CH
24V 0V
AO1+
AO1-
AO0-
AO0+
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
20mA 20mA
analog
analog
4mA
0 +4095 0 +4095
digital digital
5-7. Programming
SM0
MOV D10 QD10000 Write the value of D10 to channel 0
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+
24V-
24V+
EXC1- SIG1- SEN1-
EXC1+ SIG1+ SEN1+ SH1
Notes:
1. Please use the 24V power supply on the PLC to avoid interference.
2. Please use shield cable and single-point ground.
24V-
24V+
Connect to the pressure sensor:
6 wires mode:
4 wires mode:
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.
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.
………….
#1 SFD350~SFD359 #9 SFD430~SFD439
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
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.
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.
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.
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.
The relationship between input voltage value and A/D transformed digital value:
0~39.06mV voltage input
SBLOCK
Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration
RST M0
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+
Dimension 63mm×108mm×79.9mm
24V-
24V+
EXC1- SIG1- SEN1- SIG2- SEN2-
EXC1+ SIG1+ SEN1+ SIG2+ SEN2+ SH1
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
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+.
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.
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.
……………..
#1 SFD350~SFD359 #9 SFD430~SFD439
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.
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
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.
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.
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
SBLOCK
Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration
RST M0
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
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
Note:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control
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.
#1 SFD350~SFD359 #9 SFD430~SFD439
Byte6~
-
Byte19
8-5. Exterior connection
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
Digital
output
-100 0 350 ℃
Temperature
-1000 input
8-6. Programming
SM0
MOV K800 QD10000 Set channel 0 temperature to 800 (80 ºC)
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:
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:
Description:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control.
Flash registers:
Set the filter time and control cycle through SFD registers of PLC:
#1 SFD350~SFD359 #9 SFD430~SFD439
Byte6~
-
Byte19
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:
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
SM0
MOV K800 QD10000 Set channel 0 value to 800 (80°C)
MOV K5 QD10007
Set channel 0 parameter Ki to 5
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
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.
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
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
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 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
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
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
#1 SFD350~SFD359 #9 SFD430~SFD439
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.
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
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
Diagram A Diagram B
Diagram C
Diagram D Diagram E
Diagram F
After editing the HMI screen, download it to the HMI and start to work.
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
11-2. Terminals
24V- C0 C1
24V+ VO0 VO1
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
XD series analog modules do not occupy I/O units; the converted data is directly transferred into PLC register,
Register address of module1:
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.
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.
#1 SFD350~SFD359 #9 SFD430~SFD439
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.
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
Voltage input
VI3-
VI2-
VI2+
VI3+
Current input
AI0+
AI3-
AI2-
AI2+
AI3+
External
current
device
Voltage output:
C0 C1
VO0 VO1
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
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
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
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
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
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.
#1 SFD350~SFD359 #9 SFD430~SFD439
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
Voltage output:
0CH 1CH
VO0+
VO0-
VO1+
24V 0V
VO1-
Current output:
0CH 1CH
24V 0V
AO1+
AO1-
AO0-
AO0+
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
20mA 20mA
analog
analog
4mA
0 +4095 0 +4095
digital digital
12-7. Programming
SM0
MOV D10 QD10000 Write the value of D10 to channel 0
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+
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
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
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.
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.
……..
#1 SFD350~SFD359 #9 SFD430~SFD439
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.
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.
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.
The relationship between input voltage value and A/D transformed digital value:
0~39.06mV voltage input
SBLOCK
Y10003
TMR T3 K50 K100
Channel 1 calibration
T3
RST Y10003
Channel 1 calibration
RST M0
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