625
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.8 FNC207 – MIDW / Random Replacement of Character Strings
21
FN
C
160-FN
C
169
R
eal
Ti
m
e
C
loc
k
C
ont
ro
l
22
FN
C
170
-F
N
C
17
9
E
xt
e
rnal
D
evi
ce
23
FN
C
180
Su
b
st.
I
n
str
. I
n
fo
24
FN
C
181-FN
C
189
O
ther
s
25
FN
C
190-FN
C
19
9
B
loc
k D
a
ta
O
per
at
io
n
26
FN
C
200-FN
C
209
C
har
act
e
r St
ring
C
ont
ro
l
27
F
N
C2
10
-F
NC
21
9
Da
ta
O
per
at
ion 3
28
FN
C
220-FN
C
24
9
Da
ta
Co
m
p
a
ris
o
n
29
FN
C
250-FN
C
269
Da
ta
T
a
b
le
O
per
at
io
n
30
FN
C
27
0-F
N
C
274
Ex
-D
ev
ic
e
In
ve
rte
r C
o
mm
s
Program example
In the program example shown below, 4 characters are extracted from the character string data stored in D0
and later, and stored to the 3rd character (from the left end) and later for the character string data stored in
D100 and later when X010 turns ON.
59H(Y)
43H(C)
31H(1)
5AH(Z)
31H(1)
32H(2)
45H(E)
46H(F)
31H(1)
32H(2)
45H(E)
46H(F)
X010
D100
FNC207
MIDWP
D0
END
R0
D1
D2
D3
b15---------------b8b7-----------------b0
“21FE03”
D100
D101
b15---------------b8b7-----------------b0
00H
33H(3)
30H(0)
53H(S)
55H(U)
“USCYZ10B”
R1
4
3
D102
D103
42H(B)
30H(0)
00H
b15---------------b8b7-----------------b0
53H(S)
55H(U)
“US21FE0B”
00H
42H(B)
30H(0)
D0
R0
D104
D100
D101
D102
D103
D104
The 1st to 4th characters are stored.
1st
character
1st
character
3rd
character
3rd
character
After execution
Before execution
4th
character
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......