SAMWONTECH
4th Edition of TEMI880 IM : Jan. 29. 2007 Page 94 / 119
4.3.4 RSD Command
▶ This command for reading D-Register orderly.
▶ Transmission Format
Byte
1
2
3
1
2
1
4
2
1
1
S
C
L
T
Command
element
X
Addr
RSD
,
Para.
number
,
D-Reg. No.
SUM
R
F
▶ Response
Byte
1
2
3
1
2
1
4
1
4
1
…
S
T
Command
element
X
Addr
RSD
,
OK
,
dddd-1
,
dddd-2
,
…
1
4
1
4
2
1
1
C
L
,
dddd-(n-1)
,
dddd-(n)
SUM
R
F
- Para. number : 1~32.
- dddd : Indicates a character string in hexadecimal format.
ex) When reading the D-Register from Temp. PV(D0001) to Temp. SP(D0002).
- Transmission : [stx]01RSD,02,0001[cr][lf]
- Transmission ( Include Check Sum) : [stx]01RSD,02,0001C5[cr][lf]
([stx] = 0x02, [cr] = 0x0d, [lf] = 0x0a)
When Temp. PV value is 50.0 and Temp. SP value is 30.0.
- Response : [stx]01RSD,OK,01F4,012C[cr][lf]
- Response ( Include Check Sum) : [stx]01RSD,OK,01F4,012C19[cr][lf]
※ Display procedure of the Temp. PV value.
○
1 Convert hexadecimal to decimal : 01F4(hexadecimal) → 500(decimal)
○
2 converted value * 0.1 : 500 * 0.1 → 50.0