598
FX
3U
/FX
3UC
Series Programmable Controllers
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 a character string (ASCII codes).
On the other hand, ESTR (FNC116) instruction converts floating point data into a character string.
→
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
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3 3 3 3
3
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3 3 3 3
3
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