Fnc206 - Midr / Random Selection Of Character Strings - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
26.7
FNC206 – MIDR / Random Selection of Character Strings
Outline
This instruction extracts a specified number of characters from arbitrary positions of a specified character
string.
1. Instruction format
FNC 206
MIDR
P
2. Set data
Operand Type
S
1
D
S
2
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
1
D
S
2
Mnemonic
16-bit Instruction
MIDR
7 steps
MIDRP
Head device number storing a character string
Head device number storing extracted character string
Head device number specifying the head position and number of characters to be
extracted
: Head character position
S
2
+1 : Number of characters
S
2
Digit Specification
26 Character String Control – FNC200 to FNC209
26.7 FNC206 – MIDR / Random Selection of Character Strings
→ For handling of character strings, refer to Section 5.3.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
V Z Modify K H
Mnemonic
Operation Condition
Data Type
Character string
16-bit binary
Others
Con-
Real
Charac-
Pointer
stant
Number
ter String
E
" "
P
663
21
22
23
24
25
26
27
28
29
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents