XD E6TC-P English
XD E6TC-P English
熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
191
XD 系列PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
2) Model specifications
XD-E6TC-P、XD-E2TC-P:
Project Sensor type
Analog Input K、S、E、N、B、T、J、R thermocouple type
K type 0℃~1300℃
S type 0℃~1700℃
E type 0℃~600℃
Measuring N type 0℃~1200℃
temperature B type 0℃~1800℃(display 0 below
range 0℃)
T type 0℃~400℃
J type 0℃~800℃
Note:
※1: When an input channel is not connect, the channel no wiring data is 0.
※2: Connect the thermocouples according to actual needs.
※3: The shield of the thermocouples must be grounded.
192
XD 系列PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
XD-E6TC-P-H:
project Sensor type
Analog input K、S、E、N、B、T、J、R thermocouple type
K type -200℃~1372℃
S type -50℃~1768℃
E type -200℃~1000℃
N type -200℃~1300℃
Measuring
B type -250℃~1798℃(display -1 below -
temperature
250℃)
range
T type -200℃~400℃
J type -210℃~1200℃
R type -50℃~1768℃
Digital output 0 to maximum temperature value x 10(take K type sensor as an example, the
range digital output range is 0 to 13720)
resolution 0.1℃
Comprehensive 士1%(relative
accuracy maximum value)
Conversion 80ms/1 channel
speed
Module power DC24V土10%,50mA
supply
Installation Can be fixed with M3 screw or directly installed on the DIN46277
method (width 35mm) handle
dimensions 63mm×108mm×89.9mm
Note:
※1: When an input channel is not connect, the channel no wiring data is -1.
※2: Connect the thermocouples according to actual needs.
※3: The shield of the thermocouples must be grounded.
※4: Althought, the conversion speed of XD-E6TC-P-H and XD-E6TC-P are the same, each channel of
XD-E6TC-P(-H) is isolated. Multiple channels can be sampled at the same time, so the sampling
rate is faster.
193
194
XD 系列PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
17-2. Terminal
description
1) Terminal arrangement
24V- COMO COM1 COM2 Y3 Y5
24V+ YO Y1 Y2 Y4
1) Terminal signal
193
XD 系列PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
Open the programing software XDPRO. Click on PLC settings ,and select
“Expansion Module Settings”:
Afterwards, the following configuration panel appears, displaying the corresponding model and
configuration information:
1 2
Indicate the corresponding model in the circle "2" (Note: XD-E6TC-P-H is the same as XD-
E6TC-P, overlap XD/E-E6TC-P), after completion, the "1" will be shows the extension modules
addeds. In addition, you can select on “3section, the 8 different thermocouple sensors, and
setting if Y outputs be inmediate output or need enable signal from program control.
※ 1 : " Y F u n ct i o n S el e ct i o n i s al so s u p p o rt ed b y X D -E 6 T C -P - H an d X D -E n T C -P w i t h fi r m w ar e v e rsi o n V 1 0 o r V 1 0 4
an d a b o v e.
※ 2 : " Y fu n ct i o n s el ect i o n " i s u sed t o d e si g n at e t h e f u n ct i o n o f Y 1 0 0 0 0 ~ Y 1 0 0 0 5 (# 1 mo d u l e ex a m p l e ), an d t h e
" ch an n el en ab l e" (t h i s i s f ac t o ry d e fau l t set t i n g ) o f " Y " i s u s ed t o su p p o rt t h e sel f - t u n i n g a n d P ID co n t ro l fu n c t i o n s
o f t h e mo d u l e .
T h e o u t p u t p o i n t s Y 0 ~ Y 5 ar e co n t r o l l ed b y t h e P I D o u t p u t v al u e t o p ro d u ce O N / O F F ef fe ct i n t h e p ro c es s el e m en t ( S S R ,
rel a y , v al v e ) .
W h en set “ i m m ed i at e o u t p u t ” , t h e o u t p u t s p o i n t s Y 0 - Y 5 w i l l b e u sed a s an o rd i n ar y sw i t c h o u t p u t p o i n t . S et
Y 1 0 0 0 0 -Y 1 0 0 0 5 , an d t h e m o d u l e re t ai n s t h e t e m p e rat u re a cq u i s i t i o n fu n ct i o n . If n eed P ID t e mp er at u re c o n t ro l ,
p l ea se u se t h e P ID co n t ro l i n t h e P L C C P U u n i t .
194
XD 系列PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
195
XD 系列 PLC 打展模決用戸手冊 17.熱屯偶温度控制模決XD-E6TC-P、XD-E2TC-P
The digital output value takes the value range 0,.._4095 (12 bit resolution). In the case of PID output force analog quantity
PID output value control (such as steam lift or controllable flow angle), the output value can be sent to the analog quantity output module
(the resultation of (analog output current or voltaje) to supply the control requirements.
PID calculation)
196
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
Calibrate the ambient When the user thinks that the ambient temperature value is inconsistent with the temperature value displayed by the module
temperature value channel, the known ambient temperature value can be written into this parameter. At the moment when the module is written,
(actual temperature the temperature deviation value δ is calculated and saved. Calculation of temperature deviation value δ = calibration ambient
correction value, unit
temperature value - sampling temperature value. The unit is 0.1°C.
0.1°C)
For example: in the heat balance state, the user measures the ambient temperature as 60.0°C with a mercury thermometer, and
the displayed temperature is 55.0°C (corresponding to the sampling temperature 550), and the temperature deviation value is
δ =0. At this time, the user writes 600 to this parameter, and the temperature deviation value δ is recalculated as 50 (5°C), so
the displayed temperature = (sample temperature value + temperature deviation value δ)/10=60°C.
Note: When the user enters the calibration temperature value, confirm that it is consistent with the ambient temperature. This
data is very important, once it is entered incorrectly, it will cause a serious error in calculating the temperature deviation value
δ, which in turn will affect the displayed temperature.
Output during auto-tuning, in % force unit, 100 means 100% of duty ratio force scale output, 80 force
Self-tuning per moment
output amplitude 80% of the degree output.
Note: When the "Y function selection" is set to "immediate output", only the channel
display temperature value, temperature deviation value δ and calibration are valid among
the above parameters, and other parameters are ineffective.
197
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
b) Write module
c) Read Module
198
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
Instruction Analysis
1) Write instruction on the module TO
D1
Function: Write the data information of the specified register of the program to the specified
module address, and the operation unit is word integer.
Operand description:
S1: Target module number. Available operands: K, TD, CD, D, HD, FD.
S2: The first address of the write block. Available operands: K, TD, CD, D, HD, FD.
S3: Number of registers to write (number of words). Available operands: K, TD, CD, D, HD,
FD.
D1: The first address of the register that stores the written data in the ladder program.
Available operands: TD, CD, D, HD, FD.
199
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
Note
※1: The FROM/TO command can only be written in the BLOCK sequence function block.
The XD series PLC with firmware version V3.4.5 and below only allows a maximum of 8 BLOCK
function blocks; the XD/XL series PLC with firmware version V3.4.5 and above, Up to 100
BLOCKs can be written in the program, but only 8 can be run at the same time.
※2: The starting number of the module starts from K10000, the #1 module is K10000,
the #2 module is K10001... and so on, #16 module for K10015. ※3: In V3.3 and below
version software, the module number range is K0-K15, please pay attention to modification
when transferring projects between different versions of software.
17-5-2. Related address definition
During the user's use of this module, the following parameter objects that need to be written
through FROM/TO are involved. The following table specifies the order of each address:
XD-E6TC-P/ XD-E6TC-P-H:
From/To data Initial CH1 CH2 CH3 CH4 CHS CH6 R(read)
value
W(write)
Self-Tuning control word 0 K0 K0 K0 K0 K0 K0 R、W
PID output value - K1 K2 K3 K4 K5 K6 R
Set Value 0 K7 K8 K9 K10 K11 K12 R、W
PID kp 40 K13 K17 K21 K25 K29 K33 R、W
parameter ki 240 K14 K18 K22 K26 K30 K34 R、W
s kd 60 K15 K19 K23 K27 K31 K35 R、W
Diff 1000 K16 K20 K24 K28 K32 K36 R、W
Cycle time(unit:0 1s) 20 K37 K38 K39 K40 K41 K42 R、W
Ouput amplitude range(range:0~100) 100 K43 K44 K45 K46 K47 K48 R、W
temperature
Temperature offset calibration 0 K49 K50 K51 K52 K53 K54 R、W
Ambient temperature, can be used for - K55 K56 K57 K58 K59 K60 W
calibration
From/To data initialization - K61 K61 K61 K61 K61 K61 W
200
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
XD-E2TC-P:
From/To data Initial CH1 CH2 R(read)
value /w(write)
Self-tuning control word 0 K0 K0 R、W
PID Output value - K1 K2 R
Set Value 0 K3 K R、W
4
PID Kp 40 K5 K R、W
parameters 9
Ki 240 K6 K R、W
10
Kd 60 K7 K R、W
11
Diff 1000 K8 K R、W
12
Cycle time(unit:0 1s) 20 K13 K R、W
14
Ouput amplitude range(range: 100 K15 K R、W
0~100) temperature 16
Temperature offset 0 K17 K R、W
calibration
18
Ambient temperature, can be used for - K19 K W
calibration 20
From/To data initialization - K21 K W
21
Note:
(1) The "FROM TO data initialization" function requires the module to be XD-E6TC-P-H and XD-EnTC-P with firmware version V10 or
V104 and above; this function can restore the parameters in the above table to factory settings. It is necessary to set K61 or K21 to 1, and
other values are invalid.
(2) The module can automatically save the set temperature value, PID parameters, temperature control cycle, output amplitude, temperature
deviation and temperature calibration parameters. When writing the above parameters, you need to use the rising edge to trigger the writing.
Do not write all the time. It is recommended to only write the parameters used. It is not recommended to write the data in the whole chip for
the convenience of programming, because writing 0 to some addresses will cause the system to fail. Work.
(3) Self-tuning enable address K0: The K0 address will occupy a continuous 8-bit address space, the 6-channel module enable bit
corresponds to the first 6-bit address space, and the last 2-bit address is free (but cannot be used for other purposes). When reading and
writing the enable bit, K0 can be a coil or a register. If it is a coil, it will take the coil as the starting address to occupy 8 consecutive bits; if
it is a register, it will occupy this register.
For example: to set the first and third channels of the module as self-tuning mode, and the other 4 channels as manual PID mode, when the
command is [To K10000 K0 KI M10], M10 and M12 should be set to ON. M11, M13, M14, M15 Set it to OFF;
When the instruction is: [To K10000 K0 K1 D100 ], D100 register should be assigned a value of 5 (binary value is 0101).
17-6. Wiring
⚫ When making wiring connections, pay attention to the following two aspects:
⚫ When connecting +24V power supply externally, please wiring the OV of the external power
supply with the 0V of the 24V power supply off the PLC unit.
⚫ Try to avoid interference, and take shielding the thermocouples before wiring the
signals.
201
XD 系列PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
1) Input connection method:
2) Outputs wiring
⚫ Output terminal: Transistor output terminal, please choose DC 5V-30V power supply.
• Circuit isolation: The internal circuit of the programmable controller and the output
transistor are optically isolated by optocouplers, and each common module is also
separated from each other.
• Response time: The time off commutation from the CPU of the extension module, to the
optocoupler, and the transistor is ON/OFF is not more than 0.2ms.
• Output current: In order to limit the temperature rise, please use 50mA per point. Open
circuit leakage current: below 0.1mA.
Heating
Resistor
202
XD 系列 PLC 打展模挟用戸手冊 17.熱屯偶温度控制模挟XD-E6TC-P、XD-E2TC-P
Example 1: Take #1 module as an example, and implement PID control on its CH0.
M0 Y10000
// T u r n o n t h e PID enable bit.
SM0
MOV HD0 D0 // Set the target value(unit 0.1℃)
Y10000 SM13
// Write the target value , cycle time control in a 1 sec
period, if the target value is modified, it can be updated
TO K10000 K7 K1 D0
after 1 se
TO K10000 K37 K1 D10
SBLOCKE
M10
SBLOCK Self Tuning ON
SBLOCKE
M10 SM13
SBLOCK Read PID parameters, etc // Regularly read self-tuning state and PID parameters
M100
TMR T0 K5 K100
// After the self-tuning bit is reset for 0.5s,Reset the bit
T0 M10 M10, that start the self-tuning sequence.
M20
MOV HD10 D50
// Set the P parameter value
MOV HD11 D51
// Set the I parameter value
MOV HD12 D52
// Set the D parameter value
MOV HD13 D53
// Set the Diff parameter value(operating range,unit 0.1℃)
M21
SBLOCK manual PID parameters
SM0
MOV K1 D20
M50
SBLOCK Initialize module
203
XD 系列 PLC 打展模挟用戸手冊 17 熱屯偶温度控制模挟 XD-E6TC-P、XD-E2TC-P
Notes:
(1) After the auto-tuning enable is turned on, the command will immediately occupy 8 bits
of M10-M17. M10-M15 respectively correspond to the auto-tuning enable of each channel.
Which channel needs to be tuned, just turn ON the corresponding coil. M16 and M17 have no
meaning for now and need to be left blank.
(2) If the output is a solid state relay, the recommended temperature control period is
1~3s; if the output is a relay, the recommended temperature control period is 3-15s.
(3) Due to inconsistent units, the main PID of PLC unit and module PID parameters cannot be
used in common. The PID of PLC unit parameter is uppercase, and the module pid parameter is
lowercase.
The specific conversion relationship is as follows: p=P/100; i=I/10; d=D/100.
Device function
M0 S t a r t PID enable
SM0 Set target value 、cycle time control
M10 Turn on Self-tuning sequence
M20 Set manual P、I、D parameters on transfer registers
M21 Write manual P、I、D parameters on extension module
M10 Read autotuning state、PID parameters、PID output value
M50 Initialize the module to factory defaults
Y10000 Channel0 PID enable bit
D0 Set target value of process
D10 Temperature cycle time control
D50 P
D51 I
D52 D
D53 DIFF
204