
64
2 CPU MODULE INSTRUCTION
2.3 Application instruction
■
Converting 16-bit/32-bit binary data to decimal ASCII
■
Converting HEX code data to ASCII
■
Converting 16-bit/32-bit binary data to character string
■
Converting single-precision real number to character string
■
Detecting a character string length
■
Extracting character string data from the right/left
Instruction symbol
Description
Reference
BINDA
Converts the 1 word binary value specified by (s) to 5 digits decimal ASCII value, and stores in the
word device specified by (d).
BINDAP
BINDA_U
BINDAP_U
DBINDA
Converts the 2 word binary value specified by (s) to 10 digits decimal ASCII value, and stores in the
word device area specified by (d) onwards.
DBINDAP
DBINDA_U
DBINDAP_U
Instruction symbol
Description
Reference
ASCI
Converts the (n) characters within the HEX code data specified by (s) to ASCII, and stores in the
device area specified by (d) onwards.
ASCIP
Instruction symbol
Description
Reference
STR
Converts the 1 word binary value specified by (s2) to the decimal character string with total number
of digits and the number of digits in the decimal fraction part as specified in (s1), and stores this in
the device specified by (d).
STRP
STR_U
STRP_U
DSTR
Convert the 2 word binary value specified by (s2) to the decimal character string with total number
of digits and the number of digits in the decimal fraction part as specified in (s1), and stores this in
the device specified by (d).
DSTRP
DSTR_U
DSTRP_U
Instruction symbol
Description
Reference
ESTR
Converts the single-precision real number data specified by (s1) to a character string, and store
this in the device specified by (d).
ESTRP
DESTR
DESTRP
Instruction symbol
Description
Reference
LEN
Stores the length of the character string data stored in the device specified by (s) in the device
specified by (d).
LENP
Instruction symbol
Description
Reference
RIGHT
Stores the (n) characters from the last character of the character string specified by (s) in the
device specified by (d).
RIGHTP
LEFT
Stores the (n) characters from the first character of the character string specified by (s) in the
device specified by (d).
LEFTP
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......