612
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.1 FNC200 – STR / BIN to Character String Conversion
26.1 FNC200 – STR / BIN to Character String Conversion
Outline
This instruction converts binary data into character strings (ASCII codes).
On the other hand, the ESTR (FNC116) instruction converts floating point data into character strings.
→ For character strings, refer to Section 5.3.
→ For ESTR (FNC116) instruction, refer to Section 18.4.
1. Instruction format
2. Set data
3. Applicable devices
Operand Type Description Data Type
Head device number storing the number of digits of a numeric value to be converted 16-bit binary
Device number storing binary data to be converted 16- or 32-bit binary
Head device number storing converted character string Character string
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
V Z Modify K H E "
"P
DSTR
DSTRP
Mnemonic Operation Condition
P
FNC 200
STR
D
16-bit Instruction
7 steps
STR
STRP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
13 steps
Continuous
Operation
Pulse (Single)
Operation
S
1
S
2
D
S
1
S
2
D