
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
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...