EasyManuals Logo

Thinget XC Series User Manual

Thinget XC Series
283 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #258 background imageLoading...
Page #258 background image
Special Functions
7-3. Example of free format communication
This example is the free format program with DH107/DH108 series instruments:
I, Interface specification
DH107/DH108 series instruments use asynchronism serial communication ports, the interface
level fits the standard of RS232C or RS485. the data format is 1 start bit, 8 bits data, no check bit,
one or two stop bits. Baud rate of communication transfer data could modified to be
200~19200bit/s
II, Format of communication instructions
DH107/108 instruments use Hex. data format to indicate each instruction code and data.
Rea ite instruction:
R he a ameter’s (to read) code+0+0+CRC check code
W he address code +43H(67)+ parameter’s (to write) code +the write data’s low byte
write eck code
R ruc rameters (To read) code *256+82+ADDR
ADDR is instrument’s ID value, the boun
r nt ca ceding data operate with binary 16 bits
i us. low byte is ahead, the high byte is behind
W truction’s CRC check code is: parameters (to write) code *256+67+parameter’s (to
write) value
T et ted
N write or read, the instruments will
The test va e S
r ten chec
P and the read parameters value sho ach engrosses 2 bytes, MV
engr ne byte, the data bound is 0~220, t one byte, CRC check code
ngross 2 bytes, the total is 10 bytes.
CRC check code is PV+SV+(alarm status *256+MV)+parameter’s value +ADDR, the
redundant caused by the integer plus
(the detailed format, please refer to AIBUS communication protocol description) .
II, Compile communication program
fter power on, the program read the current temperature value every 40ms. In this period the user
ould also write the set temperature value.
Data area definition: send data buffer area: D10~D19
Accept data buffer area: D20~D29
Instrument’s station ID: D30
Read command’s value: D31=52 H
Write command’s value: D32=43 H
Parameter’s code: D33
Temperature setting: D34
CRC check code: D36
1
d/wr
ead: T ddress code +52H(82)+par
rite: T
+the data’s high byte +CRC ch
ead inst tion’s CRC check code is: pa
d is 0~100 (please do not add 80H). CRC is the
on: the preedunda used by the following operati
nteger pl The redundant is 2 bytes, the
rite ins
+ADDR
he param ers (to write) value is indica by Hex. binary integer
return the following data
V+ the output value MV and alarm status +
k code
o matter
lue PV+ the given valu
ead/writ parameters value +CRC
V, SV
osses o
uld be integer format, e
he alarm status engrosses
e
I
A
c
34

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Thinget XC Series and is the answer not in the manual?

Thinget XC Series Specifications

General IconGeneral
BrandThinget
ModelXC Series
CategoryController
LanguageEnglish

Related product manuals