Thinget XC-E8AD, XC-E4AD2DA, XC-E6PT-P, XC-E4DA, XC-E6TC-P Operator's Manual

XC series expansions with special functions
Operate Manual
Thinget Electronic Co., Ltd.
Catalog
MODULE’S INFORMATION ....................................................................................................................... 3
PID FUNCTION ............................................................................................................................................. 2
ANALOG INPUT MODULE (XC-E8AD) .................................................................................................. 3
ANALOG INPUT/OUTPUT MODULE XC-E4AD2DA ........................................................................ 12
ANALOG OUTPUT MODULE XC-E4DA ............................................................................................... 19
PT100 TEMPERATURE PID CONTROL MODULE XC-E6PT-P ...................................................... 24
K TYPE THERMOCOUPLE TEMPERATURE PID CONTROL MODULE XC-E6TC-P ............ 30
ANALOG INPUT MODULE XC-E4AD .......................................................................................................... 46
Ⅰ、Module’s information
1Basic Characteristic
XC series PLC have not only strong functions of logic dispose data operationhigh speed disposing etc. but also functions of A/D D/A convertPID adjustmentWith using expansions of analog input moduleanalog output module temperature control module etc, XC series PLC are widely used in the control system of temperatureflowliquid levelpressure.
2Module’s Name
The detailed information is the following
Model Function
XC-E8AD
8 channels analog input (14bit)4 channels current input, 4 channels voltage input
XC-E4AD2DA
4 channels analog input (14bit); 2 channels analog output (12bit) current voltage selectable
XC-E4DA
4 channels analog output (12bit)currentvoltage selectable
XC-E6PT-P
-150 ~350 ,6 channels Pt100 temperature sampling, 0.1 degree precision, include PID operation
XC-E6TC-P
0 ~1000 ,6 channels K type thermocouple temperature sampling module, 0.1 degree precision, include PID operation
3Exterior Size
4General Specification
Operating Environment No Canker gas
Ambient Temperature 0 ~60
Store Temperature -20~70
Ambient Humidity 5~95%
Store Humidity 5~95%
Installation Can be fixed with M3 screws or directly installed on orbit of
DIN46277width: 35mm
Size 63mm×102mm×73.3mm
5Items to note when using
Please confirm the specification, choose suitable module
When carry on processing the screws or layout project, please protect the scraps falling into the modules
Before connecting, please confirm again module’s specification and connected device
When connecting, please check if the connection is fastness, cable breaking off will cause data incorrect,
short circuit and other fault! Installation, layout should only be carried after cutting all power.
Ⅱ、PID Function
1Brief introduction of PID function
Among XC series PLC special modules, digital input module (A/D module) and temperature control
modules both have PID control function. It is widely used and flexible. When using, only four parameters (KpKiKd and Diff) should be set.
2Parameter’s usage
Usage of four parameters: Proportion parameterKp)、Integral parameterKi)、Differential parameterKd)、Control proportion bandDiff
Kp—parameter P is proportion parameter, mainly reflect system’s wrap. When wrap occurs, carry on control to
decrease this wrap.
Ki—parameter I is integral parameter, mainly used to eliminate whisht difference, improving system’s no
difference degree.
Kd-- parameter D is differential parameter, mainly used to control signal’s changing trend, decrease system’s
shake.
Diff—Control bound means in the assigned bound, carry on PID control, out the bound, do not carry on PID
control.
3、 Contr ol characteris tic
The bound of PID adjustment is, when the testing value is low than QD-Diff, controller output with the
full scale; when the testing value is larger than QD+Diff, the controller stop output; in the bound ofQD-
DiffQD+Diff, carry on PID adjustment.
The control curve of PID is the following:
Each parameter’s reference value: Kp=20~100Ki=5~20Kd=200~700DIFF=100~200.
Ⅲ、Analog input module (XC-E8AD)
1
Specification
Specialty
14 bits high precision analog input
8 channels analog input The first
four channels current input (0~20mA 4~20 mA two kinds)
The left 4 channels voltage input (0~5V0~10V two kinds)
As special function module of XC, 7
models could be connected at most.
With PID adjustment function
Items
Current input0CH~3CH Voltage input4CH~7CH
Analog input bound
DC0~20mA4~20mA DC0~5V0~10V
Max input bound 0~40mA ±18V
Digital output bound 14 bits binary data
PID control value 0~4095 Distinguish Ratio 1/16383(14Bit)
Integrate Precision 0.8%
Convert speed 15ms per channel
Power used by analog DC24V±10%,100mA
Install format Can be fixed with M3 screws or directly installed on orbit of DIN46277 (width:
35mm)
Size 63mm×102mm×73.3mm
2
Input ID assignment
XC series analog module doesn’t engross I/O units, the converted data is directly transferred into PLC
register. Channels’ correspond PLC register ID is:
Inputoutput ID list
Register’s ID of expansion 1:
Channel AD signal PID output
value
PID start/stop
control bit
The set value PID Parameters: Kp,
Ki, Kd, control bound Diff, dead bound “Death”
0CH ID100 ID108 Y100 QD100
KpQD108 KiQD109 KdQD110 DiffQD111 DeathQD112
1CH ID101 ID109 Y101 QD101 2CH ID102 ID110 Y102 QD102 3CH ID103 ID111 Y103 QD103 4CH ID104 ID112 Y104 QD104 5CH ID105 ID113 Y105 QD105
6CH ID106 ID114 Y106 QD106 7CH ID107 ID115 Y107 QD107
Register’s ID of expansion 2:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parametersKp, Ki, Kd, control bound
Diff, dead bound “Death”
0CH ID200 ID208 Y200 QD200
KpQD208 KiQD209 KdQD210 DiffQD211 DeathQD212
1CH ID201 ID209 Y201 QD201 2CH ID202 ID210 Y202 QD202 3CH ID203 ID211 Y203 QD203 4CH ID204 ID212 Y204 QD204 5CH ID205 ID213 Y205 QD205
6CH ID206 ID214 Y206 QD206 7CH ID207 ID215 Y207 QD207
Register’s ID of expansion 3:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parametersKp, Ki, Kd, control bound
Diff, dead bound “Death”
0CH ID300 ID308 Y300 QD300
KpQD308 KiQD309 KdQD310 DiffQD311 DeathQD312
1CH ID301 ID309 Y301 QD301 2CH ID302 ID310 Y302 QD302 3CH ID303 ID311 Y303 QD303 4CH ID304 ID312 Y304 QD304 5CH ID305 ID313 Y305 QD305
6CH ID306 ID314 Y306 QD306 7CH ID307 ID315 Y307 QD307
Register’s ID of expansion 4:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parametersKp, Ki, Kd, control bound
Diff, dead bound “Death”
0CH ID400 ID408 Y400 QD400
KpQD408 KiQD409 KdQD410 DiffQD411 DeathQD412
1CH ID401 ID409 Y401 QD401 2CH ID402 ID410 Y402 QD402 3CH ID403 ID411 Y403 QD403 4CH ID404 ID412 Y404 QD404 5CH ID405 ID413 Y405 QD405
6CH ID406 ID414 Y406 QD406 7CH ID407 ID415 Y407 QD407
Register’s ID of expansion 5:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parametersKp, Ki, Kd, control bound
Diff, dead bound “Death”
0CH ID500 ID508 Y500 QD500
KpQD508 KiQD509 KdQD510 DiffQD511 DeathQD512
1CH ID501 ID509 Y501 QD501 2CH ID502 ID510 Y502 QD502 3CH ID503 ID511 Y503 QD503 4CH ID504 ID512 Y504 QD504 5CH ID505 ID513 Y505 QD505
6CH ID506 ID514 Y506 QD506 7CH ID507 ID515 Y507 QD507
Register’s ID of expansion 6:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameters KpKi Kd contr ol bound Diff dead
bound “Death”
0CH ID600 ID608 Y600 QD600
KpQD608 KiQD609 KdQD510 DiffQD611 DeathQD512
1CH ID601 ID609 Y601 QD601 2CH ID602 ID610 Y602 QD602 3CH ID603 ID611 Y603 QD603 4CH ID604 ID612 Y604 QD604 5CH ID605 ID613 Y605 QD605
6CH ID606 ID614 Y606 QD606 7CH ID607 ID615 Y607 QD607
Register’s ID of expansion 7:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parametersKp, Ki, Kd, control bound
Diff, dead bound “Death”
0CH ID700 ID708 Y700 QD700
KpQD708 KiQD709 KdQD710
1CH ID701 ID709 Y701 QD701 2CH ID702 ID710 Y702 QD702 3CH ID703 ID711 Y703 QD703 4CH ID704 ID712 Y704 QD704
DiffQD711 DeathQD712
5CH ID705 ID713 Y705 QD705
6CH ID706 ID714 Y706 QD706 7CH ID707 ID715 Y707 QD707
Description
Start signalY):when Y is 0, close PID control, when be 1 , start PID control
Parameter P:Proportion parameter, mainly reflex system’s difference, carry on control as soon as
difference occurs to improve the system’s no difference degree.
Parameter I:Integral parameter. Mainly used to remove whisht, improve the system’s no difference
degree.
Parameter D:Differential parameter, mainly used to control signal’s changing trend,minish system’s
shake. Control bound Diff:In the assigned bound, carry on PID control. Beyond the bound, no PID control. Dead area DeathWhen the current PID control value compares with the preceding PID control value. If
the difference between them is less than the set dead bound’s value, the module will
abnegate the current PID control value, send the preceding PID control value to the
PLC main unit.
Each parameter’s reference valueKp=20~100Ki=5~20Kd=200~700DIFF=100~200
3Setting of working mode
1)Expansion’s
0CH~3CH channels have two modes to select: current 0~20mA4~20mA , 4CH~7CH
channels have two modes to select, voltage 0~5V 0~10V. Set via special FLASH data register FC inside
PLC. See the following table:
Module Channel’s ID
0CH~3CH 4CH~7CH
1# module FD8250 FD8251
2# module FD8258 FD8259 3# module FD8266 FD8267 4# module FD8274 FD8275 5# module FD8282 FD8283 6# module FD8290 FD8291 7# module FD8298 FD8299
NoteAs 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 separately set 4 channels’ mode.
Each bit’s definition is showed in the following table:
The following, we take module 1 as example to describe the setting format: Register FD8250
Take 1# module as example: FD8250 H O O O O
0CH 1CH 2CH 3CH
FD8251 H O O O O
4CH 5CH 6CH 7CH
Register FD8251
E.g. 1 Set module 1’s No. 3 No.2 No.1 No.0 channel’s working mode separately as
0~20mA4~20mA0~20mA4~20mA, filters are all 1/2 filter, data in FD8250 is 0101H
2 Set module 1’s No. 7 No.6 No.5 No.4 channel’s working mode separately as
0~10V0~5V0~10V0~5V, all the four channels don’t filter, data in FD8251 is 4545H
4Exterior connection
About exterior connection, you should note the following two items:
When connect24V power outside, please use the 24V power on PLC main unit to avoid interfere.
To avoid interfere, please use the shield cable and single point grounding with the shield layer.
Layout chart:
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
0:0~20mA 1:4~20mA
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
0:0~20mA 1:4~20mA
- -
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
0:0~20mA 1:4~20mA
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
0:0~20mA 1:4~20mA
- -
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
00~10V 10~5V
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
00~10V 10~5V
- -
Channel 7 Channel 6
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
00~10V 10~5V
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
-
00~10V 10~5V
- -
5Analog/digital convert chart
The relationship between input analog and converted digital quantity is showed in the following chart:
Current mode of Channel 0Channel 3
0~20mA analog input 4~20mA analog input
Voltage mode of Channel 4Channel 7
0~5V analog input 0~10V analog input
6.Programming
E.g. 1Real time read unit 1 XC-E8AD module’s 8 channels’ data
MOV ID100 D0
END
M8000
MOV ID101 D1
MOV ID102 D2
MOV ID103 D3
MOV ID104 D4
MOV ID105 D5
MOV ID106 D6
MOV ID107 D7
E.g.2Application of PID control in AD modules
The following, we take channel 0 of XC-E8AD as the example:
Write channel 0’s data in to data register D0
Write channel 1’s data in to data register D1
Write channel 2’s data in to data register D2
Write channel 3’s data in to data register D3
Write channel 5’s data in to data register D5
Write channel 4’s data in to data register D4
Write channel 7’s data in to data register D7
Write channel 6’s data in to data register D6
MOV ID100 D10
MOV ID108 D1000
M8000
MOV K30 QD108
MOV K10 QD109
MOV K300 QD110
MOV K100 QD111
MOV K200 QD112
MOV QD100D4000
END
Y100
M8000
Write channel 0’s data into data register D10
Channel 0’s set value is register D4000
Set proportion coefficient Kp as 30
Set proportion coefficient Ki as 10
Set proportion coefficient Kd as 300
Set adjustment bound Diff as 100
Set control dead area as 200
Write channel 0’s PID value into register D1000
PID start/stop signal
Ⅳ、Analog input/output module XC-E4AD2DA
1.S pecificatio n
Characteristic
4 channels 14 bits analog input and 2
channels 12 bits analog output
4 channels selectable voltage 0~5V 0~10V current 0~20mA 4~20mA input and 2
channels selectable voltage 0~5V 0~10V current 0~20mA 4~20mA output. Set via
host machine.
As special function module of XC, 7
modules could be connected at most
4 channels A/D have PID adjustment
function
Items
Analog inputAD Analog outputDA
Voltage input Current input Voltage output Current output
Analog input bound
DC0~5V0~10V DC0~20mA 4~20m
A
-
Max input bound
DC±18V DC0~40mA -
Analog output bound
-
DC0~5V0~10V
(Exterior load
resistance
2KΩ~1MΩ)
DC0~20mA 4~20mA
(Exterior load resistance is less than 500Ω)
Digital input bound -
12 bits binary data0~4095
Digital output bound
14 bits binary data0~16383
-
Distinguish ratio 1/16383(14Bit); the converted data is
stored into PLC in the format of HEX format (14Bit)
1/4095(12Bit); the converted data is stored into PLC with the format of HEX.
(12Bit) PID control value 0~4095 ­Integrate precision 0.8% Convert speed 15ms per channel 2ms per channel Power used by analog DC24V±10%,100mA Install format Fixed with M3 screws or directly installed on orbit of DIN46277 (Width: 35mm) Exterior size 63mm×102mm×73.3mm
[Extend cable]: Realize data transfer via the connection of extend cable and PLC extend port [Extend port]Connect with other expansions
2.The assignment of input/output ID
XC series analog modules do not engross I/O units, the converted data is directly transferred into PLC
register, analog output is also directly offered by PLC register.
Register’s ID of expansion 1:
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter Kp, Ki, Kd, control bound
Diff, dead bound Death
0CH ID100 ID104 Y100 QD102
KpQD106 KiQD107 KdQD108 DiffQD109 DeathQD110
1CH ID101 ID105 Y101 QD103
2CH ID102 ID106 Y102 QD104
3CH ID103 ID107 Y103 QD105
Channel DA signal - - - -
4CH QD100 - - ­5CH QD101 - - -
Register’s ID of expansion 2:
Channel AD PID output
value
PID start/stop
control bit
The set value
PID parameter Kp, Ki, Kd, control bound
Diff, dead bound Death
0CH ID200 ID204 Y200 QD202
KpQD206 KiQD207 KdQD208 DiffQD209 DeathQD210
1CH ID201 ID205 Y201 QD203
2CH ID202 ID206 Y202 QD204
3CH ID203 ID207 Y203 QD205
Channel DA signal - - - -
4CH QD200 - - ­5CH QD201 - - -
Register’s ID of expansion 3
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter Kp, Ki, Kd, control bound
Diff, dead bound Death
0CH ID300 ID304 Y300 QD302
KpQD306 KiQD307 KdQD308 DiffQD309 DeathQD310
1CH ID301 ID305 Y301 QD303
2CH ID302 ID306 Y302 QD304
3CH ID303 ID307 Y303 QD305
Channel DA signal - - - -
4CH QD300 - - ­5CH QD301 - - -
Register’s ID of expansion 4
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter Kp, Ki, Kd, control bound
Diff, dead bound Death
0CH ID400 ID404 Y400 QD402
KpQD406 KiQD407 KdQD408 DiffQD409 DeathQD410
1CH ID401 ID405 Y401 QD403
2CH ID402 ID406 Y402 QD404
3CH ID403 ID407 Y403 QD405
Channel DA signal - - - -
4CH QD400 - - ­5CH QD401 - - -
Register’s ID of expansion 5
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter KpKi Kd contr ol bound Diff 、 dead bound Death
0CH ID500 ID504 Y500 QD502
KpQD506 KiQD507 KdQD508 DiffQD509 DeathQD510
1CH ID501 ID505 Y501 QD503
2CH ID502 ID506 Y502 QD504
3CH ID503 ID507 Y503 QD505
Channel DA signal - - - -
4CH QD500 - - ­5CH QD501 - - -
Register’s ID of expansion 6
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter KpKi Kd contr ol bound Diff 、 dead bound Death
0CH ID600 ID604 Y600 QD602
KpQD606 KiQD607 KdQD608 DiffQD609 DeathQD610
1CH ID601 ID605 Y601 QD603
2CH ID602 ID606 Y602 QD604
3CH ID603 ID607 Y603 QD605
Channel DA signal - - - -
4CH QD600 - - ­5CH QD601 - - -
Register’s ID of expansion 7
Channel AD signal PID output
value
PID start/stop
control bit
The set value
PID parameter KpKi Kd contr ol bound Diff 、 dead bound Death
0CH ID700 ID704 Y700 QD702
KpQD706 KiQD707 KdQD708 DiffQD709 DeathQD710
1CH ID701 ID705 Y701 QD703
2CH ID702 ID706 Y702 QD704
3CH ID703 ID707 Y703 QD705
Channel DA signal - - - -
4CH QD700 - - ­5CH QD701 - - -
Description
Start signal(Y):When Y is 0, close PID control; when being 1, start PID control Parameter P:proportion parameter, mainly reflect system’s difference, control as soon as difference occurs to decrease this difference. Parameter I:Integral parameter, mainly used to remove the whisht and improve the system’s no
difference degree
Parameter D:differential parameter, mainly control signal’s changing trend and decrease the system’s
shake.
Temp. control bound Diff : in the assigned bound, carry on PID control, beyond that bound, no PID
control
Each parameter’s reference valueKp=20~100Ki=5~20Kd=200~700DIFF=100~200
3.
Setting of working mode
1
Expansion’s input/output all have options of voltage 0~5V0~10V, current 0~20mA4~20mA modes.
Via setting of special FLASH data register FD in PLC. See the following table:
Module Channel’s ID
0CH~3CH 4CH~5CH
1#
expansion
FD8250 FD8251 low byte
2#
expansion
FD8258 FD8259 low byte
3#
expansion
FD8266 FD8267 low byte
4#
expansion
FD8274 FD8275 low byte
5#
expansion
FD8282 FD8283 low byte
6#
expansion
FD8290 FD8291 low byte
7#
expansion
FD8298 FD8299 low byte
NoteAs shown in the preceding table, every register set 4 channels mode, each register has 16 bits, from low
to high, every 4 bits set separately 4 channels mode.
Each channel’s working mode is assigned by correspond register’s 4 bits. Each bit’s definition is showed in the
following table:
The following, we take module 1 as example to show how to set: Register FD8250
Register FD8251 low byte
Channel 1 Channel 0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
1: current
input
0:0~20mA 1:4~20mA
1: current
input
0:0~20mA 1:4~20mA
Channel 3 Channel 2
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
1: current
input
0:0~20mA 1:4~20mA
1: current
input
0:0~20mA 1:4~20mA
Channel 5 Channel 4
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
00: 1/2 filter 01: not filter 10: 1/3 filter 11: 1/4 filter
0: voltage
input
0:0~10V 1:0~5V
1: current
input
0:0~20mA 1:4~20mA
1: current
input
0:0~20mA 1:4~20mA
Take 1# expansion as example FD8250 H O O O O
0CH 1CH 2CH 3CH
FD8251 H O O O O
4CH 5CH
E,g. 1 If set working mode 0~20mA 4~20mA 0~10V 0~5V of module 1’s channel 3 channel
2channel 1channel 0, filters are all 1/2 filter, value in FD8250 is 2301H
4.Exterior connection
When carry on exterior connection, please note the following two items:
When connect24V power outside, please choose 24V power on PLC main unit to avoid interfere.
To avoid interfere, please use shield cable and single point grounding with the shield layer.
Module’s 0~20mA or 4~20mA output need 24V power from outside, according to the analog output
register QD’s value, the module adjusts the loop circuit’s current, but the module itself doesn’t produce
current.
5.Analog digital convert chart
The relationship between input analog and converted digital is showed in the following chart:
0~5V analog input 0~10V analog input
0~20mA analog input 4~20mA analog input
The relationship between output digital and its correspond analog data is showed in the following chart:
0~5V analog output 0~10V analog output
0~20mA analog output 4~20mA analog output
When input data exceed K4095, D/A converted output analog data keep 5V10V or 20mA.
6.Programming
E.g.1Real time read 4 channels data, write 2 channels data (take expansion 1 as example)
Loading...
+ 49 hidden pages