XINJE XC Extension Module PLC
XINJE XC Extension Module PLC
XINJE XC Extension Module PLC
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 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.
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....................................................................................................................... 1
2-1. SPECIFICATION............................................................................................................................................10
2-2. TERMINALS................................................................................................................................................. 11
2-3. I/O DISTRIBUTION....................................................................................................................................... 11
2-4. WORKING MODE......................................................................................................................................... 14
2-5. EXTERIOR CONNECTION..............................................................................................................................16
2-6. AD CONVERSION DIAGRAM........................................................................................................................ 18
2-7. PROGRAMMING...........................................................................................................................................19
3-1. SPECIFICATION............................................................................................................................................22
3-2. TERMINALS................................................................................................................................................. 23
3-3. THE ASSIGNMENT OF I/O ADDRESS............................................................................................................ 23
3-4. WORKING MODE......................................................................................................................................... 26
3-5. EXTERIOR CONNECTION..............................................................................................................................28
3-6. AD CONVERSION DIAGRAM........................................................................................................................ 31
3-7. PROGRAMMING...........................................................................................................................................32
4-1. SPECIFICATION............................................................................................................................................22
4-2. TERMINALS................................................................................................................................................. 23
4-3. THE ASSIGNMENT OF I/O ADDRESS............................................................................................................ 23
4-4. WORKING MODE......................................................................................................................................... 26
4-5. EXTERIOR CONNECTION..............................................................................................................................28
4-6. AD CONVERSION DIAGRAM........................................................................................................................ 31
4-7. Programming...................................................................................................................................... .....32
5-1. SPECIFICATIONS..........................................................................................................................................33
5-2. TERMINALS................................................................................................................................................. 34
5-3. I/O ADDRESS ASSIGNMENT.........................................................................................................................34
5-4. WORKING MODE......................................................................................................................................... 37
5-5. EXTERIOR CONNECTION..............................................................................................................................39
5-6. AD CONVERSION DIAGRAM........................................................................................................................ 40
5-7. PROGRAMMING...........................................................................................................................................41
6-1. SPECIFICATION............................................................................................................................................51
6-2. TERMINALS................................................................................................................................................. 52
6-3. I/O ADDRESS ASSIGNMENT.........................................................................................................................52
6-4. WORKING MODE......................................................................................................................................... 53
6-5. EXTERIOR CONNECTION..............................................................................................................................54
6-6. DA CONVERT CHART.................................................................................................................................. 56
6-7. PROGRAMMING...........................................................................................................................................57
7-1. SPECIFICATION............................................................................................................................................51
7-2. TERMINALS................................................................................................................................................. 52
7-3. I/O ADDRESS ASSIGNMENT.........................................................................................................................52
7-4. WORKING MODE......................................................................................................................................... 53
7-5. EXTERIOR CONNECTION..............................................................................................................................54
7-6. DA CONVERT CHART.................................................................................................................................. 56
7-7. Programming............................................................................................................................................57
8-1. SPECIFICATIONS..........................................................................................................................................63
8-2. TERMINALS................................................................................................................................................. 64
8-3. I/O ADDRESS ASSIGNMENT.........................................................................................................................64
8-4. WORKING MODE......................................................................................................................................... 64
8-5. EXTERNAL CONNECTION.............................................................................................................................66
8-6. DA CONVERSION DIAGRAM........................................................................................................................ 67
8-7. PROGRAMMING...........................................................................................................................................67
9-1. SPECIFICATIONS..........................................................................................................................................63
9-2. TERMINALS................................................................................................................................................. 64
9-3. I/O ADDRESS ASSIGNMENT.........................................................................................................................64
9-4. WORKING MODE......................................................................................................................................... 64
9-5. EXTERNAL CONNECTION.............................................................................................................................66
9-6. AD CONVERSION DIAGRAM......................................................................................................................... 67
9-7 Programming.............................................................................................................................................67
10-1. SPECIFICATION..........................................................................................................................................76
10-2. TERMINALS............................................................................................................................................... 77
10-3. I/O ADDRESS ASSIGNMENT.......................................................................................................................78
10-4. WORKING MODE....................................................................................................................................... 80
10-5. EXTERIOR CONNECTION............................................................................................................................82
10-6. PROGRAMMING.........................................................................................................................................84
11. PT100 TEMPERATURE CONTROL MODULE XC-E2PT-H................................................................ 76
11-1. SPECIFICATION..........................................................................................................................................76
11-2. TERMINALS............................................................................................................................................... 77
11-3. I/O ADDRESS ASSIGNMENT.......................................................................................................................78
11-4. WORKING MODE....................................................................................................................................... 80
11-5. EXTERIOR CONNECTION............................................................................................................................82
11-6. Programming........................................................................................................................................ .84
12-1 SPECIFICATION.......................................................................................................................................23
12-2. TERMINALS............................................................................................................................................. 121
12-3. DATA ADDRESS DESCRIPTION................................................................................................................. 122
12-3-1. Working mode definition.................................................................................................................122
12-3-2. Data address of module..................................................................................................................124
12-3-3. Address definition........................................................................................................................... 126
12-4. READ AND WRITE INSTRUCTIONS...........................................................................................................129
12-4-1. Instructions description..................................................................................................................129
12-4-2. Instruction applications..................................................................................................................130
12-5. EXTERNAL CONNECTION.........................................................................................................................133
12-6. ANALOG/DIGITAL CONVERSION DIAGRAM............................................................................................. 136
12-7. PROGRAMMING....................................................................................................................................... 137
13-1. SPECIFICATIONS......................................................................................................................................109
13-2. TERMINALS............................................................................................................................................. 110
13-3. I/O ADDRESS ASSIGNMENT..................................................................................................................... 111
13-4. WORKING MODE..................................................................................................................................... 114
13-5. EXTERNAL CONNECTION........................................................................................................................ 117
13-6. AD CONVERSION DIAGRAM....................................................................................................................118
13-7. PROGRAMMING.......................................................................................................................................119
13-8. SPECIFICATIONS......................................................................................................................................120
14-1 SPECIFICATION.........................................................................................................................................23
14-2. TERMINALS............................................................................................................................................. 121
14-3. DATA ADDRESS DESCRIPTION................................................................................................................. 122
14-3-1. Working mode definition.................................................................................................................122
14-3-2. Data address of module..................................................................................................................124
14-3-3. Address definition........................................................................................................................... 126
14-4. READ AND WRITE INSTRUCTIONS...........................................................................................................129
14-4-1. Instructions description..................................................................................................................129
14-4-2. Instruction applications..................................................................................................................130
14-5. EXTERNAL CONNECTION.........................................................................................................................133
14-6. ANALOG/DIGITAL CONVERSION DIAGRAM............................................................................................. 136
14-7. PROGRAMMING.......................................................................................................................................137
15. I/O EXPANSION MODULE XC-ENXMY..............................................................................................140
15-1. SPECIFICATIONS......................................................................................................................................140
15-2. TERMINALS............................................................................................................................................. 141
15-3. I/O ADDRESS ASSIGNMENT.....................................................................................................................142
15-4. EXTERNAL CONNECTION.........................................................................................................................148
15-5. APPLICATIONS........................................................................................................................................ 150
1. Modules introduction
XC 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, XC series PLCs are
widely used in the control system of temperature, flow, liquid level, pressure.
XC-E2AD2PT2DA 2 channels current input (16 bits), 2 channels PT100 temperature input and 2
channels voltage output (10 bits)
XC-EnXmY n points digital input, m points digital output
1
1-2. Dimensions
Analog, temperature, pressure modules, 8/16 points I/O modules: (dimension: mm)
63
55 73.3
R2
扩
24V
展
口
Xinje Electronic Co.,Ltd
SN:0067032266
DATE:20060410
TYPE:XC-E6PT-P
102
94
PWR
扩展电缆
139
131 73.3
0 1 2 3 4 5
Xinje Electronic Co.,Ltd
SN:0067032266
DATE:20060410
TYPE:XC3-32R-E
6 7
94
102
110
X PWR
XC-E32YR RUN
PORT1 PORT2 Y
ERR
0 1 2 3 4 5
6 7
扩展电缆 0V Y20 Y22 COM5 Y25 Y27 Y30 Y32 COM7 Y35 Y37
24V COM4 Y21 Y23 Y24 Y26 COM6 Y31 Y33 Y34 Y36
3.5
2
1-3. Module part name and function
Name Function
Power LED The LED lights when the power supply is on
Module type The type of expansion module
Expansion port To connect the expansion module
Analog I/O terminals To connect to analog input and output, the terminals are
knock-down
DIN rail pothook To mount the module, pull down the pothook to take away the
module
Screw hole Use M3 screw
Expansion cable To connect the expansion module
3
Label notes:
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
4
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
5
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 can not 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
Before using the expansion module, please configure the module in XCPpro software.
Next we will introduce the configuration steps. Take XC-E8AD as an example.
A. Open the XCPpro software, click module in the project menu:
6
B. Choose the module type and channel parameters in the following window:
7
e(t) = r (t ) –c ( t ) (1-1)
u(t) = Kp [ e ( t ) + 1/Ti∫e(t)dt + TD de(t)/dt] (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.
8
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
T200
T200 K200
Notes:
For analog modules XC-E8AD, XC-E4AD, XC-E4AD2D,
1. PID control period is 2s, which is not suitable to fast changing object. Such as pressure,
liquid level, flow.
2. PID parameters should be set manually.
9
2. Analog input module XC-E8AD(-H)
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.
XC-E8AD
AI As special function module of
XC, up to 7 models can be
connected.
AI0 AI1 AI2 AI3 PID function
C0 C1 C2 C3
XC-E8AD-H: the power of
analog and digital has isolation
circuit
10
2-2. Terminals
0V C0 C1 C2 C3
24V . .VI0 VI1 VI2
. VI3
XC 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:
11
PID Parameters: Kp,
PID output PID start/stop Ki, Kd, control range
Channel AD signal Preset value
value control bit Diff, dead range
“Death”
0CH ID100 ID108 Y100 QD100
1CH ID101 ID109 Y101 QD101
Kp: QD108
2CH ID102 ID110 Y102 QD102
Ki: QD109
3CH ID103 ID111 Y103 QD103
Kd: QD110
4CH ID104 ID112 Y104 QD104
Diff: QD111
5CH ID105 ID113 Y105 QD105
Death: QD112
6CH ID106 ID114 Y106 QD106
7CH ID107 ID115 Y107 QD107
12
PID parameters: Kp,
PID output PID start/stop Ki, Kd, control range
Channel AD signal Preset value
value control bit Diff, dead range
“Death”
0CH ID400 ID408 Y400 QD400
1CH ID401 ID409 Y401 QD401
Kp: QD408
2CH ID402 ID410 Y402 QD402
Ki: QD409
3CH ID403 ID411 Y403 QD403
Kd: QD410
4CH ID404 ID412 Y404 QD404
Diff: QD411
5CH ID405 ID413 Y405 QD405
Death: QD412
6CH ID406 ID414 Y406 QD406
7CH ID407 ID415 Y407 QD407
13
PID parameters: Kp,
PID output PID start/stop Ki, Kd, control range
Channel AD signal Preset value
value control bit Diff, dead range
“Death”
0CH ID700 ID708 Y700 QD700
1CH ID701 ID709 Y701 QD701
Kp: QD708
2CH ID702 ID710 Y702 QD702
Ki: QD709
3CH ID703 ID711 Y703 QD703
Kd: QD710
4CH ID704 ID712 Y704 QD704
Diff: QD711
5CH ID705 ID713 Y705 QD705
Death: QD712
6CH ID706 ID714 Y706 QD706
7CH ID707 ID715 Y707 QD707
Start signal (Y): when Y is 0, close PID control, when Y is 1, start PID control.
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
14
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:
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.
15
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 00: 1/2 filter
- -
01: not filter 0: 0~10V 01: not filter 0: 0~10V
10: 1/3 filter 1: 0~5V 10: 1/3 filter 1: 0~5V
- -
11: 1/4 filter 11: 1/4 filter
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 00: 1/2 filter
- -
01: not filter 0: 0~10V 01: not filter 0:0~10V
10: 1/3 filter 1: 0~5V 10: 1/3 filter 1:0~5V
- -
11: 1/4 filter 11: 1/4 filter
Register FD8251:
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0: 00: 1/2 filter
- - 0: 0~20mA
01: not filter 0~20mA 01: not filter
1: 4~20mA
10: 1/3 filter 1: 10: 1/3 filter
- -
11: 1/4 filter 4~20mA 11: 1/4 filter
Channel 7 Channel 6
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 0: 00: 1/2 filter
- -
01: not filter 0~20mA 01: not filter 0: 0~20mA
10: 1/3 filter 1: 10: 1/3 filter 1: 4~20mA
- -
11: 1/4 filter 4~20mA 11: 1/4 filter
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-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.
16
Voltage input:
0CH 1CH 2CH 3CH
VI0-
VI1-
VI2-
VI3-
VI0+
VI1+
VI2+
VI3+
C0 C1 C2 C3
VI0 VI1 VI2 VI3
Current input:
AI1+
AI2+
AI3+
AI0-
AI1-
AI2-
AI3-
17
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
18
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
19
PLC XC-E8AD module 1
C0 C1 C2 C3
COM X1 X3 X5 X7 X11 X13 X15 VI0 VI1 VI2 VI3
FG COM X0 X2 X4 X6 X10 X12 X14
0 1 2 3 4 5
6 7
VI
PWR
X PWR XC-E8AD
XC3-24R-E RUN AI
PORT1 PORT2 Y
ERR
0 1 2 3 4 5
6 7
M8012 is ON every 100ms. It can meet the requirements of getting the value every
100ms.
Get the analog input value of channel 0.
The latest analog input value is saved in D470, get 20 analog values and saved in
D530~D549.
Get the average value of the 20 values, save the result in D580. D580 is filter value.
20
Filter effect:
21
3. Analog input/output module XC-E4AD2DA(-H)
3-1. Specification
22
Install format Fixed with M3 screws or directly installed on orbit of DIN46277 (Width: 35mm)
Exterior size 63mm×102mm×73.3mm
3-2. Terminals
0V C0 AO0 C1 AO1
24V . . VO0 . VO1
XC series analog modules do not occupy I/O units; the converted data is directly transferred into
PLC register,
23
Address of module 1:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID100 ID104 Y100 QD102 Kp: QD106
Ki: QD107
1CH ID101 ID105 Y101 QD103
Kd: QD108
2CH ID102 ID106 Y102 QD104 Diff: QD109
3CH ID103 ID107 Y103 QD105 Death: QD110
Channel DA signal - - -
0CH QD100 - - - -
1CH QD101 - - -
Address of module 2:
PID parameter: Kp,
PID output PID start/stop
Channel AD The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID200 ID204 Y200 QD202 Kp: QD206
Ki: QD207
1CH ID201 ID205 Y201 QD203
Kd: QD208
2CH ID202 ID206 Y202 QD204 Diff: QD209
3CH ID203 ID207 Y203 QD205 Death: QD210
Channel DA signal - - -
0CH QD200 - - - -
1CH QD201 - - -
Address of module 3:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID300 ID304 Y300 QD302 Kp: QD306
Ki: QD307
1CH ID301 ID305 Y301 QD303
Kd: QD308
2CH ID302 ID306 Y302 QD304 Diff: QD309
3CH ID303 ID307 Y303 QD305 Death: QD310
Channel DA signal - - -
0CH QD300 - - - -
1CH QD301 - - -
24
Address of module 4:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID400 ID404 Y400 QD402 Kp: QD406
Ki: QD407
1CH ID401 ID405 Y401 QD403
Kd: QD408
2CH ID402 ID406 Y402 QD404 Diff: QD409
3CH ID403 ID407 Y403 QD405 Death: QD410
Channel DA signal - - -
0CH QD400 - - - -
1CH QD401 - - -
Address of module 5:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID500 ID504 Y500 QD502 Kp: QD506
Ki: QD507
1CH ID501 ID505 Y501 QD503
Kd: QD508
2CH ID502 ID506 Y502 QD504 Diff: QD509
3CH ID503 ID507 Y503 QD505 Death: QD510
Channel DA signal - - -
0CH QD500 - - - -
1CH QD501 - - -
Address of module 6:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID600 ID604 Y600 QD602 Kp: QD606
Ki: QD607
1CH ID601 ID605 Y601 QD603
Kd: QD608
2CH ID602 ID606 Y602 QD604 Diff: QD609
3CH ID603 ID607 Y603 QD605 Death: QD610
Channel DA signal - - -
0CH QD600 - - - -
1CH QD601 - - -
25
Address of module 7:
PID parameter: Kp,
PID output PID start/stop
Channel AD signal The set value Ki, Kd, control range
value control bit
Diff, dead area Death
0CH ID700 ID704 Y700 QD702 Kp: QD706
Ki: QD707
1CH ID701 ID705 Y701 QD703
Kd: QD708
2CH ID702 ID706 Y702 QD704 Diff: QD709
3CH ID703 ID707 Y703 QD705 Death: QD710
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.
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
26
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.
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:
27
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: not filter input 1:0~5V 01: not filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: not filter input 1:0~5V 01: not filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: not filter input 1:0~5V 01: not filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 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-5.Exterior connection
28
Voltage input
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
VI0+
VI1+
VI2+
VI3+
VI0-
VI1-
VI2-
Voltage output
0CH 1CH
VO1+
VO1-
VO0+
VO0-
C0 AO0 C1 AO1
VO0 VO1
Current input
AI1+
AI2+
AI3+
AI0-
AI1-
AI2-
AI3-
29
Current output
0CH 1CH
AO1+
AO1-
AO0+
AO0-
C0 AO0 C1 AO1
VO0 VO1
Note:
1. XC-E4AD2DA current output needs external 24V power supply.
R<500Ω
C_
30
3-6. AD conversion diagram
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
+16383 +16383
digital
dgital
0 20mA 0 4mA
analog
20mA
analog
The relationship between input digital value and corresponding analog value:
0~5V analog output 0~10V analog output
5v 10v
analog
analog
0 +4095 0 +4095
digital digital
31
20mA 20mA
analog
analog
4mA
0 +4095 0 +4095
digital digital
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 Write channel0 data into data register D0
END
32
4. Analog Input Module XC-E4AD2DA-B-H
4-1. Specifications
,XC-E4AD2DA-B-H transform the 4 channels analog value to digital value, 2 channels digital
value to analog value, and send them to PLC.
0~5V, 0~10V
14 bits high precision analog input
AO
PWR
Up to 7 expansion modules can be
connected to the PLC
AI
33
4-2. Terminals
C0 C1
VO0 VO1
XC series expansions do not occupy I/O units; the converted value is sent to PLC register directly.
34
PID parameter: Kp, Ki,
PID output PID start/stop
Channel AD signal The set value Kd, control range Diff,
value control bit
dead area Death
35
Expansion module 4 address
PID parameter: Kp, Ki,
PID output PID start/stop
Channel AD signal The set value Kd, control range Diff,
value control bit
dead area Death
Channel DA signal - - -
0CH QD500 - - -
1CH QD501 - - -
Channel DA Signal - - -
-
0CH QD600 - - -
36
1CH QD601 - - - -
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
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
37
FD registers:
The working mode can be voltage 0~5V, 0~10V or current 0~20mA, 4~20mA, set through FD
registers of PLC: N
Channel Take module 1 as an example:
Module
0CH~3CH 4CH~5CH FD8250 HOOOO
Module 1 FD8250 FD8251 low byte 0CH
1CH
Module 2 FD8258 FD8259 low byte
2CH
3CH
Module 3 FD8266 FD8267 low byte
FD8251 HOOOO
Module 4 FD8274 FD8275 low byte
4CH
Module 5 FD8282 FD8283 low byte
5CH
Module 6 FD8290 FD8291 low byte
Module 7 FD8298 FD8299 low byte
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:
38
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: no filter input 1:0~5V 01: no filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: no filter input 1:0~5V 01: no filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Register FD8251 low byte:
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter - 0:-10~10V 00: 1/2 filter - 0:-10~10V
01: no filter 1:-5~5V 01: no filter 1:-5~5V
10: 1/3 filter 10: 1/3 filter
11: 1/4 filter 11: 1/4 filter
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.
VI1+
VI2+
VI3+
VI0-
VI1-
VI2-
VI3-
39
Current input
VI0 C1 AI1 VI2 C3 AI3
C0 AI0 VI1 C2 AI2 VI3
AI0+
AI1+
AI2+
AI3+
AI0-
AI1-
AI2-
AI3-
Voltage output
C0 C1
VO0 VO1
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
40
0~20mA analog input 4~20mA analog input
+16383 +16383
digital
digital
0 20mA 0 4mA 20mA
analog analog
The relationship between analog output and converted digital value is shown in the following
chart:
Note:When input data more than K2047,D/A convert analog data keep as 10V
4-7. Programming
Example Real-time read the 4 channels data ,write 2 channels data(take module 1 as an example)
41
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.
Register D10 send data to channel 0 ;
Register D11 send data to channel 1.
42
5.Analog Input Module XC-E4AD(-H)
5-1. Specifications
XC-E4AD, XC-E4AD-H transform the analog input (current or voltage) to digital value and send
to PLC register.
function
XC-E4AD-H has isolation for the
VI0 C1 AI1 VI2 C3 AI3
power of analog and digital part
C0 AI0 VI1 C2 AI2 VI3
43
5-2. Terminals
0V
24V . . .
Module signal :
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
- 0V Common terminal of power supply
XC series expansions do not occupy I/O units; the converted value is sent to PLC register directly.
44
Expansion module 2 address
PID Parameters: Kp,
PID Output PID Start/Stop Ki, Kd, Control
Channel AD Signal Preset Value
Value Control Bit Range Diff, Dead
Range “Death”
0CH ID200 ID204 Y200 QD202 Kp------- QD206
Ki------- QD207
1CH ID201 ID205 Y201 QD203
Kd------- QD208
2CH ID202 ID206 Y202 QD204 Diff------ QD209
3CH ID203 ID207 Y203 QD205 Death----QD210
Expansion module 3 address
PID Parameters: Kp,
PID Output PID Start/Stop Ki, Kd, Control
Channel AD Signal Preset Value
Value Control Bit Range Diff, Dead
Range “Death”
0CH ID300 ID304 Y300 QD302 Kp------- QD306
Ki------- QD307
1CH ID301 ID305 Y301 QD303
Kd------- QD308
2CH ID302 ID306 Y302 QD304 Diff------ QD309
3CH ID303 ID307 Y303 QD305 Death----QD310
Expansion module 4 address
PID Parameters: Kp,
PID Output PID Start/Stop Ki, Kd, Control
Channel AD Signal Preset Value
Value Control Bit Range Diff, Dead
Range “Death”
0CH ID400 ID404 Y400 QD402 Kp------- QD406
Ki------- QD407
1CH ID401 ID405 Y401 QD403
Kd------- QD408
2CH ID402 ID406 Y402 QD404 Diff------ QD409
3CH ID403 ID407 Y403 QD405 Death----QD410
45
Expansion module 6 address
PID Parameters: Kp,
PID Output PID Start/Stop Ki, Kd, Control
Channel AD Signal Preset Value
Value Control Bit Range Diff, Dead
Range “Death”
0CH ID600 ID604 Y600 QD602 Kp------- QD606
Ki------- QD607
1CH ID601 ID605 Y601 QD603
Kd------- QD608
2CH ID602 ID606 Y602 QD604 Diff------ QD609
3CH ID603 ID607 Y603 QD605 Death----QD610
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
46
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:
Channel’s address
Module
0CH~3CH Take module 1 as an example:
Module 1 FD8250 FD8250 HOOOO
Module 2 FD8258 0CH
Module 3 FD8266 1CH
Module 4 FD8274 2CH
Module 5 FD8282 3CH
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:
47
Register FD8250:
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: no filter input 1:0~5V 01: no filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 0: voltage 0:0~10V 00: 1/2 filter 0: voltage 0:0~10V
01: no filter input 1:0~5V 01: no filter input 1:0~5V
10: 1/3 filter 1: current 0:0~20mA 10: 1/3 filter 1: current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 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
VI1+
VI2+
VI3+
VI0-
VI1-
VI2-
VI3-
48
Current input
AI1+
AI2+
AI3+
AI0-
AI1-
AI2-
AI3-
The relationship between analog input and converted digital value is shown in the following chart:
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
+16383 +16383
digital
digital
49
5-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.
50
6. Analog output module XC-E4DA(-H)
6-1. Specification
XC-E4DA and XC-E4DA-H transform 12 bits digital value to current or voltage output.
51
6-2. Terminals
0V C0 AO0 C1 AO1
24V . . VO0 . VO1
C2 AO2 C3 AO3
VO2 VO3
XC series analog module does not occupy I/O space; the converted data is directly transferred into
PLC register. The PLC register corresponding to the channels are shown as the following:
52
6-4. Working mode
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
53
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.
Channel address Take expansion 1 as an example:
Module
0CH~3CH FD8250 HOOOO
Module 1 D8250 0CH
Module 2 D8258 1CH
Module 3 D8266 2CH
Module 4 D8274 3CH
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 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0:Voltage 0:0~10V 0: Voltage 0:0~10V
output 1:0~5V output 1:0~5V
- -
1:current 0:0~20mA 1:Current 0:0~20mA
output 1:4~20mA output 1:4~20mA
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
0: Voltage 0:0~10V 0: Voltage 0:0~10V
output 1:0~5V output 1:0~5V
- -
1: current 0:0~20mA 1: current 0:0~20mA
output 1:4~20mA output 1:4~20mA
54
Voltage output
VO0+
VO1+
VO0-
VO1-
C2 AO2 C3 AO3
VO2 VO3
C0 AO0 C1 AO1
VO2+
VO3+
VO0 VO1
VO2-
VO3-
Current output
AO0+
AO1+
AO0-
AO1-
C2 AO2 C3 AO3
VO2 VO3
C0 AO0 C1 AO1
VO0 VO1
AO2+
AO3+
AO2-
AO3-
Note:
1. XC-E4DA current output needs external 24V power supply.
55
2. XC-E4DA-H current output wiring:
i AO_+
R<500Ω
C_
The relationship between digital input and corresponding analog output is showed in the following
chart:
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
When the digital data exceed 4095, D/A analog output data will keep 5V, 10V or 20mA.
56
6-7. Programming
M8000
MOV D10 QD100 Write data of D10 to channel 0
END
57
7. Analog output module XC-E4DA-B-H
7-1. Specification
isolation
58
7-2. Terminals
59
Channel Terminal name Signal name
VO0 Voltage output
0CH C0 CH0 common terminal
VO1 Voltage output
1CH C1 CH1 common terminal
VO2 Voltage output
2CH C2 CH2 common terminal
VO3 Voltage output
3CH C3 CH3 common terminal
24V +24V power supply
- 0V Common terminal of power supply
XC series analog module does not occupy I/O space; the converted data is directly transferred into
PLC register. The PLC register corresponding to the channels are shown as the following:
Channel 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
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
60
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 -5V~5V, -10V~10VThe modes can be set through
FD register of PLC.
Channel address Take expansion 1 as an example:
Module
0CH~3CH FD8250 HOOOO
Module 1 D8250 0CH
Module 2 D8258 1CH
Module 3 D8266 2CH
Module 4 D8274 3CH
Module 5 D8282
Module 6 D8290
Module 7 D8298
Channel 0 and channel 1 choose -10~10 V voltage output ,Channel 2 and channel 3 choose
-5~5V voltage output ,
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0:-10~10V 0:-10~10V
- - 1:-5~5V - - 1:-5~5V
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
0:-10~10V 0:-10~10V
- - 1:-5~5V - - 1:-5~5V
61
7-5. Exterior connection
Voltage Output
C2 C3
VO2 VO3
C0 C1
VO0 VO1
The relationship between analog output and converted digital value is shown in the following
chart:
5V 10V
-2048 -2048
0 2047 0 2047
-5V -10V
Note:When input data more than K-2048~K2047,D/A convert analog data keep 5V or
10 V
62
7-7. Programming
M8000
MOV D10 QD100 Write data of D10 to channel 0;
END
63
8. Analog output module XC-E2DA(-H)
8-1. Specifications
XC-E2DA and XC-E2DA-H transform 12 bits digital value to current or voltage output.
64
8-2. Terminals
0V C0 AO0 C1 AO1
24V . . VO0 . VO1
XC 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:
Channel 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
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
65
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 Take module 1 as an example:
Module 1 D8250 FD8250 H 0 0 0 0
Module 2 D8254
0CH
Module 3 D8258
Module 4 D8262 1CH
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,
66
from low bit to high bit, every 4 bits set 1 channel mode.
Take the first module as an example:
Register FD8250:
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0:voltage 0:0 ~10V 0:voltage 0:0 ~10V
output 1:0 ~ 5V output 1:0 ~ 5V
- -
1:current 0:0~20mA 1:current 0:0~20mA
output 1:4~20mA output 1:4~20mA
Note:
1. XC-E2DA current output is sink current, it needs external 24V power supply. The wiring
diagram:
2. XC-E2DA-H current output is draw-off current, it doesn’t need external 24V power
supply. The wiring diagram:
67
i AO_+
R<500Ω
C_
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
Note:when input data more than K4095,D/A convert analog data keep 5V,10V or 20 mA
68
8-7.Programming
M8000
MOV D10 QD100
Write the value of D10 to channel 0
END
69
9.Analog Input Module XC-E2AD-H
9-1. Specifications
9-2. Terminals
70
Channel Terminal name Signal name
AI0 Current input
CH0 VI0 Voltage input
C0 CH0 common terminal of analog input
AI1 Current input
CH1 VI1 Voltage input
C1 CH1 common terminal of analog input
24V +24V power supply
- 0V Common terminal of power supply
Address of module 2:
PID parameter: Kp, Ki, Kd,
AD PID output PID start/stop The set
Channel control range Diff, dead area
signal value control bit value
Death
ID20 Kp-----QD202
0CH ID202 Y200 QD2100 Ki-----QD203
0
Kd-----QD204
ID20 Diff---QD205
1CH ID203 Y201 QD201
1 Death--QD206
Address of module 3:
PID parameter: Kp, Ki, Kd,
AD PID output PID start/stop The set
Channel control range Diff, dead area
signal value control bit value
Death
ID30 Kp-----QD302
0CH ID302 Y300 QD300 Ki-----QD303
0
Kd-----QD304
ID30 Diff---QD305
1CH ID303 Y301 QD301
1 Death--QD306
71
Address of module 4:
PID parameter: Kp, Ki, Kd,
AD PID output PID start/stop The set
Channel control range Diff, dead area
signal value control bit value
Death
Kp-----QD402
0CH ID400 ID402 Y400 QD400 Ki-----QD403
Kd-----QD404
1CH ID401 ID403 Y401 QD401 Diff---QD405
Death--QD406
Address of module 5:
AD PID output PID start/stop The set PID parameter: Kp, Ki, Kd,
Channel
signal value control bit value control range Diff, dead area
Death
Kp-----QD502
0CH ID500 ID502 Y500 QD500 Ki-----QD503
Kd-----QD504
1CH ID501 ID503 Y501 QD501 Diff---QD505
Death--QD506
Address of module 6:
AD PID PID start/stop The set PID parameter: Kp, Ki, Kd,
Channel
signal output control bit value control range Diff, dead area
value Death
Kp-----QD602
0CH ID600 ID602 Y600 QD600 Ki-----QD603
Kd-----QD604
1CH ID601 ID603 Y601 QD601 Diff---QD605
Death--QD606
Address of module 7:
AD PID output PID start/stop The set PID parameter: Kp, Ki, Kd,
Channel
signal value control bit value control range Diff, dead area
Death
Kp-----QD702
0CH ID700 ID702 Y700 QD700 Ki-----QD703
Kd-----QD704
1CH ID701 ID703 Y701 QD701 Diff---QD705
Death--QD706
Description:
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control.
72
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
Channel
Module
0CH~1CH
1# FD8250
2# FD8258
3# FD8266
4# FD8274
5# FD8282
6# FD8290
7# FD8298
73
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 2 channel’s mode.
The setting method: (module 1)
Register FD8250:
FD8250 H 0 0 0 0
0CH
1CH
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 0 : voltage 0:0~10V 00: 1/2 filter 0 : voltage 0:0~10V
01: not filter input 1:0~5V 01: not filter input 1:0~5V
10: 1/3 filter 1 : current 0:0~20mA 10: 1/3 filter 1 : current 0:0~20mA
11: 1/4 filter input 1:4~20mA 11: 1/4 filter input 1:4~20mA
Example: If set the working mode of module 1 channel 1, channel 0 to 4~20mA, 0~10V, filters
are all 1/2 filter, value in FD8250 is 0300H.
9-5.Exterior connection
Voltage input
74
Current input
+16383 +16383
digital
digital
0 5v 0 10v
analog analog
+16383 +16383
digital
dgital
0 20mA 0 4mA
analog
20mA
analog
75
9-7. Programming
M8000
MOV ID100 D0
MOV ID101 D1
END
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,
76
7. Pt 10 Temperature Control Module XC-E6PT(-P)(-H)
10-1. Specification
XC-E6PT、XC-E6PT-H、can collect the temperature signal from PT100 sensor. It doesn’t have PID
function.
XC-E6PT-P、XC-E6PT-P-H temperature PID function, do process to 6 points signal PT100 ,and
send to PLC main unit
parameters)
AI
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, 7 modules can be connected
to the PLC.
XC-E6PT-H、XC-E6PT-P-H the
power of analog and digital part is
isolation
Item Content
Analog input signal Pt100 platinum thermal-resistance
Temperature -100℃~500℃
measurement range
Digital output bound -1000~3500,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)
77
Dimension 63mm×102mm×73.3mm
Note:
1. Without signal input, the channel data will be 3500
2. Connect to Pt100 platinum thermal resistance according to actual requirements
10-2. Terminals
A0 A1 A2 A3 A4 A5
C0 C1 C2 C3 C4 C5
78
10-3. I/O Address Assignment
XC 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:
Module 1 address:
Real-time Set PID start/stop PID of first 3 PID of last 3
Channel
temperature temperature bit channels channels
0CH ID100 QD100 Y100
1CH ID101 QD101 Y101
Kp-----QD106 Kp-----QD110
2CH ID102 QD102 Y102 Ki-----QD107 Ki-----QD111
3CH ID103 QD103 Y103 Kd-----QD108 Kd-----QD112
Diff---QD109 Diff---QD113
4CH ID104 QD104 Y104
5CH ID105 QD105 Y105
Module 2 address:
Real-time Set PID start/stop PID of first 3 PID of last 3
Channel
temperature temperature bit channels channels
0CH ID200 QD200 Y200
1CH ID201 QD201 Y201
Kp-----QD206 Kp-----QD210
2CH ID202 QD202 Y202 Ki-----QD207 Ki-----QD211
3CH ID203 QD203 Y203 Kd-----QD208 Kd-----QD212
Diff---QD209 Diff---QD213
4CH ID204 QD204 Y204
5CH ID205 QD205 Y205
Module 3 address:
Real-time Set PID start/stop PID of first 3 PID of last 3
Channel
temperature temperature bit channels channels
0CH ID300 QD300 Y300
1CH ID301 QD301 Y301
Kp-----QD306 Kp-----QD310
2CH ID302 QD302 Y302 Ki-----QD307 Ki-----QD311
3CH ID303 QD303 Y303 Kd-----QD308 Kd-----QD312
Diff---QD309 Diff---QD313
4CH ID304 QD304 Y304
5CH ID305 QD305 Y305
79
Module 4 address:
Module 5 address:
Real-time Set PID start/stop PID of the first 3 PID of the last 3
Channel
temperature temperature bit channels channels
0CH ID500 QD500 Y500
1CH ID501 QD501 Y501
Kp-----QD506 Kp-----QD510
2CH ID502 QD502 Y502 Ki-----QD507 Ki-----QD511
3CH ID503 QD503 Y503 Kd-----QD508 Kd-----QD512
Diff---QD509 Diff---QD513
4CH ID504 QD504 Y504
5CH ID505 QD505 Y505
Module 6 address:
Real-time Set PID start/stop PID of the first 3 PID of the last 3
Channel
temperature temperature bit channels channels
0CH ID600 QD600 Y600
1CH ID601 QD601 Y601
Kp-----QD606 Kp-----QD610
2CH ID602 QD602 Y602 Ki-----QD607 Ki-----QD611
3CH ID603 QD603 Y603 Kd-----QD608 Kd-----QD612
Diff---QD609 Diff---QD613
4CH ID604 QD604 Y604
5CH ID605 QD605 Y605
Module 7 address:
Real-time Set PID of the first 3 PID of the last 3
Channel PID start/stop
temperature temperature channels channels
0CH ID700 QD700 Y700
1CH ID701 QD701 Y701 Kp-----QD706 Kp-----QD710
Ki-----QD707 Ki-----QD711
2CH ID702 QD702 Y702
Kd-----QD708 Kd-----QD712
3CH ID703 QD703 Y703 Diff---QD709 Diff---QD713
4CH ID704 QD704 Y704
80
5CH ID705 QD705 Y705
Start signal (Y): When Y is 0, close PID control; when Y is 1, start PID control
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
81
channel address
Module Take module 1 as an example:
0CH~3CH 4CH~5CH
FD8250 HOOOO
Module 1 FD8250 FD8251 low byte
0CH
Module 2 FD8258 FD8259 low byte 1CH
Module 3 FD8266 FD8267 low byte 2CH
Module 4 FD8274 FD8275 low byte 3CH
Module 5 FD8282 FD8283 low byte FD8251 H O O O O
Module 6 FD8290 FD8291 low byte 4CH
Module 7 FD8298 FD8299 low byte 5CH
Each FD register can set 4 channels parameters. Every 4 bits of the FD register can set one
channel parameters.
Channel 2 Channel 1
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00:1/2 filter 00:1/2 filter
- 0: 2s - 0: 2s
01:no filter 01:no filter
10:1/3 filter 10:1/3 filter
- 1: 20s - 1: 20s
11:1/4 filter 11:1/4 filter
Channel 4 Channel 3
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00:1/2 filter 00:1/2 filter
- 0: 2s - 0: 2s
01:no filter 01:no filter
10:1/3 filter 10:1/3 filter
- 1: 20s - 1: 20s
11:1/4 filter 11:1/4 filter
Register FD8251:
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00:1/2 filter 00:1/2 filter
- 0: 2s - 0: 2s
01:no filter 01:no filter
10:1/3 filter 10:1/3 filter
- 1: 20s - 1: 20s
11:1/4 filter 11:1/4 filter
Note:
82
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:
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
83
Power
Heating unit
SSR
3500
Digital
output
-100 0 350 ℃
Temperature
-1000 input
84
10-6. Programming
M8000
MOV K800 QD100 Set channel 0 temperature to 800 (80 ºC)
END
85
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
Set value
M8002
MOV K500 QD100
END
86
11. Pt100 temperature control module XC-E2PT-H
11-1. Specification
B0 A1 C1 B2 A3 C3
A0 C0 B1 A2 C2 B3
Item Content
Analog input signal Pt100 platinum thermal-resistance
Temperature -100℃~327℃
measurement range
Digital output bound -1000~3500,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×102mm×73.3mm
Note:
1. Without signal input, the channel data will be 3500
2. Connect to Pt100 platinum thermal resistance according to actual requirements
87
11-2. Terminals
B0 A1 C1
A0 C0 B1
XC series analog modules don’t occupy I/O units; the converted data is directly transferred into
PLC register.
Module 1 address:
Channel Current temperature
0CH ID100
1CH ID101
Module 2 address:
Channel Current temperature
0CH ID200
1CH ID201
88
Module 3 address:
Channel Current temperature
0CH ID300
1CH ID301
Module 4 address :
Channel Current temperature
0CH ID400
1CH ID401
Module 5 address :
Channel Current temperature
0CH ID500
1CH ID501
Module 6 address:
Channel Current temperature
0CH ID600
1CH ID601
Module 7 address:
Channel Current temperature
0CH ID700
1CH ID701
89
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.
90
11-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.
Connection :
11-6. Programming
M8000
MOV ID100 D0
MOV ID101 D1
91
12.Analoge expansion XC-E2TCA-P/XC-E6TC(-P)
12-1. Specification
XC-E6TCA-P (V4) and higher version has better noise immunity ability. XC-E6TCA-P is
temperature control module. XC-E2TCA-P/XC-E6TCA-P as the expansion module of PLC, it has
2/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.
Items Content
Analog input signal K type:0℃~1300℃(:Version below V6 is 0℃~
1000℃)
S:0℃~1700℃
E:0℃~600℃
N:0℃~1200℃
B:0℃~1800℃
T:0℃~400℃
J:0℃~800℃
R:0℃~1700℃
Input channel number 6 channel(XC-E2TCA-P is 2 channel)
92
Resolution 0.1℃
Integrate precision 0.1℃
Environment temperature 0℃~60℃
Conservation temperature -20~70℃
Environment humidity 5~95%
Conservation humidity 5~95%
Conversion speed 20ms per channel
Install format Fixed with M3 screws or directly installed on orbit of
DIN46277 (Width: 35mm)
Dimension 63mm×102mm×73.3mm
Using requirements:
PLC: hardware version 3.1e and above
XCPpro software: version 3.1b and above
Temperature sensor type: thermocouple K, S, E, N, J, T, R
12-2. Terminals
Name Content
Input 6 Analog input
(TC0+,TC0-,…,TC5+,T channels range:K :0℃~1300℃
C5-) S :0℃~1700℃
E:0℃~600℃
N:0℃~1200℃
B:0℃~1800℃
T:0℃~400℃
J:0℃~800℃
R:0℃~1700℃
Output 6 Analog In digital format,
(Y0~Y5) channels output range:0~4095
Switch In duty cycle format,
output Y output when put
through
93
XC-E6TCA-P,XC-E2TCA-P can connect many types of thermocouples. In order to set the mode,
each type will have an index no.
Index No. 0 1 2 3 4 5 6
Sensor type K S E N J T R
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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
94
FD registers:
To choose the thermocouple type for each channel, you should set the data in FD8250 and
FD8251 of PLC.
FD8250:
channel 1 channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Write the index NO. Write the index NO.
channel 3 channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Write the index NO. Write the index NO.
FD8251:
channel 5 channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Write the index NO. Write the index NO.
/ /
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Parameters Explanation
Channel Ch0 Ch1 Ch5
Module 1 ID100 ID101 ID10× ID105
Display
Module 2 ID200 ID201 ID20× ID205
temperature
ID×00 ID×01 ID×0× ID×05
Unit: 0.1 ℃
Module 7 ID700 ID701 ID70× ID705
Module 1 X100 X101 X10× X105
PID output
Module 2 X200 X201 X20× X205
( return to the X
X×00 X×01 X×0× X×05
input of PLC )
Module 7 X700 X701 X70× X705
Connection state Module 1 X110 X111 X11× X115
of Module 2 X210 X211 X21× X215
thermocouple(0 is X×10 X×11 X×1× X×15
connection, 1 is Module 7 X710 X711 X71× X715
disconnection)
Module 1 Y100 Y101 Y10× Y105
Module 2 Y200 Y201 Y20× Y205
Enable signal
Y×00 Y×01 Y×0× Y×05
Module 7 Y700 Y701 Y70× Y705
95
PID auto-tune Module 1 X120 X121 X12x X125
error signal bit(0 Module 2 X220 X221 X22x X225
is normal, 1 is ….. Xx20 Xx21 Xx2x Xx25
error) Module 7 X720 X721 X72x X725
Auto-tune triggered signal, start to auto-tune mode when set to 1
After auto-tune, PID parameters and temperature control period value are refreshed, the bit value
PID control bit
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.
The best PID parameters got from the PID auto-tune.
PID parameters
If the current PID parameters cannot meet the control requirements, users can set the experience
( P, I, D )
PID parameters to make the module work according to the user setting value.
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.
96
12-4. Read and write address
When using the module, it needs to write and read the parameters; the parameter addresses are
shown as below:
1. The address of read instruction (FROM)
Address Description
K0 PID control bit
K1 PID output (the result)
Ch0
K2 PID output (the result)
Ch1
: : :
K6 PID output (the result)
Ch5
K7 PID parameter P
K8 PID parameter I
Ch0
K9 PID parameter D
K10 PID parameter Diff
K11 PID parameter P
K12 PID parameter I
Ch1
K13 PID parameter D
K14 PID parameter Diff
: : :
K27 PID parameter P
K28 PID parameter I
Ch5
K29 PID parameter D
K30 PID parameter Diff
K31 Ch0 Temperature difference value
δ
K32 Ch1 Temperature difference value
δ
: : :
K36 Ch5 Temperature difference value
δ
Address Description
K0 PID control bit
97
K1 Setting temperature
Ch0
K2 Setting temperature
Ch1
: : :
K6 Setting temperature
Ch5
K7 PID parameter P
K8 PID parameter I
Ch0
K9 PID parameter D
K10 PID parameter Diff
K11 PID parameter P
K12 PID parameter I
Ch1
K13 PID parameter D
K14 PID parameter Diff
: : :
K27 PID parameter P
K28 PID parameter I
Ch5
K29 PID parameter D
K30 PID parameter Diff
K31 Temperature control period
Ch0
K32 Ch1 Temperature control period
: : :
K36 Ch5 Temperature control period
K37 Ch0 Adjusting environment
temperature
K38 Ch1 Adjusting environment
temperature
: : :
K42 Ch5 Adjusting environment
temperature
K43 Ch0 Auto-tune output range
K44 Ch1 Auto-tune output range
: : :
K48 Ch5 Auto-tune output range
K49 Ch0 Temperature difference value δ
K50 Ch1 Temperature difference value δ
: :
K54 Ch5 Temperature difference value δ
98
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.
After power on and read all the parameters, the module starts to collect the temperature. Then
write the target temperature, temperature control period, auto-tune output range into the module.
The module judges the enable signal of each channel, if the signal is ON, it starts the PID control
for the object.
Meanwhile, the module will judge if there is auto-tune trigger signal.
If the trigger signal is ON, when the rise edge coming, the auto-tune process will begin and the
state bit will be set ON; when the auto-tune process is completed, state bit and trigger signal will
99
be set OFF; then the module enter into PID control.
If the auto-tune trigger signal is not ON, the module will keep doing PID control.
Notes:
The module does PID control process according to PID parameters, target temperature,
temperature control period. If the temperature control period is 0, this channel will not output and
only collect temperature.
The control process chart is as below:
100
Function: read the data of the module and save them in PLC register, object operand unit is word.
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 register quantity (how many words). Operand: K, TD, CD, D, FD.
D1: the register head address of the PLC.
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.
Function: write the data of PLC coil to the module, object operand unit is bit.
101
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 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
M1
TO K0 K31 K1 D10
Explanation:
PLC register module address
D10 K31
102
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
M1
TO K0 K43 K1 D20
Explanation:
PLC register 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
M100
TO K0 K0 K6 M0
Explanation:
PLC coil module address
M0 K0 bit 0
M1 K0 bit 1
M2 K0 bit 2
M3 K0 bit 3
M4 K0 bit 4
M5 K0 bit 5
103
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.
M100
FROM K0 K0 K6 M10
Explanation:
PLC coil module address
M10 K0 bit 0
M11 K0 bit 1
M12 K0 bit 2
M13 K0 bit 3
M14 K0 bit 4
M15 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
M100
FROM K0 K7 K4 D30
104
Explanation:
PLC register module address
D30 K7
D31 K8
D32 K9
D33 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
M100
TO K0 K27 K4 D40
Explanation:
PLC register module address
D40 K27
D41 K28
D42 K29
D43 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
105
channel 0~5 are corresponding to Y200~Y205....... So set on the corresponding enable bit to start
the PID control for the channel.
M100
FROM K0 K1 K6 D50
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
K1: data address in the module
K6: read word quantity is 6 words
D50: the head address of data in the PLC
12-7. Programming
106
6. Turn on “read PID parameters” to read the PID parameters of each channel.
7. If you want to adjust the ambient temperature, push the “adjust ambient temperature” button
to enter the adjustment screen.
First of all, set the thermocouple types in the XCPpro software. As the 0~4 channels are K type
thermocouple, set FD8250 to 1111H, FD8251 to 01H.
Next, please see the corresponding address of PLC and XC-6TCA-P.
M1
M100~M104
107
108
M1 Write channel 0~4 target temperature into
TO K0 K1 K5 D4000 XC-6TCA-P address K1~K5
M5
FMOV D4020 D10 K5 Write the value of D4020 to D10-D14, (ambient
temperature)
M10 M100
( S ) Set on M100 when M10 is on
M11 M101
( S ) Set on M101 when M11 is on
M14 M104
Set on M104 when M14 is on
( S )
STL S0
109
13. XC-E3AD4PT2DA
13-1. Specifications
110
Analog Using
Installation Fix with M3 screws or install on DIN46277 (Width: 35mm) leader directly
Dimension 63mm×102mm×73.3mm
13-2. Terminals
B0 A1 C1 B2 A3 C3
A0 C0 B1 A2 C2 B3
111
13-3. I/O address assignment
XC series analog modules do not occupy I/O units, the converted value is sent to PLC register
directly.
The PLC register addresses are shown as the following:
Module 1 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID100 ID107 Y100 QD102
Module 2 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID200 ID207 Y200 QD202
112
1CH QD201 - - -
Module 3 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID300 ID307 Y300 QD302
Module 4 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID400 ID407 Y400 QD402
113
Module 5 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID500 ID507 Y500 QD502
Module 6 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
0CH ID600 ID607 Y600 QD602
Module 7 addresses:
PID Output PID start/stop PID parameter: Kp,
Channel AD Signal Preset Value
Value bit Ki, Kd, Diff, Death
114
0CH ID700 ID707 Y700 QD702
Description:
Start signal (Y): when Y is 0, close PID control, when Y is 1, start PID control
XCPpro software:
Open the XCPpro software, click configure/expansion module settings:
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.
115
FD registers:
The working mode can be set through special FLASH data register FD of PLC.
Module Register address Take module 1 as an example:
FD8250 HOOOO
Module 1 FD8250 , FD8251, FD8252
0CH (AD)
Module 2 FD8258, FD8259, FD8260
1CH (AD)
Module 3 FD8266, FD8267, FD8268
2CH (AD)
Module 4 FD8274, FD8275, FD8276
3CH (PT)
Module 5 FD8282, FD8283, FD8284 FD8251 HOOOO
Module 6 FD8290, FD8291, FD8292 4CH (PT)
Module 7 FD8298, FD8299, FD8270 5CH (PT)
6CH (PT)
0CH (DA)
Note: As shown in the preceding table, each FD8252 HOOOO
register defines 4 channels mode, each 1CH (DA)
register has 16 bits. From low bit to high
bit, every 4 bits separately set 4 channels
mode.
116
Register FD8250:
Input CH 1 (AD) Input CH 0 (AD)
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 00: 1/2 filter
01: no filter 0:0~20mA 01: no filter 0:0~20mA
- -
10: 1/3 filter 1:4~20mA 10: 1/3 filter 1:4~20mA
11: 1/4 filter 11: 1/4 filter
Input CH 3 (PT) Input CH 2 (AD)
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 00: 1/2 filter
01: no filter 01: no filter 0:0~20mA
- -
10: 1/3 filter 10: 1/3 filter 1:4~20mA
11: 1/4 filter 11: 1/4 filter
- Output CH 1 (PT)
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0 :0~10V
- - - - -
1 :0~5V
117
13-5. External Connection
B0 A1 C1 B2 A3 C3
A0 C0 B1 A2 C2 B3
PT100
PT100
PT100
PT100
Analog wiring:
AI2+
AI0+
AI1+
VO0+
AI2-
VO1+
AI0-
AI1-
VO0-
24V+
VO1-
0V
118
13-6. AD conversion Diagram
The relationship between the analog input and the converted digital value is shown as below:
+16383 +16383
digital
digital
The relationship between the digital input and corresponding analog output is shown as below:
0~5V analog output 0~10V analog output
5v 10v
analog
analog
0 +1023 0 +1023
digital digital
Note: When the output value is larger than 1023, D/A converted analog value will remain 5V
or 10V
3500
Digital
output
-100 0 350 ℃
Temperature
-1000 input
119
13-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 Send AD value of CH0 to data register D0
MOV ID101 D1
Send AD value of CH1 to data register D1
MOV ID102 D2
Send AD value of CH2 to data register D2
MOV ID103 D3
Send temperature value of CH3 to data register D3
MOV ID104 D4
Send temperature value of CH4 to data register D4
MOV ID105 D5
Send temperature value of CH5 to data register D5
MOV ID106 D6
Send temperature value of CH6 to data register D6
END
120
14. Analog and temperature module XC-E2AD2PT2DA
14-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.
121
0~20mA、4~
Current
20mA
10 bits binary data
Digital input range - -
(0~1023)
Application environment
14-2. Terminals
122
The input wiring diagram of PT100 (Three-line):
XCPpro software:
123
Choose the correct module and channel parameters.
After finishing configuration, please click “write to plc”, then click “OK”. The configurations will
take effect after downloading and running the program.
FD registers:
For XC-E2AD2PT2DA module, user can set the parameters through Flash register FD (special
data register of PLC):
124
Register FD8251:
DA CH 1 DA CH 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0:Voltage 0:0~10V 0:Voltage 0:0~10V
1:0~5V 1:0~5V
1:Current 0:0~20mA 1:Current 0:0~20mA
1:4~20mA 1:4~20mA
Remaining register bits
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
-------- --------
Bit value
FD8250 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
The value of FD8250 is 512.
Bit value
FD8251 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
125
connection Module2 X210 X211 X212 X213
/open circuit X×10 X×11 X×12 X×13
testing ( 0 is Module7 X710 X711 X712 X713
connected,1 is
open circuit)
PID auto-tune Module1 X120 X121 X122 X123
error bit(0 is Module2 X220 X221 X222 X223
OK,1 is X×20 X×21 X×22 X×23
error ) Module7 X720 X721 X722 X723
Module1 Y100 Y101 Y102 Y103
Module2 Y200 Y201 Y202 Y203
Enable signal
Y×00 Y×01 Y×02 Y×03
Module7 Y700 Y701 Y702 Y703
Auto-tune trigger signal, start auto-tune when set to 1.
After auto-tune, PID parameters and period value are refreshed, and clear the
auto-tune PID
auto-tune PID control bit automatically.
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 Digital value output range: 0~4095
value When the PID output value is analog control (Such as steam valve opening or
(operation silicon controlled conduction angles), user can send the value to analog output
result) module to meet the control requests.
PID Get the best parameters through PID auto-tune.
parameters If current PID parameters can’t meet control requests, user can use experienced
value PID parameters directly.
(P、I、D)
PID algorithm works in the range of ±Diff. For actual applications, if current value
PID operation is lower than TSetting TDiff ,PID output is the maximum value; If current value is
range
(Diff) higher than TSetting TDiff , PID output is the minimum value. (The units is
126
save it.
Offset value δ=actual value - current 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.
Auto-tune
output Output value of auto-tune, the units is %, 80 means 80% output of the full scale.
amplitude
The units of temperature acquisition and analog channels are different according to the channel
style and range configuration.
Channel Units
Temperature acquisition channel 0.01℃
0~10V 1.5×10-4V
Voltage input
0~5V 7.6×10-5V
Analog channel
0~20mA 3.1×10-4mA
Current input
4~20mA 2.4×10-4mA
127
K4 PID output value of channel AD1
K5 Channel PT0 PID parameter value(P)
K6 Channel PT0 PID parameter value(I)
K7 Channel PT0 PID parameter value(D)
K8 Channel PT0 PID parameter value(Diff)
K9 Channel PT1 PID parameter value(P)
K10 Channel PT1 PID parameter value(I)
K11 Channel PT1 PID parameter value(D)
K12 Channel PT1 PID parameter value(Diff)
K13 Channel AD0 PID parameter value(P)
K14 Channel AD0 PID parameter value(I)
K15 Channel AD0 PID parameter value(D)
K16 Channel AD0 PID parameter value(Diff)
K17 Channel AD1 PID parameter value(P)
K18 Channel AD1 PID parameter value(I)
K19 Channel AD1 PID parameter value(D)
K20 Channel AD1 PID parameter value(Diff)
K21 Channel PT0 temperature offset value
K22 Channel PT1 temperature offset value
K23 Channel AD0 offset value
K24 Channel AD1 offset value
128
K17 Channel AD0 PID parameter value(Diff)
K18 Channel AD1 PID parameter value(P)
K19 Channel AD1 PID parameter value(I)
K20 Channel AD1 PID parameter value(D)
K21 Channel AD1 PID parameter value(Diff)
K22 Channel PT0 temperature control period
K23 Channel PT1 temperature control period
K24 Channel AD0 temperature control period
K25 Channel AD1 temperature control period
K26 Channel PT0 actual temperature value
K27 Channel PT1 actual temperature value
K28 Channel AD0 actual value
K29 Channel AD1 actual value
K30 Channel PT0 auto-tune output amplitude
K31 Channel PT1 auto-tune output amplitude
K32 Channel AD0 auto-tune output amplitude
K33 Channel AD1 auto-tune output amplitude
K34 Channel PT0 temperature offset value
K35 Channel PT1 temperature offset value
K36 Channel AD0 offset value
K37 Channel AD1 offset value
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:
129
14-4. Read and Write instructions
M1 S1 S2 S3 D1
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.
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
(1)Word operation
M1 D1 D2 D3 S1
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.
130
(2)Bit operation
M1 D1 D2 D3 S1
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.
1. Set temperature
M1
TO 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
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
131
(5) D10 PLC register address: D10
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
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: M0~M5.
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 hasn’t 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: M10~M13
132
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: D30~D33
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: D40~D43
FROM K0 K1 K4 D50
Description: When module is in process of PID control, user can read PID output value to PLC
registers D50~D53.
133
Operand definition:
(1) FROM Read instruction
(2) K0 Module number: 0
(3) K1 Module address: 1
(4) K4 Byte quantity to read: 4
(5) D50 PLC register address: D50~ D55
134
(2)2-Channel analog input, the connection mode of input terminal as below shows:
Voltage input mode as below shows:
135
(3)2-Channel analog output wiring:
Voltage output mode:
136
14-6. Analog/Digital conversion Diagram
2-Channel analog input, the relationship between analog value and digital value are shown as the
following diagram:
+65535 +65535
digital
digital
0 5v 0 10v
analog analog
The relationship between the digital input and corresponding analog output are shown as the
following diagram:
0~5V analog output 0~10V analog output
5v 10v
analog
analog
0 +1023 0 +1023
digital digital
137
20mA 20mA
analog
analog
4mA
0 +1023 0 +1023
digital digital
14-7. Programming
Set temperature
138
The address of PLC coil
Module address Description
and register
D0 K2 Channel 0 set temperature
D1 K22 Channel 0 temperature control
D2 period
D3 K30 Channel 0 output amplitude
D4 K6 Channel 0 set parameter P
D5 K7 Channel 0 set parameter I
D6 K8 Channel 0 set parameter D
D300 K9 Channel 0 set parameter Diff
D301 K5 Channel 0 read parameter P
D302 K6 Channel 0 read parameter I
D303 K7 Channel 0 read parameter D
M100 K8 Channel 0 read parameter Diff
Channel 0 auto-tune PID control
K0
bit
139
Open the enable bit of channel 0
Set on M200
Reset M200.
140
15. I/O expansion module XC-EnXmY
15-1. Specifications
COM X1 X3 X5 X7
COM X0 X2 X4 X6
0 1 2 3
4 5 6 7
X
RUN
XC-E8X8YR
Y
0 1 2 3
4 5 6 7
Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6
Module types
Model
Function description
NPN input PNP input
XC-E8X XC-E8PX 8-channel digital input
XC-E8YR XC-E8YR 8-channel relay output
XC-E8YT XC-E8YT 8-channel transistor output
XC-E8X8YR XC-E8PX8YR 8-channel digital input, 8-channel relay output
XC-E8X8YT XC-E8PX8YT 8-channel digital input, 8-channel transistor output
XC-E16X XC-E16PX 16-channel digital input
XC-E16YR XC-E16YR 16-channel relay output
XC-E16YT XC-E16YT 16-channel transistor output
XC-E16X16YR XC-E16PX16YR 16-channel digital input, 16-channel relay output
XC-E32X XC-E32PX 32-channel digital input
XC-E32YR XC-E32YR 32-channel relay output
141
Module Specifications
Items Specifications
Input voltage (Power
DC24V±10% (32 points I/O module is AC220V±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)
63mm×102mm×73.3mm(16 points, 8 points)
Dimension
139mm×102mm×73.3mm(32 points)
15-2. Terminals
The terminals distributions of NPN and PNP input are the same.
(1)XC-E8X module:
24V COM X1 X3 X5 X7
0V COM X0 X2 X4 X6
(2)XC-E8YR,XC-E8YT module:
Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6
(3)XC-8X8YR,XC-8X8YT module:
24V COM X1 X3 X5 X7
0V COM X0 X2 X4 X6
Y0 Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6
(4)XC-16X module:
24V COM X1 X3 X5 X7
0V COM X0 X2 X4 X6
(5)XC-16YR,XC-16YT module:
Y1 Y2 COM3 Y5 Y7
COM0 COM1 COM2 Y3 Y4 Y6
142
(6)XC-16X16YR module:
N COM X1 X3 X5 X7 X11 X13 X15 X17
L FG COM X0 X2 X4 X6 X10 X12 X14 X16
0V Y20 Y22 COM5 Y25 Y27 Y30 Y32 COM7 Y35 Y37
24V COM4 Y21 Y23 Y24 Y26 COM6 Y31 Y33 Y34 Y36
Caution: Maybe the common terminal of each module is different from above pictures;
please see the label of actual objects.
XC series can expand 7 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)
The definition of input terminals (Extension module 1):
Terminals
Address Suitable modules
number
X0 X100 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X1 X101 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X2 X102 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X3 X103 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X4 X104 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X5 X105 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X6 X106 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X7 X107 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR 、XC-E32X
X10 X110 XC-E16X、XC-E16X16YR 、XC-E32X
X11 X111 XC-E16X、XC-E16X16YR 、XC-E32X
X12 X112 XC-E16X、XC-E16X16YR 、XC-E32X
X13 X113 XC-E16X、XC-E16X16YR 、XC-E32X
X14 X114 XC-E16X、XC-E16X16YR 、XC-E32X
X15 X115 XC-E16X、XC-E16X16YR 、XC-E32X
X16 X116 XC-E16X、XC-E16X16YR 、XC-E32X
X17 X117 XC-E16X、XC-E16X16YR 、XC-E32X
X20 X120 XC-E32X
X21 X121 XC-E32X
X22 X122 XC-E32X
143
X23 X123 XC-E32X
X24 X124 XC-E32X
X25 X125 XC-E32X
X26 X126 XC-E32X
X27 X127 XC-E32X
X30 X130 XC-E32X
X31 X131 XC-E32X
X32 X132 XC-E32X
X33 X133 XC-E32X
X34 X134 XC-E32X
X35 X135 XC-E32X
X36 X136 XC-E32X
X37 X137 XC-E32X
144
Y30 Y130 XC-E32YR
Y31 Y131 XC-E32YR
Y32 Y132 XC-E32YR
Y33 Y133 XC-E32YR
Y34 Y134 XC-E32YR
Y35 Y135 XC-E32YR
Y36 Y136 XC-E32YR
Y37 Y137 XC-E32YR
145
X37 X237 XC-E32X
The definition of output terminals (Extension module 2):
Terminals
Address Suitable modules
number
Y0 Y200 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y1 Y201 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y2 Y202 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y3 Y203 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y4 Y204 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y5 Y205 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y6 Y206 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y7 Y207 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y10 Y210 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y11 Y211 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y12 Y212 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y13 Y213 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y14 Y214 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y15 Y215 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y16 Y216 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y17 Y217 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y20 Y220 XC-E32YR
Y21 Y221 XC-E32YR
Y22 Y222 XC-E32YR
Y23 Y223 XC-E32YR
X24 Y224 XC-E32YR
X25 Y225 XC-E32YR
Y26 Y226 XC-E32YR
Y27 Y227 XC-E32YR
Y30 Y230 XC-E32YR
Y31 Y231 XC-E32YR
Y32 Y232 XC-E32YR
Y33 Y233 XC-E32YR
Y34 Y234 XC-E32YR
Y35 Y235 XC-E32YR
Y36 Y236 XC-E32YR
Y37 Y237 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.
146
The definition of input terminals (Extension module 7):
Terminals
Address Suitable modules
number
X0 X700 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X1 X701 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X2 X702 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X3 X703 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X4 X704 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X5 X705 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X6 X706 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X7 X707 XC-E8X、XC-E8X8YR/T、XC-E16X、XC-E16X16YR、XC-E32X
X10 X710 XC-E16X、XC-E16X16YR、XC-E32X
X11 X711 XC-E16X、XC-E16X16YR、XC-E32X
X12 X712 XC-E16X、XC-E16X16YR、XC-E32X
X13 X713 XC-E16X、XC-E16X16YR、XC-E32X
X14 X714 XC-E16X、XC-E16X16YR、XC-E32X
X15 X715 XC-E16X、XC-E16X16YR、XC-E32X
X16 X716 XC-E16X、XC-E16X16YR、XC-E32X
X17 X717 XC-E16X、XC-E16X16YR、XC-E32X
X20 X720 XC-E32X
X21 X721 XC-E32X
X22 X722 XC-E32X
X23 X723 XC-E32X
X24 X724 XC-E32X
X25 X725 XC-E32X
X26 X726 XC-E32X
X27 X727 XC-E32X
X30 X730 XC-E32X
X31 X731 XC-E32X
X32 X732 XC-E32X
X33 X733 XC-E32X
X34 X734 XC-E32X
X35 X735 XC-E32X
X36 X736 XC-E32X
X37 X737 XC-E32X
147
The definition of output terminals (Extension module 7):
Terminals
Address Suitable modules
number
Y0 Y700 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y1 Y701 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y2 Y702 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y3 Y703 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y4 Y704 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y5 Y705 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y6 Y706 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y7 Y707 XC-E8YR/T、XC-E8X8YR/T、XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y10 Y710 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y11 Y711 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y12 Y712 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y13 Y713 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y14 Y714 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y15 Y715 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y16 Y716 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y17 Y717 XC-E16YR/T、XC-E16X16YR、XC-E32YR
Y20 Y720 XC-E32YR
Y21 Y721 XC-E32YR
Y22 Y722 XC-E32YR
Y23 Y723 XC-E32YR
X24 Y724 XC-E32YR
X25 Y725 XC-E32YR
Y26 Y726 XC-E32YR
Y27 Y727 XC-E32YR
Y30 Y730 XC-E32YR
Y31 Y731 XC-E32YR
Y32 Y732 XC-E32YR
Y33 Y733 XC-E32YR
Y34 Y734 XC-E32YR
Y35 Y735 XC-E32YR
Y36 Y736 XC-E32YR
Y37 Y737 XC-E32YR
148
15-4. External connection
149
(3)The output terminal connection diagram of XC-E16YR module:
150
15-5. Applications
The application example includes three devices: Xinje XC series PLC (slave station), expansion
module XC-E8X8YR and HMI TH765-MT.
COM X1 X3 X5 X7
COM X1 X3 X5 X7 X11 X13 X15 X17 X21 COM X0 X2 X4 X6
FG COM X0 X2 X4 X6 X10 X12 X14 X16 X20
0 1 2 3 4 5 0 1 2 3
6 7 4 5 6 7
X
RUN
X PWR
XC-E8X8YR
XC3-32R-E RUN
Y
PORT1 PORT2 Y
ERR
0 1 2 3 4 5
6 7 0 1 2 3
4 5 6 7
Y0 Y1 Y2 COM3 Y5 Y7
0V A COM0 COM1 COM2 Y3 Y5 Y6 Y10 COM4 Y13 Y15 COM0 COM1 COM2 Y3 Y4 Y6
24V B Y0 Y1 Y2 Y4 COM3 Y7 Y11 Y12 Y14
THINGET
MODE: TH765-MT
S/ N: N20081028028
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 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.
(2)Program application:
The corresponding relationship between expansion module address and HMI address:
151
(3)HMI screen editing:
The screen of HMI:
Diagram A Diagram B
152
Diagram C
Diagram D Diagram E
Diagram F
After editing the HMI screen, download it to the HMI and start to work.
153
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: [email protected]
154