Bit Counter: Bcnt(114) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Conversion Instructions
5-17-12

BIT COUNTER: BCNT(114)

Ladder Symbol
(114)
BCNT
N
Variations
j BCNT(114)
Description
Precautions
Flags
236
Di : #0000
0 0 0 0
S: D00010
0
2
0
1
8
2
0
2
2
0
3
2
1
0
2
0
1
2
1
2
2
0
3
2
0
0
2
1
1
2
0
2
2
0
3
2
1
0
1
2
1
0
2
2
2
0
3
2
0
S
R
When the execution condition is OFF, BCNT(114) is not executed. When the
execution condition is ON, BCNT(114) counts the total number of bits that are
ON in all words between S and S+(N–1) and places the result in R.
N must be BCD between 0001 and 9999.
Note Refer to page 115 for general precautions on operand data areas.
ER (A50003):
N is not BCD between 0001 and 9999.
If the total exceeds 9999.
Content of *DM word is not BCD when set for BCD.
EQ (A50006):
Result is 0.
Convert from digit 0.
Convert 1 digit.
Output to leftmost bits.
No parity.
D: CIO 0001
000100
000101
8
000102
000103
$38
000104
000105
3
000106
000107
000108
000109
000110
000111
000112
000113
000114
000115
Operand Data Areas
N: Number of words
CIO, G, A, T, C, #, DM, DR, IR
st
S: 1
source word
CIO, G, A, T, C, DM
R: Result word
CIO, G, A, T, C, DM, DR, IR
Section 5-17
0
0
0
1
1
1
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents