If you load values in BCD, status bits 14 and 15 of the timer or 12 to
15 of the counter are not loaded. They have the value 0 in ACCU 1.
The value in the ACCU can now be processed further.
T i m e r
v a l u e
T i m e r
T
1 0
A C C U
1
1 0
2
1 0
0
1 0
1
9
0
1 2
1 3
1 2
1 3
0
3
4
7
8
1 1
’ 0 ’
T i m e
b a s e
T i m e r
v a l u e
T i m e
b a s e
B i n a r y
B C D
C o u n t e r
v a l u e
C o u n t e r
C
1 0
A C C U
1
1 0
2
1 0
0
1 0
1
C o u n t e r
v a l u e
i n
B C D
B i n a r y
B C D
9
0
0
3
4
7
8
1 1
’ 0 ’
Loading
timer values
in BCD code:
"LC T 10": Loads the timer value and time base of
timer T 10 into ACCU 1 in BCD
The time base is also loaded.
Loading
counter values
in BCD code:
"LC C 10":
Loads the counter value of counter C 10
into ACCU 1 in BCD
Basic Operations
CPU 948 Programming Guide
3 - 30
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...