Chapter 6 Instruction Details
XBC E-Type Main Unit
6-246
Ver. 1
2) DSTR (String)
(1) Converts specified Binary 32-bit data S2 with decimal places added to specified position S1, into string
to save in the next number of specified device D.
(2) S1 stands for decimal places.
(3) If S1 range is other than 0~28, Error Flag will be set.
3) Program Example
P00000
STR P1000 P1100 P1200
(Specified total places-1)
th
ASCII code
ASCII code of Sign
(Specified total places-3)
th
ASCII code
(Specified total places-5)
th
ASCII code
(Specified total places-7)
th
ASCII code
(Specified total places-2)
th
ASCII code
(Specified total places-4)
th
ASCII code
(Specified total places-6)
th
ASCII code
b15
b8
b0
b7
(Specified total places-9)
th
ASCII code
00H
(Specified total places-10)
th
ASCII code
(Specified total places-8)
th
ASCII code
Decimal places
S1
Sign
S2+1
Upper 16-bit
Lower 16-bit
S2
32-bit Binary data
b15
b0
b31
b16
D
D+1
D+2
D+3
D+4
D+5
Saved automatically at the end of string
h32 (2)
h2D (-)
h34 (4)
h34 (4)
h38 (8)
h31 (1)
h37 (7)
h2E (.)
b15
b8
b0
b7
h36 (6)
h35 (5)
h34 (4)
h33 (3)
5
S1
.
Sign
-2147483645
S2+1
S2
32-bit Binary data
b15
b0
b31
b16
D
D+1
D+2
D+3
D+4
D+5
Saved automatically at the end of string
0
h00 (NULL)
Содержание 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...