FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
1. Instruction format
FNC 200
D
STR
2. Set data
Operand Type
S
1
S
2
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
1
S
2
D
614
Mnemonic
16-bit Instruction
P
7 steps STR
STRP
Head device number storing the number of digits of a numeric value to be converted
Device number storing binary data to be converted
Head device number storing converted character string
Digit Specification
26 Character String Control – FNC200 to FNC209
26.1 FNC200 – STR / BIN to Character String Conversion
→ For character strings, refer to Section 5.3.
→ For ESTR (FNC116) instruction, refer to Section 18.4.
Operation Condition
32-bit Instruction
Continuous
13 steps
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
V
Mnemonic
Operation Condition
Continuous
DSTR
Operation
Pulse (Single)
DSTRP
Operation
Data Type
16-bit binary
16- or 32-bit binary
Character string
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K
H
E
Pointer
" "
P