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