Mitsubishi Electric FX3G SERIES Programming Manual page 638

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
• The character string stored in
specified device until "00H" is first detected in byte units.
• When the number of characters to be overwritten specified by
executed.
• When the number of characters to be overwritten specified by
string stored in
b15---------------b8b7-----------------b0
31H(1)
S
1
S
+1
33H(3)
1
S
+2
35H(5)
1
37H(7)
S
+3
1
S
+4
1
8th character
S
5
2
S
+1
8
2
• When
S
2
later is stored to
b15---------------b8b7-----------------b0
S
1
S
1
+1
S
1
+2
S
1
+3
Last character
S
2
2
S
+1
-1
2
636
and later or
S
1
D
and later, data is stored up to the last character.
30H(0)
32H(2)
34H(4)
36H(6)
00H
38H(8)
"012345678"
Position from the left end in the
character string stored in
D
Number of characters from the left end
in the character string stored in
and later
+1 (the number of characters to be extracted) is "-1", the entire character string stored in
D
and later.
31H(1)
30H(0)
33H(3)
32H(2)
35H(5)
34H(4)
00H
"012345"
Position from the left end in the
character string stored in
D
Number of characters from the left end
in the character string stored in
and later
26 Character String Control – FNC200 to FNC209
26.8 FNC207 – MIDW / Random Replacement of Character Strings
and later indicates data stored in devices from the
D
S
2
S
+1 exceeds the last character of the character
2
b15---------------b8b7-----------------b0
1st
D
character
D
+1
D
+2
D
+3
D
+4
b15---------------b8b7-----------------b0
and later
D
S
1
D
+1
D
+2
D
+3
D
+4
Characters from the 5th character to the last
character are overwritten. Excessive
characters, "35H (5)" to "37H (7)" , are not
stored.
2nd
character
b15---------------b8b7-----------------b0
1st
D
+1
character
D
+2
D
+3
D
+4
D
+5
2nd
and later
character
S
b15---------------b8b7-----------------b0
1
D
+1
D
+2
D
+3
D
+4
D
+5
+1 is "0", the overwriting processing is not
Before execution
42H(B)
41H(A)
44H(D)
43H(C)
46H(F)
45H(E)
48H(H)
47H(G)
00H
49H(I)
"ABCDEFGHI"
After execution
42H(B)
41H(A)
44H(D)
43H(C)
31H(1)
30H(0)
33H(3)
32H(2)
00H
34H(4)
"ABCD01234"
Before execution
42H(B)
41H(A)
44H(D)
43H(C)
46H(F)
45H(E)
48H(H)
47H(G)
4AH(J)
49H(I)
00H
4BH(K)
"ABCDEFGHIJK"
After execution
30H(0)
41H(A)
32H(2)
31H(1)
34H(4)
33H(3)
48H(H)
35H(5)
4AH(J)
49H(I)
00H
4BH(K)
"A012345HIJK"
Six characters from the 2nd
character are overwritten.
5th
character
5th
character
S
and
1
1st
character

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents