background image

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.  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

2-1 Introduction 

 

2-2 Parameter usage 

2-2

Parameter usage 

2-3

Example 

2-1

Introduction 

Summary of Contents for XC Series

Page 1: ......

Page 2: ...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 modul...

Page 3: ...ture 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...

Page 4: ...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...

Page 5: ...on 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 integra...

Page 6: ...ns 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...

Page 7: ...sions User Manual Page 7 of 53 MANU003R2V1 3 Analog 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...

Page 8: ...o 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 bit...

Page 9: ...f 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 Y10...

Page 10: ...H 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...

Page 11: ...H 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...

Page 12: ...CH 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 st...

Page 13: ...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 preced...

Page 14: ...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...

Page 15: ...ge 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 scree...

Page 16: ...nship 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...

Page 17: ...5 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...

Page 18: ...D108 MOV K10 QD109 MOV K300 QD110 MOV K100 QD111 MOV K200 QD112 MOV QD100 D4000 END Y100 M8000 Write channel 0 s data into data register D10 Channel 0 s set value is register D4000 Set proportion coef...

Page 19: ...er Manual Page 19 of 53 MANU003R2V1 4 Analog 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...

Page 20: ...haracteristic 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 curr...

Page 21: ...erior load resistance is less than 500 Digital input range 12 bits binary data 0 4095 Digital output range 14 bits binary data 0 16 383 Bit range 1 16383 14Bit the converted data is stored into PLC in...

Page 22: ...00 QD102 Kp QD106 Ki QD107 Kd QD108 Diff QD109 Dead QD110 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 expans...

Page 23: ...09 Dead QD310 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...

Page 24: ...09 Dead QD510 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...

Page 25: ...ID702 ID706 Y702 QD704 3CH ID703 ID707 Y703 QD705 Channel DA signal 4CH QD700 5CH QD701 Description Start signal When Y is 0 stop PID control when is 1 start PID control a Parameter P is the proportio...

Page 26: ...el s working mode is assigned by corresponding register s 4 bits Each bit s definition is shown in the following table See the following table Register FD8250 Channel 1 Channel 0 Bit7 Bit6 Bit5 Bit4 B...

Page 27: ...d single point grounding with the shield Module s 0 20mA or 4 20mA output need 24V external power the module adjusts the loop circuit s current but the module itself doesn t produce current Channel 5...

Page 28: ...t 0 10V analog input 0 20mA analog input 4 20mA analog input The relationship between output digital and its corresponding analog data is shown in the following chart 0 5V analog output 0 10V analog o...

Page 29: ...0 END Y100 M8000 4 6 Programming Write channel 0 s data into data register D0 Write channel 1 s data into data register D1 Write channel 2 s data into data register D2 Write channel 3 s data into data...

Page 30: ...ions User Manual Page 30 of 53 MANU003R2V1 5 Analog output module XC E4DA 5 4 External connections 5 5 Analog to digital conversion chart 5 2 Output ID assignment 5 3 Working mode settings 5 1 Specifi...

Page 31: ...into PLC with the format of HEX Resolution 0 8 Conversion speed 2ms per channel Isolation format DC DC convert optical coupling isolation Power usage DC24V 10 100mA Installation format Can be fixed w...

Page 32: ...LC register The output channels corresponding PLC register ID is Output ID list Channel No 1 unit No 2 unit No 3 unit No 4 unit No 5 unit No 6 unit No 7 unit 0CH QD100 QD200 QD300 QD400 QD500 QD600 QD...

Page 33: ...its assign each channel s working mode Each bit s definition is listed in the following table Take module 1 as the example Register FD8250 Channel 1 Channel 0 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0...

Page 34: ...r on PLC main unit to avoid interference To avoid interference use shielded cable and single point grounding with the shield Module s 0 20mA or 4 20mA output needs 24V power from outside the module ad...

Page 35: ...When the output data exceeds K4095 D A converted output analog data keeps 5V 10V or 20mA Real time write data into 4 channels MOV D10 QD100 END M8000 MOV D11 QD101 MOV D12 QD102 MOV D13 QD103 5 5 Anal...

Page 36: ...alog expansions User Manual Page 36 of 53 MANU003R2V1 6 PT100 temperature PID control module XC E6PT P 6 4 External connections 6 5 Programming 6 2 Input ID assignment 6 3 Input filter settings 6 1 Sp...

Page 37: ...cision 0 8 relative to the max value Conversion speed 100ms 6 channels Analog power usage DC24V 10 50mA Install format Fixed with M3 screws or directly installed on DIN rail External size 63mm 102mm 7...

Page 38: ...504 ID505 Expansion 6 ID600 ID601 ID602 ID603 ID604 ID605 Expansion 7 ID700 ID701 ID702 ID703 ID704 ID705 Table of output definition ID Channel Exp 1 Exp 2 Exp 3 Exp 4 Exp 5 Exp 6 Exp 7 0CH set temper...

Page 39: ...Last 3 channels I parameter QD111 QD211 QD311 QD411 QD511 QD611 QD711 Last 3 channels D parameter QD112 QD212 QD312 QD412 QD512 QD612 QD712 Last 3 channels temperature control range QD113 QD213 QD313...

Page 40: ...FD8299 low byte Each channel s filter mode is assigned via corresponding register s 4 bits Each bit s definition is shown in the following table Take module 1 as the example Register FD8250 Channel 2...

Page 41: ...03R2V1 Register FD8251 Factory default value is 0 the initial filter format is 1 2 filter Channel 5 Channel 4 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 001 4 filter 01 no filter 10 1 2 filter 11 1 3 fil...

Page 42: ...al cable Input connection 3 Output terminals Transistor output terminals please use DC5V 30VDC power 4 Circuit insulation Optical isolated 5 Response time 0 2ms 6 Output current Each point has 0 8A or...

Page 43: ...OV QD107 K30 MOV QD106 M8000 FEND K150 MOV QD109 Y100 M0 6 5 Programming Set channel 0 s set value as 800 80 degrees Set channel 0 s proportion coefficient Kp as 30 Start stop channel 0 Set channel 0...

Page 44: ...pansions User Manual Page 44 of 53 MANU003R2V1 7 K type thermocouple temperature PID control module XC E6TC P 7 4 External connections 7 5 Programming 7 2 Input ID assignment 7 3 Input filter settings...

Page 45: ...n be installed Items Content Analog input signal K type thermocouple Temperature testing range 0 to 1000 C Digital output range 0 to 10000 16 bits with sign bit binary Control precision 0 5 C Accuracy...

Page 46: ...onding PLC register s ID is Input ID list Channel Expansion1 Exp 2 Exp 3 Exp 4 Exp 5 Exp 6 Exp 7 0CH ID100 ID200 ID300 ID400 ID500 ID600 ID700 1CH ID101 ID201 ID301 ID401 ID501 ID601 ID701 2CH ID102 I...

Page 47: ...6 QD506 QD606 QD706 First 3 channels I Para QD107 QD207 QD307 QD407 QD507 QD607 QD707 First 3 channels D Para QD108 QD208 QD308 QD408 QD508 QD608 QD708 First 3 channels temp Control range QD109 QD209...

Page 48: ...w byte Each channel s filter mode is assigned by a corresponding register s 4 bits Each bit s definition is shown in the following table Take module 1 as example Register FD8250 Channel 1 Channel 0 Bi...

Page 49: ...2V1 Register FD8251 Factory defaulted value is 0 i e the initial filter format is 1 4 filter Channel 5 Channel 4 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 00 1 4 filter 01 no filter 10 1 2 filter 11 1 3...

Page 50: ...n using 24V external power use the 24V power on PLC main unit to avoid interference 2 To avoid interference shielding is necessary for the signal cables For output circuits connection see the followin...

Page 51: ...K5 MOV QD107 K30 MOV QD106 M8000 FEND K150 MOV QD109 Y100 M0 7 5 Programming Set channel 0 s value as 800 80 degrees Set channel 0 s proportion coefficient Kp as 30 Start stop channel 0 Set channel 0...

Page 52: ...TERED TRADEMARK OF XINJE ELECTRICAL CO LTD REPLICATION OF THE INFORMATION CONTAINED WITHIN THIS DOCUMENT WITHOUT PRIOR NOTIFICATION AND AGREEMENT IS PROHIBITED Engineered and supplied by International...

Page 53: ...XC series analog expansions User Manual Page 53 of 53 MANU003R2V1...

Reviews: