7-20
Section
Conversion Instructions
441
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.
S + 1
S
R + 1
R
BCD
Binary
Flags
ER:
The contents of S and/or S+1 words are not BCD.
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 the result is zero.
7-20-4
DOUBLE BINARY-TO-DOUBLE BCD – BCDL(59)
S
: First source word (binary)
IR, SR, AR, DM, HR, LR
R
: First result word
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
BCDL(59)
S
R
@BCDL(59)
S
R
Limitations
This instruction is available in the
CPM2A/CPM2C only
.
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 6144 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.
S + 1
S
R + 1
R
BCD
Binary
Flags
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 the result is zero.
Description
Description
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...