Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1315

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Model Conversion Instructions (Unit Ver. 3.0 or Later)
Examples
3-35-5 BIT COUNTER: BCNTC(621)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
1276
When CIO 000000 is ON in the following example, the 5
word (CIO 0200) is copied to the 12
accordance with the control word's value of 1205.
Counts the total number of ON bits in the specified word(s).
BCNTC(621)
N
N: Number of words
S: First source word
S
R
R: Result word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
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.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
th
bit of the destination word (CIO 0300) in
1 2
Step program areas
Subroutines
OK
N
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
Section 3-35
th
bit of the source
0 5
BCNTC(621)
@BCNTC(621)
Not supported.
Interrupt tasks
OK
S
R
A448 to A959

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents