EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
587
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
÷
×
×
×
BCNT(067)
N
S
R
N: Number of words
S: First source word
R: Result word
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

Table of Contents

Related product manuals