Omron SYSMAC C2000H Operation Manual page 216

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Special Instructions
Flags
Example
00000
00001
DM contents
DM 0010
4
1
DM 0011
4
3
DM 0012
4
5
DM 0013
4
7
DM 0014
4
9
DM 0015
4
B
DM 0016
4
D
DM 0017
4
F
5-23-3
BIT COUNTER – BCNT(67)
Limitations
Description
Flags
210
If the message data changes while the message is being displayed, the dis-
play will also change.
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
The following example shows the display that would be produced for the in-
struction and data given when 00000 was ON. If 00001 goes ON, a message
will be cleared.
ASCII
equivalent
4
2
A
B
4
4
C
D
4
6
E
F
4
8
G
H
4
A
I
J
4
C
K
L
4
E
M
N
5
0
O
P
Ladder Symbols
BCNT(67)
N
SB
R
N cannot be 0.
When the execution condition is OFF, BCNT(67) is not executed. When the
execution condition is ON, FUN(67) counts the total number of bits that are
ON in all words between SB and SB+(N–1) and places the result in D.
ER:
N is not BCD, or N is 0; SB and SB+(N–1) are not in the same area.
The resulting count value exceeds 9999.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
Address Instruction
MSG(46)
00000
DM 0010
00001
FAL(06) 00
00002
00003
@BCNT(67)
N
SB
R
Section 5-23
Operands
LD
MSG(46)
DM
LD
FAL(06)
Operand Data Areas
N: Number of words (BCD)
IR, AR, DM, HR, TC, LR, #
SB: Source beginning word
IR, SR, AR, DM, HR, TC, LR
R: Destination word
IR, AR, DM, HR, TC, LR
00000
0010
00001
00

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC C2000H and is the answer not in the manual?

This manual is also suitable for:

Sysmac c1000h

Table of Contents