![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079156.webp)
150
5-16-4
DOUBLE BINARY-TO-DOUBLE BCD – BCDL(59)
S
: First source word (binary)
IR, SR, AR, DM, HR, LR
R
: First result word
IR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
BCDL(59)
S
R
@BCDL(59)
S
R
If the content of S exceeds 05F5E0FF, the converted result would exceed
99999999 and BCDL(59) will not be executed. When the instruction is not
executed, the content of R and R+1 remain unchanged.
BCDL(59) converts the 32-bit binary content of S and S+1 into eight digits of
BCD data, and outputs the converted data to R and R+1.
S + 1
S
R + 1
R
BCD
Binary
ER:
Content of R and R+1 exceeds 99999999.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ
:
ON when 0 is placed in R.
5-16-5
4-TO-16 DECODER – MLPX(76)
S
: Source word
IR, SR, AR, DM, HR, TC, LR
Di
: Digit designator
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R
: First result word
IR, AR, DM, HR, LR
MLPX(76)
S
Di
R
@MLPX(76)
S
Di
R
The rightmost two digits of Di must each be between 0 and 3.
All result words must be in the same data area.
When the execution condition is OFF, MLPX(76) is not executed. When the
execution condition is ON, MLPX(76) converts up to four, four-bit hexadeci-
mal digits from S into decimal values from 0 to 15, each of which is used to
indicate a bit position. The bit whose number corresponds to each converted
Limitations
Description
Flags
Limitations
Description
Data Conversion
Section 5-16