EasyManua.ls Logo

T-solution MASTER-K120S - Page 236

T-solution MASTER-K120S
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8 Communication Functions
8-46
Complement setting : Complement calculation as below
example> 1’s and 2’s Complements of D3
bit 7 bit 0
1 1 0 1 0 0 1 1
bit 7 bit 0
0 0 1 0 1 1 0 0
bit 7 bit 0
0 0 1 0 1 1 0 1
Mask setting : Masking method is as below
bit 7 bit 0
1 1 0 1 0 0 1 1
bit 7 bit 0
1 1 1 1 1 1 1 1
bit 7 bit 0
1 1 0 1 0 0 1 1
bit 7 bit 0
1 1 0 1 0 0 1 1
bit 7 bit 0
0 0 1 0 1 1 0 0
= h D3(sum check value)
1’ complement = h 2C(the last sum check value)
2’ complement = 1’ complement + 1 = h 2D
(
the last sum chec
k
l)
= h D3 (sum check value)
= hFF (masking value)
AND masking = hD3
OR masking = hFF
Exclusive OR masking = h2C

Table of Contents

Related product manuals