657
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.5 FNC204 – RIGHT / Extracting Character String Data from the Right
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC274
Ex-Device
Inverter Comms
26.5 FNC204 – RIGHT / Extracting Character String Data from the Right
Outline
This instruction extracts a specified number of characters from the right end of a specified character string.
→ For handling of character strings, refer to Section 5.3.
1. Instruction format
2. Set data
3. Applicable devices
Operand Type Description Data Type
Head device number storing a character string
Character string
Head device number storing extracted character string
n Number of characters to be extracted 16-bit binary
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
VZModifyKH E "
"P
33333333 3 3
3 3 3 3333 3 3
n
33 33
P
FNC 204
RIGHT
Mnemonic Operation Condition
16-bit Instruction
7 steps
RIGHT
RIGHTP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
⎯
⎯
S
D
S
D