NEC P401 User Manual Page 6

  • Download
  • Add to my manuals
  • Print
  • Page
    / 50
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 5
(6/50)
Following is an example of a Check code (BCC) calculation.
Check code (BCC) D
17
= D
1
xor D
2
xor D
3
xor xor D
14
xor D
15
xor D
16
= 30h xor 41h xor 30h xor 45h xor 30h xor 41h
xor 02h xor 30h xor 30h xor 31h xor 30h xor 30h
xor 30h xor 36h xor 34h xor 03h
= 77h
4.6 Delimiter
Packet delimiter code; ASCII CR(0Dh).
Header Message
SOH
Reserved
Destination
Address
Source
Address
Message
type
Message length STX
OP code
page
OP code Set Value ETX
Check
code
(BCC)
Delimiter
01
30 41 30 45 30 41 02 30
30
31
30
30
30
36
34
03 77 0D
D
0
D
1
D
2
D
3
D
4
D
5
D
6
D
7
D
8
D
9
D
10
D
11
D
12
D
13
D
14
D
15
D
16
D
17
D
18
Header
Message
Check code
Delimiter
Page view 5
1 2 3 4 5 6 7 8 9 10 11 ... 49 50

Comments to this Manuals

No comments