Omron SYSMAC C20K Operation Manual page 114

K-type programmable controllers
Hide thumbs Also See for SYSMAC C20K:
Table of Contents

Advertisement

Timer and Counter Instructions
Address
0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
5-11-7
REVERSIBLE DRUM COUNTER – RDM(60)
Limitations
Description
Instruction
Operands
LD
1813
MOV(21)
#
0905
DM
MOV(21)
#
1150
DM
MOV(21)
#
1450
DM
MOV(21)
#
1550
DM
LD
1815
OR
0005
OUT
1807
LD
0002
HDM(61)
HR
LD
HR
AND NOT
0011
LD
HR
AND
0011
Ladder Symbol
RDM(60) N
If any of the lower limits for the DM ranges are set to "0000," the correspond-
ing output bits are turned ON when the counter is reset.
The reversible drum counter is a ring counter with a counting range of 0000
to 9999. It requires three input signals to operate: a count input, reset input,
and UP/DOWN selection input. For these inputs, SR bits 1804 to 1806 are
reserved and cannot be used for any other purpose while the RDM(60) is
being used.
Operation is enabled when RDM(60) is executed with an ON execution con-
dition. RDM(60) increments when the UP/DOWN selection input (1806) is
OFF. When this input is ON, RDM(60) decrements. Incrementing or decre-
menting occurs on the rising edge of the count input signal. When RDM(60)
is executed by the CPU, the value in the counter buffer is transferred to CNT
46.
Address
Instruction
0014
OR LD
0015
AND
0016
OR
32
0017
AND NOT
0018
OUT
0019
LD
33
0020
AND
0021
OR
0022
AND NOT
34
0023
AND NOT
0024
OUT
0025
LD
35
0026
AND NOT
0027
OR
0028
AND NOT
0029
OUT
0030
LD
47
0031
DIFU(13)
0
0032
LD
000
0033
AND
0034
OR
001
0035
AND NOT
0036
OUT
R
Section 5-11
Operands
0006
0100
0005
0100
0005
0003
0102
0100
0004
0102
0004
0102
0103
0003
0103
0003
1000
1000
0005
0101
0006
0101
Definer Values
N: TC number
Must be 46
Operand Data Areas
R: Result word
IR, HR, DM
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c40kSysmac c60kSysmac c28k

Table of Contents