Chapter 6 Instruction Details
XBC E-Type Main Unit
6-251
Ver. 1
6.34.11 HEX, HEXP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
HEX(P)
S
O O O
-
O
-
-
-
O
-
-
-
O O O O
4~6
O
-
-
D
O O O
-
O
-
-
-
O
-
-
-
O O O O
N
O O O
-
O O O
-
O
-
-
O O O O O
Operand
Description
Data Type
S
String to convert to Binary data
STRING
D
Device address to save Binary data converted
WORD
N
Number of characters to convert
WORD
[Flag Setting]
Flag
Description
Device Number
Error
The string value specified S exceeds Hexadecimal displaying range
F110
1) HEX
(1) Converts N characters from specified character S to HEX format to save in starting D.
(2) Converts Hexadecimal ASCII data saved in specified characters number N after specified device number
S to save in position after specified device number D.
HEX
means HEX
P S
D
HEXP
S
D
N
N
S2
S2+1
S2+2
S2+3
2
nd
letter’s ASCII code
4
th
letter’s ASCII code
2
nd
letter’s ASCII code
4
th
letter’s ASCII code
1
st
letter’s ASCII code
3
rd
letter’s ASCII code
1
st
letter’s ASCII code
3
rd
letter’s ASCII code
b15
b8 b7
b0
Specified number
n of letters
D
D+1
4
th
place
b15
b8
b7
b4
b11
b12
b3
b0
Binary data
4
th
place
3
rd
place
3
rd
place
2
nd
place
2
nd
place
1
st
place
1
st
place
b15
b8
b0
b7
D
D+1
Specified
number N
of letters
b15
b8
b0
b7
S
S+1
S+2
S+3
h45 (E)
h31 (1)
h37 (7)
h61 (a)
h66 (f)
h32 (2)
h38 (8)
h42 (B)
0
0
1
2
E
F
Binary data
0
0
0
0
A
B
7
8
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...