C40K-CDR-A Omron, C40K-CDR-A Datasheet - Page 126
C40K-CDR-A
Manufacturer Part Number
C40K-CDR-A
Description
PROGRAMMABLE CONTROLLER CPU
Manufacturer
Omron
Datasheet
1.C28P-EDR-A.pdf
(225 pages)
Specifications of C40K-CDR-A
Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 126 of 225
- Download datasheet (2Mb)
Data Conversion
5-15
5-15-1
5-15-2
Description
Flags
Limitations
Description
Flags
Data Conversion
BCD-TO- BINARY – BIN(23)
BINARY-TO-BCD – BCD(24)
The conversion instructions convert word data that is in one format into an-
other format and output the converted data to specified result word(s). Con-
versions are available to convert between binary (hexadecimal) and BCD
and between multiplexed and non-multiplexed data. All of these instructions
change only the content of the words to which converted data is being
moved, i.e., the content of source words is the same before and after execu-
tion of any of the conversion instructions.
BIN(23) can be used to convert BCD to binary so that displays on the Pro-
gramming Console or any other programming device will appear in hexadeci-
mal rather than decimal. It can also be used to convert to binary to perform
binary arithmetic operations rather than BCD arithmetic operations, e.g.,
when BCD and binary values must be added.
ER:
EQ:
If the content of S exceeds 270F, the converted result would exceed 9999
and BCD(24) will not be executed. When the instruction is not executed, the
content of R remains unchanged.
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.
BCD(24) can be used to convert binary to BCD so that displays on the Pro-
gramming 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 arithmetic operations rather than binary arithmetic operations, e.g.,
when BCD and binary values must be added.
ER:
EQ:
Ladder Symbol
Ladder Symbol
The content S is not BCD
ON when 0000 is placed in R.
S is greater than 270F.
ON when 0000 is placed in R.
BCD(24)
BIN(23)
R
R
S
S
Operand Data Areas
Operand Data Areas
S : Source word (binary)
S : Source word (BCD)
IR, SR, DM, HR, TC
IR, SR, DM, HR, TC
R : Result word
R : Result word
IR, DM, HR
IR, DM, HR
Section 5-15
115
Related parts for C40K-CDR-A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
G6S-2GLow Signal Relay
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Compact, Low-cost, SSR Switching 5 to 20 A
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet: