
56
2 CPU MODULE INSTRUCTION
2.2 Basic instruction
■
Converting 16-bit/32-bit binary data to Gray code
■
Converting Gray code to 16-bit/32-bit binary data
■
Converting decimal ASCII to 16-bit/32-bit binary data
■
Converting ASCII to HEX
Instruction symbol
Description
Reference
GRY
GRYP
GRY_U
GRYP_U
DGRY
DGRYP
DGRY_U
DGRYP_U
Instruction symbol
Description
Reference
GBIN
GBINP
GBIN_U
GBINP_U
DGBIN
DGBINP
DGBIN_U
DGBINP_U
Instruction symbol
Description
Reference
DABIN
Converts a 5-digit decimal ASCII value in the device specified by (s) to a 1 word binary value, and
stores the converted data in the word device number specified by (d).
DABINP
DABIN_U
DABINP_U
DDABIN
Converts a 10-digit decimal ASCII value in the device specified by (s) to a 2 word binary value, and
stores the converted data in the word device number specified by (d).
DDABINP
DDABIN_U
DDABINP_U
Instruction symbol
Description
Reference
HEXA
Converts the ASCII data stored in the number of characters specified by (n) starting from device
specified in (s), and stores the converted data in the device specified by (d) onwards.
HEXAP
(s)
(d)
BIN (-32768 to 32767)
Conversion to gray code
(s)
(d)
BIN (0 to 65535)
Conversion to gray code
(s+1, s)
(d+1, d)
BIN (-2147483648 to 2147483647)
Conversion to gray code
(s+1, s)
(d+1, d)
BIN (0 to 4294967295)
Conversion to gray code
(s)
(d)
Gray code (-32768 to +32767)
Conversion to binary data
(s)
(d)
Gray code (0 to 65535)
Conversion to binary data
(s+1, s)
(d+1, d)
Gray code (-2147483648 to +2147483647)
Conversion to binary data
(s+1, s)
(d+1, d)
Gray code (0 to 4294967295)
Conversion to binary data
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: ......