![Omron CJ1G-CPUxx Instructions Manual Download Page 453](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491453.webp)
432
Conversion Instructions
Section 3-12
3-12-3 BINARY-TO-BCD: BCD(024)
Purpose
Converts a word of binary data to a word of BCD data.
Ladder Symbol
Variations
Applicable Program Areas
Operands
S: Source Word
S must be between 0000 and 270F hexadecimal (0000 and 9999 decimal).
Operand Specifications
0
0
2
0
0
0
5
0
x10
3
x10
2
x10
1
x10
0
x10
7
x10
6
x10
5
x10
4
0
0
0
3
0
D
7
2
x16
3
x16
2
x16
1
x16
0
x16
7
x16
6
x16
5
x16
4
S+1: CIO 0011
S: CIO 0010
R+1: D00201
R: D00200
200050=3X16
4
+13X16
2
+7X16
1
+2X16
0
S: Source word
R: Result word
BCD(024)
S
R
Variations
Executed Each Cycle for ON Condition
BCD(024)
Executed Once for Upward Differentiation
@BCD(024)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
R
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
A448 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
EM Area with bank
En_00000 to En_32767
(n = 0 to C)
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...