Xinje XC Series User manual


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
1Module 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.
Operating Environment
Non corrosive
Ambient Temperature
0 to 60 ºC
Store Temperature
-20 to 70 ºC
Ambient Humidity
5 to 95%
Store Humidity
5 to 95%
Installation
Can be fixed with M3 screws or directly installed on DIN rail
Size
63mm × 102mm × 73.3mm
1-1 Basic configuration
1-2 Specifications
1-2.Specifications
1-3.Module name
1-1.Basic configuration
1-4.Dimensions

XC series analog expansions User Manual Page 4 of 53 MANU003R2V1
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): current / voltage selectable
XC-E6PT-P
-150 to 350ºC: 6 channels Pt100 temperature range, 0.1 degree resolution,
includes PID operation.
XC-E6TC-P
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.
1-3 Module name
1-4 Dimensions

XC series analog expansions User Manual Page 5 of 53 MANU003R2V1
2PID 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.
2-1 Introduction
2-2 Parameter usage
2-2.Parameter usage
2-3.Example
2-1.Introduction

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:
2-3 Example

XC series analog expansions User Manual Page 7 of 53 MANU003R2V1
3Analog input module (XC-E8AD)
3-2.Input ID assignment
3-3.Working mode settings
3-5.Analog to digital conversion chart
3-6.Programming
3-1.Specifications
3-4.External connections

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 (0-
5V / 0-10V two
types). The other
4 channels are
current input (0-
20mA / 4-20 mA
both type)
Up to seven
modules can be
fitted.
With PID control.
Items
Voltage input: 0CH-3CH
Current input:
4CH7CH
Analog input range
DC 0-5V / 0-10V
DC 0-20mA / 4-20mA
Max input range
0-40mA
±18V
Digital output range
14 bits binary data
PID control value
0 to 4095
Resolution
1/16,383 (14Bit)
Integral resolution
0.8%
Cycle speed
15ms per channel
Power usage
DC24V±10%,100mA
Install format
Can be fixed with M3 screws or directly installed on DIN rail
Size
63mm × 102mm × 73.3mm
3-1 Specifications

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:
Channel
AD signal
PID output
value
PID start/stop
control bit
The set value
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID100
ID108
Y100
QD100
Kp: QD108
Ki: QD109
Kd: QD110
Diff: QD111
Dead: QD112
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
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID200
ID208
Y200
QD200
Kp: QD208
Ki: QD209
Kd: QD210
Diff: QD211
Dead: QD212
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
3-2 Input ID assignment

XC series analog expansions User Manual Page 10 of 53 MANU003R2V1
Register’s ID of expansion 3:
Channel
AD signal
PID output
value
PID start/stop
control bit
The set
value
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID300
ID308
Y300
QD300
Kp: QD308
Ki: QD309
Kd: QD310
Diff: QD311
Dead: QD312
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
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID400
ID408
Y400
QD400
Kp: QD408
Ki: QD409
Kd: QD410
Diff: QD411
Dead: QD412
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

XC series analog expansions User Manual Page 11 of 53 MANU003R2V1
Register’s ID of expansion 5:
Channel
AD signal
PID output
value
PID start/stop
control bit
The set
value
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID500
ID508
Y500
QD500
Kp: QD508
Ki: QD509
Kd: QD510
Diff: QD511
Dead: QD512
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
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID600
ID608
Y600
QD600
Kp: QD608
Ki: QD609
Kd: QD510
Diff: QD611
Dead: QD512
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

XC series analog expansions User Manual Page 12 of 53 MANU003R2V1
Register’s ID of expansion 7:
Channel
AD signal
PID output
value
PID start/stop
control bit
The set
value
PID
parameters
Kp, Ki, Kd,
control band
Diff, dead
band
0CH
ID700
ID708
Y700
QD700
Kp: QD708
Ki: QD709
Kd: QD710
Diff: QD711
Dead: QD712
1CH
ID701
ID709
Y701
QD701
2CH
ID702
ID710
Y702
QD702
3CH
ID703
ID711
Y703
QD703
4CH
ID704
ID712
Y704
QD704
5CH
ID705
ID713
Y705
QD705
6CH
ID706
ID714
Y706
QD706
7CH
ID707
ID715
Y707
QD707
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:
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
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
Channel 5
Channel 4
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0: 0-10V
1: 0-5V
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0: 0-10V
1: 0-5V
-
-
Channel 7
Channel 6
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0: 0-10V
1: 0-5V
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0: 0-10V
1: 0-5V
-
-
Channel 1
Channel 0
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0:0-
20mA
1:4-
20mA
00:1/2 filter
01:no 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:no filter
10:1/3 filter
11:1/4 filter
-
0:0-20mA
1:4-20mA
00:1/2 filter
01:no filter
10:1/3 filter
11:1/4 filter
-
0:0-20mA
1:4-20mA
-
-

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:
3-4 External connections

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
0-5V analog input
0-10V analog input
Voltage mode of Channel 4 Channel 7
0-20mA analog input
4-20mA analog input
3-5 Analog to digital conversion chart

XC series analog expansions User Manual Page 17 of 53 MANU003R2V1
Example 1:
Real 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
3-6 Programming
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

XC series analog expansions User Manual Page 18 of 53 MANU003R2V1
Example 2:
Application of PID control in AD modules
The following, we take channel 0 of XC-E8AD as the example:
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 band Diff as 100
Set control dead area as 200
Write channel 0’s PID value into register D1000
PID start/stop signal

XC series analog expansions User Manual Page 19 of 53 MANU003R2V1
4Analog input/output module (XCE4AD2DA)
4-5.Analog to digital conversion chart
4-6.Programming
4-2.Input/output ID assignment
4-3.Working mode settings
4-4.External connections
4-1.Specifications

XC series analog expansions User Manual Page 20 of 53 MANU003R2V1
4-1 Analog input/output module (XCE4AD2DA)
Characteristic
4 channels 14 bit 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.
Up to 7 modules can be fitted.
4 channels A/D have PID function.
Other manuals for XC Series
2
This manual suits for next models
5
Table of contents
Other Xinje Computer Hardware manuals
Popular Computer Hardware manuals by other brands

Spectrum Digital
Spectrum Digital XDS510PP installation guide

Linksys
Linksys WEC600N - Dual Band Wireless-N Ultra RangePlus... Quick installation guide

Datatek
Datatek DT-6061 user manual

Extron electronics
Extron electronics IPL Pro Series user guide

ActionTec
ActionTec 802CI user manual

Bitspower
Bitspower Sedna O11DS instruction manual