
205
5-18-2
DOUBLE BCD-TO-DOUBLE BINARY – BINL(58)
S
: First source word (BCD)
IR, SR, AR, DM, HR, TC, LR
R
: First result word
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
BINL(58)
S
R
@BINL(58)
S
R
Description
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.
N:
25402 is always OFF.
5-18-3
BINARY-TO-BCD – BCD(24)
S
: Source word (binary)
IR, SR, AR, DM, HR, LR
R
: Result word
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
BCD(24)
S
R
@BCD(24)
S
R
Description
BCD(24) converts the binary (hexadecimal) content of S into the numerically
equivalent BCD bits, and outputs the BCD bits to R. Only the content of R is
changed; the content of S is left unchanged.
S
R
BCD
Binary
BCD(24) can be used to convert binary to BCD so that displays on the Program-
ming Console or any other programming device will appear in decimal rather
than hexadecimal. It can also be used to convert to BCD to perform BCD arith-
metic operations rather than binary arithmetic operations, e.g., when BCD and
binary values must be added.
Data Conversion
Section 5-18
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...