KEYENCE N-400 User Manual
Page 144

Appendices
136
Appendices
Convert the calculated hexadecimal number into an ASCII code in two digits. The
result obtained is the checksum.
Therefore, the checksum for the above example is “cc = 59 (35h 39h).
Example:
•
Exclusive OR calculation formula
Calculate the numbers of each bit, referring to the following formula:
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
*
+ : Operator of Exclusive OR
•
Conversion from hexadecimal number into binary number
To convert ASCII codes into binary numbers, refer to the following table.
Tips
Hexadecimal number
0
1
2
3
4
5
6
7
Binary number
0000 0001
0010 0011 0100
0101 0110
0111
Hexadecimal number
8
9
A
B
C
D
E
F
Binary number
1000 1001
1010 1011 1100
1101 1110
1111
Header % P 15
CC
–
Delimiter
ERROR
Header
CC Delimiter
1234
Result:
CC=04
CC=04
See also other documents in the category KEYENCE Sensors:
- LR-TB2000 Series (12 pages)
- LR-TB5000 Series (12 pages)
- LR-ZB250AN/AP (4 pages)
- LR-ZB250AN/P (3 pages)
- LR-ZBxN/P Series (3 pages)
- LR-ZBxxB (3 pages)
- OP-85135 (1 page)
- PZ-G Series (2 pages)
- PZ-V/M (2 pages)
- PS-N10 Series (12 pages)
- PX-10 (10 pages)
- CZ-V21A(P) (10 pages)
- CZ-K1(P) (8 pages)
- CZ-V1 (8 pages)
- FS-N10 Series (116 pages)
- FS-N10 Series (6 pages)
- FS-N15CN (1 page)
- FU-93(Z) (2 pages)
- FU-V Series (2 pages)
- FS-V30 (6 pages)
- FU-A40 (1 page)
- NU/FS-N Series (16 pages)
- FS-V33(P) (8 pages)
- FS-V21 (4 pages)
- FS-V22 (4 pages)
- FS-V11(P) (4 pages)
- FS-V1(P) (4 pages)
- LV-N10 Series (12 pages)
- LV-N10 Series (112 pages)
- LV-S62 (1 page)
- OP-84350 (1 page)
- LV-SA (10 pages)
- LV-SB (12 pages)
- OP-87305 (1 page)
- LV Series (10 pages)
- LV-B102 (1 page)
- EV-108M(U) (1 page)
- EZ Series (1 page)
- EM Series (1 page)
- ES-M1(P) (3 pages)
- EX-V Series (120 pages)
- EX-500(W) Series (16 pages)
- GV Series (10 pages)
- IA Series (8 pages)
- LB-1000(W) (24 pages)