Sel language, Open (open channel), Clos (close channel) – IAI America DS-S-C1 User Manual
Page 91
![background image](/manuals/350266/91/background.png)
89
12.17 External input output command
[Function]
Opens the channel specified in operand 1. Channels specified after this will be able to transmit and receive
signals. An ending character must be set by the SCHA command before executing this command.
[Example]
SCHA
10
Designate 10 (=LF) as the ending character.
OPEN
1
Open channel 1.
SCHA
13
Designate 13 (=CR) as the ending character.
LET
1
2
Assign 2 to variable 1. Open channel 2, the value contained in variable 1.
OPEN
*1
[Function]
Closes the channel specified in operand 1. Channels specified after this will be unable to transmit and
receive signals.
[Example]
CLOS
1
Close the channel.
[Example]
LET
1
2
Assign 2 to variable 1.
CLOS
*1
Close channel 2, the value contained in variable 1.
n
o
i
s
n
a
p
x
E
n
o
i
t
i
d
n
o
c
)
R
O
·
D
N
A
(
t
u
p
n
I
n
o
i
t
i
d
n
o
c
)
g
a
l
F
·
O
/
I
(
d
n
a
m
m
o
C
t
s
o
P
)
g
a
l
F
·
t
r
o
p
t
u
p
t
u
O
(
d
n
a
m
m
o
C
1
d
n
a
r
e
p
O
2
d
n
a
r
e
p
O
l
a
n
o
i
t
p
O
l
a
n
o
i
t
p
O
N
E
P
O
.
o
N
l
e
n
n
a
h
C
n
o
i
s
n
a
p
x
E
n
o
i
t
i
d
n
o
c
)
R
O
·
D
N
A
(
t
u
p
n
I
n
o
i
t
i
d
n
o
c
)
g
a
l
F
·
O
/
I
(
d
n
a
m
m
o
C
t
s
o
P
)
g
a
l
F
·
t
r
o
p
t
u
p
t
u
O
(
d
n
a
m
m
o
C
1
d
n
a
r
e
p
O
2
d
n
a
r
e
p
O
l
a
n
o
i
t
p
O
l
a
n
o
i
t
p
O
S
O
L
C
.
o
N
l
e
n
n
a
h
C
12. SEL Language
●
OPEN (Open Channel)
●
CLOS (Close Channel)