Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-239
Ver. 1
2) DDABIN (Double Decimal ASCII to Binary)
(1) Converts decimal value saved in ASCII to binary and saves in D.
(2) NULL is must be at the end of ASCII string.
(3) The lower byte of the 1
st
word in input ASCII value decides the sign of binary value.
(4) Sign will be of –(h2D) or +(h2B).
(5) Sign +(h2B) can be omitted.
(6) Data D will be saved as signed.
(7) In DDABIN, operation range is –2147483648(h80000000) ~ 2147483647(h7FFFFFFF).
ASCII string available to input is the value in ASCII applicable to Sign and 0~9. If any other value is input,
Error will be set.
3) Program Example
P00000
DABINP P1000 P1100
b15
b8
b0
b7
D+1
Upper 16-bit
Lower 16-bit
D
32-bit BIN data
b15
b0
b31
b16
S
S+1
S+2
S+3
S+4
S+5
1000000000-digit ASCII code
10000000-digit ASCII code
100000-digit ASCII code
1000-digit ASCII code
Sign data
100000000-digit ASCII code
End of string
1-digit ASCII code
10-digit ASCII code
100-digit ASCII code
10000-digit ASCII code
1000000-digit ASCII code
Содержание 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...