Chapter 6 Instruction Details
XBC E-Type Main Unit
6-254
Ver. 1
3) Program Example
(1) If Input Signal P00000 is changed to On, it saves the data 5 strings starting from the right (end of the
string) of the string among D00000~D00005 in D00100~D00102
.
D1
D2
D3
D0
D4
D5
b15
b0
b8 b7
h42 (B)
h44 (D)
h46 (F)
"ABCDEF12345"
h32 (2)
h34 (4)
h00
h41 (A)
h43 (C)
h45 (E)
h31 (1)
h33 (3)
h35 (5)
D101
D102
D100
b15
b0
b8 b7
h32 (2)
h34 (4)
h00
h31 (1)
h33 (3)
h35 (5)
"12345"
5
th
character’s ASCII code
P00000
RIGHT D00000 D00100 5
S
S+1
S+2
S+3
S+4
h42 (B)
h44 (D)
h46 (F)
h32 (2)
h41 (H)
h43 (C)
h45 (E)
h31 (1)
b15
b8 b7
b0
"ABCDEF12345"
S+5
h34 (4)
h33 (3)
h00
h35 (5)
7
th
character’s ASCII code
h42 (B)
h44 (D)
h41 (A)
h43 (C)
b15
b8 b7
b0
D
D+1
D+2
h46 (F)
h45 (E)
"ABCDEF1"
h00
h31 (1)
D+3
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...