Power supply bl-u1 – KEYENCE BL-180 User Manual
Page 100

Power Supply BL-U1
94
Examples
To send
cc = 7A
To send
cc = 4B
To send
cc = 7E.
Point
Exclusive OR calculation formula
Calculate each bit using the following formula.
Conversion form hexadecimal number into binary number
Convert ASCII codes into binary numbers referring to the following table.
Example: Data to send is
[STX][008][01][P][cc][ETX]
0
0
8
0
1
P
1.
Convert each data bit to
ASCII code (Hex).
30h
30h
38h
30h
31h
50h
2.
Convert the ASCII code
to 8-bit binary.
0011 0000 0011 0000 0011 1000 0011 0000 0011 0000 0101 0000
3.
Calculate Exclusive OR
of each data bit.
0011 0000
0011 0000
0011 1000
0011 0000
0011 0000
0101 0000 Exclusive OR
0110 1001
4.
Convert the 8-bit binary
to hexadecimal data.
0110 1001
6
9
h
5.
Enter the result as [cc].
[cc] = 69
[STX]
008
01
C
cc
[ETX].
[STX]
013
11
ABC876
cc
[ETX].
[STX]
010
31
LON
cc
[ETX].
Hexadecimal
0
1
2
3
4
5
6
7
Binary
0000
0001
0010
0011
0100
0101
0110
0111
Hexadecimal
8
9
A
B
C
D
E
F
Binary
1000
1001
1010
1011
1100
1101
1110
111
1
0
,
0 =0
0
,
1 =1
1
,
0 =1
1
,
1 =0
,
Exclusive OR operator
- 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)