![Omron CJ1G-CPUxx Instructions Manual Download Page 534](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491534.webp)
513
Special Math Instructions
Section 3-14
4.
FDIV(079) divides the floating-point number in D00101 and D00100 by the
floating-point number in D00103 and D00102.
3-14-5 BIT COUNTER: BCNT(067)
Purpose
Counts the total number of ON bits in the specified word(s).
Ladder Symbol
Variations
Applicable Program Areas
Operands
N: Number of words
The number of words must be 0001 to FFFF (1 to 65,535 words).
S: First source word
S and S+(N–1) must be in the same data area.
Operand Specifications
D00000
3 4 5 2
D00101 D00100
4 3 4 5 2 0 0 0
D00001
0 0 7 9
D00103 D00102
4 0 0 7 9 0 0 0
D00101 D00100
4 3 4 5 2 0 0 0 0.3452000
×
10
4
D00103 D00102
4 0 0 7 9 0 0 0 0.0079000
×
10
4
D00003 D00002
2 4 3 6 9 6 2 0 0.4369620
×
10
2
÷
N: Number of words
S: First source word
R: Result word
BCNT(067)
N
S
R
Variations
Executed Each Cycle for ON Condition
BCNT(067)
Executed Once for Upward Differentiation
@BCNT(067)
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
N
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
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 ...