Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 60

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

■Batch-resetting devices
Instruction symbol
ZRST
ZRSTP
Data conversion instruction
■Converting binary data to BCD 4-digit/8-digit data
Instruction symbol
BCD
BCDP
DBCD
DBCDP
■Converting BCD 4-digit/8-digit data to binary data
Instruction symbol
BIN
BINP
DBIN
DBINP
■Converting single-precision real number to 16-bit/32-bit signed binary data
Instruction symbol
FLT2INT
FLT2INTP
FLT2DINT
FLT2DINTP
■Converting single-precision real number to 16-bit/32-bit unsigned binary data
Instruction symbol
FLT2UINT
FLT2UINTP
FLT2UDINT
FLT2UDINTP
3 CPU MODULE INSTRUCTION
58
3.2 Basic Instruction
Description
(d2)
(1)
(d2)
(1): (d1), (d2) are bit devices: Writes off (reset) from (d1) to (d2)
(d1), (d2) are word devices: Writes K0 from (d1) to (d2)
Description
Converts the specified 16-bit binary data (0 to 9999) to BCD 4-digit data.
(s)
(d)
BIN
BCD
Converts the specified 32-bit binary data (0 to 99999999) to BCD 8-digit data.
(s+1, s)
(d+1, d)
BIN
Description
Converts the specified BCD 4-digit data (0 to 9999) to 16-bit binary data.
(s)
(d)
BCD
Converts the specified BCD 8-digit data (0 to 99999999) to 32-bit binary data.
(s+1, s)
BCD
Description
Converts the specified single-precision real number (-32768 to 32767) to 16-bit signed binary data.
(s+1, s)
(1)
(1): Real number
Converts the specified single-precision real number (-2147483648 to 2147483647) to 32-bit signed
binary data.
(s+1, s)
(1)
(1): Real number
Description
Converts the specified single-precision real number (0 to 65535) to 16-bit unsigned binary data.
(s+1, s)
(1)
(1): Real number
Converts the specified single-precision real number (0 to 4294967295) to 32-bit unsigned binary
data.
(s+1, s)
(1)
(1): Real number
(d1)+2
(d1)+1
(d1)
(d1)+2
(d1)+1
(d1)
BCD
BIN
(d+1, d)
BIN
(d)
BIN
(d+1, d)
BIN
(d)
BIN
(d+1, d)
BIN
Reference
Page 280
Reference
Page 282
Page 284
Reference
Page 286
Page 288
Reference
Page 290
Page 292
Reference
Page 291
Page 293

Hide quick links:

Advertisement

loading