EasyManuals Logo

Mitsubishi FX3U Series Programming Manual

Mitsubishi FX3U Series
944 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #628 background imageLoading...
Page #628 background image
626
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.7 FNC206 – MIDR / Random Selection of Character Strings
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
When “00H” is not set within the corresponding device range after a device specified by (error code: K6706)
When the value specified by +1 exceeds the number of characters specified by (error code: K6706)
When the number of characters specified by +1 from the position specified by exceeds the device
range specified by (error code: K6706)
When the number of devices after a device number specified by is smaller than the number of devices
required to store extracted characters as many as the number specified by +1 (that is, when “00H” cannot
be stored after all character strings and the last character) (error code: K6706)
When specifies a negative value (error code: K6706)
When +1 specifies “-2” or less (error code: K6706)
When +1 specifies a number larger than the number of characters specified by
(error code: K6706)
Program example
In the program example shown below, four characters are extracted from the 3rd character from the left end of the
character string data stored in D10 and later, and then stored to D0 and later when X000 turns ON.
S
1
S
2
S
1
S
2
D
D
D
S
2
S
2
S
2
S
2
S
1
31H(1) 32H(2)
46H(E) 33H(3)31H(1) 32H(2)
46H(E) 33H(3)
X000
D0
FNC206
MIDRP
D10
END
R0
D11
D12
D13
b15---------------------b8
41H(A) 42H(B)
00H 45H(D)
“BA213ED”
D1
D2
0000H
“213E
b15----------------------b8b7-----------------------b0
D10 D0
R1
4
3
R0
3rd character
Four characters
starting from 3rd character
Extracted characters
b7-----------------------b0

Table of Contents

Other manuals for Mitsubishi FX3U Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3U Series and is the answer not in the manual?

Mitsubishi FX3U Series Specifications

General IconGeneral
ModelFX3U Series
Program Memory64k steps
Execution Speed0.065 μs/basic instruction
TypePLC (Programmable Logic Controller)
Power Supply100-240V AC
I/O PointsUp to 384
CommunicationUSB
ExpansionSupported via expansion modules
High-Speed CountersUp to 6 channels
Analog Input/OutputAvailable via expansion modules
Temperature Range0 to 55°C
Programming LanguageLadder Logic, Structured Text
Built-in FunctionsPID control
Humidity5 to 95% (non-condensing)

Related product manuals