
Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-240
Ver. 1
6.34.5 HABIN, HABINP, DHABIN, DHABINP
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)
HABIN(P)
DHABIN(P)
S
O O O O O O
-
O
-
-
O O O O O O
2~4
O
-
-
D
O O O
-
O O
-
O
-
-
-
O O O O O
Operand
Description
Data Type
S
Address where Hexadecimal ASCII data to convert to binary is saved
STRING
D
Address to save operation result in
WORD/DWORD
[Flag Setting]
Flag
Description
Device Number
Error
To be set if string length exceeds the maximum string length.
To be set if input data exceeds operation range
To be set if other string than 0~F is in string
F110
1) HABIN (Hex ASCII to Binary)
(1) Converts Hexadecimal value saved in ASCII to binary and saves in D.
(2) The end of ASCII string can be identified with NULL.
(3) In HABIN, operation range is h0000 ~ hFFFF.
(4) ASCII string available is the value applicable to 0~F. If any other value is input, Error will be set.
(5) As the first character displaying Hex,‘h’or H’is allowed.
2) DHABIN (Hex ASCII to Binary)
(1) Converts Hexadecimal value saved in ASCII to binary and saves in D.
(2) The end of ASCII string can be identified with NULL.
(3) ASCII string available is the value applicable to 0~F. If any other value is input, Error will be set.
(4) In DHABIN, operation range is h00000000 ~ hFFFFFFFF.
(5) As the first character displaying Hex,‘h’or H’is allowed.
h41 (A)
h35 (5)
S
S+1
b15
b 8 b 7
b 0
D
b15
b 8
b 7
b 0
5A8DH
h00 (NULL)
h44 (D)
h38 (8)
S+2
(D)HABIN
means HABIN
P S
D
(D)HABINP
S
D
3
rd
-digit ASCII code
4
th
-digit ASCII code
1
st
-digit ASCII code
2
nd
-digit ASCII code
S
S+1
b15
b 8
b 7
b 0
D
b15
b 8
b 7
b 0
Binary16-bit data
End of string (Null)
S+2
Содержание XBC-DN10E
Страница 1: ......
Страница 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...
Страница 52: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 24 Ver 1 3 7 2 XBC DR10E 4 point relay output...
Страница 54: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 26 Ver 1 3 7 3 XBC DN10E 4 point transistor output...
Страница 56: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 28 Ver 1 3 7 4 XBC DR14E 6 point relay output...
Страница 58: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 30 Ver 1 3 7 5 XBC DN14E 6 point transistor output...
Страница 60: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 32 Ver 1 3 7 6 XBC DR20E 8 point relay output...
Страница 62: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 34 Ver 1 3 7 7 XBC DN20E 8 point transistor output...
Страница 64: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 36 Ver 1 3 7 8 XBC DR30E 12 point relay output...
Страница 66: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 38 Ver 1 3 7 9 XBC DN30E 12 point transistor output...