Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 83

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Converting double-precision real number to 16-bit/32-bit unsigned binary data
Instruction symbol
Processing details
DBL2UINT
Converts the specified double-precision real number (0 to 65535) to 16-bit unsigned binary data.
DBL2UINTP
(s)+3, (s)+2, (s)+1, (s)
(1) Real number
DBL2UDINT
Converts the specified double-precision real number (0 to 4294967295) to 32-bit unsigned binary
data.
DBL2UDINTP
(s)+3, (s)+2, (s)+1, (s)
(1) Real number
■Converting 16-bit signed binary data to 16-bit/32-bit unsigned binary data
Instruction symbol
Processing details
INT2UINT
Converts the 16-bit signed 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).
INT2UINTP
INT2UDINT
Converts the 16-bit signed binary data in the device specified by (s) to 32-bit unsigned binary data,
and stores the converted data in the device specified by (d).
INT2UDINTP
■Converting 16-bit signed binary data to 32-bit signed binary data
Instruction symbol
Processing details
INT2DINT
Converts the 16-bit signed binary data in the device specified by (s) to 32-bit signed binary data,
and stores the converted data in the device specified by (d).
INT2DINTP
■Converting 16-bit unsigned binary data to 16-bit/32-bit signed binary data
Instruction symbol
Processing details
UINT2INT
Converts the 16-bit unsigned binary data in the device specified by (s) to 16-bit singed binary data,
and stores the converted data in the device specified by (d).
UINT2INTP
UINT2DINT
Converts the 16-bit unsigned binary data in the device specified by (s) to 32-bit singed binary data,
and stores the converted data in the device specified by (d).
UINT2DINTP
■Converting 16-bit unsigned binary data to 32-bit unsigned binary data
Instruction symbol
Processing details
UINT2UDINT
Converts the 16-bit unsigned binary data in the device specified by (s) to 32-bit unsigned binary
data, and stores the converted data in the device specified by (d).
UINT2UDINTP
■Converting 32-bit signed binary data to 16-bit signed binary data
Instruction symbol
Processing details
DINT2INT
Converts the 32-bit signed binary data in the device specified by (s) to 16-bit signed binary data,
and stores the converted data in the device specified by (d).
DINT2INTP
■Converting 32-bit signed binary data to 16-bit/32-bit unsigned binary data
Instruction symbol
Processing details
DINT2UINT
Converts the 32-bit signed 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).
DINT2UINTP
DINT2UDINT
Converts the 32-bit signed binary data in the device specified by (s) to 32-bit unsigned binary data,
and stores the converted data in the device specified by (d).
DINT2UDINTP
■Converting 32-bit unsigned binary data to 16-bit/32-bit signed binary data
Instruction symbol
Processing details
UDINT2INT
Converts the 32-bit unsigned binary data in the device specified by (s) to 16-bit singed binary data,
and stores the converted data in the device specified by (d).
UDINT2INTP
UDINT2DINT
Converts the 32-bit unsigned binary data in the device specified by (s) to 32-bit singed binary data,
and stores the converted data in the device specified by (d).
UDINT2DINTP
(d)
(1)
(d)+1, (d)
(1)
BIN
BIN
2 CPU MODULE INSTRUCTIONS
Reference
Page 396
DBL2UINT(P)
Page 400
DBL2UDINT(P)
Reference
Page 402 INT2UINT(P)
Page 406
INT2UDINT(P)
Reference
Page 404 INT2DINT(P)
Reference
Page 408 UINT2INT(P)
Page 410
UINT2DINT(P)
Reference
Page 412
UINT2UDINT(P)
Reference
Page 414 DINT2INT(P)
Reference
Page 416
DINT2UINT(P)
Page 418
DINT2UDINT(P)
Reference
Page 420
UDINT2INT(P)
Page 424
UDINT2DINT(P)
81
2.2 Basic Instructions
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents