XC series analog expansions User Manual Page 2 of 53 MANU003R2V1
XC series analog expansion User Manual
Index Page
Chapter 1 Module information
1-1 Basic Configuration 3
1-2 Specification 3
1-3 Module name 4
1-4 Dimensions 4
Chapter 2 PID function
2-1 Introduction 5
2-2 Parameter usage 5
2-3 Example 6
Chapter 3 Analog input module (XC-E8AD)
3-1 Specifications 8
3-2 Input ID assignment 9
3-3 Working mode settings 13
3-4 External connections 15
3-5 Analog to digital conversion chart 16
3-6 Programming 17
Chapter 4 Analog input/output module (XCE4AD2DA)
4-1 Specifications 20
4-2 Input/output ID assignment 22
4-3 Working mode settings 26
4-4 External connections 27
4-5 Analog to digital conversion chart 28
4-6 Programming 29
Chapter 5 Analog output module (XC-E4DA)
5-1 Specifications 31
5-2 Output ID assignment 32
5-3 Working mode settings 33
5-4 External connections 34
5-5 Analog to digital conversion chart 35
5-6 Programming 35
Chapter 6 PT100 temperature PID control module (XC-E6PT-P)
6-1 Specifications 37
6-2 Input ID assignment 38
6-3 Input filter settings 40
6-4 External connections 42
6-5 Programming 43
Chapter 7 K type thermocouple temperature PID control module
(XC-E6TC-P)
7-1 Specifications 45
7-2 Input ID assignment 46
7-3 Input filter settings 48
7-4 External connections 50
7-5 Programming 51
XC series analog expansions User Manual Page 3 of 53 MANU003R2V1
1 Module information
XC series PLC’s have logic function, data operation etc. but also functions of A/D, D/A
conversion and PID function. They also use expansions analog input modules, analog output
modules, temperature control modules etc. XC series PLC are widely used in control systems for
temperature, flow, liquid level, pressure.
Can be fixed with M3 screws or directly installed on DIN rail
XC series analog expansions User Manual Page 4 of 53 MANU003R2V1
8 channels analog input (14bit): 4 channels current input, 4 channels
voltage input
4 channels analog input (14bit);
2 channels analog output (12bit): current / voltage selectable
4 channels analog output (12bit): current / voltage selectable
-150 to 350ºC: 6 channels Pt100 temperature range, 0.1 degree resolution,
includes PID operation.
0 to 1000 ºC 6 channels K type thermocouple temperature module, 0.1
degree resolution, and includes PID operation
Note:
When connecting, please insure that the power is turned off.
XC series analog expansions User Manual Page 5 of 53 MANU003R2V1
2 PID function
Among XC series PLC special modules, digital input module (A/D module) and temperature
control modules both have PID control function. The four parameters (Kp, Ki, Kd and Diff) should
be set.
a.) Parameter P is the proportional parameter, acts on the difference between the actual process
value and the target value.
b.) Parameter I is integral parameter, used to remove the offset.
c.) Parameter D is derivative parameter, used to control signal’s changing trend speed.
XC series analog expansions User Manual Page 6 of 53 MANU003R2V1
Example values Kp=20 to 100, Ki=5 to 20, Kd=200 to 800, and DIFF=100 to 200.
These reference values are only given as a rough guideline.
The control curve of PID is the following:
XC series analog expansions User Manual Page 7 of 53 MANU003R2V1
3 Analog input module (XC-E8AD)
3-3.Working mode settings
3-5.Analog to digital conversion chart
XC series analog expansions User Manual Page 8 of 53 MANU003R2V1
Specialty:
14 bits high
precision analog
input
8 channels analog
input: The first
four channels are
voltage input (05V / 0-10V two
types). The other
4 channels are
current input (020mA / 4-20 mA
both type)
Up to seven
modules can be
fitted.
With PID control.
Can be fixed with M3 screws or directly installed on DIN rail
XC series analog expansions User Manual Page 9 of 53 MANU003R2V1
XC series analog module doesn’t use I/O addresses, the converted data is directly transferred
into the PLC registers. The corresponding PLC register ID is:
Input/output ID list
Register’s ID of expansion 1:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD108
Ki: QD109
Kd: QD110
Diff: QD111
Dead: QD112
Register’s ID of expansion 2:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD208
Ki: QD209
Kd: QD210
Diff: QD211
Dead: QD212
XC series analog expansions User Manual Page 10 of 53 MANU003R2V1
Register’s ID of expansion 3:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD308
Ki: QD309
Kd: QD310
Diff: QD311
Dead: QD312
Register’s ID of expansion 4:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD408
Ki: QD409
Kd: QD410
Diff: QD411
Dead: QD412
XC series analog expansions User Manual Page 11 of 53 MANU003R2V1
Register’s ID of expansion 5:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD508
Ki: QD509
Kd: QD510
Diff: QD511
Dead: QD512
Register’s ID of expansion 6:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD608
Ki: QD609
Kd: QD510
Diff: QD611
Dead: QD512
XC series analog expansions User Manual Page 12 of 53 MANU003R2V1
Register’s ID of expansion 7:
PID start/stop
control bit
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
Kp: QD708
Ki: QD709
Kd: QD710
Diff: QD711
Dead: QD712
Description
Start signal: When Y is 0, stop PID control, when Y is 1, start PID control
Parameter P: Proportional parameter.
Parameter I: Integral parameter
Parameter D: Derivative parameter.
Control band Diff: If in the assigned band carry on PID control.
Dead band: Output value dead band.
Each parameter’s reference value: Kp=20 to 100, Ki=5 to 20, Kd=200 to 700, DIFF=100 to 200
XC series analog expansions User Manual Page 13 of 53 MANU003R2V1
Expansion’s 0CH - 3CH channels have two modes to select: voltage 0-5V, 0-10V, 4CH - 7CH
channels have two modes to select, current 0-20mA, 4-20mA. Set via special FLASH data
register FC inside PLC. See the following table:
Note:
As shown in the preceding table, each register sets 4 channels’, each register has 16 bits. From
low bit to high bit, every 4 bits separately sets 4 channels.
Each bit’s definition is shown in the following table:
3-3 Working mode settings
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
XC series analog expansions User Manual Page 14 of 53 MANU003R2V1
Register FD8250
Register FD8251
Example:
1. Set module 1’s No.3, No.2, No.1, No.0 channel’s working mode separately as 0-10V, 0-
5V, 0-10V, 0-5V, 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 is separate as 0-20mA / 4-
20mA, 0-20mA, 4-20mA, all the four channels have no filter, the data is in FD8251 is 4545H
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
00: 1/2 filter
01: no filter
10: 1/3 filter
11: 1/4 filter
XC series analog expansions User Manual Page 15 of 53 MANU003R2V1
When connecting 24V power external, use the 24V power on PLC main unit to avoid
interference.
To avoid interference, use a shielded cable and single point grounding with the screen.
Layout diagram:
XC series analog expansions User Manual Page 16 of 53 MANU003R2V1
The relationship between input analog and converted digital value is shown in the following
diagram:
Current mode of Channel 0 Channel 3
Voltage mode of Channel 4 Channel 7
3-5 Analog to digital conversion chart