![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114461.webp)
8 APPLICATION INSTRUCTION
8.8 Character String Operation Instruction
459
8
Ex.
When "ABCDEFGHI" is stored in (s) and later
Precautions
The LEN(P) instructions can handle character codes other than ASCII codes, but the character string length is handled in byte
units (8 bits). Accordingly, in the case of character codes in which 2 bytes express 1 character such as shift JIS codes, the
length of 1 character is detected as "2".
Operation error
Error code
(SD0/SD8067)
Description
2820H
In the corresponding device range of the device specified by (s) and later, "00H" does not exist.
3405H
The character string specified by (s) has more than 16383 characters.
b15
b0
b7
b8
b15
b0
(d)
(s)
(s)+1
(s)+2
(s)+3
(s)+4
41H (A)
42H (B)
43H (C)
44H (D)
45H (E)
46H (F)
47H (G)
48H (H)
49H (I)
00H
"ABCDEFGHI"
9
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......