![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030627.webp)
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
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...