C200HBAT09 Omron, C200HBAT09 Datasheet - Page 94

no-image

C200HBAT09

Manufacturer Part Number
C200HBAT09
Description
C200H REPLACEMENT BATTERY
Manufacturer
Omron
Datasheet

Specifications of C200HBAT09

Rohs Compliant
NO
Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Example Programs
6-1
80
Example 1a
Example 1b
PC Program
Execution
statement
Example Programs
ASCII busy
10300
A
C
This section presents examples of data transfer routines written for both the
PC and the ASCII Unit. The examples illustrate how the two programs work
together to transfer data. Some of the examples have two ASCII Unit rou-
tines; the first one runs in conjunction with a PC routine and the second one
runs independently of the PC and does not require a PC program.
Throughout this section, the following is assumed:
Unit no. : 0
Data area of PC: DM
Purpose:
Number of words to be transferred
Transfer base word (DM 0000)
Remarks:
In this example, when the execution statement flag is set, the data stored in
words 0000 to 0004 is written to the ASCII Unit after the WRITE flag (word n
bit 01) has been set.
When the ASCII Unit executes the PC READ statement, five specified words
are read by the BASIC program, converted into BCD and assigned to the
variables A through E. During execution of the PC READ statement, the
ASCII Unit busy flag (word n+3 bit 00) is set. When execution is complete,
the busy flag is cleared.
Purpose:
• This example does not require a PC data transfer routine.
A
B
C
D
MOV(21)
#0005
101
MOV(21)
#0000
102
10001
To transfer data from the PC to the ASCII Unit using the PC
READ statement
To use the ASCII Unit PC READ statement to specify and read
data from the PC independently of the PC program
WRITE flag
specifies the number of
words to be transferred
specifies the base word
for data transfer
B
D
Word n+1
Word n+2 (where n= 100 +10 x unit no.)
PC READ “5I4”; A,B,C,D,E
ASCII Unit Program
Section 6-1

Related parts for C200HBAT09