![FE FSH Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/fe/fsh/fsh_instruction-manual_3753975152.webp)
- 144 -
INF-TN1FSH-E
8.1.2.3. Error response
Configuration Byte
count
Note
Start mark
1
STX (02h)
Station No. (SLV)
2
01 to 31
Mode/type
2
Measurement “U”/Polling system “P”
Function code (F_CD)
4
Refer to the function code table.
Error Data (ERR)
#
Refer to the error data table
Error check
2
LRC
1 CR
(0Dh)
End mark
1 LF
(0Ah)
Receive format
STX
SLV
U P
F_CD
BCC
CR
LF
Response format
STX
SLV
U P
F_CD
Data
BCC
CR
LF
Error response format
STX
SLV
U P
F_CD
ERR
BCC
CR
LF
8.1.3. Error check
EX-OR (even horizontal parity) from STX side of each byte excluding STX, BCC, CR, and LF.
Operation is performed by bytes, and the result of operation is transmitted/received as 2-digit ASCII code BCC data.
[BCC creation procedure]
(1) EX-OR operation is performed with the data after the start mark (STX).
(2) The result of the operation is converted to ASCII representation (=BCC).
Example: When the result of operation if 05h:
→
ASCII representation: 30h, 35h