![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301315.webp)
1275
Model Conversion Instructions (Unit Ver. 3.0 or Later)
Section 3-35
Examples
When CIO 000000 is ON in the following example, the 5
th
bit of the source
word (CIO 0200) is copied to the 12
th
bit of the destination word (CIO 0300) in
accordance with the control word’s value of 1205.
3-35-5 BIT COUNTER: BCNTC(621)
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 9999 (BCD).
S: First source word
S and S+(N–1) must be in the same data area.
Operand Specifications
1 2
0 5
BCNTC(621)
N
S
R
N: Number of words
S: First source word
R: Result word
Variations
Executed Each Cycle for ON Condition
BCNTC(621)
Executed Once for Upward Differentiation
@BCNTC(621)
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
Содержание 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 ...