C200HBAT09 Omron, C200HBAT09 Datasheet - Page 102

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
88
PC Program
Start 1
Start 1
Start 1
Start 1
Start 1
Start 1
Start 2
Start 2
Start 2
Start 2
Start 2
Start 2
Start 3
Start 3
Start 3
Start 3
Start 3
Start 3
Remarks:
Three ON PC GOSUB statements are used to direct program execution to
three different interrupt service routines. After the branch destinations are
defined by the ON PC GOSUB statements, the ON PC statement is executed
enabling the interrupts. The statement “GOTO 60” at line 60 causes the pro-
gram to wait for a PC interrupt to initiate further action.
If PC interrupt 1 interrupts the ASCII Unit, the contents of DM word 0000 will
be printed. If PC interrupt 2 interrupts the ASCII Unit, the contents of DM
words 0010 and 0011 will be printed. If PC interrupt 3 interrupts the ASCII
Unit, the contents of DM words 0100, 0101, and 0102 will be printed.
Connect the printer to port 2 and set the baud rate to 4,800 bps.
The lot sizes are stored in DM words as follows:
MOV
#0010
100
MOV
#0020
100
MOV
#0030
100
10001
WRITE flag
200
210
220
230
300
310
320
330
340
10
20
30
40
50
60
70
80
90
ASCII Unit Program
OPEN #2,“LPRT:(47)”
ON PC 1 GOSUB 100
ON PC 2 GOSUB 200
ON PC 3 GOSUB 300
PC ON
GOTO 60
PC READ “@D,0,1,I4”;X1
PRINT #2,“DM0 = “;X1
RETURN
PC READ “@D,10,2,2I4”;X1,X2
PRINT #2,“DM10 = “;X1
PRINT #2,“DM11 = “;X2
RETURN
PC READ “@D,100,3,3I4”;X1,X2,X3
PRINT #2,“DM100 = “;X1
PRINT #2,“DM101 = “;X2
PRINT #2,“DM102 = “;X3
RETURN
Section 6-1

Related parts for C200HBAT09