EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series - Page 56

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54
2 CPU MODULE INSTRUCTION
2.2 Basic instruction
Batch-resetting devices
Data conversion instruction
Converting binary data to BCD 4-digit/8-digit data
Converting BCD 4-digit/8-digit data to binary data
Converting single-precision real number to 16-bit/32-bit signed binary data
Converting single-precision real number to 16-bit/32-bit unsigned binary data
Converting 16-bit signed binary data to 16-bit/32-bit unsigned binary data
Instruction symbol Description Reference
ZRST Page 240
ZRSTP
Instruction symbol Description Reference
BCD Page 242
BCDP
DBCD Page 244
DBCDP
Instruction symbol Description Reference
BIN Page 246
BINP
DBIN Page 248
DBINP
Instruction symbol Description Reference
FLT2INT Page 250
FLT2INTP
FLT2DINT Page 251
FLT2DINTP
Instruction symbol Description Reference
FLT2UINT Page 252
FLT2UINTP
FLT2UDINT Page 253
FLT2UDINTP
Instruction symbol Description Reference
INT2UINT Converts 16-bit signed data in the device specified by (s) to 16-bit unsigned data, and stores the
converted data in the device specified by (d).
Page 254
INT2UINTP
INT2UDINT Converts 16-bit signed data in the device specified by (s) to 32-bit unsigned data, and stores the
converted data in the device specified by (d).
Page 255
INT2UDINTP
(d2)
(d1)+2 (d1)+1 (d1)
(d1)+2
(d2)
(d1)+1 (d1)
(d1), (d2) are bit devices: Writes off (reset) from (d1) to (d2)
(d1), (d2) are word devices: Writes K0 from (d1) to (d2)
(s) (d)
BIN (0 to 9999)
Conversion to BCD
(s+1, s) (d+1, d)
BIN (0 to 99999999)
Conversion to BCD
(s) (d)
BCD (0 to 9999)
Conversion to binary data
(s+1, s) (d+1, d)
BCD (0 to 99999999)
Conversion to binary data
(s+1, s) (d)
Real number (-32768 to +32767)
Conversion to binary data
(s+1, s) (d+1, d)
Real number (-2147483648 to +2147483647)
Conversion to binary data
(s+1, s) (d)
Real number (0 to 65535)
Conversion to binary data
(s+1, s) (d+1, d)
Real number (0 to 4294967295)
Conversion to binary data

Table of Contents

Related product manuals