C200HBAT09 Omron, C200HBAT09 Datasheet - Page 54

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
BASIC Language
40
ON COM GOSUB Statement
Example:
Remarks:
The characters in <string 1>, beginning at position <n> are replaced by the
characters in <string 2>.
The optional <m> refers to the number of characters from <string 2> that will
be used in the replacement. If <m> is omitted, all of <string 2> is used. How-
ever, regardless of whether <m> is included, the replacement of characters
never goes beyond the original length of <string 1>.
Refer to the discussion of the MID$ function
Purpose:
Format:
Example:
Remarks:
This statement is not valid unless it is executed after the specified port has
been opened.
An interrupt service routine cannot be interrupted by another interrupt. If a
new interrupt occurs during processing of a previous interrupt, branching to
handle the new interrupt will not take place until after the RETURN statement
of the first interrupt service routine is executed. This means that, depending
on the branch timing, nothing may be in the buffer when execution branches
to the interrupt routine. It is therefore necessary to check whether data is in
the buffer by executing the LOC or EOF Command at the beginning of the
interrupt routine.
All subroutines must end with a RETURN statement.
If a statement specified by the branch line number is non-executable, execu-
tion will begin with the first executable statement following the branch line
number.
If zero is specified as the branch line number, it is assumed that the COM
OFF statement has been executed.
If the port number is omitted, port 1 is selected.
The ON COM GOTO statement is enabled with the COM ON statement and
disabled with the COM OFF statement.
Program Example:
10
20
30
40
50
60
<m> is an integer expression from 0 to 255.
<string 2> is a string expression.
Defines an interrupt service routine to handle data coming into a
com port buffer
ON COM(<n>) GOSUB <line>
<n> is the port number (1 or 2).
<line> is the line number of the first statement of the interrupt
service routine.
ON COM1 GOSUB 1000
OPEN #1, “COMU:(40)”
ON COM GOSUB 100
COM ON
PC READ “@D,0,2,2I4”;A,B
PRINT A, B
GOTO 30
MID$(A$,2,4) = “ABCDEFGH”
Section 4-2

Related parts for C200HBAT09