C200HBAT09 Omron, C200HBAT09 Datasheet - Page 99

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
Example 8a
Example 8b
Example 9a
PC Program
Execution
statement
ASCII busy
In the above program, the ASCII Unit accepts external input from a keyboard
using the INPUT statement and transfers that data to the PC with the PC
PUT statement.
If the number “1” is input, bit 10308 of the PC is set, directing process (1) to
be executed.
Purpose:
Remarks:
The printer should be connected to port 2. The baud rate should be set to
4,800 baud.
Purpose:
• This example does not require a PC data transfer routine.
ASCII Unit program:
Purpose:
10300
100
10
20
30
40
50
60
70
80
90
OPEN #2,“LPRT:(47)”
A$ = “00:00”:B$ = “ “
C$ = MID$ (TIME$,4,5)
IF C$<>A$ GOTO 30
D$ = LEFT$ (TIME$,2)
IF D$ = B$ GOTO 30
B$ = D$
PC READ “@D,0,1,I4”;X
PRINT #2,“DM = “;X
GO TO 30
To read and print PC data at specific times using the ASCII Unit
PC READ statement
To read and print PC data at specific times using the ASCII Unit
PC READ(@...) statement
To accept input from the keyboard and write it to the PC using
the PC WRITE statement
MOV
#0001
101
MOV
#0000
102
10001
WRITE flag
100
10
20
30
40
50
60
70
80
90
ASCII Unit Program
OPEN #2,“LPRT:(47)”
A$ = “00:00”:B$ = “ “
C$ = MID$ (TIME$,4,5)
IF C$<>A$ GOTO 30
D$ = LEFT$ (TIME$,2)
IF D$ = B$ GOTO 30
B$ = D$
PC READ “I4”;X
PRINT #2,“DM = “;X
GO TO 30
Section 6-1
85

Related parts for C200HBAT09