XC Expansion Module
XC Expansion Module
XC Expansion Module
User Manual
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
Correct
Application
Please follow the precautions. If not, it may lead the control system incorrect
or abnormal, even cause fortune lose.
The models could only be used according to the manual, and an only be
used along with the peripheral equipments recognized or recommended by
Xinje 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.
Catalog
1. MODULES INTRODUCTION ..................................................................................................................... 6
1-1.MODULE TYPE AND CONFIGURATION .......................................................................................................... 6
1-2.DIMENSIONS ............................................................................................................................................... 7
1-3. MODULE PART NAME AND FUNCTION ......................................................................................................... 8
1-4.GENERAL SPECIFICATIONS .......................................................................................................................... 8
1-5.INSTALLATION ............................................................................................................................................ 9
1-6.SET THE MODULE .......................................................................................................................................11
1-7.PID FUNCTION.......................................................................................................................................... 12
2. ANALOG INPUT MODULE XC-E8AD(-H) ............................................................................................. 15
2-1. SPECIFICATION ......................................................................................................................................... 15
2-2. TERMINALS .............................................................................................................................................. 16
2-3. I/O DISTRIBUTION .................................................................................................................................... 16
2-4. WORKING MODE ...................................................................................................................................... 19
2-5. EXTERIOR CONNECTION........................................................................................................................... 21
2-6. AD CONVERSION DIAGRAM ..................................................................................................................... 23
2-7. PROGRAMMING ........................................................................................................................................ 24
3. ANALOG INPUT/OUTPUT MODULE XC-E4AD2DA(-H).................................................................... 27
3-1. SPECIFICATION ......................................................................................................................................... 27
3-2. TERMINALS .............................................................................................................................................. 28
3-3. THE ASSIGNMENT OF I/O ADDRESS .......................................................................................................... 28
3-4. WORKING MODE ...................................................................................................................................... 31
3-5. EXTERIOR CONNECTION........................................................................................................................... 33
3-6. AD CONVERSION DIAGRAM ..................................................................................................................... 36
3-7. PROGRAMMING ........................................................................................................................................ 37
4. ANALOG INPUT MODULE XC-E4AD(-H) ............................................................................................. 38
4-1. SPECIFICATIONS ....................................................................................................................................... 38
4-2. TERMINALS .............................................................................................................................................. 39
4-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 39
4-4. WORKING MODE ...................................................................................................................................... 41
4-5. EXTERIOR CONNECTION........................................................................................................................... 43
4-6. AD CONVERSION DIAGRAM ..................................................................................................................... 44
4-7. PROGRAMMING ........................................................................................................................................ 45
5. ANALOG OUTPUT MODULE XC-E4DA(-H)......................................................................................... 46
5-1. SPECIFICATION ......................................................................................................................................... 46
5-2. TERMINALS .............................................................................................................................................. 47
5-3. I/O ADDRESS ASSIGNMENT....................................................................................................................... 47
5-4. WORKING MODE ...................................................................................................................................... 48
5-5. EXTERIOR CONNECTION........................................................................................................................... 49
5-6. DA CONVERT CHART ................................................................................................................................ 51
1. Modules introduction
Function
8 channels analog input (14bits); 4 channels current input, 4 channels voltage input
XC-E4AD2DA (-H)
XC-E4DA (-H)
XC-E6PT-P
-100 ~350 , 6 channels Pt100 temperature signal sampling, 0.1 degree precision,
built-in PID function
XC-E6TC-P
XC-E6TCA-P
XC-3AD4PT2DA
3 channels current input (14 bits), 4 channels PT100 temperature input and 2 channels
voltage output (10 bits)
XC-E2AD2PT2DA
2 channels current input (16 bits), 2 channels PT100 temperature input and 2 channels
voltage output (10 bits)
XC-E2WT
0~10mV, 2 channels pressure sensor signal input, 16 bits high precision AD conversion
XC-4AD (-H)
XC-2DA (-H)
XC-EnXmY
Module configuration
XC series expansion modules can be connected to the right side of PLC:
1-2. Dimensions
Analog, temperature, pressure modules, 8/16 points I/O modules: (dimension: mm)
63
55
73.3
R2
TYPE:XC-E6PT-P
DATE:20060410
SN:0067032266
PWR
94
102
24V
139
131
FG
COM
Y0
Y1
Y2
Y3
73.3
COM1 Y5
Y7
Y10
Y12
COM3 Y15
Y17
Y4
Y6
COM2 Y11
Y13
Y14
Y16
110
102
94
PORT2
PWR
RUN
ERR
0 1 2 3 4 5
6 7
24V
0V
Y20
Y22
COM5
Y25
Y27
Y30
Y32
COM7
Y35
Y37
COM4 Y21
Y23
Y24
Y26 COM6
Y31
Y33
Y34
Y36
3.5
TYPE:XC3-32R-E
DATE:20060410
SN:0067032266
XC-E32YR
PORT1
0 1 2 3 4 5
6 7
Name
Function
Power LED
Module type
Expansion port
To mount the module, pull down the pothook to take away the
module
Screw hole
Use M3 screw
Expansion cable
1-4.
General specifications
Operating Environment
No corrosive gas
Ambient Temperature
0 ~60
Store Temperature
-20~70
Ambient Humidity
5~95%
Store Humidity
5~95%
Installation
Size
63mm102mm73.3mm
Label notes:
TYPE:XC-E6PT-P
DATE:20060410
SN:0067032266
1-5.
Installation
XC 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:
PWR
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.
B. Choose the module type and channel parameters in the following window:
Differential
+
coefficient
e(t) = r (t ) c ( t )
u(t) = Kp [ e ( t ) + 1/Tie(t)dt + TD de(t)/dt]
(1-1)
(1-2)
e(t) is offset, r(t) is setting value, c(t) is analog value, u(t) is control value;
Kp is proportion coefficient, Ti is integral coefficient, TD is differential coefficient.
PID Parameters
Kp P is proportion parameter, to control the offset of the system once it happens.
Ki I is integral parameter, to eliminate the static error, improve the no error degree of the
system.
Kd D is differential parameter, to control the signal changing trend, decrease the system
vibration.
Diff Control range, to do PID control in the defined range.
Death Death area, compare the current PID output to the former one, if the difference is less
than the death area value, the module will abandon the current PID value, send the last
value to the PLC.
Control characteristics
When the testing value is low than QD-Diff, controller output range is full scale; when the testing
value is larger than QD+Diff, the controller stops outputting; in the range of QD-Diff to QD+Diff,
PID control works.
The control curve of PID:
XC-E6TC-P.
(2) Analog input. Each analog input channel has setting value and PID parameters. It
transforms the PID output to analog output. Such as XC-4AD, XC-8AD, XC-4AD/2DA.
(3) Analog value transforms to digital output. Analog expansion module has PID output, but
not has digital output. The controlling object needs digital output. It needs to transform
the PID value to PLC duty ratio output. User has to set the PID parameters and make the
control program in this method. Next is an example.
M8000
MOV
ID1006
D1000
MUL
D1000
K200
D1100
DDIV
D1100
K4095
D1200
T200
T200
T200
D1200 D1200
K0
K200
Y3
2-1. Specification
XC-E8AD and XC-E8AD-H transform the analog value (current or voltage input) to digital value
and send to PLC registers.
C0
VI0
C1
VI1
C2
VI2
VI
C3
PWR
XC-E8AD
AI
AI0
C0
AI1
C1
AI2
C2
AI3
C3
Items
0~5V, 0~10V
0~20mA, 4~20mA
15V
0~40mA
Integrate Precision
1%
Conversion speed
Analog power
supply
VI3
DC24V10%,100mA
Installation
Dimension
63mm102mm73.3mm
2-2. Terminals
24V
0V
.VI0
.
C0
AI0
C1
C0
AI1
VI1
C2
C1
AI2
VI2
.
C3
C2
VI3
C3
AI3
Channel
Terminal name
Signal name
CH0
VI0
C0
VI1
C1
VI2
C2
VI3
C3
AI0
AI0+current input
C0
AI1
C1
AI2
C2
AI3
C3
24V
+24Vpower supply
0V
CH1
CH2
CH3
CH4
CH5
CH6
CH7
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID100
ID108
Y100
QD100
1CH
ID101
ID109
Y101
QD101
2CH
ID102
ID110
Y102
QD102
3CH
ID103
ID111
Y103
QD103
4CH
ID104
ID112
Y104
QD104
5CH
ID105
ID113
Y105
QD105
6CH
ID106
ID114
Y106
QD106
7CH
ID107
ID115
Y107
QD107
Kp: QD108
Ki: QD109
Kd: QD110
Diff: QD111
Death: QD112
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID200
ID208
Y200
QD200
1CH
ID201
ID209
Y201
QD201
2CH
ID202
ID210
Y202
QD202
3CH
ID203
ID211
Y203
QD203
4CH
ID204
ID212
Y204
QD204
5CH
ID205
ID213
Y205
QD205
6CH
ID206
ID214
Y206
QD206
7CH
ID207
ID215
Y207
QD207
Kp: QD208
Ki: QD209
Kd: QD210
Diff: QD211
Death: QD212
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID300
ID308
Y300
QD300
1CH
ID301
ID309
Y301
QD301
2CH
ID302
ID310
Y302
QD302
3CH
ID303
ID311
Y303
QD303
4CH
ID304
ID312
Y304
QD304
5CH
ID305
ID313
Y305
QD305
6CH
ID306
ID314
Y306
QD306
7CH
ID307
ID315
Y307
QD307
Kp: QD308
Ki: QD309
Kd: QD310
Diff: QD311
Death: QD312
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID400
ID408
Y400
QD400
1CH
ID401
ID409
Y401
QD401
2CH
ID402
ID410
Y402
QD402
3CH
ID403
ID411
Y403
QD403
4CH
ID404
ID412
Y404
QD404
5CH
ID405
ID413
Y405
QD405
6CH
ID406
ID414
Y406
QD406
7CH
ID407
ID415
Y407
QD407
Kp: QD408
Ki: QD409
Kd: QD410
Diff: QD411
Death: QD412
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID500
ID508
Y500
QD500
1CH
ID501
ID509
Y501
QD501
2CH
ID502
ID510
Y502
QD502
3CH
ID503
ID511
Y503
QD503
4CH
ID504
ID512
Y504
QD504
5CH
ID505
ID513
Y505
QD505
6CH
ID506
ID514
Y506
QD506
7CH
ID507
ID515
Y507
QD507
Kp: QD508
Ki: QD509
Kd: QD510
Diff: QD511
Death: QD512
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID600
ID608
Y600
QD600
1CH
ID601
ID609
Y601
QD601
2CH
ID602
ID610
Y602
QD602
3CH
ID603
ID611
Y603
QD603
4CH
ID604
ID612
Y604
QD604
5CH
ID605
ID613
Y605
QD605
6CH
ID606
ID614
Y606
QD606
7CH
ID607
ID615
Y607
QD607
Kp: QD608
Ki: QD609
Kd: QD510
Diff: QD611
Death: QD512
Channel
AD signal
PID output
value
PID start/stop
control bit
Preset value
0CH
ID700
ID708
Y700
QD700
1CH
ID701
ID709
Y701
QD701
2CH
ID702
ID710
Y702
QD702
3CH
ID703
ID711
Y703
QD703
4CH
ID704
ID712
Y704
QD704
5CH
ID705
ID713
Y705
QD705
6CH
ID706
ID714
Y706
QD706
7CH
ID707
ID715
Y707
QD707
Kp: QD708
Ki: QD709
Kd: QD710
Diff: QD711
Death: QD712
Start signal (Y): when Y is 0, close PID control, when Y is 1, start PID control.
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD 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 FD registers of PLC. See
the following table:
Module
Channel ID
0CH~3CH
4CH~7CH
1# module
FD8250
FD8251
2# module
FD8258
FD8259
3# module
FD8266
FD8267
4# module
FD8274
FD8275
5# module
FD8282
FD8283
6# module
FD8290
FD8291
7# module
FD8298
FD8299
Note: As showed in the preceding table, each register set 4 channels mode, each register has 16
bits. From low bit to high bit, every 4 bits can set 1 channels mode.
Each bit definition is showed in the following table:
Register FD8250: (Module 1)
Channel 1
Bit7
Bit6
Channel 0
Bit5
Bit4
0: 0~10V
1: 0~5V
Bit3
Bit2
Channel 3
Bit15
Bit14
Bit1
Bit0
0: 0~10V
1: 0~5V
Channel 2
Bit13
Bit12
0: 0~10V
1: 0~5V
Bit11
Bit10
Bit9
Bit8
0:0~10V
1:0~5V
Register FD8251:
Channel 5
Bit7
Bit6
Channel 4
Bit5
Bit4
0:
0~20mA
1:
4~20mA
Bit3
Bit2
Bit15
Bit14
Bit0
0: 0~20mA
1: 4~20mA
Channel 7
Bit1
Channel 6
Bit13
-
Bit12
0:
0~20mA
1:
4~20mA
Bit11
00: 1/2 filter
01: not filter
10: 1/3 filter
11: 1/4 filter
Bit10
Bit9
-
Bit8
0: 0~20mA
1: 4~20mA
Example:
Set module 1 Channel No. 3, No.2, No.1, No.0 working mode to 0~10V, 0~5V, 0~10V, 0~5V, all
the four channels are not filter, data in FD8250 is 4545H
Set module 1 Channel No. 7, No.6, No.5, No.4 working mode to 0~20mA, 4~20mA, 0~20mA,
4~20mA, all the four channels are 1/2 filter, data in FD8251 is 0101H
2-5Exterior connection
Notes:
When connect external24V 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:
C0
VI0
C1
VI1
4CH
AI2
5CH
AI3
AI3+
AI2+
6CH
C3
VI3
C3
AI3-
C2
AI1+
AI1-
AI0+
AI0-
AI1
C1
AI2-
AI0
3CH
VI3-
VI2-
C2
VI2
Current input:
C0
3CH
VI3+
VI1-
2CH
VI2+
VI0-
1CH
VI1+
VI0+
0CH
+16383
+16383
digital
digital
analog
5v
analog
10v
+16383
+16383
digital
digital
analog
20mA
0 4mA
analog
20mA
2-7. Programming
Example 1:
Real-time read the data of the 8 channels (module 1)
M8000
MOV
ID100
D0
MOV
ID101
D1
MOV
ID102
D2
MOV
ID103
D3
MOV
ID104
D4
MOV
ID105
D5
MOV
ID106
D6
MOV
ID107
D7
END
PLC
XC-E8AD module 1
C0
FG
COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X13
X12
X14
X15
VI0
C1
VI1
C2
VI2
C3
VI3
0 1 2 3 4 5
6 7
VI
PORT1
PORT2
PWR
XC-E8AD
PWR
XC3-24R-E
RUN
AI
ERR
0 1 2 3 4 5
6 7
24V
0V
COM0
B
Y0
COM1
Y1
COM2
Y2
Y3
Y5
Y4
Y6
COM3
AI0
Y10
Y7
Y11
C0
AI1
C1
AI2
C2
AI3
C3
M8012 is ON every 100ms. It can meet the requirements of getting the value every
100ms.
Get the average value of the 20 values, save the result in D580. D580 is filter value.
Filter effect:
3-1. Specification
XC-E4AD2DA, XC-E4AD2DA-H transform the 4 channels analog value to digital value, 2
channels digital value to analog value, and send them to PLC.
AO0
C0
C1
VO0
AO1
VO1
AO
PWR
AI
VI0
C0
C1
AI0
AI1
VI1
VI2
C2
C3
AI2
AI3
VI3
Items
0~5V, 0~10V
DC 15V
Current input
Voltage output
0~20mA, 4~20mA
Current output
-
0~40mA
0~5V, 0~10V
0~20mA,
(Exterior
load
resistance
2K~1M)
(Exterior
load
resistance is less
than 500)
4~20mA
Distinguish ratio
0~4095
Integrate precision
1%
Convert speed
DC24V10%,100mA
Install format
Exterior size
63mm102mm73.3mm
3-2. Terminals
0V
24V
C0
VI0
.
AI0
Channel
CH0
CH1
CH2
CH3
CH0
CH1
.
C1
VI1
C0
A11
AO0
VO0
.
C1
VI2
C3
C2
AI2
VO1
VI3
AO1
AI3
Terminal name
Signal name
AI0
Current input
VI0
Voltage input
C0
AI1
Current input
VI1
Voltage input
C1
AI2
Current input
VI2
Voltage input
C2
AI3
Current input
VI3
Voltage input
C3
AO0
Current input
VO0
Voltage input
C0
AO1
Current input
VO1
Voltage input
C1
24V
0V
Address of module 1:
Channel
AD signal
PID output
value
PID start/stop
control bit
0CH
ID100
ID104
Y100
QD102
1CH
ID101
ID105
Y101
QD103
2CH
ID102
ID106
Y102
QD104
3CH
ID103
ID107
Y103
QD105
Channel
DA signal
0CH
QD100
1CH
QD101
PID start/stop
control bit
Address of module 2:
Channel
AD
PID output
value
0CH
ID200
ID204
Y200
QD202
1CH
ID201
ID205
Y201
QD203
2CH
ID202
ID206
Y202
QD204
3CH
ID203
ID207
Y203
QD205
Channel
DA signal
0CH
QD200
1CH
QD201
PID start/stop
control bit
Address of module 3:
Channel
AD signal
PID output
value
0CH
ID300
ID304
Y300
QD302
1CH
ID301
ID305
Y301
QD303
2CH
ID302
ID306
Y302
QD304
3CH
ID303
ID307
Y303
QD305
Channel
DA signal
0CH
QD300
1CH
QD301
Address of module 4:
Channel
AD signal
PID output
value
PID start/stop
control bit
0CH
ID400
ID404
Y400
QD402
1CH
ID401
ID405
Y401
QD403
2CH
ID402
ID406
Y402
QD404
3CH
ID403
ID407
Y403
QD405
Channel
DA signal
0CH
QD400
1CH
QD401
PID start/stop
control bit
Address of module 5:
Channel
AD signal
PID output
value
0CH
ID500
ID504
Y500
QD502
1CH
ID501
ID505
Y501
QD503
2CH
ID502
ID506
Y502
QD504
3CH
ID503
ID507
Y503
QD505
Channel
DA signal
0CH
QD500
1CH
QD501
PID start/stop
control bit
Address of module 6:
Channel
AD signal
PID output
value
0CH
ID600
ID604
Y600
QD602
1CH
ID601
ID605
Y601
QD603
2CH
ID602
ID606
Y602
QD604
3CH
ID603
ID607
Y603
QD605
Channel
DA signal
0CH
QD600
1CH
QD601
Address of module 7:
Channel
AD signal
PID output
value
PID start/stop
control bit
0CH
ID700
ID704
Y700
QD702
1CH
ID701
ID705
Y701
QD703
2CH
ID702
ID706
Y702
QD704
3CH
ID703
ID707
Y703
QD705
Channel
DA signal
0CH
QD700
1CH
QD701
Description:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control.
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
The module has current and voltage mode. Current has choices of 0~20mA, 4~20mA; voltage has
choices of 0~5V, 0~10V. 0CH~3CH are analog input channels, 4CH~5CH are analog output
channels. These parameters can be set through PLC FD registers.
Module
Channel
0CH~3CH
4CH~5CH
Module 1
FD8250
Module 2
FD8258
Module 3
FD8266
Module 4
FD8274
Module 5
FD8282
Module 6
FD8290
Module 7
FD8298
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.
The setting method: (module 1)
Register FD8250:
Channel 1
Bit7
Bit6
Bit5
0: voltage
input
1: current
input
Channel 0
Bit4
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Bit3
Bit2
0: voltage
input
1: current
input
Channel 3
Bit15
Bit14
Bit13
0: voltage
input
1: current
input
Bit1
Bit0
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Channel 2
Bit12
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Bit11
Bit10
Bit9
0: voltage
input
1: current
input
Bit8
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Bit6
Bit5
0: voltage
input
1: current
input
Channel 4
Bit4
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Bit3
00: 1/2 filter
01: not filter
10: 1/3 filter
11: 1/4 filter
Bit2
Bit1
0: voltage
input
1: current
input
Bit0
0:0~10V
1:0~5V
0:0~20mA
1:4~20mA
Example: If set the working mode of module 1 channel 3, channel 2, channel 1, channel 0 to
0~20mA, 4~20mA, 0~10V, 0~5V, filters are all 1/2 filter, value in FD8250 is 2301H.
3-5Exterior connection
When make exterior connection, please read the following items:
When connect24V 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.
XC-E4AD2DA: 0~20mA or 4~20mA current output need external 24V power supply, the
module control the current according to the value of QD. The module cannot produce current
by itself.
XC-E4AD2DA-H: 0~20mA or 4~20mA current output do not need external 24V power
supply, the module control the current according to the value of QD. The module current
output is draw-off current.
Voltage input
VI2-
VI1+
VI1-
VI0+
VI0-
0CH
VI2
1CH
C3
AI3
AI2
C2
VI3
VI3+
AI1
VI1
VI3-
C1
AI0
VI2+
VI0
C0
2CH
3CH
Voltage output
VO1-
VO0+
VO0-
VO1+
1CH
0CH
AO0
C0
C1
AO1
VO1
VO0
Current input
0CH
1CH
VI2
C3
2CH
AI3
VI3
AI3+
AI2
AI2+
C2
AI3-
AI1
VI1
AI1+
AI1-
AI0+
AI0-
C1
AI0
AI2-
VI0
C0
3CH
Current output
AO1-
AO0+
AO0-
AO0
C0
AO1+
1CH
0CH
C1
AO1
VO1
VO0
Note:
1. XC-E4AD2DA current output needs external 24V power supply.
AO_+
R<500
C_
+16383
+16383
digital
digital
5v
analog
+16383
10v
analog
+16383
dgital
digital
analog
0 4mA
20mA
20mA
analog
The relationship between input digital value and corresponding analog value:
0~5V analog output
10v
5v
analog
analog
digital
+4095
digital
+4095
20mA
20mA
analog
analog
4mA
0
digital
+4095
digital
+4095
Note: When input data exceeds 4095, analog output will stay at the max value of 5V, 10V or
20mA.
3-7. Programming
Example Real time read 4 channels data, write 2 channels data (take expansion 1 as an example)
M8000
MOV
ID100
D0
MOV
ID101
D1
MOV
ID102
D2
MOV
ID103
D3
MOV
D10
QD100
MOV
D11
QD101
END
4-1. Specifications
XC-E4AD, XC-E4AD-H transform the analog input (current or voltage) to digital value and send
to PLC register.
24V
PWR
AI
VI0
C0
C1
AI0
AI1
VI1
VI2
C2
C3
AI2
AI3
VI3
ITEMS
Voltage Input
Current Input
DC 0~5V, 0~10V
DC 0~20mA, 4~20mA
DC 18V
DC 0~40mA
Resolution
1/16383(14Bit); the convert data is stored in PLC in the form of Hex. (14Bit)
0~K4095
Synthesis Precision
0.8%
Conversion Speed
Power Supply
DC24V10%,100mA
Installation
Dimension
63mm102mm73.3mm
4-2. Terminals
24V
C0
0V
VI0
Channel
CH0
CH1
CH2
CH3
.
AI0
.
C1
VI1
.
A11
C2
VI2
AI2
C3
VI3
AI3
Terminal name
Signal name
AI0
Current input
VI0
Voltage input
C0
AI1
Current input
VI1
Voltage input
C1
AI2
Current input
VI2
Voltage input
C2
AI3
Current input
VI3
Voltage input
C3
24V
0V
Channel
AD Signal
PID Output
Value
PID Start/Stop
Control Bit
Preset Value
0CH
ID100
ID104
Y100
QD102
1CH
ID101
ID105
Y101
QD103
2CH
ID102
ID106
Y102
QD104
3CH
ID103
ID107
Y103
QD105
Channel
AD Signal
PID Output
Value
PID Start/Stop
Control Bit
Preset Value
0CH
ID200
ID204
Y200
QD202
1CH
ID201
ID205
Y201
QD203
2CH
ID202
ID206
Y202
QD204
3CH
ID203
ID207
Y203
QD205
PID Start/Stop
Control Bit
Preset Value
Channel
AD Signal
PID Output
Value
0CH
ID300
ID304
Y300
QD302
1CH
ID301
ID305
Y301
QD303
2CH
ID302
ID306
Y302
QD304
3CH
ID303
ID307
Y303
QD305
Channel
AD Signal
PID Output
Value
PID Start/Stop
Control Bit
Preset Value
0CH
ID400
ID404
Y400
QD402
1CH
ID401
ID405
Y401
QD403
2CH
ID402
ID406
Y402
QD404
3CH
ID403
ID407
Y403
QD405
PID Start/Stop
Control Bit
Preset Value
Channel
AD Signal
PID Output
Value
0CH
ID500
ID504
Y500
QD502
1CH
ID501
ID505
Y501
QD503
2CH
ID502
ID506
Y502
QD504
3CH
ID503
ID507
Y503
QD505
Diff------ QD509
Death----QD510
Channel
AD Signal
PID Output
Value
PID Start/Stop
Control Bit
Preset Value
0CH
ID600
ID604
Y600
QD602
1CH
ID601
ID605
Y601
QD603
2CH
ID602
ID606
Y602
QD604
3CH
ID603
ID607
Y603
QD605
Channel
AD Signal
PID Output
Value
PID Start/Stop
Control Bit
Preset Value
0CH
ID700
ID704
Y700
QD702
1CH
ID701
ID705
Y701
QD703
2CH
ID702
ID706
Y702
QD704
3CH
ID703
ID707
Y703
QD705
Description:
Start signal (Y): when Y is 0, close PID control, when Y is 1, start PID control
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
The working mode can be voltage 0~5V, 0~10V or current 0~20mA, 4~20mA, set through FD
registers of PLC:
Module
Channels address
0CH~3CH
Module 1
FD8250
Module 2
FD8258
Module 3
FD8266
Module 4
FD8274
Module 5
FD8282
Module 6
FD8290
Module 7
FD8298
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:
Register FD8250:
Channel 1
Bit7
Bit6
Channel 0
Bit5
Bit4
Bit3
0: voltage
input
0:0~10V
1:0~5V
1: current
input
0:0~20mA
1:4~20mA
Channel 3
Bit15
Bit14
Bit1
Bit0
0: voltage
input
0:0~10V
1:0~5V
1: current
input
0:0~20mA
1:4~20mA
Channel 2
Bit13
Bit2
Bit12
Bit11
0: voltage
input
0:0~10V
1:0~5V
1: current
input
0:0~20mA
1:4~20mA
Bit10
Bit9
Bit8
0: voltage
input
0:0~10V
1:0~5V
1: current
input
0:0~20mA
1:4~20mA
Example: If set working mode to 0~20mA, 4~20mA, 0~10V, 0~5V of module 1 channel 3,
channel 2, channel 1, channel 0, filters are all 1/2 filter, the value in FD8250 is 2301H.
Voltage input
0CH
1CH
VI2
C3
AI2
2CH
AI3
VI3
VI3+
VI2+
C2
VI3-
AI1
VI1
VI2-
VI1-
VI0+
VI0-
C1
AI0
VI1+
VI0
C0
3CH
Current input
VI2
C3
1CH
AI2+
2CH
AI3
VI3
AI3+
AI2
C2
AI1+
AI0+
AI1-
AI0-
0CH
AI1
VI1
AI3-
C1
AI0
AI2-
VI0
C0
3CH
+16383
+16383
digital
digital
analog
5v
10v
analog
+16383
+16383
digital
digital
analog
20mA
0 4mA
analog
20mA
4-7. Programming
Explanation:
M8000 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.
5-1. Specification
XC-E4DA and XC-E4DA-H transform 12 bits digital value to current or voltage output.
AO0
C0
C1
VO0
AO1
VO1
AO
PWR
AO
C2
AO2
C3
VO2
AO3
VO3
Items
Voltage output
DC0~5V, 0~10V
(external load
2K~1M)
resistor
is
DC0~20mA, 4~20mA
(external load resistor is less than 500
)
Distinguish Ratio
1/4096(12Bit); the converted data is stored into PLC with the format of
HEX
Integrate precision
0.8%
Convert speed
Power
using
for
analog
DC 24V10%, 100mA
Install format
Exterior size
63mm102mm73.3mm
5-2. Terminals
24V
0V
C0
VO0
.
C2
Channel
CH0
CH1
CH2
CH3
VO2
AO0
C1
.
AO2
C3
VO1
VO3
AO1
AO3
Terminal name
Signal name
AO0
Current output
VO0
Voltage output
C0
AO1
Current output
VO1
Voltage output
C1
AO2
Current output
VO2
Voltage output
C2
AO3
Current output
VO3
Voltage output
C3
24V
0V
Module 1
Module 2
Module 3
Module 4
Module 5
Module 6
Module 7
0CH
QD100
QD200
QD300
QD400
QD500
QD600
QD700
1CH
QD101
QD201
QD301
QD401
QD501
QD601
QD701
2CH
QD102
QD202
QD302
QD402
QD502
QD602
QD702
3CH
QD103
QD203
QD303
QD403
QD503
QD603
QD703
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD register
The module has two modes for choice: voltage 0~5V, 0~10V, current 0~20mA, 4~20mA. The
modes can be set through FD register of PLC.
Module
Channel address
0CH~3CH
Module 1
D8250
Module 2
D8258
Module 3
D8266
Module 4
D8274
Module 5
D8282
Module 6
D8290
Module 7
D8298
Every 4 bits of the register define the working mode of one channel. Every register set 4 channels
modes.
Take module 1 as an example:
Register FD8250:
Channel 1
Bit7
Bit6
Bit5
Channel 0
Bit4
0:Voltage
output
0:0~10V
1:0~5V
1:current
output
0:0~20mA
1:4~20mA
Bit3
Bit2
Channel 3
Bit15
Bit14
Bit13
Bit1
Bit0
0: Voltage
output
0:0~10V
1:0~5V
1:Current
output
0:0~20mA
1:4~20mA
Channel 2
Bit12
0: Voltage
output
0:0~10V
1:0~5V
1: current
output
0:0~20mA
1:4~20mA
Bit11
Bit10
Bit9
Bit8
0: Voltage
output
0:0~10V
1:0~5V
1: current
output
0:0~20mA
1:4~20mA
C3
VO2-
AO3
VO3
VO3+
AO1
VO1
VO0
AO2
VO2
VO3-
C1
C2
VO2+
AO0
C0
VO1+
VO1-
VO0-
VO0+
Voltage output
AO1+
C1
AO2
C3
VO2
AO3
VO3
AO1
Note:
1. XC-E4DA current output needs external 24V power supply.
AO3+
AO3-
VO1
AO2-
VO0
C2
AO2+
AO0
C0
AO1-
AO0-
AO0+
Current output
AO_+
R<500
C_
5v
10v
analog
analog
digital
+4095
digital
+4095
20mA
20mA
analog
analog
4mA
digital
+4095
digital
+4095
When the digital data exceed 4095, D/A analog output data will keep 5V, 10V or 20mA.
5-7. Programming
Example Real-time write data into 4 channels.
M8000
MOV
D10
QD100
MOV
D11
QD101
MOV
D12
QD102
MOV
D13
QD103
END
6-1. Specifications
XC-E2DA and XC-E2DA-H transform 12 bits digital value to current or voltage output.
AO0
C0
C1
AO1
VO1
VO0
AO
PWR
AI
Items
Voltage output
Current output
Analog output
DC 0 to 5V, 0 to 10V
(external load resistor
2K~1M)
Digital input
12 bits
Resolution
General precision
1%
Conversion speed
Isolation
DC24V10%,100mA
Installation
Dimension
63mm102mm73.3mm
6-2. Terminals
24V
0V
Channel
CH0
CH1
C0
VO0
AO0
C1
.
VO1
AO1
Terminal name
Signal name
AO0
Current output
VO0
Voltage output
C0
AO1
Current output
VO1
Voltage output
C1
24V
0V
Module 1
Module 2
Module 3
Module 4
Module 5
Module 6
Module 7
0CH
QD100
QD200
QD300
QD400
QD500
QD600
QD700
1CH
QD101
QD201
QD301
QD401
QD501
QD601
QD701
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
The module output has voltage 0 ~ 5V, 0 ~ 10V, current 0 ~ 20mA, 4 ~ 20mA, set the modes
through the PLC internal special FLASH registers FD.
Module
Channels No.
0CH to 1CH
Module 1
D8250
Module 2
D8254
Module 3
D8258
Module 4
D8262
Module 5
D8264
Module 6
D8268
Module 7
D8272
Note: As shown in the preceding table, each register set 2 channels mode, each register has 16 bits,
from low bit to high bit, every 4 bits set 1 channel mode.
Take the first module as an example:
Register FD8250:
Channel 1
Bit7
Bit6
Channel 0
Bit5
Bit4
0:voltage
output
0:0 ~10V
1:0 ~ 5V
1:current
output
0:0~20mA
1:4~20mA
Bit3
Bit2
Bit1
Bit0
0:voltage
output
0:0 ~10V
1:0 ~ 5V
1:current
output
0:0~20mA
1:4~20mA
2. XC-E2DA-H current output is draw-off current, it doesnt need external 24V power
supply. The wiring diagram:
AO_+
R<500
C_
5v
10v
analog
analog
digital
+4095
digital
+4095
20mA
20mA
analog
analog
4mA
0
digital
+4095
digital
+4095
6-7. Programming
Real-time write data to 2 channels
M8000
MOV
D10
QD100
MOV
D11
QD101
END
7-1. Specification
XC-E6PT can collect the temperature signal from PT100 sensor. It doesnt have PID function.
XC-E6PT-P can collect the temperature signal from PT100 sensor, it has PID function.
C0M0
COM2
Y3
C0M1
Y5
Y1
Y2
Y4
Y0
PWR
AI
A0
C0
C1
A1
A2
C2
A3
C3
A5
A4
C4
C5
Item
Content
Temperature
measurement range
-100 ~500
Control precision
0.5
Resolution
0.1
Integrate precision
Conversion speed
Analog power
DC24V10%50mA
Installation format
Dimension
63mm102mm73.3mm
Note:
1. Without signal input, the channel data will be 3500
2. Connect to Pt100 platinum thermal resistance according to actual requirements
7-2. Terminals
0V
24V
C0
A0
.
C1
COM0
.Y0
COM1 COM2
Y2
Y1
.
Y3
A1
A2
A4
C2
C3
A3
C4
Y4
C5
Y5
A5
Channel
Terminal name
Signal name
CH0
A0
C0
A1
C1
A2
C2
A3
C3
A4
C4
A5
C5
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
COM1
COM2
24V
0V
CH1
CH2
CH3
CH4
CH5
-
Module 1 address:
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID100
QD100
Y100
1CH
ID101
QD101
Y101
2CH
ID102
QD102
Y102
3CH
ID103
QD103
Y103
4CH
ID104
QD104
Y104
5CH
ID105
QD105
Y105
PID of first 3
channels
PID of last 3
channels
Kp-----QD106
Ki-----QD107
Kd-----QD108
Diff---QD109
Kp-----QD110
Ki-----QD111
Kd-----QD112
Diff---QD113
PID of first 3
channels
PID of last 3
channels
Kp-----QD206
Ki-----QD207
Kd-----QD208
Diff---QD209
Kp-----QD210
Ki-----QD211
Kd-----QD212
Diff---QD213
PID of first 3
channels
PID of last 3
channels
Kp-----QD306
Ki-----QD307
Kd-----QD308
Diff---QD309
Kp-----QD310
Ki-----QD311
Kd-----QD312
Diff---QD313
PID of first 3
channels
PID of last 3
channels
Kp-----QD406
Ki-----QD407
Kd-----QD408
Diff---QD409
Kp-----QD410
Ki-----QD411
Kd-----QD412
Diff---QD413
Module 2 address:
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID200
QD200
Y200
1CH
ID201
QD201
Y201
2CH
ID202
QD202
Y202
3CH
ID203
QD203
Y203
4CH
ID204
QD204
Y204
5CH
ID205
QD205
Y205
Module 3 address:
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID300
QD300
Y300
1CH
ID301
QD301
Y301
2CH
ID302
QD302
Y302
3CH
ID303
QD303
Y303
4CH
ID304
QD304
Y304
5CH
ID305
QD305
Y305
Module 4 address:
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID400
QD400
Y400
1CH
ID401
QD401
Y401
2CH
ID402
QD402
Y402
3CH
ID403
QD403
Y403
4CH
ID404
QD404
Y404
5CH
ID405
QD405
Y405
0CH
Real-time
temperature
ID500
Set
temperature
QD500
PID start/stop
bit
Y500
1CH
ID501
QD501
Y501
2CH
ID502
QD502
Y502
3CH
ID503
QD503
Y503
4CH
ID504
QD504
Y504
5CH
ID505
QD505
Y505
0CH
Real-time
temperature
ID600
Set
temperature
QD600
1CH
ID601
2CH
Module 5 address:
PID of the first 3
channels
Kp-----QD506
Ki-----QD507
Kd-----QD508
Diff---QD509
Kp-----QD510
Ki-----QD511
Kd-----QD512
Diff---QD513
PID start/stop
bit
Y600
QD601
Y601
ID602
QD602
Y602
3CH
ID603
QD603
Y603
4CH
ID604
QD604
Y604
Kp-----QD606
Ki-----QD607
Kd-----QD608
Diff---QD609
Kp-----QD610
Ki-----QD611
Kd-----QD612
Diff---QD613
5CH
ID605
QD605
Y605
Kp-----QD706
Ki-----QD707
Kd-----QD708
Diff---QD709
Kp-----QD710
Ki-----QD711
Kd-----QD712
Diff---QD713
Channel
Module 6 address:
Channel
Module 7 address:
0CH
Real-time
temperature
ID700
Set
temperature
QD700
1CH
ID701
QD701
Y701
2CH
ID702
QD702
Y702
3CH
ID703
QD703
Y703
4CH
ID704
QD704
Y704
5CH
ID705
QD705
Y705
Channel
PID start/stop
Y700
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
Set the filter and control cycle through FD registers of PLC.
channel address
0CH~3CH
4CH~5CH
Module 1
FD8250
Module 2
FD8258
Module 3
FD8266
Module 4
FD8274
Module 5
FD8282
FD8251
Module 6
FD8290
Module 7
FD8298
Module
HOOOO
4CH
5CH
Each FD register can set 4 channels parameters. Every 4 bits of the FD register can set one
channel parameters.
Take module 1 as an example:
Register FD8250:
Channel 2
Bit7
Bit6
Channel 1
Bit5
Bit4
0: 2s
1: 20s
001/2 filter
01no filter
101/3 filter
111/4 filter
Bit3
Bit14
Bit0
0: 2s
1: 20s
Bit9
Bit8
0: 2s
1: 20s
Bit1
Bit0
0: 2s
1: 20s
Channel 3
Bit13
Bit12
0: 2s
1: 20s
001/2 filter
01no filter
101/3 filter
111/4 filter
Bit1
001/2 filter
01no filter
101/3 filter
111/4 filter
Channel 4
Bit15
Bit2
Bit11
Bit10
001/2 filter
01no filter
101/3 filter
111/4 filter
Register FD8251:
Channel 5
Bit7
001/2 filter
01no filter
101/3 filter
111/4 filter
Bit6
Channel 4
Bit5
Bit4
0: 2s
1: 20s
Bit3
001/2 filter
01no filter
101/3 filter
111/4 filter
Bit2
Note:
1. When the product is out of factory, the default value is 0, the filter format is 1/2 filter.
2. Each channel parameters include filter mode and control cycle.
3. Control cycle: in the control cycle, PID function controls the temperature according to the
duty ratio which calculates through PID output value.
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:
A2
C3
A3
C4
A4
C5
A5
PT100
C2
PT100
A1
PT100
C1
PT100
A0
PT100
PT100
C0
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
3500
Digital
output
-100
-1000
Temperature
input
350
7-6. Programming
Example 1: Module 1, PID control for CH0
M8000
M0
END
MOV
K800
QD100
MOV
K30
QD106
MOV
K5
QD107
MOV
K50
QD108
MOV
K150
QD109
Y100
Example 2: XC-E6PT-P module 1, read the temperature of CH0 and CH1 then send to PLC
register D0 and D1, PID control for CH0.
M8000
MOV
ID100
D0
MOV
ID101
D1
MOV
K500
QD100
Set value
M8002
Y100: PID start/stop bit
M0
Y100
M8002
END
MOV
K100
QD106
MOV
K20
QD107
MOV
K100
QD108
MOV
K100
QD109
C0M0
24V
C0M1
Y0
C0M2
Y1
Y3
Y2
Y5
Y4
PWR
AI
TC0+
TC1+
TC2+
TC3+
TC4+
TC5+
TC0TC1TC2TC3TC4TC5-
Items
Content
K type thermocouple
0 ~1000
Control precision
0.5
Resolution
0.1
Integrate precision
Conversion speed
Analog power
DC24V10%, 50mA
Install format
Dimension
63mm102mm73.3mm
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.
8-2. Terminals
0V
24V
TCO-
COM0
.Y0
COM1 COM2
Y2
Y1
.
Y3
Y4
Y5
TC0+
TC1+
TC2+_ TC3+
TC4+
TC5+
TC1TC2TC3TC4TC5-
Channel
Terminal name
Signal name
CH0
TC0+
TC0-
TC1+
TC1-
TC2+
TC2-
TC3+
TC3-
TC4+
TC4-
TC5+
TC5-
Y0
0CH output
COM0
Y1
1CH output
COM1
Y2
2CH output
COM2
Y3
3CH output
COM3
Y4
4CH output
COM4
Y5
5CH output
COM5
24V
0V
CH1
CH2
CH3
CH4
CH5
CH0
CH1
CH2
CH3
CH4
CH5
-
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID100
QD100
Y100
1CH
ID101
QD101
Y101
2CH
ID102
QD102
Y102
3CH
ID103
QD103
Y103
4CH
ID104
QD104
Y104
5CH
ID105
QD105
Y105
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID200
QD200
Y200
1CH
ID201
QD201
Y201
2CH
ID202
QD202
Y202
3CH
ID203
QD203
Y203
4CH
ID204
QD204
Y204
5CH
ID205
QD205
Y205
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID300
QD300
Y300
1CH
ID301
QD301
Y301
2CH
ID302
QD302
Y302
3CH
ID303
QD303
Y303
4CH
ID304
QD304
Y304
5CH
ID305
QD305
Y305
Kp-----QD106
Ki-----QD107
Kd-----QD108
Diff---QD109
Kp-----QD110
Ki-----QD111
Kd-----QD112
Diff---QD113
Kp-----QD206
Ki-----QD207
Kd-----QD208
Diff---QD209
Kp-----QD210
Ki-----QD211
Kd-----QD212
Diff---QD213
Kp-----QD306
Ki-----QD307
Kd-----QD308
Diff---QD309
Kp-----QD310
Ki-----QD311
Kd-----QD312
Diff---QD313
Module 2:
Module 3:
Module 4:
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID400
QD400
Y400
1CH
ID401
QD401
Y401
Kp-----QD406
Ki-----QD407
Kd-----QD408
Diff---QD409
Kp-----QD410
Ki-----QD411
Kd-----QD412
Diff---QD413
2CH
ID402
QD402
Y402
3CH
ID403
QD403
Y403
4CH
ID404
QD404
Y404
5CH
ID405
QD405
Y405
Channel
Real-time
temperature
Set
temperature
PID start/stop
bit
0CH
ID500
QD500
Y500
1CH
ID501
QD501
Y501
Kp-----QD506
Ki-----QD507
Kd-----QD508
Diff---QD509
Kp-----QD510
Ki-----QD511
Kd-----QD512
Diff---QD513
2CH
ID502
QD502
Y502
3CH
ID503
QD503
Y503
4CH
ID504
QD504
Y504
5CH
ID505
QD505
Y505
0CH
Real-time
temperature
ID600
Set
temperature
QD600
PID start/stop
bit
Y600
1CH
ID601
QD601
Y601
ID602
QD602
Y602
3CH
ID603
QD603
Y603
Kp-----QD606
Ki-----QD607
Kd-----QD608
Diff---QD609
Kp-----QD610
Ki-----QD611
Kd-----QD612
Diff---QD613
2CH
4CH
ID604
QD604
Y604
5CH
ID605
QD605
Y605
Module 5:
Module 6:
Channel
Module 7:
Channel
Real-time
temperature
Set
temperature
0CH
ID700
QD700
Y700
1CH
ID701
QD701
Y701
2CH
ID702
QD702
Y702
3CH
ID703
QD703
Y703
4CH
ID704
QD704
Y704
5CH
ID705
QD705
Y705
Kp-----QD706
Ki-----QD707
Kd-----QD708
Diff---QD709
Kp-----QD710
Ki-----QD711
Kd-----QD712
Diff---QD713
Description:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control.
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
Set the filter time and control cycle through FD registers of PLC:
Module
Channel address
0CH~3CH
4CH~5CH
Module 1
FD8250
Module 2
FD8258
Module 3
Module 4
FD8266
FD8274
Module 5
FD8282
Module 6
FD8290
Module 7
FD8298
Every 4 bits of the register define one channel working mode. Each bit definition is shown in the
following table:
Take module 1 as an example
Register FD8250:
Channel 1
Bit7
Bit6
Channel 0
Bit5
Bit4
0: 2s
1: 20s
Bit3
Bit14
Bit0
0: 2s
1: 20s
Channel 2
Bit13
Bit1
Channel 3
Bit15
Bit2
Bit12
0: 2s
1: 20s
Bit11
Bit10
Bit9
Bit8
0: 2s
1: 20s
Register FD8251:
Channel 5
Bit7
Bit6
Channel 4
Bit5
Bit4
0: 2s
1: 20s
Bit3
Bit2
Bit1
-
Bit0
0: 2s
1: 20s
Note:
1. When the product is out of factory, the default value is 0, the filter format is 1/2 filter.
2. Each channel parameters include filter mode and control cycle.
3. Control cycle: in the control cycle, PID function controls the temperature according to the
duty ratio which calculates through PID output value.
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+
TC0TC1TC2TC3TC4TC5-
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
8-6. Programming
Example: programming for the first channel.
M8000
M0
MOV
K800
QD100
MOV
K30
QD106
MOV
K5
QD107
MOV
K500
QD108
MOV
K150
QD109
Y100
FEND
9-1. Specifications
XC-E6TCA-P (V4) and higher version has better noise immunity ability. XC-E6TCA-P is
temperature control module. As the expansion module of PLC, it has 6 channels temperature
signal input and support various types thermocouple. Each channel can auto-tune PID parameters
and communicate with PLC. So based on this module, you can build your temperature control
system with PLC, LCD screen and computer.
C0
AI0
C1
AI1
C2
AI2
C3
VO0
C4
VO1
PWR
A0
B0
C0
A1
B1
C1
A2
B2
C2
A3
B3
C3
Item
Specs
Temperature range
Environment temperature
0 ~60
Conservation temperature
-20~70
Environment humidity
5~95%
Conservation humidity
5~95%
Temperature
signal
input
6 channels
Resolution
0.1
Integrated precision
0.1
Transform speed
Installation
Outline dimension
63mm102mm73.3mm
Using requirements:
The measurement temperature should be higher than the module working temperature!
9-2. Terminals
24V
TCO-
0V
COM0
.Y0
COM1 COM2
Y2
Y1
.
Y3
Y4
Y5
TC0+
TC1+
TC2+_ TC3+
TC4+
TC5+
TC1TC2TC3TC4TC5-
Terminal
Explanation
Input terminals
(TC0+,TC0,,TC5+,TC5-)
6
channels
Output terminals
(Y0~Y5)
6
channels
Digital output
Sensor type
Set the model and channel parameters in the following window. Then click write to
PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
To choose the thermocouple type for each channel, you should set the data in FD8250 and
FD8251 of PLC.
FD8250:
channel 1
Bit7
Bit6
Bit5
channel 0
Bit4
Bit3
channel 3
Bit15
Bit14
Bit13
Bit2
Bit1
Bit0
Bit11
Bit10
Bit9
Bit8
FD8251:
channel 5
Bit7
Bit6
Bit5
channel 4
Bit4
Bit3
Bit2
Bit15
Bit14
Bit1
Bit0
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
Explanation
Channel
Ch0
Ch1
Ch5
Module 1
ID100
ID101
ID10
ID105
Module 2
ID200
ID201
ID20
ID205
ID00
ID01
ID0
ID05
Module 7
ID700
ID701
ID70
ID705
Module 1
X100
X101
X10
X105
Module 2
X200
X201
X20
X205
X00
X01
X0
X05
Module 7
X700
X701
X70
X705
Connection state
Module 1
X110
X111
X11
X115
of
Module 2
X210
X211
X21
X215
thermocouple(0 is
X10
X11
X1
X15
connection, 1 is
Module 7
X710
X711
X71
X715
Module 1
Y100
Y101
Y10
Y105
Module 2
Y200
Y201
Y20
Y205
Y00
Y01
Y0
Y05
Display
temperature
Unit: 0.1
PID output
( return to the X
input of PLC )
disconnection)
Enable signal
Module 7
Y700
Y701
Y70
Y705
auto-tune
Module 1
X120
X121
X12x
X125
Module 2
X220
X221
X22x
X225
is normal, 1 is
..
Xx20
Xx21
Xx2x
Xx25
error)
Module 7
X720
X721
X72x
X725
PID
After auto-tune, PID parameters and temperature control period value are refreshed, the bit value
is cleared to be 0. The user can read the bit to know the state. 1 means auto-tune is ongoing. 0
means auto-tune has finished.
Digital quantity output range is 0~4095.
PID output
When the PID output is analog quantity (such as steam valve open degree or silicon-controlled
( The result )
conduction angle), the value can be transmitted to the analog quantity output module in order to
realize the control demand.
PID parameters
( P, I, D )
PID
calculation
PID arithmetic is effective in the range of T (setting temperature) Diff. In real temperature
range ( Diff )
control environment, when the temperature is lower than T- Diff, the PID output is the maximum
Unit: 0.1
value; when the temperature is higher than T+Diff, the PID output is the minimum value.
Temperature
difference value
Unit: 0.1
Set temperature
Unit: 0.1
The target temperature of the control system. Range from 0~1000 , precision degree is 0.1 .
Temperature
The temperature control period range from 0.5 to 200 seconds, the minimum precision is 0.1
control period
second. The set value = real value 10. For example: if the real temperature control period is
Unit: 0.1s
Adjusting
0.1. For example, under the caloric balance condition, users measured the environment
environment
temperature
temperature is 550 ), temperature difference is 0. At this time, users can set the parameter to be
Unit: 0.1
auto-tune
range
output
The auto-tune output unit is percent. 100 means the duty ratio is 100% of the full-scale output,
80 means the duty ratio is 80% of the full-scale output.
Description
K0
K1
Ch0
K2
Ch1
K6
Ch5
K7
:
PID output (the result)
PID parameter P
K8
Ch0
K9
PID parameter I
PID parameter D
K10
K11
PID parameter P
K12
Ch1
K13
K14
PID parameter I
PID parameter D
PID parameter Diff
K27
:
PID parameter P
K28
PID parameter I
Ch5
K29
PID parameter D
K30
K31
Ch0
K32
Ch1
K36
Ch5
:
Temperature difference value
Description
K0
K1
Ch0
Setting temperature
K2
Ch1
Setting temperature
:
K6
:
Ch5
K7
K8
K9
:
Setting temperature
PID parameter P
Ch0
PID parameter I
PID parameter D
K10
K11
PID parameter P
K12
Ch1
K13
K14
PID parameter I
PID parameter D
PID parameter Diff
K27
PID parameter P
K28
PID parameter I
Ch5
K29
PID parameter D
K30
K31
Ch0
K32
Ch1
K36
Ch5
K37
Ch0
K38
Ch1
K42
Ch5
K43
Ch0
K44
Ch1
K48
Ch5
K49
Ch0
K50
Ch1
K54
Ch5
The module can save set temperature, PID parameters (P, I, D, Diff...), temperature difference
value, temperature control period, auto-tune output range, etc. The module will save the
parameters after auto-tune finished or user modify them.
The defaulted value of the parameters:
Parameter
Setting temperature ( 0.1C )
PID parameters
Defaulted value
CH0
CH1
CH2
CH3
CH4
CH5
40
40
40
40
40
40
1200
1200
1200
1200
1200
1200
300
300
300
300
300
300
Diff
10
10
10
10
10
10
20
20
20
20
20
20
( Sign value )
Auto-tune output range
100
100
100
100
100
100
PID
parameters
modified by module
after auto-tune
No
The module
power on
Collect
temperature
Channel
enable bit is
ON?
Yes
PID control
No
No
PID control bit is
ON?
Yes
Auto-tune control
Auto-tune process
ends,
auto-tune
control bit will be
set OFF
Function: read the data of the module and save them in PLC register, object operand unit is word.
Operand explanation:
Function: read the data of the module and save them in PLC coil, object operand unit is bit.
Operand explanation:
S1: target module number. Operand: K, TD, CD, D, FD.
S2: the data head address of the module. Operand: K, TD, CD, D, FD.
S3: the data quantity (how many bits). Operand: K, TD, CD, D, FD.
D1: the coil head address of the PLC. Operand: M, Dn.m.
2. Write instruction: TO
This instruction can write the data to the module. It can divide into bit and word operation.
(1) word operation
Function: write the data of PLC register to the module, object operand unit is word.
Operand explanation:
D1: target module number. Operand: K, TD, CD, D, FD.
D2: the head address of the module. Operand: K, TD, CD, D, FD.
D3: the register quantity (how many words ). Operand: K, TD, CD, D, FD.
S1: the register head address of the PLC.
(2) bit operation
Function: write the data of PLC coil to the module, object operand unit is bit.
Operand explanation:
D1: target module number. Operand: K, TD, CD, D, FD.
D2: the head address of the module. Operand: K, TD, CD, D, FD.
D3: the data quantity (how many bits ). Operand: K, TD, CD, D, FD.
S1: the coil head address of the PLC. Operand: M, Dn.m.
Explanation:
PLC register
K0
K1
K1
D0
module address
D0
K1
First save target temperature in D0, when set on M1, the data of D0 will write to module address K1( channel
0 set temperature ).
D0=200 means the target temperature is 200 C.
Operand meaning:
TO: write instruction
K0: the module number is 0
K1: the data address in the module
K1: write word quantity is 1 word
D0: the PLC register saved the data
Explanation:
PLC register
D10
K0
K31
K1
D10
module address
K31
Write the temperature control period ( D10 ) to module channel 0 ( K31 ) when M1 is set on.
D10 = 25 means the temperature control period is 2.5 seconds.
Operand meaning:
TO: write instruction
K0: module number is 0
K31: the data address in the module
K1: word quantity is 1 word
D10: the PLC register saved the data
Explanation:
PLC register
K0
K43
K1
D20
module address
D20
K43
Write the auto-tune output range ( D20 ) to module channel 0 ( K43 ) when M1 is set on.
D20 = 80 means the auto-tune output range is 80% of the full-scale.
Operand meaning:
TO: write instruction
K0: module number is 0
K43: the data address in the module
K1: write word quantity is 1 word
D20: the PLC register saved the data
4. Set on the PID control bit
M100
TO
Explanation:
PLC coil
M0
M1
M2
M3
M4
M5
K0
K0
K6
M0
module address
K0 bit 0
K0 bit 1
K0 bit 2
K0 bit 3
K0 bit 4
K0 bit 5
Write M0~M5 to the module address K0 when M100 is set on. If M0 = 1, start the auto-tune process of
channel 0. If M1 = 1, start the auto-tune process of channel 1......
Operand meaning:
TO: write instruction
K0: module number is 0
K0: the data address in the module
K6: the write bit quantity is 6 bits
M0: the head address of the data in the PLC.
FROM
Explanation:
PLC coil
K0
K0
K6
M10
module address
M10
M11
M12
M13
M14
M15
K0 bit 0
K0 bit 1
K0 bit 2
K0 bit 3
K0 bit 4
K0 bit 5
Read PID control bit of every channel and save them in M10~M15. If M10 is ON, then channel 0 is doing
auto-tune; if M10 is OFF, the auto-tune process is completed or never begins. If M11 is ON, the channel 1 is
doing auto-tune.......
Operand meaning:
FROM: read instruction
K0: the module number is 0
K0: the data address in the module
K6: read bit quantity is 6 bits
M10: the head address of the data saved in the PLC
6. Read PID parameters
M100
FROM
Explanation:
PLC register
D30
D31
D32
D33
K0
K7
K4
D30
module address
K7
K8
K9
K10
read the PID parameters (channel 0) and save them in D30~D33 of the PLC.
D30 = P, D31 = I, D32 = D, D33 = Diff parameter.
Operand meaning:
FROM: read instruction
K0: the module number is 0
K7: the data address of the module
K4: read word quantity is 4 words
D30: the head address of the data saved in the PLC
Explanation:
PLC register
K0
K27
K4
D40
module address
D40
D41
D42
D43
K27
K28
K29
K30
Users can save the PID parameters in D40~D43 then write them to the module channel 5.
Operand meaning:
TO: write instruction
K0: the module number is 0
K27: the data address in the module
K4: write word quantity is 4 words
D40: the head address of the data saved in the PLC
8. Open the enable bit
Explanation:
For module number one, channel 0~5 are corresponding to Y100~Y105; for module number two, channel 0~5
are corresponding to Y200~Y205....... So set on the corresponding enable bit to start the PID control for the
channel.
9. Read PID output
M100
FROM
Explanation:
PLC register
D50
D51
D52
D53
D54
D55
K0
K1
K6
D50
module address
K1
K2
K3
K4
K5
K6
During PID control process, users can read PID output of every channel and save them in D50~D55.
Operand meaning:
FROM: read instruction
K0: the module number is 0
9-8. Programming
For this example, we will control 5 channels temperature by using XC-6TCA-P.
The whole control system includes TP series HMI, XC series PLC, XC-6TCA-P, K type thermocouple, heating
resistor and other devices. The system chart is shown as following:
PLC
HMI
K type thermocouple
XC-E6TCA-P
Heating resistor
Target object
PLC
M10-M14
M100-M104
D4000-D4004
D4050-D4069
D10-D14
XC-6TCA-P
K0
Y100-Y104
K1-K5
K7-K26
K37-K40
Remark
Self-study enable bit
0~4 channel PID enable bit
0~4 channel target temperature
0~4 channel P,I,D,DIFF values
0~4 channel adjustment temperature
M1
M100~M104
M10~M14
M2
M3
M6
M5
M1
TO
K0
D4000
MOV
D4010 D4053
MOV
D4010 D4057
MOV
D4010 D4061
MOV
D4010 D4065
MOV
D4010 D4069
K7
K20 D4050
K1
K5
M2
TO
K0
M5
FMOV
TO
K0
D4020
D10
K5
K5
D10
K37
S0
(
M10
M11
M12
M13
M14
S0
S )
M100
( S )
M101
( S )
M102
( S )
M103
( S )
M104
( S )
STL S0
S0
M4
T0
(
K5
)
T0
M4
TO
K0
K0
M10
K5
M4
( S )
M4 M8013
FROM
K0
K0
T1
(
T1
M10
K5
K5
)
M4
( R )
S0
( R )
Reset process S0
K20 D4050
STLE
M3
FROM
K0
K7
M4 M8012
M100
M101
M102
M103
M104
Y100
(
)
Y101
(
)
Y102
(
)
Y103
(
)
Y104
(
)
10. XC-E3AD4PT2DA
10-1. Specifications
C0
AI0
C1
AI1
C2
AI2
C3
VO0
C4
VO1
PWR
extend cable
A0
B0
C0
A1
B1
C1
A2
B2
C2
A3
B3
C3
ITEMS
Analog Input
Temperature Input
(PT)
DC0~20mA4~20mA
PT100
-100~350
Temperature range
Maximum Output
range
DC0~40mA
DC0~5V0~10V
External load resistor
(2K~1M)
-1000~3500
Resolution
0.5
20ms per channel
for
1/1023(10Bits);
the
converted data is saved
into the PLC (10Bits) in
the form of Hex.
-
1%
Conversion Speed
Installation
0.1
0~4095
General Precision
Power Supply
Analog Using
1%
3ms per channel
DC24V10%,100mA
Fix with M3 screws or install on DIN46277 (Width: 35mm) leader directly
Dimension
63mm102mm73.3mm
10-2. Terminals
0V
24V
B0
A0
C0
C0
AI0
A1
C1
B1
AI1
C1
C2
A2
AI2
B2
C3
.
C2
VO0
A3
C4
B3
VO1
C3
Channel
Terminal name
Signal name
0CH
AI0
C0
AI1
C1
AI2
C2
A0
B0
C0
A1
B1
C1
A2
B2
C2
A3
B3
C3
VO0
C3
VO1
C4
24V
0V
1CH
2CH
0CH
1CH
2CH
3CH
0CH
1CH
-
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID100
ID107
Y100
QD102
1CH
ID101
ID108
Y101
QD103
2CH
ID102
ID109
Y102
QD104
Channel
PT100 Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID103
ID110
Y103
QD105
4CH
ID104
ID111
Y104
QD106
5CH
ID105
ID112
Y105
QD107
6CH
ID106
ID113
Y106
QD108
Channel
DA Signal
0CH
QD100
1CH
QD101
Kp------- QD109
Ki------- QD110
Kd------- QD111
Diff------ QD112
Death---- QD113
Module 2 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID200
ID207
Y200
QD202
1CH
ID201
ID208
Y201
QD203
2CH
ID202
ID209
Y202
QD204
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID203
ID210
Y203
QD205
4CH
ID204
ID211
Y204
QD206
5CH
ID205
ID212
Y205
QD207
6CH
ID206
ID213
Y206
QD208
Channel
DA Signal
0CH
QD200
1CH
QD201
Kp------- QD209
Ki------- QD210
Kd------- QD211
Diff------ QD212
Death---- QD213
Module 3 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID300
ID307
Y300
QD302
1CH
ID301
ID308
Y301
QD303
2CH
ID302
ID309
Y302
QD304
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID303
ID310
Y303
QD305
4CH
ID304
ID311
Y304
QD306
5CH
ID305
ID312
Y305
QD307
6CH
ID306
ID313
Y306
QD308
Channel
DA Signal
0CH
QD300
1CH
QD301
Kp------- QD309
Ki------- QD310
Kd------- QD311
Diff------ QD312
Death---- QD313
Module 4 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID400
ID407
Y400
QD402
1CH
ID401
ID408
Y401
QD403
2CH
ID402
ID409
Y402
QD404
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID403
ID410
Y403
QD405
4CH
ID404
ID411
Y404
QD406
5CH
ID405
ID412
Y405
QD407
6CH
ID406
ID413
Y406
QD408
Channel
DA Signal
0CH
QD400
1CH
QD401
Kp------- QD409
Ki------- QD410
Kd------- QD411
Diff------ QD412
Death---- QD413
Module 5 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID500
ID507
Y500
QD502
1CH
ID501
ID508
Y501
QD503
2CH
ID502
ID509
Y502
QD504
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID503
ID510
Y503
QD505
4CH
ID504
ID511
Y504
QD506
5CH
ID505
ID512
Y505
QD507
6CH
ID506
ID513
Y506
QD508
Channel
DA Signal
0CH
QD500
1CH
QD501
Kp------- QD509
Ki------- QD510
Kd------- QD511
Diff------ QD512
Death---- QD513
Module 6 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID600
ID607
Y600
QD602
1CH
ID601
ID608
Y601
QD603
2CH
ID602
ID609
Y602
QD604
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID603
ID610
Y603
QD605
4CH
ID604
ID611
Y604
QD606
5CH
ID605
ID612
Y605
QD607
6CH
ID606
ID613
Y606
QD608
Channel
DA Signal
0CH
QD600
1CH
QD601
Kp------- QD609
Ki------- QD610
Kd------- QD611
Diff------ QD612
Death---- QD613
Module 7 addresses:
Channel
AD Signal
PID Output
Value
PID start/stop
bit
Preset Value
0CH
ID700
ID707
Y700
QD702
1CH
ID701
ID708
Y701
QD703
2CH
ID702
ID709
Y702
QD704
Channel
PT Signal
PID Output
Value
PID start/stop
bit
Preset Value
3CH
ID703
ID710
Y703
QD705
4CH
ID704
ID711
Y704
QD706
5CH
ID705
ID712
Y705
QD707
6CH
ID706
ID713
Y706
QD708
Channel
DA Signal
0CH
QD700
1CH
QD701
Diff------ QD712
Death---- QD713
Description:
Start signal (Y): when Y is 0, close PID control, when Y is 1, start PID control
Set the model and channel parameters in the following window. Then click write to PLC/ok.
For software version lower than v3.3, please restart the PLC after setting.
FD registers:
The working mode can be set through special FLASH data register FD of PLC.
Module
Register address
Module 1
Module 2
Module 3
Module 4
Module 5
Module 6
Module 7
Register FD8250:
Input CH 1 (AD)
Bit7
Bit6
Input CH 0 (AD)
Bit5
Bit4
0:0~20mA
1:4~20mA
Bit3
Bit2
Input CH 3 (PT)
Bit15
Bit14
Bit0
0:0~20mA
1:4~20mA
Input CH 2 (AD)
Bit13
Bit1
Bit12
Bit11
Bit10
Bit9
Bit8
0:0~20mA
1:4~20mA
Bit6
Input CH 4 (PT)
Bit5
Bit4
Bit3
Bit2
Output CH 0 (DA)
Bit15
Bit14
Bit1
Bit0
Input CH 6 (PT)
Bit13
Bit12
0 :0~10V
1 :0~5V
Bit11
Bit10
Bit9
Bit8
Bit6
Output CH 1 (PT)
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0 :0~10V
1 :0~5V
B1
A2
B2
C2
A3
C3
B3
PT100
A1
PT100
C0
PT100
B0
PT100
A0
C0
C1
AI1
C2
C3
C4
VO1+
VO0+
VO0
VO1-
AI2+
AI2
VO0-
AI2-
AI1+
AI0+
AI0
AI1-
0V
AI0-
24V+
Analog wiring:
VO1
+16383
+16383
digital
digital
analog
0 4mA
20mA
analog
20mA
The relationship between the digital input and corresponding analog output is shown as below:
0~5V analog output
5v
10v
analog
analog
digital
+1023
digital
+1023
Note: When the output value is larger than 1023, D/A converted analog value will remain 5V or 10V
PT100 input features:
PT100 input
3500
Digital
output
-100
-1000
Temperature
input
350
10-7. Programming
Example: Real-time read the data of 7 channels, write data to 2 channels (take module 1 as an example)
M8000
MOV
ID100
D0
MOV
ID101
D1
MOV
ID102
D2
MOV
ID103
D3
MOV
ID104
D4
MOV
ID105
D5
MOV
ID106
D6
MOV
D10
QD100
MOV
D11
QD101
END
11-1. Specifications
XC-E2AD2PT2DA as the PID temperature control module, support 2-channel and 16-bit precise analog input,
2-channel PT100 temperature input, and 2-channel 10-bit precise analog output. This module integrates
2-channel of temperature input, has the function of PID auto-tune, independent PID parameters setting,
communication with PLC and so on. Based on this module, user can build a distributed temperature control
system with PLC, HMI and computer.
C0
AI0
C1
AI1
C2
AI2
C3
VO0
C4
VO1
PWR
A0
B0
C0
A1
B1
C1
A2
B2
C2
A3
B3
C3
Items
Analog inputAD
Current
020mA
420mA
Voltage
05V
010V
Analog input
Temperature range
Maximum input range
040mA
Temperature
inputPT
PT100
-100~327
Voltage
010V05V
Current
020mA4
20mA
10 bits binary
0~1023
-10000~32767
1/65535 (16Bit)
0.01
Resolution
PID output value
0~4095
General precision
0.01
for
1/1023(10Bit)
0.8%
2ms/1 channel
Power
supply
analog using
0.8%
Conversion speed
data
2ms/1 channel
DC24V10%100mA
Fixed with M3 screws or directly installed on orbit of DIN46277
(Width: 35mm)
Installation
Application environment
11-2. Terminals
24V
A0
0V
B0
Name
Input
terminals
AO0
C0
A1
B1
C1
AI0
CI0
VO1
VI1
CO1
AO1
AI1
CI1
Terminals
definition
B0B1
VI0VI1
AI0AI1
Output
terminals
VI0
VO0
CO0
VO0VO1
AO0AO1
Descriptions
Temperature
input channels
Analog input
channels
Analog output
channels
0~20mA or 4~20mA
Voltage
Digital valuerange0-1023
Current
Digital valuerange0-1023
B0
C0
(GND)
A0
XCPpro software:
Open the XCPpro softwareclick configure/expansion module settings:
Register address
Module 1
FD8250
FD8251
Module 2
FD8258
FD8259
Module 3
FD8266
FD8267
Module 4
FD8274
FD8275
Module 5
FD8282
FD8283
Module 6
FD8290
FD8291
Module 7
FD8298
FD8299
Bit15
Bit6
Bit14
PT CH 1
Bit5
-------AD CH 1
Bit13
Bit4
Bit12
Bit3
Bit11
Bit2
Bit10
PT CH 0
Bit1
-------AD CH 0
Bit9
Bit0
Bit8
0Voltage
00~10V
10~5V
0Voltage
00~10V
10~5V
1Current
00~20mA
14~20mA
1Current
00~20mA
14~20mA
Register FD8251:
Bit7
Bit6
DA CH 1
Bit5
0Voltage
1Current
Bit15
Bit14
Bit13
--------
Bit4
Bit3
Bit2
00~10V
10~5V
00~20mA
14~20mA
Remaining register bits
Bit12
Bit11 Bit10
DA CH 0
Bit1
0:Voltage
1:Current
Bit9
--------
Bit0
00~10V
10~5V
00~20mA
14~20mA
Bit8
For example: If XC-E2AD2PT2DA is module 2, and AD Channel 0 is voltage, range is 0~5V, AD Channel 1 is
default, DA Channel 0 is current, range is 4~20mA,CH 1 is default. Then, the value of register FD8250 and
15
14
13
12
11
10
FD8251
15
14
13
12
11
10
Bit value
8
7
6
Current value
PID output
Descriptions
Channel
AD1
Module1
Module2
ID100
ID200
ID101
ID201
ID102
ID202
ID103
ID203
ID00
ID01
ID02
ID03
Module7
ID700
ID701
ID702
ID703
Module1
X100
X101
X102
X103
Module2
X200
X201
X202
X203
X00
X01
X02
X03
Module7
X700
X701
X702
X703
Channel
connection
/open circuit
testing 0 is
connected1 is
open circuit
Module1
X110
X111
X112
X113
Module2
X210
X211
X212
X213
X10
X11
X12
X13
Module7
X710
X711
X712
X713
PID auto-tune
error bit0 is
OK1 is
error
Module1
X120
X121
X122
X123
Module2
X220
X221
X222
X223
X20
X21
X22
X23
Module7
X720
X721
X722
X723
Module1
Y100
Y101
Y102
Y103
Module2
Y200
Y201
Y202
Y203
Y00
Y01
Y02
Y03
Module7
Y700
Y701
Y702
Y703
Enable signal
auto-tune PID
control bit
User also could read the status,1 means in the process of auto-tune,0 means no
auto-tune or auto-tune is finished
PID output
value
(operation
result)
PID
parameters
value
(PID)
PID operation
range
Diff
is lower than TSetting TDiff ,PID output is the maximum value; If current value is
higher than TSetting TDiff , PID output is the minimum value. (The units is
different according to channel type and setting range)
Offset value
Temperature
value setting
Temperature
control period
(unit:
0.1
second)
Actual value
Auto-tune
output
amplitude
(Sampling value+Offset value )/10 = Display value. Then the sampling value will
equal or close to actual value. This parameter is signed number, retentive after
power-off, default value is 0.(The units is different according to channel type and
setting range)
Target value of control system. The adjustment range of temperature control is
0~1000 , resolution is 0.01.
The adjustment range of control period is 0.5s~200s, minimum precision is 0.1
second. Set value = actual temperature control period 10. For example, set to 5 if
the temperature control period is 0.5 seconds.
If the actual value is different from the display value, user could write the actual
value into this parameter. After then, module will calculate the offset value and
save it.
Offset value =actual valuecurrent sampling value. (The units are different
according to channel type and setting range).
For example, user tests the ambient temperature is 60, the module display
temperature is 55. User set this parameter to 600, will be 50, then the display
temperature = (sampling value + )/10=60 .
**Caution: Please make sure the input actual value is correct, otherwise that will
affect the offset value, and then affect the display value.
Output value of auto-tune, the units is %, 80 means 80% output of the full scale.
The units of temperature acquisition and analog channels are different according to the channel style and range
configuration.
Channel
Temperature acquisition channel
Units
0.01
Voltage input
Analog channel
Current input
0~10V
1.510-4V
0~5V
7.610-5V
0~20mA
3.110-4mA
2.410-4mA
4~20mA
Analog output
value
Channel
Description
DA0
DA1
Module 1
QD100
QD101
Module 2
QD200
QD201
QD00
QD 01
Module 7
QD700
QD701
Description
K0
K1
K2
K3
K4
K5
K6
K7
K8
K9
K10
K11
K12
K13
K14
K15
K16
K17
K18
K19
K20
K21
K22
K23
K24
Description
K0
K1
K2
K3
K4
K5
K6
K7
K8
K9
K10
K11
K12
K13
K14
K15
K16
K17
K18
K19
K20
K21
K22
K23
K24
K25
K26
K27
K28
K29
K30
K31
K32
K33
K34
K35
K36
K37
In addition, the module can save setting temperature, PID parameters (P, I, D, Diff), temperature offset value,
temperature control period, auto-tune output amplitude and other parameters. When the auto-tune end or user
change the parameters, the parameters will be saved; the module will take out the parameters and operate after
restart. The default values of parameters are shown as below:
Parameters name
Default value
Setting value
PID parameters
P
I
D
Diff
PT0
0
40
1200
300
10
PT1
0
40
1200
300
10
CH2
0
40
1200
300
10
CH3
0
40
1200
300
10
20
20
20
20
0
100
0
100
0
100
0
100
M1
FROM
Kxxx
S2
Kxxx
S3
D1
Kxxx
Dxxx
Function: read the module parameters to PLC register, the operate unit is word.
Operand description:
S1: Target module number. Available operand: K,TD,CD,D,FD.
S2: Head address of the module. Available operand: K,TD,CD,D,FD.
S3: Read register quantity (Word quantity). Available operand: K,TD,CD,D,FD.
D1: The head address of PLC registers.
M1
FROM
Kxxx
S2
Kxxx
S3
D1
Kxxx
Mxxx
Function: read the module data to PLC address, the operate unit is bit.
Operand description
S1: Target module number. Available operand: K,TD,CD,D,FD.
S2: Read the first address of the module. Available operand: K,TD,CD,D,FD.
S3: Read data quantity (Bit quantity).Available operand: K,TD,CD,D,FD.
D1:The first address of PLC coil to receive the module data. Available operand: M,Dn,m.
2. Write instruction TO
1Word operation
M1
TO
D1
D2
Kxxx
Kxxx
D3
S1
Kxxx
Dxxx
Function: Write the data of PLC register to the module address, the units is word.
Operand description:
D1: Target module number. Available operand: K,TD,CD,D,FD.
D2: The first address of the module. Available operand: K,TD,CD,D,FD.
D3: Write in register quantity (Word quantity). Available operand: K,TD,CD,D,FD.
S1: The PLC registers first address.
2Bit operation
M1
TO
D1
D2
Kxxx
Kxxx
D3
S1
Kxxx
Mxxx
Function: Write PLC data to the module address, the operation unit is bit.
Operand description:
D1: Target module number. Available operand: K,TD,CD,D,FD.
D2: The first address of the module. Available operand: K,TD,CD,D,FD.
D3: Write in data quantity (Bit quantity). Available operand: K,TD,CD,D,FD.
S1: The PLC coil first address. Available operand: M,Dn,m.
K0
K1
K1
D0
Description: Input the temperature value to D0, write the D0 data to module address K1 (PT0 setting
temperature). For instance, D0=2000, means the setting temperature is 20.00.
Operand definition
(1) TO
Write instruction
(2) K0
Module number: 0
(3) K1
Module address: 1
(4) K1
Word quantity to write in: 1
(5) D0
The PLC register: D0
2. Set temperature control period
M1
TO
K0
K22
K1
D10
Description: Input temperature control period to D10, write D10 data to module address K22 (temperature
control period of CH0). For instance, D10=25 means the temperature control period is 2.5s.
Operand definition
(1) TO
Write instruction
(2) K0
Module number: 0
(3) K22
Module address: 22
(4) K1
Write in word quantity: 1
(5) D10
PLC register address: D10
3. Auto-tune output amplitude
M1
TO
K0
K30
K1
D20
Description: Input auto-tune output amplitude to D20, write the D20 data to module address K30 (auto-tune
output amplitude of CH0). For instance, D20=80, means the output value of auto-tune is the 80% of maximum
output value.
Operand definition
(1) TO
Write instruction
(2) K0
Module number: 0
(3) K30
Module address: 30
(4) K1
Word quantity to write in: 1
(5) D20
The PLC register address: D20
M100
TO
K0
K0
K4
M0
Description: Set on coil M0~M3 before auto-tune, then start auto-tune after write the data into module address.
If in the process of auto-tune, set on the coil M0~M3 and write into module, the module will quit
auto-tune and start PID control according to PID parameters which set before.
For instance, Set M0 ON means Channel 0 will start to auto-tune.
Operand definition
(1) TO
Write instruction
(2) K0
Module number: 0
(3) K0
Module address: 0
(4) K4
Bit quantity to write in: 4
(5) M0
The coil address of PLC: M0M5.
5. Read auto-tune PID control bit
M100
FROM
K0
K0
K4
M10
Description: User can read the auto-tune status bit of module, and send back to M10~M13 of PLC. If one coil
is ON, means the corresponding channel is in the process of auto-tune, OFF means the auto-tune hasnt started
or already ended.
Operand definition:
(1) FROM Read instruction
(2) K0
Module number: 0
(3) K0
Module address: 0
(4) K4
Bit quantity to read: 4
(5) M10
PLC coil address: M10M13
6. Read PID parameters
M100
FROM
K0
K5
K4
D30
Description: User can read the PID parameters of module (PID parameters of CH0), send back to D30~D33 of
PLC. D30 is parameter P, D31 is parameter I, D32 is parameter D, D33 is parameter Diff.
Operand definition
(1) FROM Read instruction
(2) K0
Module number: 0
(3) K5
Module internal address: 5
(4) K4
Word quantity to read: 4
(5) D30
PLC register address: D30D33
K0
K6
K4
D40
Description: User can revise the PID parameters of module (PID parameters of CH5), set on the coil M100
after input the data to D40~D43 of PLC, the new PID parameters will be used by the module.
Operand definition
(1) TO
Write instruction
(2) K0
Module number: 0
(3) K6
Module address: 6
(4) K4
Word quantity to write in: 4
(5) D40
PLC register address: D40D43
FROM
Description: When module
D50~D53.
Operand definition:
(1) FROM
(2) K0
(3) K1
(4) K4
(5) D50
K0
K1
K4
D50
is in process of PID control, user can read PID output value to PLC registers
Read instruction
Module number: 0
Module address: 1
Byte quantity to read: 4
PLC register address: D50~ D55
22-Channel analog input, the connection mode of input terminal as below shows:
Voltage input mode as below shows:
+65535
+65535
digital
digital
analog
5v
analog
10v
+65535
+65535
digital
digital
20mA
analog
0 4mA
analog
20mA
The relationship between the digital input and corresponding analog output are shown as the following
diagram:
0~5V analog output
10v
5v
analog
analog
digital
+1023
digital
+1023
20mA
20mA
analog
analog
4mA
digital
+1023
digital
+1023
11-7. Programming
The following is the example of XC-E2AD2PT2DA:
The control process diagram is shown as the following (channel 0):
Set temperature
Set temperature control period
Open enable bit
control bit
Module address
Description
K2
K22
D3
K30
D4
K6
D5
K7
D6
K8
D300
K9
D301
K5
D302
K6
D303
K7
M100
K8
K0
D2
Ladder chart:
M0
(
Y100
S )
M1
TO
K0
K2
K1
D0
TO
K0
K22
K1
D1
TO
K0
K30
K1
D2
TO
K0
K6
K4
D3
TO
K0
K0
K1
M100
M100
M200
S )
Set on M200
M200 M8012
FROM
K0
K0
K1
M10
FROM
K0
K5
K4
D300
M10
M200
R )
Reset M200.
12-1. Specifications
XC-E2WT is the expansion module of XC series PLC. It can test 0~10mV voltage signal or pressure sensor
signal, transform the voltage signal to digital value.
C0M0
Y0
COM1
Y1
PWR
0V
5V
S0S0+
0V
GND
5V
S1S1+
GND
Input range
DC 010mV
Resolution
1/6553516Bit
Integrated precision
0.8%
Transformation speed
20ms/channel
Power supply
DC24V10%100mA
Installation
Dimension
63mm102mm73.3mm
Working environment
No corrosive gas
Ambient temperature
0~60
Storage temperature
-20~70
Humidity
5~95%
12-2. Terminals
Channel
Terminal
Corresponding
sensor terminal
CH0
0V
U-
5V
U+
S0+
S+
Measure voltage +
S0-
S-
Measure voltage -
Y0
COM0
0V
U-
5V
U+
S1+
S+
Measure voltage +
S1-
S-
Measure voltage -
Y1
COM1
GND
24V
0V
CH1
Meaning
Power supply
C0M0
Y0
COM1
Y1
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.
12-5-2. Adjust the weighing machine
Please adjust the weighing machine when use the module at the first time:
Steps:
Use Module 1 channel 0 as an example:
1. Make sure the module is connected to the weighing system.
2. Make the pressure sensor no-load, send ID104 (tare weight) to QD108. (or set QD108=0).
3. Make the pressure sensor full-load (or put some weight), send ID104 to QD110.
4. The adjustment is finished. The module will calculate the correct weight according to the no-load value
and full-load value.
5. If it needs to adjust other module or channel, the related flag bits are shown as below:
Module
NO.
Flag
#1
Y100
Y101
Y102
Y103
Y200
Y201
Y202
Y203
Y700
Y701
Y702
Y703
#2
#7
Meaning
Remark
M0
PLC programming:
LDP M0
MOV ID104
QD108
QD108
M1
PLC programming:
LDP M1
MOV ID104 QD110
QD110
1#
2#
....
7#
Register address
Meaning
Remark
QD100,QD101
Double word
QD102,QD103
Double word
QD104,QD105
QD106,QD107
QD108
QD109
QD110
QD111
QD112
QD113
QD200,QD201
Double word
QD202,QD203
Double word
QD204,QD205
QD206,QD207
QD208
QD209
QD210
QD211
QD212
QD213
....
.....
......
QD700,QD701
Double word
QD702,QD703
Double word
QD704,QD705
QD706,QD707
QD708
QD709
QD710
QD711
QD712
QD713
#2
Address
Meaning
Remark
ID100,ID101
Double word
ID102 ,ID103
Double word
ID104
ID105
ID106
ID107
ID108
ID109
ID200,ID201
Double word
ID202 ,ID203
Double word
ID204
ID205
ID206
ID207
ID208
ID209
#7
ID700,ID701
Double word
ID702 ,ID703
Double word
ID704
ID705
ID706
ID707
ID708
ID709
+65535
digital
analog
12-7. Programming
Real-time read the data of channel 0 (module 1)
Program:
10mV
13-1. Specifications
XC-EnXmY is the extension module of XC series, up to 7 XC-EnXmY modules can be connected to PLC.
This module has rich types, small size, and more I/O points which can meet more requirements.
COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
0 1 2 3
4 5 6 7
RUN
XC-E8X8YR
Y
0 1 2 3
4 5 6 7
COM0
Y0
COM1
Y1
COM2
Y2
Y3
COM3
Y4
Y5
Y6
Y7
Module types
Model
NPN input
PNP input
XC-E8X
XC-E8PX
XC-E8YR
XC-E8YR
XC-E8YT
XC-E8YT
XC-E8X8YR
XC-E8PX8YR
XC-E8X8YT
XC-E8PX8YT
XC-E16X
XC-E16YR
XC-E16YT
XC-E16X16YR
XC-E32X
XC-E32YR
XC-E16PX
XC-E16YR
XC-E16YT
XC-E16PX16YR
XC-E32PX
XC-E32YR
Function description
8-channel digital input
8-channel relay output
8-channel transistor output
8-channel digital input, 8-channel relay output
8-channel digital input, 8-channel transistor output
16-channel digital input
16-channel relay output
16-channel transistor output
16-channel digital input, 16-channel relay output
32-channel digital input
32-channel relay output
Module Specifications
Items
Specifications
Input
voltage
supply)
(Power
Application environment
No corrosive gas
Environment temperature
0~60
Environment humidity
5~95%
Installation
Dimension
139mm102mm73.3mm32 points
13-2. Terminals
The terminals distributions of NPN and PNP input are the same.
1XC-E8X module:
0V
24V
COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
2XC-E8YR,XC-E8YT module
COM0
Y0
COM1
Y1
COM2
Y2
Y3
COM3
Y4
Y5
Y6
Y7
3XC-8X8YR,XC-8X8YT module
0V
24V
COM0
Y0
COM
COM1
COM
Y1
X0
COM2
X1
Y2
X2
Y3
X3
COM3
X4
Y4
X5
Y5
X6
Y6
X7
Y7
4XC-16X module
0V
24V
COM
COM
COM
X10
COM
X0
X11
X12
X1
X13
X2
X14
X3
X15
X4
X16
X5
X6
X7
X17
5XC-16YR,XC-16YT module
COM0
COM4
COM1
Y10
COM5
Y1
Y11
COM2
COM6
Y2
Y12
Y3
Y13
6XC-16X16YR module
COM3
COM7
Y4
Y14
Y5
Y15
Y6
Y16
Y7
Y17
DIN46277 rail
L
24V
FG
0V
COM
COM0
COM
Y0
X0
Y1
X1
X2
Y2
Y3
X3
COM1
X4
Y4
X5
Y5
X6
Y6
X7
Y7
X10
COM2
X11
Y10
X12
Y11
X13
Y12
X14
Y13
X15
COM3
X16
Y14
X17
Y15
Y16
Y17
7XC-32X module
N
L
24V
FG
0V
COM
COM
COM
COM
X0
X20
X1
X21
X2
X22
X3
X23
X4
X24
X5
X25
X6
X26
X7
X27
X10
X30
X11
X31
X12
X32
X13
X33
X14
X34
X15
X16
X35
X17
X37
X36
8XC-32YR module
N
L
24V
FG
0V
Y0
COM0
COM4
Y20
Y1
Y21
Y2
Y22
Y3
Y23
COM1
Y5
Y7
Y10
Y12
COM3
Y15
Y17
Y4
Y6
COM2
Y11
Y13
Y14
Y16
COM5
Y24
Y25
Y26
Y27
COM6
Y30
Y31
Y32
Y33
COM7
Y34
Y35
Y36
Y37
Caution: Maybe the common terminal of each module is different from above pictures; please see the
label of actual objects.
Address
Suitable modules
X0
X1
X2
X3
X4
X5
X100
X101
X102
X103
X104
X105
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR XC-E32X
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
X20
X21
X22
X23
X106
X107
X110
X111
X112
X113
X114
X115
X116
X117
X120
X121
X122
X123
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR XC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E16XXC-E16X16YR XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YR
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
X24
X25
X26
X27
X30
X31
X32
X124
X125
X126
X127
X130
X131
X132
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
X33
X34
X35
X36
X37
X133
X134
X135
X136
X137
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
Address
Suitable modules
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
Y100
Y101
Y102
Y103
Y104
Y105
Y106
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR
Y7
Y10
Y11
Y12
Y107
Y110
Y111
Y112
Y13
Y14
Y15
Y16
Y17
Y20
Y21
Y22
Y23
X24
X25
Y26
Y27
Y30
Y113
Y114
Y115
Y116
Y117
Y120
Y121
Y122
Y123
Y124
Y125
Y126
Y127
Y130
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YR XC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
Y31
Y32
Y33
Y34
Y35
Y36
Y37
Y131
Y132
Y133
Y134
Y135
Y136
Y137
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
Address
Suitable modules
X200
X201
X202
X203
X204
X205
X206
X207
X210
X211
X212
X213
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E8XXC-E8X8YR /TXC-E16XXC-E16X16YR
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
X14
X15
X16
X17
X20
X21
X22
X23
X24
X214
X215
X216
X217
X220
X221
X222
X223
X224
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
X25
X26
X27
X30
X31
X32
X33
X34
X35
X36
X37
X225
X226
X227
X230
X231
X232
X233
X234
X235
X236
X237
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
Address
Suitable modules
Y200
Y201
Y202
Y203
Y204
Y205
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
Y6
Y7
Y10
Y11
Y12
Y13
Y206
Y207
Y210
Y211
Y212
Y213
Y14
Y15
Y16
Y17
Y20
Y21
Y22
Y23
X24
X25
Y26
Y27
Y30
Y31
Y32
Y33
Y34
Y35
Y214
Y215
Y216
Y217
Y220
Y221
Y222
Y223
Y224
Y225
Y226
Y227
Y230
Y231
Y232
Y233
Y234
Y235
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
Y36
Y37
Y236
Y237
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
The input and output are 8-32 points, there are two output modes: Relay output and Transistor
output. The addresses of module N begin with Xn00 and Yn00.
Address
Suitable modules
X700
X701
X702
X703
X704
X705
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
X6
X7
X10
X11
X12
X13
X706
X707
X710
X711
X712
X713
X14
X15
X16
X17
X20
X21
X22
X23
X24
X25
X26
X27
X30
X31
X32
X33
X34
X35
X714
X715
X716
X717
X720
X721
X722
X723
X724
X725
X726
X727
X730
X731
X732
X733
X734
X735
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E8XXC-E8X8YR/TXC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
X36
X37
X736
X737
XC-E16XXC-E16X16YRXC-E32X
XC-E16XXC-E16X16YRXC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
XC-E32X
Address
Suitable modules
Y700
Y701
Y702
Y703
Y704
Y705
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
Y6
Y7
Y10
Y11
Y12
Y13
Y706
Y707
Y710
Y711
Y712
Y713
Y14
Y15
Y16
Y17
Y20
Y21
Y22
Y23
X24
X25
Y26
Y27
Y30
Y31
Y32
Y33
Y34
Y35
Y714
Y715
Y716
Y717
Y720
Y721
Y722
Y723
Y724
Y725
Y726
Y727
Y730
Y731
Y732
Y733
Y734
Y735
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E8YR/TXC-E8X8YR/TXC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
Y36
Y37
Y736
Y737
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E16YR/TXC-E16X16YRXC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
XC-E32YR
13-5. Applications
The application example includes three devices: Xinje XC series PLC (slave station), expansion module
XC-E8X8YR and HMI TH765-MT.
The communication between XC-E8X8YR and TH765-MT (Xinje HMI):
FG
COM
COM
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
X20
X21
COM
COM
X1
X0
X3
X2
PWR
XC3-32R-E
PORT2
0 1 2 3 4 5
6 7
24V
0V
COM0
Y0
COM1
Y1
COM2
Y2
Y3
Y4
Y5
COM3
Y6
Y7
Y10
RUN
XC-E8X8YR
RUN
ERR
X7
X6
0 1 2 3
4 5 6 7
0 1 2 3 4 5
6 7
PORT1
X5
X4
0 1 2 3
4 5 6 7
COM4 Y13
Y15
Y11
Y12
Y14
COM0
Y0
COM1
Y1
COM2
Y2
Y3
COM3
Y4
Y5
Y6
Y7
THINGET
MODE: TH765-MT
S/ N: N20081028028
Xinje Electronic Co.,Ltd
24V 0V FG
1 2 34
12 34
Download
PLC
1 23 4 5
1 2 34 5
6 7 89
67 8 9
485485+
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.
1Hardware connection: Connect XC-E8X8YR with XC3-32R-E, connect AB terminals of XC3-32R-E to
AB terminals (PLC port) of TH765-MT.
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-MT:
PLC port device: Modbus RTU (Panel is master), Baud rate: 19200bps, Databits: 8bits, Stopbits: 1bit, Parity:
even.
2Program application:
The corresponding relationship between expansion module address and HMI address:
HMI address
PSB500
PSB501
Expansion module
X100
Y100
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 Y100 when the button is pressed (diagram E);
Lamp Y100: the Modbus address of expansion module coil Y100 is 0x18496 (diagram F).
Diagram D
Diagram E
Diagram F
After editing the HMI screen, download it to the HMI and start to work.