Communications-Protocol-Keling
Communications Protocol Keling
style="MARGIN: 0in 0in 0pt 10pt; TEXT-INDENT: -10pt; mso-char-indent-count: -1.0; mso-char-indent-size: 10.0pt">1, The instrument RS485 communication BPS is fixed at 9600 bits/s, start bit=1, data bit=8, stop bit=2, starting and ending time
>5ms.<o:p></o:p>
<o:p></o:p>
2, The format of the
data reading and writing is same as standard Modbus protocol. Definition as
follows:<o:p></o:p> Request:<o:p></o:p>
<TBODY>
</TBODY>
|
01<o:p></o:p> |
03<o:p></o:p> |
238(00EE)<o:p></o:p> |
0002<o:p></o:p> |
42046
(A43E)<o:p></o:p> |
|
ADD<o:p></o:p> |
COM<o:p></o:p> |
PV1<o:p></o:p> |
Counts<o:p></o:p> |
CRC<o:p></o:p> |
Response: <o:p></o:p>
<TBODY>
</TBODY>
|
01<o:p></o:p> |
03<o:p></o:p> |
04<o:p></o:p> |
6D96
49F3<o:p></o:p> |
7166<o:p></o:p> |
|
ADD<o:p></o:p> |
COM<o:p></o:p> |
Counts
<o:p></o:p> |
PV1<o:p></o:p> |
CRC<o:p></o:p> |
PV1 = 6D96 49F3 = 6D96.49F3H = 6D96H+0.
49F3H=28054.28890<o:p></o:p>
When Max bit is ¡°1¡±,
means negative, e.g.:<o:p></o:p>
PV1=ED9649F3= ED96.49F3H = -(6D96H+0.49F3H) =
-28054.28890<o:p></o:p>
ED96 bit 15=1 is negative, viz.
-6D96H<o:p></o:p>
<o:p></o:p>
3, When setting
parameters, can read multi- parameters; when writing, can write 1 parameter only
every time<o:p></o:p> <o:p></o:p>
4,
Commands:<o:p></o:p>
02H: read digital value / discrete I/O
parameters<o:p></o:p>
03H: read holding registers
parameters<o:p></o:p>
06H: write single holding register parameter
value<o:p></o:p>
10H: write multi holding registers parameters
value<o:p></o:p>
41H: instrument calibration command
<o:p></o:p>
** (when appearing
unused command, response errors.meassage
<o:p></o:p>Parameter ¡°02H.41H
command is not used in DS8 AND TCH SERIERS)<o:p></o:p>
<o:p></o:p>
5, Communication
parameters: <o:p></o:p>
<o:p></o:p>
<TBODY>
</TBODY>
|
Factory setting
<o:p></o:p> |
Parameters<o:p></o:p> |
Parameter address
(HEX)<o:p></o:p> |
Data numbers
(bytes)<o:p></o:p> |
Function<o:p></o:p> |
Remark<o:p></o:p> |
|
<o:p></o:p> |
FLAG4<o:p></o:p> |
104<o:p></o:p> |
2<o:p></o:p> |
Read and write
symbol<o:p></o:p> |
Read
only<o:p></o:p> |
|
<o:p></o:p> |
MV<o:p></o:p> |
105<o:p></o:p> |
4<o:p></o:p> |
PID1 operating value
output<o:p></o:p> |
Read
only<o:p></o:p> |
|
<o:p></o:p> |
MV1<o:p></o:p> |
168<o:p></o:p> |
4<o:p></o:p> |
PID2 operating value
output<o:p></o:p> |
Read
only<o:p></o:p> |
|
<o:p></o:p> |
PV1<o:p></o:p> |
201<o:p></o:p> |
4<o:p></o:p> |
1st input
measuring value <o:p></o:p> |
Read
only<o:p></o:p> |
|
<o:p></o:p> |
PV2<o:p></o:p> |
204<o:p></o:p> |
4<o:p></o:p> |
2nd
input measuring value <o:p></o:p> |
Read
only<o:p></o:p> |
|
<o:p></o:p> |
SV<o:p></o:p> |
0000<o:p></o:p> |
4<o:p></o:p> |
Set
control value<o:p></o:p> |
R /
W<o:p></o:p> |
|
100<o:p></o:p> |
AL1<o:p></o:p> |
0004<o:p></o:p> |
4<o:p></o:p> |
Alarm 1 set
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
900<o:p></o:p> |
AL2<o:p></o:p> |
0008<o:p></o:p> |
4<o:p></o:p> |
Alarm 2 set
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
500<o:p></o:p> |
AL3<o:p></o:p> |
0012<o:p></o:p> |
4<o:p></o:p> |
Alarm 3 set
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
cdB<o:p></o:p> |
0016<o:p></o:p> |
4<o:p></o:p> |
Cooling
clearance<o:p></o:p> |
R /
W<o:p></o:p> |
|
0<o:p></o:p> |
AT<o:p></o:p> |
0019<o:p></o:p> |
2<o:p></o:p> |
Set
Auto-tune<o:p></o:p> |
R /
W<o:p></o:p> |
|
000<o:p></o:p> |
LCK<o:p></o:p> |
0020<o:p></o:p> |
2<o:p></o:p> |
Set
lock function<o:p></o:p> |
R /
W<o:p></o:p> |
|
0<o:p></o:p> |
MAN<o:p></o:p> |
0021<o:p></o:p> |
2<o:p></o:p> |
Set
manual or auto manipulation<o:p></o:p> |
R /
W<o:p></o:p> |
|
001<o:p></o:p> |
ADD<o:p></o:p> |
0022<o:p></o:p> |
2<o:p></o:p> |
Set
instrument communication address<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
PSV1<o:p></o:p> |
0024<o:p></o:p> |
4<o:p></o:p> |
PV1 correction value<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
PSV2<o:p></o:p> |
0028<o:p></o:p> |
4<o:p></o:p> |
PV2 correction value<o:p></o:p> |
R /
W<o:p></o:p> |
|
1£®0<o:p></o:p> |
HY1<o:p></o:p> |
0032<o:p></o:p> |
4<o:p></o:p> |
Alarm 1 hysteresis
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
0<o:p></o:p> |
AM1<o:p></o:p> |
0035<o:p></o:p> |
2<o:p></o:p> |
Alarm 1 mode
setting<o:p></o:p> |
R /
W<o:p></o:p> |
|
1£®0<o:p></o:p> |
HY2<o:p></o:p> |
0036<o:p></o:p> |
4<o:p></o:p> |
Alarm 2 hysteresis
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
1<o:p></o:p> |
AM2<o:p></o:p> |
0039<o:p></o:p> |
2<o:p></o:p> |
Alarm 2 mode setting<o:p></o:p> |
R /
W<o:p></o:p> |
|
1£®0<o:p></o:p> |
HY3<o:p></o:p> |
0040<o:p></o:p> |
4<o:p></o:p> |
Alarm 3 hysteresis
value<o:p></o:p> |
R /
W<o:p></o:p> |
|
2<o:p></o:p> |
AM3<o:p></o:p> |
0043<o:p></o:p> |
2<o:p></o:p> |
Alarm 3 mode setting<o:p></o:p> |
R /
W<o:p></o:p> |
|
3£®0<o:p></o:p> |
P<o:p></o:p> |
0044<o:p></o:p> |
4<o:p></o:p> |
PID
1 proportion band<o:p></o:p> |
R /
W<o:p></o:p> |
|
240<o:p></o:p> |
I<o:p></o:p> |
0048<o:p></o:p> |
4<o:p></o:p> |
PID
1 Integral time<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
D<o:p></o:p> |
0052<o:p></o:p> |
4<o:p></o:p> |
PID
1 differential coefficient time<o:p></o:p> |
R /
W<o:p></o:p> |
|
0<o:p></o:p> |
OUD<o:p></o:p> |
0055<o:p></o:p> |
2<o:p></o:p> |
PID
1 control direction<o:p></o:p> |
R /
W<o:p></o:p> |
|
1£®0<o:p></o:p> |
HYS<o:p></o:p> |
0056<o:p></o:p> |
4<o:p></o:p> |
PID
1 control function<o:p></o:p> |
R /
W<o:p></o:p> |
|
020<o:p></o:p> |
CTL<o:p></o:p> |
0059<o:p></o:p> |
2<o:p></o:p> |
PID
1 control cycle<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
OUTL
<o:p></o:p> |
0060<o:p></o:p> |
4<o:p></o:p> |
PID1 MV output low
limit <o:p></o:p> |
R /
W<o:p></o:p> |
|
100£®0<o:p></o:p> |
OUTH<o:p></o:p> |
0064<o:p></o:p> |
4<o:p></o:p> |
PID1MV output high
limit<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
HUM<o:p></o:p> |
0068<o:p></o:p> |
4<o:p></o:p> |
PID
1 desiccant output limit<o:p></o:p> |
R /
W<o:p></o:p> |
|
5£®0<o:p></o:p> |
Pc<o:p></o:p> |
0072<o:p></o:p> |
4
<o:p></o:p> |
PID
2 proportion band <o:p></o:p> |
R /
W<o:p></o:p> |
|
240<o:p></o:p> |
Ic<o:p></o:p> |
0076<o:p></o:p> |
4<o:p></o:p> |
PID
2 Integral time<o:p></o:p> |
R /
W<o:p></o:p> |
|
0£®0<o:p></o:p> |
Dc<o:p></o:p> |
0080<o:p></o:p> |
4<o:p></o:p> |
PID
2 differential coefficient time<o:p></o:p> |
R /
W<o:p></o:p> |
|
1<o:p></o:p> |
OUC<o:p></o:p> |
0083<o:p></o:p> |
2<o:p></o:p> |
PID
2 control direction<o:p></o:p> |
R /
W<o:p></o:p> |
|
020<o:p></o:p> |
C-t<o:p></o:p> |
0084<o:p></o:p> |
2<o:p></o:p> |
PID
2 control cycle<o:p></o:p> |
R /
W<o:p></o:p> |
|
K
type<o:p></o:p> |
INP1<o:p></o:p> |
0085<o:p></o:p> |
2<o:p></o:p> |
1st Select
input signals<o:p></o:p> |
R /
W<o:p></o:p> |
|
0.0<o:p></o:p> |
LSP<o:p></o:p> |
0088<o:p></o:p> |
4<o:p></o:p> |
1st input
low limit display<o:p></o:p> |
R /
W<o:p></o:p> |
|
1200<o:p></o:p> |
USP<o:p></o:p> |
0092<o:p></o:p> |
4<o:p></o:p> |
1st input
high limit display<o:p></o:p> |
R /
W<o:p></o:p> |
|
1<o:p></o:p> |
DP1<o:p></o:p> |
0095<o:p></o:p> |
2<o:p></o:p> |
Select decimal point
for 1st input <o:p></o:p> |
R /
W<o:p></o:p> |
|
0<o:p></o:p> |
UNIt<o:p></o:p> |
0096<o:p></o:p> |
2<o:p></o:p> |
Select display unit
for 1st input<o:p></o:p> |
R /
W<o:p></o:p> |
<o:p></o:p>
Sales@EmbeddedRF.com wrote:
I know its an rs-485.However one needs to know the communications protocol to be ableto program for it !!Ask your manufacturer !Fred :)
It is a regular RS485I really need to see a manual for the communications of this controller. This is theinstructions on how to talk with it over a serial port.If you can work with me I can help you sell alot more of these controllers!Fred :)
For serial comminication, it is a special order
Dear kelinginc,
The manual seems to imply there is a serialcommunications port on this temperature controller....does this unit have that installed? Fred
- embeddedrfAnswer the question