Download KT4H/B Temperature Controller User's Manual

Transcript
12.5 MEWTOCOL
12.5.1 Data format
Start bit : 1 bit
Data bit : 7 bits (8 bits) Selectable
Parity : Even (No parity, Odd) Selectable
Stop bit : 1 bit (2 bits) Selectable
12.5.2 Command configuration
MEWETOCOL of the KT4H/B uses RD and WD commands.
Writing and reading of plural word data cannot be carried out.
Be sure to read and write one word at a time because continuous reading/writing of plural data is
impossible.
All commands are composed of ASCII.
Numerals written on the command represent number of characters.
(1) RD (Word data reading) command protocol configuration
1
2
1
2
1
5
5
2
1
Command
Data
Top
Top
%
Address
CR
#
code
code
data item
data item
BCC
(23H)
(25H) (Decimal)
(0DH)
RD
D
(Decimal) (*) (Decimal) (*)
(*): KT4H/B cannot read plural word data. Make sure that both top data items are the same.
Acknowledgement
1
2
1
2
4
2
1
Command
Reading
%
Address
$
CR
code
top data
BCC
(25H) (Decimal) (24H)
(0DH)
RD
(Hexadecimal)
1
0
3
2
16 16 16 16
Low
High
Negative acknowledgement
1
2
1
%
(25H)
Address
(Decimal)
2
Error
!
code
(21H) (Hexadecimal)
2
1
BCC
CR
(0DH)
(2) WD (Word data writing) command protocol configuration
1
2
1
2
1
5
Command
Data
Top
%
Address
#
code
code
data item
(25H) (Decimal) (23H)
WD
D
(Decimal) (*)
5
Top
data item
(Decimal) (*)
4
2
1
Writing
CR
top data
BCC
(0DH)
(Hexadecimal)
1
0
3
2
16 16 16 16
Low
High
(*): KT4H/B cannot read plural word data. Make sure that both top data items are the same.
Acknowledgement
1
2
1
2
2
1
Command
%
Address
$
CR
code
BCC
(25H) (Decimal) (24H)
(0DH)
WD
Negative acknowledgement
1
2
1
%
(25H)
Address
(Decimal)
2
Error
!
code
(21H) (Hexadecimal)
2
1
BCC
CR
(0DH)
40