24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CNECT. [CALLI 130]<br />

22.15 CNECT. [CALLI 130]<br />

FUNCTION.<br />

Connects or disconnects a device associated with an MPX channel. You<br />

can use CNECT. only with devices that are MPX-controllable<br />

(specifically, terminals, pseudo-terminals, line printers, card<br />

readers, paper tape punches, and remote data terminals) .<br />

CALLING SEQUENCE<br />

MOVE I ac,addr<br />

CNECT. ac,<br />

error return<br />

skip return<br />

addr:<br />

XWD<br />

I SIXBIT<br />

\ EXP<br />

fcn-code, channel<br />

Idevicel \<br />

udx I<br />

In the calling sequence, you can supply the following variables:<br />

o<br />

o<br />

o<br />

addr is the address of the argument block.<br />

fcn-code is one of the function codes described below.<br />

channel is the number of an initialized MPX channel.<br />

o device is the SIXBIT physical, generic, or logical name of a<br />

device.<br />

o<br />

udx is the Universal Device Index for the device.<br />

Your program must initialize an MPX channel for the device using an<br />

OPEN call, before using the CNECT. call to connect the device to an<br />

MPX channel. The device must be initialized and connected to the MPX<br />

channel before it can be used for any I/o.<br />

The function codes and their meanings are:<br />

Code Symbol Function<br />

1 .CNCCN Connects the device to an MPX channel.<br />

2 .CNCDC Equivalent to CLOSE and disconnect from MPX<br />

channel.<br />

3 .CNCDR Equivalent to RESET and disconnect from MPX<br />

channel.<br />

4 .CNOFE Determines output feasibility.<br />

22-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!