Panasonic HL-D3 Series User Manual page 256

High speed, multi-point laser displacement sensor
Table of Contents

Advertisement

 Format of abnormal response
The abnormal response communication data is common in all commands.
% E E !
Header
Error Code
 BCC
BCC is the code for horizontal parity check to improve the reliability of
communication data. The exclusive logical sum from the header (
the final character of communication data is calculated and resultant 8-bit
data is converted to 2-character ASCII code. The controller checks
whether the exclusive logical sum of received communication data (from
the header to the final character of communication data) is consistent with
the value transmitted by the personal computer. The difference in BCC
between at transmission and at receipt indicates that an error occurred in
the communication data during communication.
To omit BCC calculation, enter
BCC in the response data is
Creation example of BCC
% E E # R M B C
%
Header
E
E
#
R
M
B
End character of
C
communication data
CR
BCC
* *
(2Ah, 2Ah) to BCC. In this case, the
* *
(2Ah, 2Ah), too.
2-character
H25
H45
H45
H23
Exclusive logical sum (XOR) of received
H52
communication data is calculated.
H4D
H42
H43
ASCII
H18
5-37
Chapter 5 External communication control
CR
6
E
BCC
BCC
(H)
(L)
1
8
(H31) (H38)
) to
%
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hl-d3cHl-d301bHl-d301c

Table of Contents