The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Data Registers

MXYKLFTCSZRQD@DConstant
S
D

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
3

Operands

OperandDescription
SThe first operand.
Entries are 8-digit binary-coded decimal (BCD) data registers or constants.

The 8-digit binary-coded decimal range (BCD) is H00000000 ~ H99999999 (BCD)
DThe second operand.
Entries are only unsigned DWORD data registers.
This is where the conversion is saved.

Notice

Error Flag (F11.0) Notice

The error flag, F11.0, will be ON for one scan when the address of the data register assigned by @D exceeds the range of the data register, D. The range of the data register, D, is dependent on the CPU type. F11.0 turns ON when the value of the data for converting S from an 8-digit binary coded decimal exceeds the value range of the data register D.

Ladder Diagram Examples

DBIN

The DBIN instruction converts an 8-digit binary coded decimal (BCD) value, S, into an unsigned binary DWORD value. The conversion result is saved in a

The DBIN instruction converts an 8-digit binary coded decimal (BCD) value, S, into an unsigned binary DWORD value. The conversion result is saved in an assigned unsigned WORD data register, D.

When the contact, M1.3, is powered ON (1), the value of the 8-digit binary-coded decimal (BCD) data register, D30, 2,560,137,336, is converted into un

When the contact, M1.3, is powered ON (1), the value of the 8-digit binary-coded decimal (BCD) data register, D30, 2,560,137,336, is converted into unsigned binary notation. The value of the conversion, 882,486, is saved in the unsigned WORD data register, D33.

Ladder Diagram Example for MapleLogic DBIN/DBINP instruction.

Memory Monitor

Memory Monitor for MapleLogic DBIN/DBINP instruction.

DBINP

The DBINP one-shot instruction converts an 8-digit binary coded decimal (BCD) value, S, into an unsigned binary DWORD value. The conversion result is

The DBINP one-shot instruction converts an 8-digit binary coded decimal (BCD) value, S, into an unsigned binary DWORD value. The conversion result is saved in an assigned unsigned DWORD data register, D. Every time this instruction executes, it energizes the output only once.

When the contact, M1.5, is powered ON (1), the value of the 8-digit binary-coded decimal (BCD) data register, D35, 1,182,872,134, is converted into un

When the contact, M1.5, is powered ON (1), the value of the 8-digit binary-coded decimal (BCD) data register, D35, 1,182,872,134, is converted into unsigned binary notation. The value of the conversion, 544,830, is saved in the unsigned WORD data register, D38.

Ladder Diagram Example for MapleLogic DBIN/DBINP instruction.

Memory Monitor

Memory Monitor for MapleLogic DBIN/DBINP instruction.