Mitsubishi Electronics FX3UC Garage Door Opener User Manual


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