Panasonic HL-C1 Series User Manual page 148

Ultra high-speed laser displacement sensor (ccd style)
Table of Contents

Advertisement

 
6-4 List of Error Codes
Error
Type of Error
Code
21
Data Error
22
Overrun Error
41
Format Error
70
Causes and Correction Methods
• Error codes 21 and 22: two causes are probable: (1) temporary problems caused by
electric noise or the like and (2) problems in the controller or the PC. Turn the controller
off, then on again and reboot the PC.
• In the case of error code 41, check if there is not some error in the sent data. If there is
an error, correct it. If the error persists though there is no error in the data, the controller
may be faulty. Turn the controller off, then on again.
BCC (Block Check Code)
BCC is a horizontal parity check code, to improve the reliability of communication data.
The exclusive logical sum is executed from the header (%) to the final character of text,
and 8-bit data is converted to 2-character ASCII code. The controller checks whether the
exclusive logical sum of message (from header to final character of text) received, is
consistent with the value transmitted by the personal computer. If the BCC differs between
transmission and receipt, an error occurred in the message in during transmission.
If you omit BCC calculation, input " ∗∗ " (2AH, 2AH) in the BCC.
Creation example
% E E # R M D 1 6 C
2-character BCC
A data error occurred during communication (framing
error, parity error, BCC error).
The receiving buffer of the controller overflowed and
no more data can be received.
There was an error in the Command symbol (there
was no "#") there were too many or not enough digits
in the setting figures, etc., so the Command format is
not correct.
An unsupported undefined Command code was sent.
Selection of a Command code that cannot be selected
was attempted, or a selection was made outside the
selection range.
Setting of a value outside the range, either a setting
code or a setting value, was attempted.
An attempt was made to execute data buffering at a
sampling period of 100µs.
Header
%
E
C
R
E
#
R
M
D
Final character
1
of text
6-38
CHAPTER 6 RS-232C CONTROL
Content
H25
H45
H45
Exclusive logical sum of
H23
message received
H52
H4D
ASCII code
H44
H31
H6C
6
BCC (H):
(H36)
C
BCC (L):
(H43)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hl-c105fHl-c105f-bkHl-c108fHl-c108f-bk

Table of Contents