DC1010 DC1020 DC1030 DC1040: Communication Manual
DC1010 DC1020 DC1030 DC1040: Communication Manual
DC1010 DC1020 DC1030 DC1040: Communication Manual
DC1010
DC1020
DC1030
DC1040
February, 2007
2 System Configuration
2.1 RS485 Communication System
HMI
PLC
Contoller Controller Controller Controller
(RS-485)
…………
IDNO : 2 IDNO : 3 IDNO : 4 IDNO : 32
Figure: 2.1-1
PLC
(RS-485)
Controller Controller Controller Controller
…………
IDNO : 1 IDNO : 2 IDNO : 3 IDNO : 32
Figure: 2.1-2
HOST COMPUTER
Figure: 2.1-3
PC Communication Converter
RS232 RS485
Controller Controller Controller Controller
(RS-232) …………
IDNO : 1 IDNO : 2 IDNO : 3 IDNO : 32
Figure: 2.1-4
Controller
(RS-232)
IDNO : 1
Figure: 2.2-1
3 Wiring Connection
3.1 RS485 Communication Wiring
RS485 Converter Controllers
DX-
Shield Wire
DCE
(T+) 1 DX+
(T-) 2
TxON (R-) 3
RxON (R+) 4
DX+
Figure: 3.1-1
RS485 Converter Controllers
-
GND
DC24V DX-
Vs+ +
DX+
Shield Wire
DATA-
DATA+
DX+
Figure: 3.1-2
Note: 1. The length of shield wire should be less than 1200M.
2. Controllers in RS485 parallel connection should be less than 32 units
3.2 RS232 Communication Wiring
PC Shield Wire Controller
TXD 3 RD
RXD 2 SD
GND 5 SG
4.4 Data
Data depends on function code.
Request message from Master instrument is include “register address”, “data count”
and “setting data”.
Response data from Slave controller is include “byte count”, “data” and “abnormal
code”.
Response from slave controller in abnormal status (Assumed as illegal data value)
ID Number Function Code Error Code CRC
(01H) (83H) (03H) (0131H)
1 is set to the MSB of function code in abnormal status (83H).
The abnormal code (03H) is returned as contents of error.
Response from slave controller in abnormal status (Assumed as illegal data value)
ID Number Function Code Error Code CRC
(01H) (86H) (03H) (0261H)
1 is set to the MSB of function code in abnormal status (86H).
The abnormal code (03H) is returned as contents of error.
Response message from slave controller in normal status (When SV = 10.0 and
OUTL=100.0)
ID Function Register Data CRC
Number Code Address Count
(01H) (10H) (0000H) (0002H) (41C8H)
5.4 Data
Data depends on function code.
Request message from Master instrument is include “register address”, “data count”
and “setting data”.
Response data from Slave controller is include “byte count”, “data” and “abnormal
code”.
Response from slave controller in abnormal status (Assumed as illegal data value)
Header ID Number Function Error Code LRC Delimiter
Code
(3AH) (30H 31H) (38H 33H) (30H 33H) (37H 39H) (0DH 0AH)
Response from slave controller in abnormal status (Assumed as illegal data value)
Header ID Number Function Error Code LRC Delimiter
Code
(3AH) (30H 31H) (38H 36H) (30H 33H) (37H 36H) (0DH 0AH)
1 is set to the MSB of function code in abnormal status (86H).
The abnormal code (03H) is returned as contents of error.
Response message from slave controller in normal status (When SV = 10.0 and
OUTL=100.0)
Header ID Number Function Register Address Data Count LRC Delimiter
Code
(3AH) (30H 31H) (31H 30H) (30H 30H 30H 30H) (30H 30H 30H 32H) (45H 44H) (0DH 0AH)
6 TAIE Protocol
6.1 Message Configuration
Master Î Slave (7 Bytes):
Command ID Number Register Data Check Sum
Address
1 Byte 1 Byte 2 Byte 2 Byte 1 Byte
6.2 Command
Command Contents
R (52H) Reading 1 register value from slave controller
M (4DH) Modify 1 register value in RAM.
(Data are not maintained after power off)
W (57H) Write 1 register value in both RAM and EEPROM.
(Data are maintained after power off)
6.3 ID Number
Range: 1~255.
Master instrument identifies slave controllers by the ID Number of the requested
message. ID Number should be configuring in individual slave controller by setting
parameter “IDNO” in operation LEVEL 3.
6.5 Data
Data is including setting data High byte and Low byte.
Totally, there are 2 bytes.
7 Register Map
Register Address MODBUS
Parameters Setting Range
HEX DECIMAL Function Code
SV
0000 000 03/06/10H
Set Point
OUTL
0001 001 03/06/10H 0 ~ 1000
Output Limit
AT 0000H=NO
0002 002 03/06/10H
Auto Tuning 0001H=YES
AL1
0003 003 03/06/10H
Alarm 1 set value
AL2
0004 004 03/06/10H
Alarm 2 set value
AL3
0005 005 03/06/10H
Alarm 3 set value
PTN
0006 006 03/06/10H 0~2
Program Pattern
SEG
Program Segment 0007H 007 03H
Display
TIMR
Program Countdown 0008 008 03H
Display
SV_1
Set Point of Seg.1 0009 009 03/06/10H
(Pattern 1)
TM_1
Run Time of Seg.1 000A 010 03/06/10H
(Pattern 1)
OUT1
Output Limit of Seg.1 000B 011 03/06/10H
(Pattern 1)
SV_2
Set Point of Seg.2 000C 012 03/06/10H
(Pattern 1)
TM_2
Run Time of Seg.2 000D 013 03/06/10H
(Pattern 1)
OUT2
Output Limit of Seg.2 000E 014 03/06/10H
(Pattern 1)
SV_3
Set Point of Seg.3 000F 015 03/06/10H
(Pattern 1)
TM_3
Run Time of Seg.3 0010 016 03/06/10H
(Pattern 1)
OUT3
Output Limit of Seg.3 0011 017 03/06/10H
(Pattern 1)
SV_4
Set Point of Seg.4 0012 018 03/06/10H
(Pattern 1)
TM_4
Run Time of Seg.4 0013 019 03/06/10H
(Pattern 1)
OUT4
Output Limit of Seg.4 0014 020 03/06/10H
(Pattern 1)
SV_5
Set Point of Seg.5 0015 021 03/06/10H
(Pattern 1)
TM_5
Run Time of Seg.5 0016 022 03/06/10H
(Pattern 1)
OUT5
Output Limit of Seg.5 0017 023 03/06/10H
(Pattern 1)
SV_6
Set Point of Seg.6 0018 024 03/06/10H
(Pattern 1)
TM_6
Run Time of Seg.6 0019 025 03/06/10H
(Pattern 1)
OUT6
Output Limit of Seg.6 001A 026 03/06/10H
(Pattern 1)
SV_7
Set Point of Seg.7 001B 027 03/06/10H
(Pattern 1)
TM_7
Run Time of Seg.7 001C 028 03/06/10H
(Pattern 1)
OUT7
Output Limit of Seg.7 001D 029 03/06/10H
(Pattern 1)
SV_8
Set Point of Seg.8 001E 030 03/06/10H
(Pattern 1)
TM_8
Run Time of Seg.8 001F 031 03/06/10H
(Pattern 1)
OUT8
Output Limit of Seg.8 0020 032 03/06/10H
(Pattern 1)
SV_12
Set Point of Seg.1 0021 033 03/06/10H
(Pattern 2)
TM_12
Run Time of Seg.1 0022 034 03/06/10H
(Pattern 2)
OUT12
Output Limit of Seg.1 0023 035 03/06/10H
(Pattern 2)
SV_22
Set Point of Seg.2 0024 036 03/06/10H
(Pattern 2)
TM_22
Run Time of Seg.2 0025 037 03/06/10H
(Pattern 2)
OUT22
Output Limit of Seg.2 0026 038 03/06/10H
(Pattern 2)
SV_32
Set Point of Seg.3 0027 039 03/06/10H
(Pattern 2)
TM_32
Run Time of Seg.3 0028 040 03/06/10H
(Pattern 2)
OUT32
Output Limit of Seg.3 0029 041 03/06/10H
(Pattern 2)
SV_42
Set Point of Seg.4 002A 042 03/06/10H
(Pattern 2)
TM_42
Run Time of Seg.4 002B 043 03/06/10H
(Pattern 2)
OUT42
Output Limit of Seg.4 002C 044 03/06/10H
(Pattern 2)
SV_52
Set Point of Seg.5 002D 045 03/06/10H
(Pattern 2)
TM_52
Run Time of Seg.5 002E 046 03/06/10H
(Pattern 2)
OUT52
Output Limit of Seg.5 002F 047 03/06/10H
(Pattern 2)
SV_62
Set Point of Seg.6 0030 048 03/06/10H
(Pattern 2)
TM_62
Run Time of Seg.6 0031 049 03/06/10H
(Pattern 2)
OUT62
Output Limit of Seg.6 0032 050 03/06/10H
(Pattern 2)
SV_72
Set Point of Seg.7 0033 051 03/06/10H
(Pattern 2)
TM_72
Run Time of Seg.7 0034 052 03/06/10H
(Pattern 2)
OUT72
Output Limit of Seg.7 0035 053 03/06/10H
(Pattern 2)
SV_82
Set Point of Seg.8 0036 054 03/06/10H
(Pattern 2)
TM_82
Run Time of Seg.8 0037 055 03/06/10H
(Pattern 2)
OUT82
Output Limit of Seg.8 0038 056 03/06/10H
(Pattern 2)
P1
0039 057 03/06/10H 0~2000
OUT1 Proportional Band
I1
003A 058 03/06/10H 0~3600
OUT1 Integral Time
D1
003B 059 03/06/10H 0~900
OUT1 Derivative Time
DB1
003C 060 03/06/10H 0~1000
Dead-band Time
ATVL
003D 061 03/06/10H
Auto Tuning Offset
CYT1
003E 062 03/06/10H 0~150
OUT1 Cycle Time
HYS1
003F 063 03/06/10H 0~1000
OUT1 Hysteresis
P2
0040 064 03/06/10H 0~2000
OUT2 Proportional Band
I2
0041 065 03/06/10H 0~3600
OUT2 Integral Time
D2
0042 066 03/06/10H 0~900
OUT2 Derivative Time
CYT2
0043 067 03/06/10H 0~150
OUT2 Cycle Time
HYS2
0044 068 03/06/10H 0~1000
OUT2 Hysteresis
GAP1
0045 069 03/06/10H
OUT1 Control Gap
GAP2
0046 070 03/06/10H
OUT2 Control Gap
LCK 0047 071 03/06/10H 0000H = 0000
Function Lock 1111H = 1111
0100H = 0100
0110H = 0110
0001H = 0001
0101H = 0101
INP1 0048 072 03/06/10H 0000H = K1
Input Type Selection 0001H = K2
0002H = K3
0003H = K4
0004H = K5
0005H = K6
0006H = J1
0007H = J2
0008H = J3
0009H = J4
000AH = J5
000BH = J6
000CH = R1
000DH = R2
ALT3
0055 085 03/06/10H
Alarm time for AL3
HYSA 0056 086 03/06/10H 0000H=0000
Hysteresis for all Alarms 0001H=0000
0010H=0010
0011H=0011
0100H=0100
0101H=0101
0110H=0110
0111H=0111
1000H=1000
1001H=1001
1010H=1010
1011H=1011
1100H=1100
1101H=1101
1110H=1110
1111H=1111
CLO1
0057 087 03/06/10H
OUT1 Lower Calibration
CHO1
0058 088 03/06/10H
OUT1 Upper Calibration
CLO2
0059 089 03/06/10H
OUT1 Lower Calibration
CHO2
005A 090 03/06/10H
OUT1 Upper Calibration
CLO3
005B 091 03/06/10H
TRS Lower Calibration
CHO3
005C 092 03/06/10H
TRS Upper Calibration
RUCY
Full run time of motor 005D 093 03/06/10H
valve
WAIT
Full run time of 005E 094 03/06/10H
proportional motor valve
SETA
005F 095 03/06/10H
PSL
0060 096 03H 0~2
Protocol Selection
BITS
0061 097 03H 0~3
Communication Bits
IDNO
0062 098 03H 0~255
ID Number
BAUD
0063 099 03H 0~4
Baud rate
SVOS
0064 100 03/06/10H
SV Compensation
PVOS
0065 101 03/06/10H
PV Compensation
UNIT 0000H=C
Unit of PV and SV 0066 102 03/06/10H 0001H=F
0002H=A
PVFT
0067 103 03/06/10H 0 ~ 1000
PV Filter
CASC
0068 104 03/06/10H
OUD
0000H=HEAT
Heating / Cooling 0069 105 03/06/10H
0001H=COOL
selection
OPAD 0000H=PID
006A 106 03/06/10H
Control Algorithm 0001H=FUZZY
HZ 0000H=60HZ
006B 107 03/06/10H
Power Frequency 0001H=50HZ
SET1 006C 108 03/06/10H 0000H=0000
Hide/ Display parameter 0001H=0000
0010H=0010
0011H=0011
0100H=0100
0101H=0101
0110H=0110
0111H=0111
SET4
Hide/ Display parameter 006F 111 03/06/10H Same with SET1
SET5
Hide/ Display parameter 0070 112 03/06/10H Same with SET1
SET6
Hide/ Display parameter 0071 113 03/06/10H Same with SET1
SET7
Hide/ Display parameter 0072 114 03/06/10H Same with SET1
SET8
Hide/ Display parameter 0073 115 03/06/10H Same with SET1
SET9
Hide/ Display parameter 0074 116 03/06/10H Same with SET1
SET0
Hide/ Display parameter 0075 117 03/06/10H Same with SET1
INP2
Hide/ Display parameter 0076 118 03/06/10H 0~2
OUTY
Output mode selection 0077 119 03/06/10H 0~5
VER
0086 134 03H 104
Firmware Version
OUT%
0087 135 03H 0~1000
Output percentage
OBIT 0088 136 03H 0000 0000 0000 0000
29 : Message ADCF
28 : Message IN1E
27 : MAN LED
26 : PRO LED
25 : AL3 LED
24 : AL2 LED
23 : AL1 LED
22 : AT LED
21 : OUT2 LED
20 : OUT1 LED
CV
0089 137 03H 0~999
CT Current Value
PV
008A 138 03H -1999~9999
Process Value