Chapter 4. programming – IAI America S-SEL-E User Manual
Page 180

Page 175
Chapter 4. Programming
[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
OPEN
1
Designate 10 (=LF) as the ending character.
Open channel 1.
SCHA
13
LET
1
2
OPEN
*1
Designate 13 (=CR) as the ending character.
Assign 2 to variable 1. Open channel 2, the value contained in variable 1.
2-8 External Input Output Command
OPEN (Open Channel)
CLOS (Close Channel)
[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
CLOS
*1
Assign 2 to variable 1.
Close channel 2, the value contained in variable 1.
E x p a n s io n
c o n d itio n
(A N D · O R )
In p u t
c o n d itio n
(I/O · F la g )
C o m m a n d
P o s t
(O u tp u t p o rt · F la g )
C o m m a n d
O p e ra n d 1
O p e ra n d 2
O p tio n a l
O p tio n a l
O P E N
C h a n n e l n o .
E x p a n s io n
c o n d itio n
(A N D · O R )
In p u t
c o n d itio n
(I/O · F la g )
C o m m a n d
P o s t
(O u tp u t p o rt · F la g )
C o m m a n d
O p e ra n d 1
O p e ra n d 2
O p tio n a l
O p tio n a l
C L O S
C h a n n e l n o .