Communication Control Code; Text Format; Bcc Calculation - Unitek Miyachi LW250 Operation, Maintenance And Service Manual

Yag laser
Table of Contents

Advertisement

APPENDIX B: EXTERNAL COMMUNICATIONS INTERFACE SPECIFICATION
3.
Data Transfer (continued)
(5)

Communication control code:

Command Code
STX
ETX
EOT
ENQ
ID•ENQ
ACK
ID•ACK
NAK
(6)

Text Format:

(7)
BCC Calculation: BCC is the binary coded check sum. It is calculated by adding
all bytes after STX and through ETX as listed in the following example C-
program:
#include <stdio.h>
#define STX
0x02
#define ETX
0x03
990-605 REV B: May, 1997
02H
03H
04H
05H
50H•30H•05H
06H
54H•31H•06H
15H
S
T
Text Block
X
Variable Text
Length

BCC Calculation

Range
LW250 PULSED Nd: YAG LASER
Hex Value
Start of Text
End of Text
End of Transmission
Enquiry
Identification Enquiry
Acknowledge
Identification
Acknowledge
Not Acknowledge
E
B
T
C
X
C
Description
B-5

Advertisement

Table of Contents
loading

Related Products for Unitek Miyachi LW250

Table of Contents