Conversion Instructions
5-20-3 DOUBLE BCD-TO-DOUBLE BINARY – BINL(58)
Limitations
Precautions
Flags
5-20-4 DOUBLE BINARY-TO-DOUBLE BCD – BCDL(59)
Limitations
Description
Ladder Symbols
BINL(58)
@BINL(58)
S
R
DM 6143 to DM 6655 cannot be used for R.
When the execution condition is OFF, BINL(58) is not executed. When the
execution condition is ON, BINL(58) converts an eight-digit number in S and
S+1 into 32-bit binary data, and outputs the converted data to R and R+1.
ER:
The contents of S and/or S+1 words are not BCD.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
EQ:
ON when the result is zero.
Ladder Symbols
BCDL(59)
@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.
DM 6143 to DM 6655 cannot be used for R.
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.
Operand Data Areas
S: First source word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
S
R
IR, SR, AR, DM, EM, HR, LR
S + 1
S
BCD
R + 1
R
Binary
Operand Data Areas
S: First source word (binary)
IR, SR, AR, DM, EM, HR, LR
S
R
IR, SR, AR, DM, EM, HR, LR
S + 1
S
Binary
R + 1
R
BCD
Section 5-20
R: First result word
R: First result word
293
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?