82
2 CPU MODULE INSTRUCTIONS
2.2 Basic Instructions
■
Converting 32-bit unsigned binary data to 16-bit unsigned binary data
■
Converting 16-bit/32-bit binary data to 16-bit/32-bit binary Gray code data
■
Converting 16-bit/32-bit binary Gray code data to 16-bit/32-bit binary data
■
Converting 16-bit binary data block to BCD 4-digit data block
Instruction symbol
Processing details
Reference
UDINT2UINT
Converts the 32-bit unsigned binary data in the device specified by (s) to 16-bit unsigned binary
data, and stores the converted data in the device specified by (d).
UDINT2UINTP
Instruction symbol
Processing details
Reference
GRY
Converts the specified 16-bit binary data (-32768 to 32767) to 16-bit binary Gray code data.
Gc: Gray code
GRYP
GRY_U
Converts the specified 16-bit binary data (0 to 65535) to 16-bit binary Gray code data.
Gc: Gray code
GRYP_U
DGRY
Converts the specified 32-bit binary data (-2147483648 to 2147483647) to 32-bit binary Gray code
data.
Gc: Gray code
DGRYP
DGRY_U
Converts the specified 32-bit binary data (0 to 4294967295) to 32-bit binary Gray code data.
Gc: Gray code
DGRYP_U
Instruction symbol
Processing details
Reference
GBIN
Converts the specified 16-bit binary Gray code data (-32768 to 32767) to 16-bit binary data.
Gc: Gray code
GBINP
GBIN_U
Converts the specified 16-bit binary Gray code data (0 to 65535) to 16-bit binary data.
Gc: Gray code
GBINP_U
DGBIN
Converts the specified 32-bit binary Gray code data (-2147483648 to 2147483647) to 32-bit binary
data.
Gc: Gray code
DGBINP
DGBIN_U
Converts the specified 32-bit binary Gray code data (0 to 4294967295) to 32-bit binary data.
Gc: Gray code
DGBINP_U
Instruction symbol
Processing details
Reference
BKBCD
Batch-converts the (n) points of binary data in the device starting from the one specified by (s) to
BCD data, and stores the converted data in the device specified by (d) and later.
BKBCDP
(s)
(d)
BIN
Gc
(s)
(d)
BIN
Gc
(s)+1, (s)
(d)+1, (d)
BIN
Gc
(s)+1, (s)
(d)+1, (d)
BIN
Gc
(s)
(d)
Gc
BIN
(s)
(d)
Gc
BIN
(s)+1, (s)
(d)+1, (d)
Gc
BIN
(s)+1, (s)
(d)+1, (d)
Gc
BIN
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......