< Features and System Configuration >
1-20
TI 34M6A82-01E
2nd Edition : Nov. 1, 2002-00
Counter (C)
A decrement counter detects the rising edge of the counter input when the Counter
instruction is executed and updates the current value. When the current value reaches
0, count up is said to occur. At this time, the Count-Up relay of the counter turns on.
When the reset input is on, the counter does not accept count input.
0
OFF
ON
OFF
ON
OFF
ON
100
9
8
1
C001
Y00603
CNT
C0001
10
X00502
X00501
Count-up relay
Reset input
X00501
Current value
C0001
Count-up relay
C0001
Count input
X00502
Reset input
Count input
Data Register (D)
Data registers are memory which store computation results of the program, and one
point consists of 16-bits. Data can be read/written on 16-bit on 32-bit basis using
application instructions.
When you use the data registers on a 32-bit basis, lower 16-bit data is stored in a data
register having a data register number you specified, and upper 16-bit data is stored in a
data register having the data register number you specified plus 1.
MOV
100
D0001
X00502
MOV
L
$01234567
D0002
X00503
Note: When upper data of BCD code is $0123 and lower data is $4567,
the lower data is stored in D0002 and the upper data in D0003.